dbcbce0c91f081fadc55dfeba64845ddd585f1f1
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
2
3         * gst/gst.c:
4         Add a check and output a g_warning when GStreamer is built
5         against GLib 2.6 but running against 2.8 or higher, and vice 
6         versa. (Closes: #323542)
7
8 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
9
10         * gst/parse/parse.l:
11           Commit patch for parse_launch syntax from #331255. Removes 
12           support for quoted strings and mimetypes when writing filtered 
13           caps. See the bug report for more details - I'm pretty sure this
14           obscure feature is not in use by _anyone_ anywhere.
15
16           With this simple change, the size of the gstreamer.so here 
17           drops from 2193KB to 1565KB.
18
19 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
20
21         * plugins/elements/gsttypefindelement.h:
22         * plugins/elements/gsttypefindelement.c:
23         (gst_type_find_element_src_event), (start_typefinding),
24         (stop_typefinding), (gst_type_find_element_handle_event),
25         (gst_type_find_element_chain),
26         (gst_type_find_element_chain_do_typefinding):
27           Use gst_type_find_helper_for_buffer() for chain-based
28           typefinding.
29
30 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
31
32         * plugins/elements/gsttypefindelement.c:
33         (gst_type_find_element_class_init),
34         (gst_type_find_element_set_property),
35         (gst_type_find_element_get_property):
36           Deprecate "maximum" property (not only was it only taken into
37           account for typefinding in push-mode anyway, it also was never
38           actually possible to set it in the first place because the
39           property was registered with the numeric property ID for the
40           "minimum" property). Register "maximum" property correctly,
41           for the sake of future copy'n'pasters. Remove some cruft
42           from property get/set functions.
43
44 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
45
46         * plugins/elements/gsttypefindelement.c:
47         (gst_type_find_element_activate):
48           Use gst_type_find_helper_get_range() here, so we
49           can honour the "minimum" property and also emit
50           the signal with the correct probability of the found caps.
51
52 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
53
54         * docs/libs/gstreamer-libs-sections.txt:
55         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
56         (helper_find_suggest), (gst_type_find_helper_get_range),
57         (gst_type_find_helper):
58         * libs/gst/base/gsttypefindhelper.h:
59           New API: gst_type_find_helper_get_range() (#333042).
60
61 2006-03-02  Michael Smith  <msmith@fluendo.com>
62
63         * gst/gstregistryxml.c: (load_feature):
64           Asserting on a failure to read part of the registry is Not Cool.
65           Just log a warning and return NULL (which is already handled)
66
67 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
68
69         * win32/common/libgstbase.def:
70           added export of gst_type_find_helper_for_buffer
71         * win32/common/libgstbase.def:
72           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
73           gst_ghost_pad_get_target
74
75 2006-02-28  Wim Taymans  <wim@fluendo.com>
76
77         * docs/design/draft-klass.txt:
78         We use Filter now.
79         Added Connector to mark elements that are only used to
80         allow pipeline connections.
81         Moved Debug to extra feature since most of them are 
82         functionally something else.
83
84 2006-02-28  Wim Taymans  <wim@fluendo.com>
85
86         * docs/design/draft-klass.txt:
87         Some updates and clarifications.
88
89 2006-02-28  Wim Taymans  <wim@fluendo.com>
90
91         * docs/design/draft-klass.txt:
92         Proposal for klass field values.
93
94         * docs/design/part-streams.txt:
95         Start of a doc describing stream anatomy.
96
97 2006-02-28  Wim Taymans  <wim@fluendo.com>
98
99         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
100         Help the compiler a bit with type registration.
101         Use existing forward cod path instead of duplicating it when 
102         handling a message.
103         
104         * gst/gstbus.c: (gst_bus_get_type):
105         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
106         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
107         * gst/gstclock.c: (gst_clock_get_type):
108         * gst/gstelement.c: (gst_element_get_type),
109         * gst/gstelementfactory.c: (gst_element_factory_get_type):
110         * gst/gstindexfactory.c: (gst_index_factory_get_type):
111         * gst/gstminiobject.c: (gst_mini_object_get_type):
112         * gst/gstpad.c: (gst_pad_get_type):
113         * gst/gstsegment.c: (gst_segment_get_type):
114         * gst/gststructure.c: (gst_structure_get_type):
115         * gst/gstsystemclock.c: (gst_system_clock_get_type):
116         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
117         * gst/gstvalue.c:
118         Help compiler with type registration.
119
120         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
121         Small doc update.
122
123
124 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
125
126         * plugins/elements/gsttypefindelement.c:
127         (gst_type_find_element_handle_event):
128           When we get an EOS event and have not found a type yet
129           (most likely because we had not yet accumulated
130           TYPE_FIND_MIN_SIZE of data yet), try to determine the
131           type given the data we have so far. Fixes typefinding
132           for very short streams again, most notably quicktime
133           redirections as used on Apple's trailer site (#331701).
134
135 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
136
137         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
138         (gst_type_find_helper):
139           Try typefinding factories with the highest rank first.
140
141 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
142
143         * docs/libs/gstreamer-libs-docs.sgml:
144         * docs/libs/gstreamer-libs-sections.txt:
145         * libs/gst/base/gsttypefindhelper.c:
146           Add section for typefind helper and add documentation
147           for the old and the new function.
148
149 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
150
151         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
152         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
153         (gst_type_find_helper_for_buffer):
154         * libs/gst/base/gsttypefindhelper.h:
155           New API: gst_type_find_helper_for_buffer() (#332723).
156           
157 2006-02-27  Michael Smith  <msmith@fluendo.com>
158
159         * configure.ac:
160         * docs/Makefile.am:
161         * docs/slides/Makefile.am:
162           Patch from Loïc Minier to prevent CVS directories getting disted.
163
164 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
165
166         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
167           Use the REFCOUNTING category for caps refcounting.
168           
169 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
170
171         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
172           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
173
174 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
175
176         * plugins/elements/gsttypefindelement.c:
177         (gst_type_find_element_activate):
178           Use gst_pad_check_pull_range() before _activate_pull()
179           to avoid unnecessary open/close (see #331690).
180
181 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
182
183         * gst/gstutils.c:
184           Docs enhancement: make it crystal clear what the
185           gst_pad_add_*_probe() callbacks should look like.
186
187 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
188
189         * libs/gst/base/gstbasesrc.c:
190           Document how applications can stop recording from
191           live sources (see #330996).
192
193 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
194
195         * docs/gst/tmpl/.cvsignore:
196         * docs/plugins/tmpl/.cvsignore:
197         * tests/check/gst/.cvsignore:
198         * tests/check/libs/.cvsignore:
199         * tests/check/pipelines/.cvsignore:
200           Ignore more stuff.
201
202 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
203
204         * tests/check/Makefile.am:
205         * tests/check/libs/basesrc.c: (eos_event_counter),
206         (basesrc_eos_events_pull), (basesrc_eos_events_push),
207         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
208         (gst_basesrc_suite), (main):
209           ... and add some tests for the base source EOS stuff.
210
211 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
212
213         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
214           Test case originally showed the problem fixed below,
215           but was then amended. Add checks back at the place
216           where they used to be.
217
218 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
219
220         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
221         (gst_base_src_init), (gst_base_src_loop),
222         (gst_base_src_activate_push), (gst_base_src_activate_pull),
223         (gst_base_src_change_state):
224         * libs/gst/base/gstbasesrc.h:
225           Don't unconditionally send EOS when going from PAUSED to
226           READY state, esp. make sure we don't send two EOS events
227           in some cases (e.g. one when reaching EOS and one when
228           going from PAUSED to READY). Also, we don't want to send
229           EOS events when operating in pull mode. However, we do
230           want to send an EOS event when shutting down a live
231           source explicitly, for example (fixes #330996).
232           
233 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
234
235         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
236           Update src->read_position after a seek when not using mmap.
237           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
238
239 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
240
241         * gst/Makefile.am:
242         * gst/gstparse.h:
243         * gst/gstutils.c:
244         * gst/gstutils.h:
245         Make things work with --disable-parse as they do with 
246         --disable-load-save - the symbols involved disappear, but the
247         header is still installed and GST_DISABLE_PARSE is included via
248         gstconfig.h
249
250 2006-02-20  Julien MOUTTE  <julien@moutte.net>
251
252         * libs/gst/base/gstbasetransform.c:
253         (gst_base_transform_change_state): Fix a stupid bug. I was 
254         sure i compiled that.
255
256 2006-02-20  Julien MOUTTE  <julien@moutte.net>
257
258         * gst/gstpad.c: (gst_pad_set_blocked_async):
259         * gst/gstutils.c: (gst_pad_add_data_probe),
260         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
261         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
262         (gst_pad_remove_buffer_probe): Make those function act on the
263         ghostpad target when it's a ghostpad. (Closes #331727)
264
265 2006-02-20  Julien MOUTTE  <julien@moutte.net>
266
267         * libs/gst/base/gstbasetransform.c:
268         (gst_base_transform_change_state): Make basetransform reusable.
269         (Closes #331898)
270
271 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
272
273         * docs/random/release:
274         Move the current documentation of how to do a release to the top
275         of the file.
276
277         * gst/gstbin.c: (gst_bin_class_init),
278         (gst_bin_handle_message_func):
279         Allow multiple state-recalculation threads. (Closes #328873)
280
281 2006-02-19  Julien MOUTTE  <julien@moutte.net>
282
283         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
284         * gst/gstpad.c: (gst_pad_set_event_function),
285         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
286         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
287         2 strings. You can't use the STR_NULL macro on that.
288
289 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
290
291         * gst/gstpad.c: (gst_pad_set_event_function),
292         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
293         (gst_pad_set_getcaps_function)
294         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
295                 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
296                 So now, we can use --gst-debug-level=5 on Windows
297         * win32/common/libgstcontroller.def:
298           Added export of gst_controller_init
299         * win32/vs6/libgstcontroller.dsp:
300           Fixed Release post build configuration
301
302 2006-02-17  Wim Taymans  <wim@fluendo.com>
303
304         * tests/check/gst/gstquery.c: (GST_START_TEST):
305         Added another check.
306
307 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
308
309         * plugins/elements/gsttypefindelement.c: (find_peek):
310           We can do peeks at non-zero offsets, as long as they
311           fall within the buffer we have.
312
313 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
314
315         * tests/check/Makefile.am:
316         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
317         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
318         (parse_suite), (main):
319           Add testsuite for parse launch syntax
320
321 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
322
323         * plugins/elements/gsttypefindelement.c:
324         (gst_type_find_element_chain):
325           When typefinding is unsuccessful in the chain function, don't
326           error out immediately. Only error out with NO_CAPS_FOUND if
327           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
328           otherwise simply wait for more data so we can try typefinding
329           again with more data later. Also, don't attempt to typefind
330           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
331           this should improve typefinding from network sources where the
332           size of the first buffer can be somewhat random.
333
334 2006-02-14  Wim Taymans  <wim@fluendo.com>
335
336         * docs/gst/gstreamer-sections.txt:
337         * gst/gstpadtemplate.c:
338         * gst/gstpadtemplate.h:
339         Fix padtemplate docs, fixes #328805.
340
341 2006-02-14  Wim Taymans  <wim@fluendo.com>
342
343         * tools/gst-launch.c: (main):
344         NO_PREROLL is not an ERROR so don't send confusing messages
345         to the user.
346
347 2006-02-14  Wim Taymans  <wim@fluendo.com>
348
349         * gst/gstregistry.c: (gst_registry_get_default),
350         (_gst_registry_cleanup):
351         Protect default registry with lock and ref/sink it.
352         Fixes #324818, patch by Torsten Schoenfeld.
353
354 2006-02-14  Wim Taymans  <wim@fluendo.com>
355
356         * gst/gstbuffer.c:
357         * gst/gstquery.c: (gst_query_list_add_format),
358         (gst_query_set_formatsv), (gst_query_parse_formats_length),
359         (gst_query_parse_formats_nth):
360         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
361         Docs fixes.
362
363 2006-02-14  Wim Taymans  <wim@fluendo.com>
364
365         * docs/gst/gstreamer-sections.txt:
366         Reworked query docs.
367
368         * gst/gstquery.c: (gst_query_new_formats),
369         (gst_query_list_add_format), (gst_query_set_formats),
370         (gst_query_set_formatsv), (gst_query_parse_formats_length),
371         (gst_query_parse_formats_nth):
372         * gst/gstquery.h:
373         Flesh out formats query, added some new methods.
374         Fix part of #324398.
375
376         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
377         Added query creation tests.
378
379 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
380
381         * gst/gstpad.c: (fixate_value):
382         Add a default fixation for fraction lists.
383
384 2006-02-13  Wim Taymans  <wim@fluendo.com>
385
386         * gst/gsttask.c: (gst_task_init), (gst_task_func),
387         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
388         (gst_task_join):
389         * gst/gsttask.h:
390         Detect and warn for obvious deadlocks. fixes #320340
391         Fix error case where lock was not released.
392
393         * tests/check/Makefile.am:
394         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
395         (task_func), (gst_element_suite), (main):
396         Add task check.
397
398 2006-02-13  Wim Taymans  <wim@fluendo.com>
399
400         * docs/gst/gstreamer-sections.txt:
401         * gst/gstbus.c:
402         Add new functions to docs.
403
404 2006-02-13  Wim Taymans  <wim@fluendo.com>
405
406         * docs/design/part-TODO.txt:
407         Updated TODO list, basesrc supports seeking to non-bytes
408         formats.
409
410         * docs/design/part-element-sink.txt:
411         Update docs.
412
413         * gst/gstbin.c: (bin_replace_message),
414         (gst_bin_handle_message_func):
415         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
416         * gst/gstevent.c: (gst_event_finalize):
417         * gst/gstpad.c: (gst_pad_event_default_dispatch),
418         (gst_pad_send_event):
419         Use shiny new _TYPE_NAME macros.
420
421         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
422         Move debug statement up.
423
424         * gst/gstelement.c: (gst_element_set_locked_state):
425         Add some debugging.
426
427 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
428
429         * docs/gst/gstreamer-sections.txt:
430         * gst/gstmessage.h:
431         * gst/gstquery.h:
432           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
433           macros (#330906). Also, document the already existing
434           GST_QUERY_TYPE macro.
435
436 2006-02-13  Wim Taymans  <wim@fluendo.com>
437
438         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
439         (event_probe), (GST_START_TEST):
440         Only events up to the pipeline EOS are counted, there are
441         some more when going to NULL currently which we don't care
442         about for now.
443
444 2006-02-13  Wim Taymans  <wim@fluendo.com>
445
446         * gst/gstpad.c: (gst_pad_send_event):
447         Correctly check flushing and emit probes. fixes #330125
448
449 2006-02-10  Andy Wingo  <wingo@pobox.com>
450
451         * gst/gstbus.c (gst_bus_class_init): Declare our private data
452         structure.
453         (gst_bus_init): Cache the location of the private data in the
454         instance structure.
455         (gst_bus_enable_sync_message_emission) 
456         (gst_bus_disable_sync_message_emission): Implement new public
457         functions.
458         (gst_bus_post): Emit the sync-message signal if the user asked for
459         it. Fixes #330684.
460
461         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
462         location of the bus-private structuure.
463         (gst_bus_enable_sync_message_emission)
464         (gst_bus_disable_sync_message_emission): New public functions.
465
466 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
467
468         * docs/pwg/building-boiler.xml:
469         PWG patch from #326800 (Patch by Vincent Torri)
470
471 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
472
473         * configure.ac:
474         * docs/Makefile.am:
475         * docs/design/Makefile.am:
476           Dist design docs.
477
478 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
479
480         * configure.ac:
481           back to CVS
482
483 === release 0.10.3 ===
484
485 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
486
487         * configure.ac:
488           releasing 0.10.3, "Like a virgin"
489
490 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
491
492         * configure.ac:
493           2nd prerelease of 0.10.3
494           Bump libtool versioning.
495
496 2006-02-07  Andy Wingo  <wingo@pobox.com>
497
498         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
499         update last_stop if we're in TIME format and the timestamp is
500         valid.
501
502         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
503         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
504         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
505         If we get a new newsegment with a different format, adapt
506         accordingly.
507
508         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
509         of 0. Not a problem, really.
510
511         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
512         warn if sync=true.
513
514 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
515
516         * configure.ac:
517           Prelease of 0.10.3
518
519 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
520
521         * win32/vs7:
522           project files updated to the default vs7 configuration
523         * win32/common/libgstbase.def:
524         * win32/common/libgstreamer.def:
525           added new symbols,
526           removed empty lines,
527           sorted all exported symbols alphabetically
528         * win32/common/dirent.c:
529         * win32/common/dirent.h:
530         * win32/common/gchar.h:
531           use windows line end.
532           
533 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
534
535         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
536           Send EOS event when stopping.
537
538 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
539
540         * docs/README:
541           Tell folks what to do if the plugin-foobar.xml file
542           hasn't been generated for a newly-added plugin.
543
544 2006-02-05  Julien MOUTTE  <julien@moutte.net>
545
546         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
547         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
548         (gst_collect_pads_start), (gst_collect_pads_stop),
549         (gst_collect_pads_event): Collectpads now holds a reference
550         to the GstPad that was added. Indeed we don't want to look
551         at pads that might just go away with no warning...
552
553 2006-02-05  Julien MOUTTE  <julien@moutte.net>
554
555         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
556         (gst_collect_pads_start), (gst_collect_pads_stop),
557         (gst_collect_pads_event), (gst_collect_pads_chain):
558         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
559         Mark Nauwelaerts's patch on bug #328491.
560
561 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
562
563         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
564         (gst_utils_suite):
565           Add some simple tests for gst_parse_bin_from_description() and
566           gst_bin_find_unconnected_pad() (#329069).
567
568 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
569
570         * tools/gst-launch.c: (event_loop), (main):
571           Catch errors during preroll (#320084).
572
573 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
574
575         * plugins/elements/gsttypefindelement.c:
576         (gst_type_find_element_activate):
577           Post TYPE_NOT_FOUND error message when typefinding
578           is unsuccessful in the activate function as well.
579
580 2006-02-02  Wim Taymans  <wim@fluendo.com>
581
582         * docs/design/part-element-sink.txt:
583         Updated doc.
584
585 2006-02-02  Wim Taymans  <wim@fluendo.com>
586
587         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
588         (gst_base_sink_render_object),
589         (gst_base_sink_queue_object_unlocked):
590         Only keep track of prerollable items when we are 
591         prerolling.
592         Before rendering after preroll, always check if we
593         have queued items.
594         Added some more debugging.
595
596 2006-02-02  Wim Taymans  <wim@fluendo.com>
597
598         * gst/gstelement.c: (gst_element_continue_state),
599         (gst_element_set_state_func), (gst_element_change_state):
600         Fixed #326576, been running this for quite some time with
601         no regressions at all.
602
603 2006-02-02  Wim Taymans  <wim@fluendo.com>
604
605         * common/gst.supp:
606         Added more suppressions
607
608 2006-02-02  Wim Taymans  <wim@fluendo.com>
609
610         * docs/design/part-element-sink.txt:
611         Updated document.
612
613         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
614         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
615         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
616         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
617         (gst_base_sink_do_sync), (gst_base_sink_render_object),
618         (gst_base_sink_preroll_object),
619         (gst_base_sink_queue_object_unlocked),
620         (gst_base_sink_queue_object), (gst_base_sink_event),
621         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
622         (gst_base_sink_loop), (gst_base_sink_activate_pull),
623         (gst_base_sink_get_position), (gst_base_sink_change_state):
624         * libs/gst/base/gstbasesink.h:
625         Totally refactored matching the design doc.
626         Use two segments, one to clip incomming buffers and another to
627         perform sync.
628         Handle queueing correctly, bypass the queue when playing.
629         Make EOS cancelable.
630         Handle errors correctly when operating in pull based mode.
631
632         * tests/check/elements/fakesink.c: (GST_START_TEST),
633         (fakesink_suite):
634         Added new check for sinks.
635
636 2006-02-02  Wim Taymans  <wim@fluendo.com>
637
638         * gst/gstsegment.c: (gst_segment_clip):
639         No reason to refuse to clip when start == -1
640
641 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
642
643         * docs/README:
644         * docs/manual/intro-basics.xml:
645         * docs/manual/intro-preface.xml:
646         * docs/manual/manual.xml:
647         * docs/pwg/advanced-dparams.xml:
648         * docs/pwg/intro-basics.xml:
649         * docs/pwg/intro-preface.xml:
650         * docs/pwg/pwg.xml:
651           describe dparams (controller) for plugins
652           unify docs a little more
653
654 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
655
656         * docs/gst/gstreamer-sections.txt:
657         * gst/gstutils.c: (element_find_unconnected_pad),
658         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
659         * gst/gstutils.h:
660           Add new API: gst_parse_bin_from_description() and
661           gst_bin_find_unconnected_pad() (#329069).
662
663 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
664
665         * docs/manual/README:
666           uncover a nasty detail of the docs build
667
668 2006-01-31  Wim Taymans  <wim@fluendo.com>
669
670         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
671         Don't cache duration messages if we're not going to use or
672         free them.
673
674 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
675
676         * docs/manual/advanced-dparams.xml:
677         * docs/pwg/advanced-dparams.xml:
678           more dparam docs
679         * gst/gstindex.c:
680           fix docs
681         * libs/gst/controller/lib.c: (gst_controller_init):
682           init just once
683
684 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
685
686         * gst/gstelement.c: (gst_element_message_full):
687           also show file/line/func if no additional debug was given
688
689 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
690         
691         * win32/vs7/grammar.vcproj:
692                 activate copy of autogenerated files for Release mode
693
694 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
695         
696         * win32/common/libgstreamer.def:
697                 export gst_value_compare
698
699 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
700
701         * plugins/elements/Makefile.am:
702         * plugins/elements/gstelements.c:
703         * plugins/elements/gstfdsink.c: (_do_init),
704         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
705         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
706         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
707         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
708         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
709         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
710         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
711         * plugins/elements/gstfdsink.h:
712         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
713
714 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
715
716         * docs/manual/advanced-dparams.xml:
717           describe controller
718         * docs/manual/advanced-position.xml:
719         * docs/manual/basics-init.xml:
720         * docs/manual/manual.xml:
721         * docs/manual/titlepage.xml:
722         * docs/pwg/pwg.xml:
723         * docs/pwg/titlepage.xml:
724           cleanup xml (more to come)
725         * libs/gst/controller/gstcontroller.c:
726           fix typo
727
728 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
729         
730         * win32/vs6/grammar.dsp:
731                 add autogen of gstmarshal.c,h for Release mode
732                 
733 2006-01-30  Wim Taymans  <wim@fluendo.com>
734
735         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
736         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
737         (gst_base_sink_handle_object), (gst_base_sink_event),
738         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
739         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
740         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
741         (gst_base_sink_deactivate), (gst_base_sink_activate),
742         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
743         (gst_base_sink_query), (gst_base_sink_change_state):
744         Basesink cleanups, remove some old code.
745         Handle the case where a subclass can preroll in the render
746         method (mostly audiosinks).
747         Handle more events.
748         Remove some locks around variables that are now protected
749         with the PREROLL_LOCK (clock_id, flushing, ..).
750         Optimize position query some more, do correct locking.
751         Remove old code to push queue in state change, this is not
752         needed anymore since preroll blocks on all prerollable items 
753         now.
754         Almost implemented as described in design doc.
755
756 2006-01-30  Wim Taymans  <wim@fluendo.com>
757
758         * tests/check/gst/gstbin.c: (GST_START_TEST):
759         Wait for refcount to settle down before checking.
760
761 2006-01-30  Wim Taymans  <wim@fluendo.com>
762
763         * docs/design/part-element-sink.txt:
764         Pseudo code overview of desired sink behaviour regarding
765         preroll.
766
767 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
768         * win32/vs6/grammar.dsp:
769                 fix some bugs in Release mode for autogenerated files
770                 
771 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
772         * win32/common/libgstbase.def:
773         * win32/common/libgstreamer.def:
774                 export some new symbols: gst_base_src_set_format,
775                 gst_iterator_next, gst_structure_set_valist
776
777 2006-01-29  Julien MOUTTE  <julien@moutte.net>
778
779         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
780         Set pad functions unconditionally. Fixes #329105.
781
782 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
783         * win32/vs8:
784                 add vs8 project files created by Sergey Scobich
785
786 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
787
788         * gst/gstutils.c: (gst_element_unlink_pads):
789         Don't leak pad references.
790
791         * tests/check/elements/fakesink.c: (GST_START_TEST):
792         * tests/check/generic/sinks.c: (GST_START_TEST):
793         * tests/check/generic/states.c: (GST_START_TEST):
794         * tests/check/gst/gstbin.c: (GST_START_TEST):
795         * tests/check/gst/gstcaps.c: (GST_START_TEST):
796         * tests/check/gst/gstelement.c: (GST_START_TEST):
797         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
798         * tests/check/gst/gstiterator.c: (GST_START_TEST):
799         * tests/check/gst/gstvalue.c: (GST_START_TEST):
800         Fix a bunch of leaks. Make generic/sinks.c
801         use a bit less cpu by slowing the buffer rate
802         between fakesrc and fakesink.
803         
804 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
805         * gst/gstcaps.c:
806         * gst/gstelement.c: (gst_element_send_event):
807         * gst/gstevent.c:
808         * gst/gstinfo.c:
809         * gst/gstiterator.c:
810         * gst/gstiterator.h:
811         * gst/gstpad.c: (gst_pad_send_event):
812         * gst/gststructure.c:
813         * gst/gsturi.c:
814         * gst/gstutils.c:
815         * gst/gstvalue.c:
816         * libs/gst/base/gstadapter.c:
817           doc fixes, to link to function, just write gst_cool_function(), don't
818           prefix with '#'
819
820 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
821
822         * plugins/elements/gsttee.c: (gst_tee_do_push),
823         (gst_tee_handle_buffer):
824         Always prefer an actual return value from a src
825         pad in place of NOT_LINKED. This means we return
826         WRONG_STATE when all src pads are WRONG_STATE
827         instead of NOT_LINKED.
828
829         Lock when replacing the last message to prevent
830         racing with the get_property method.
831
832         Add debug output
833
834 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
835
836         * tests/check/Makefile.am:
837         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
838         (main):
839         Add a very simple check that should have caught the memleak I fixed
840         last night (if not for the slice allocator hiding it)
841
842 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
843
844         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
845         (gst_bin_remove_func), (gst_bin_handle_message_func),
846         (bin_query_duration_fold), (bin_query_generic_fold):
847         Clean up references to the clock provider when disposed or when
848         handling a clock-lost message from it.
849
850         Unref sinks when performing a query via gst_iterator_fold, as the
851         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
852
853         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
854         (gst_clock_set_master):
855         Drop our reference to the master clock, if any, when we are disposed.
856
857         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
858         Chain up in dispose. 
859
860 2006-01-26  Wim Taymans  <wim@fluendo.com>
861
862         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
863         Add some debugging.
864
865 2006-01-26  Julien MOUTTE  <julien@moutte.net>
866
867         * plugins/elements/gsttee.c: (gst_tee_do_push),
868         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
869         handles pad being NOT_LINKED or in WRONG_STATE.
870
871 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
872
873         * win32/MANIFEST:
874           more updating
875
876 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
877
878         * win32/MANIFEST:
879           remove obsolete entry
880
881 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
882
883         * docs/gst/gstreamer-sections.txt:
884         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
885         (gst_bin_iterate_sources), (gst_bin_send_event):
886         * gst/gstbin.h:
887         * gst/gstelement.c: (gst_element_send_event):
888         * gst/gstevent.c:
889         * gst/gstpad.c: (gst_pad_send_event):
890           added code for downstream events, reviewed docs in gstevent.c
891
892 2006-01-25  Julien MOUTTE  <julien@moutte.net>
893
894         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
895         We only query position using the clock in the playing state.
896         Query peer in the other cases.
897         * win32/common/config.h: Updates.
898
899 2006-01-24  Wim Taymans  <wim@fluendo.com>
900
901         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
902         A clock entry that is scheduled for the exact time of the
903         clock is still in time.
904
905         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
906         (gst_base_sink_do_sync):
907         Add some more debug info.
908
909 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
910
911         * win32/vs7:
912           Add new vs7 project files and solution.
913
914 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
915
916         * win32/vs7:
917           all files removed as they were out-dated.
918
919 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
920
921         * docs/random/release:
922           update notes
923         * gst/gstbin.c: (gst_bin_init):
924         * gst/gstbus.c: (gst_bus_new):
925         * gst/gstbus.h:
926         * gst/gstpipeline.c: (gst_pipeline_init):
927           use gst_bus_new(), improve logging, fix docs
928         * win32/common/config.h:
929           update for cvs build
930
931 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
932
933         * autogen.sh:
934           up required version of automake to 1.7
935
936 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
937
938         * win32/common/libgstreamer.def:
939           export gst_buffer_is_metadata_writable
940
941 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
942
943         * docs/gst/gstreamer-sections.txt:
944         * gst/gstevent.h:
945           Add gst_event_replace() (#327001)
946
947 2006-01-20  Wim Taymans  <wim@fluendo.com>
948
949         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
950         Make it actually compile too..
951
952 2006-01-20  Wim Taymans  <wim@fluendo.com>
953
954         * gst/gstcaps.c:
955         Clarify behaviour of _is_equal() when passing NULL parameters.
956
957         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
958         (gst_pad_set_caps):
959         Cleanups. Don't unref NULL caps.
960         When setting the same caps, protect caps of the pad with
961         proper lock.
962         Use full functionality of _is_equal() when comparing caps.
963
964 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
965
966         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
967         Don't loop infinitely if there are no buffers to present. Partially
968         fixes #327197, but collectpads is just broken for reusing elements
969         to do multiple encodes atm.
970
971 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
972
973         * tools/gst-inspect.c: (print_element_features):
974         * tools/gst-xmlinspect.c: (main):
975         URL_HANDLER is not a plugin feature we can search for in
976         the registry.
977
978 2006-01-19  Edward Hervey  <edward@fluendo.com>
979
980         * gst/gstelement.c: (gst_element_pads_activate): 
981         When activating, do src pads first, then sink pads.
982         When de-activating, do sink pads first, then src pads.
983
984 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
985
986         * docs/gst/gstreamer-sections.txt:
987         Add gst_index_add_associationv to the docs
988
989 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
990
991         * gst/gstevent.c:
992           Fix docs typo
993
994         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
995         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
996           Do some refactoring. Doesn't actually change functionality,
997           but makes landing the DRAIN event easier later.
998
999 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
1000
1001         * docs/pwg/advanced-scheduling.xml:
1002           Update from 0.9.x to 0.10 API and make example a bit
1003           clearer.
1004
1005 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
1006
1007         * docs/gst/gstreamer-sections.txt:
1008         Add gst_buffer_(is|make)_metadata_writable methods.
1009
1010 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
1011
1012         * docs/design/part-sparsestreams.txt:
1013         Update sparse streams doc, hopefully for greater clarity
1014
1015 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
1016
1017         * docs/design/part-events.txt:
1018         Remove mention of FILLER events.
1019         Add DRAIN event.
1020
1021         * docs/design/part-sparsestreams.txt:
1022         Write some things about using NEWSEGMENT to keep sparse streams
1023         flowing.
1024
1025 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
1026
1027         * gst/gstbin.c: (gst_bin_dispose):
1028           Guard gst_object_unref call against a NULL object (dispose
1029           can theoretically be called multiple times).
1030           
1031 2006-01-18  Wim Taymans  <wim@fluendo.com>
1032
1033         * gst/gstbin.c: (gst_bin_element_set_state):
1034         * gst/gstclock.c: (gst_clock_id_wait):
1035         Added some more debug info.
1036
1037         * libs/gst/base/gstadapter.c:
1038         Added more docs.
1039
1040         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1041         (gst_base_sink_do_sync), (gst_base_sink_chain):
1042         Added some comments.
1043
1044 2006-01-18  Wim Taymans  <wim@fluendo.com>
1045
1046         * tests/check/Makefile.am:
1047         * tests/check/elements/fakesink.c: (chain_async_buffer),
1048         (chain_async), (chain_async_return), (GST_START_TEST),
1049         (fakesink_suite), (main):
1050         Added fakesink test that checks prerolling and clipping
1051         behaviour.
1052
1053         * tests/check/gst/gstutils.c: (GST_START_TEST):
1054         Make check run faster so that buildbots don't timeout.
1055
1056 2006-01-18  Wim Taymans  <wim@fluendo.com>
1057
1058         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1059         (gst_base_sink_do_sync):
1060         Some cleanups.
1061         When the sink finishes blocking on the preroll buffer, it can
1062         immediatly render it instead of rendering when the next buffer
1063         arrives.
1064
1065 2006-01-18  Wim Taymans  <wim@fluendo.com>
1066
1067         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
1068         (gst_base_sink_get_property), (gst_base_sink_do_sync),
1069         (gst_base_sink_chain):
1070         Small cleanups.
1071         GST_ELEMENT_CLOCK and sync are protected with LOCK.
1072         Don't store _last_stop if the buffer is dropped.
1073
1074 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
1075
1076         * plugins/elements/gsttypefindelement.c:
1077         (gst_type_find_element_class_init):
1078           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
1079           object method handler that sets the caps on the pad and we want
1080           that to happen before we emit the signal (fixes e.g. feeding a
1081           plain text file to decodebin).
1082
1083 2006-01-18  Christian Schaller  <Christian@fluendo.com>
1084
1085         * gst/gstplugin.c: Add MPL and Proprietary as license options
1086
1087 2006-01-18  Andy Wingo  <wingo@pobox.com>
1088
1089         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
1090         symbol was exported before, it appears this was just an oversight.
1091         Fixes #168703.
1092         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
1093
1094         * gst/gstindex.c (gst_index_add_associationv): Changed int in
1095         prototype to gint. OK since this prototype was not in the header.
1096
1097 2006-01-17  Andy Wingo  <wingo@pobox.com>
1098
1099         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
1100         registry while we remove plugins.
1101
1102         * tools/gst-inspect.c (print_element_info): Don't unref the
1103         factory arg, that should be the responsibility of whatever code
1104         received the ref. Fixes a double-free when called from
1105         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
1106         (main): Unref the factory if we have one.
1107         (print_element_list): No change -- relies on the
1108         plugin_feature_list_free to free the list of features.
1109
1110 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
1111
1112         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
1113         (gst_buffer_make_metadata_writable):
1114         * gst/gstbuffer.h:
1115         * libs/gst/base/gstbasetransform.c:
1116         (gst_base_transform_prepare_output_buf):
1117         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1118         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
1119           Replace gst_buffer_(make|is)_metadata_writable patch now
1120           that the release is out.
1121
1122 2006-01-17  Andy Wingo  <wingo@pobox.com>
1123
1124         * gst/gstregistry.c: Reflow design comment. Update so as to speak
1125         in the present tense without reference to versions.
1126
1127         * gst/gstregistry.c (gst_registry_add_plugin)
1128         (gst_registry_remove_plugin, gst_registry_remove_feature)
1129         (gst_registry_find_feature, gst_registry_get_feature_list)
1130         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
1131         (gst_registry_lookup, gst_registry_scan_path)
1132         (_gst_registry_remove_cache_plugins)
1133         (gst_registry_get_feature_list_by_plugin): Add argument
1134         validation.
1135
1136 === release 0.10.2 ===
1137
1138 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
1139
1140         * configure.ac:
1141           releasing 0.10.2, "If man is five"
1142
1143 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
1144
1145         * gst/gstbuffer.c:
1146         * gst/gstbuffer.h:
1147         * libs/gst/base/gstbasetransform.c:
1148         (gst_base_transform_prepare_output_buf):
1149         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1150         * tests/check/gst/gstbuffer.c: (gst_test_suite):
1151           Back out patch until after the release.
1152
1153 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
1154
1155         * gst/gstminiobject.c:
1156           Spelling fix in docs.
1157         * ChangeLog - remove conflict indicator
1158
1159 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
1160
1161         Reviewed By: Andy Wingo
1162
1163         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
1164         (gst_buffer_make_metadata_writable):
1165         * gst/gstbuffer.h:
1166           Add gst_buffer_(is|make)_metadata_writable as analogues of
1167           gst_buffer_(is|make)_writable.
1168
1169         * libs/gst/base/gstbasetransform.c:
1170         (gst_base_transform_prepare_output_buf):
1171         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1172           Use name gst_buffer_(is|make)_metadata_writable functions.
1173
1174         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
1175           Test gst_buffer_(is|make)_metadata_writable
1176         
1177           (Closes: #324162)
1178
1179 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1180
1181         * docs/manual/Makefile.am:
1182           don't do parallel make
1183         * configure.ac:
1184           AC_SUBST HOST_CPU
1185         * win32/common/config.h.in:
1186           add generations for HOST_CPU and GST_MAJORMINOR
1187         * win32/common/config.h:
1188           commit generated result
1189
1190 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
1191
1192         * docs/manual/appendix-integration.xml:
1193           Update GNOME integration section to use gst_init_get_option_group()
1194           instead of the old popt stuff (#322911). Also, GNOME applications
1195           should  now use gconf*sink and gconf*src instead of the old gconf
1196           helper lib we had.
1197
1198 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
1199
1200
1201         * docs/gst/gstreamer-docs.sgml:
1202         * docs/gst/gstreamer-sections.txt:
1203         * docs/libs/gstreamer-libs-sections.txt:
1204           add new API entries to the docs
1205         * libs/gst/controller/Makefile.am:
1206         * libs/gst/controller/gstcontroller.c:
1207         * libs/gst/controller/gstcontroller.h:
1208         * libs/gst/controller/gstcontrollerprivate.h:
1209         * libs/gst/controller/gsthelper.c:
1210         * libs/gst/controller/gstinterpolation.c:
1211           move private structs to private header
1212         * po/README:
1213           gstreamer-0.7 -> gstreamer-0.10
1214         * tests/check/libs/struct_i386.h:
1215           remove private structs
1216
1217 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1218
1219         * plugins/indexers/Makefile.am:
1220           Fixes as part of #317048
1221
1222 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1223
1224         * plugins/indexers/Makefile.am:
1225           fix #316086 - compilation when mmap is missing
1226
1227 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
1228
1229         * libs/gst/base/gstbasesink.c:
1230           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
1231           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
1232         * win32/common/config.h:
1233           added some defines GST_MAJORMINOR and HOST_CPU
1234         * win32/common/libgstbase.def:
1235         * win32/common/libgstreamer.def:
1236           added some exported functions.
1237
1238 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
1239
1240         * libs/gst/controller/gstcontroller.c:
1241         (gst_controlled_property_set_interpolation_mode),
1242         (gst_controlled_property_new):
1243         * libs/gst/controller/gstcontroller.h:
1244         * libs/gst/controller/gstinterpolation.c:
1245         (interpolate_none_get_string_value_array):
1246           make G_TYPE_STRING controlable
1247
1248 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
1249
1250         * tools/README:
1251         * tools/gst-feedback.1.in:
1252         * tools/gst-inspect.1.in:
1253         * tools/gst-launch.1.in:
1254         * tools/gst-md5sum.1.in:
1255         * tools/gst-typefind.1.in:
1256         * tools/gst-xmlinspect.1.in:
1257         * tools/gst-xmllaunch.1.in:
1258           cleanup man-pages, remove reference to gst-register, document env-vars
1259
1260 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
1261
1262         * gst/gstbuffer.c: (gst_buffer_span):
1263           gst_buffer_span should copy the timestamp of the first buffer
1264           if they were both originally overlapping subbuffers of the 
1265           same parent, using the same logic as the 'slow copy' case.
1266
1267 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
1268
1269         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
1270           Need to awaken ALL the pads when we pop a buffer, otherwise
1271           collectpads only works when there is 2 input streams.
1272
1273 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
1274
1275         * docs/random/ensonic/media-device-daemon.txt:
1276           more ideas (dbus)
1277         * gst/gstbuffer.c:
1278           fix doc example, add clarification
1279         * tools/gst-launch.1.in:
1280           add initial info about GST_PLUGIN_PATH, needs more work
1281
1282 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
1283
1284         * docs/manual/basics-bins.xml:
1285         * docs/manual/basics-elements.xml:
1286         * docs/manual/intro-basics.xml:
1287           Some more minor docs additions and updates.
1288
1289 2006-01-11  Wim Taymans  <wim@fluendo.com>
1290
1291         * docs/manual/basics-bins.xml:
1292         * docs/manual/basics-elements.xml:
1293         Some small fixes as pointed out by Ser-ver on IRC.
1294
1295 2006-01-10  Edward Hervey  <edward@fluendo.com>
1296
1297         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1298         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
1299         the single-segment mode.
1300
1301 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
1302
1303         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1304
1305         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
1306         (gst_base_src_perform_seek), (gst_base_src_send_event),
1307         (gst_base_src_set_property), (gst_base_src_get_property),
1308         (gst_base_src_loop), (gst_base_src_start),
1309         (gst_base_src_activate_push):
1310         * libs/gst/base/gstbasesrc.h:
1311           Name (private) union; makes Sun's Forte compiler happy (#324900).
1312
1313 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1314
1315         * README:
1316           gst-register is gone.
1317
1318 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
1319
1320         * gst/gstvalue.c: (_gst_value_initialize):
1321           make the G_TYPE_DATE instantiation work if debug is disabled
1322
1323 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
1324
1325         * gst/gstmessage.c: (gst_message_parse_tag),
1326         (gst_message_parse_error), (gst_message_parse_warning):
1327           Don't crash when return location for error/warning debug
1328           string is NULL; add fact that return locations can be
1329           NULL to docs where appropriate.
1330
1331 2006-01-05  Wim Taymans  <wim@fluendo.com>
1332
1333         * gst/gstplugin.c: (gst_plugin_load_file):
1334         Replace strdup by g_strdup.
1335
1336 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1337
1338         * docs/pwg/advanced-types.xml:
1339           fix doc borkage
1340
1341 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1342
1343         submitted by: Abel Cheung
1344
1345         * po/LINGUAS:
1346         * po/zh_TW.po:
1347           Added Chinese (traditional) translation
1348
1349 2006-01-04  Wim Taymans  <wim@fluendo.com>
1350
1351         * docs/manual/basics-pads.xml:
1352         * docs/plugins/Makefile.am:
1353         * docs/plugins/gstreamer-plugins-docs.sgml:
1354         * docs/plugins/gstreamer-plugins-sections.txt:
1355         * docs/pwg/advanced-clock.xml:
1356         * docs/pwg/advanced-scheduling.xml:
1357         * docs/pwg/advanced-types.xml:
1358         * plugins/elements/gstfdsink.c:
1359         * plugins/elements/gstfdsrc.c:
1360         * plugins/elements/gstfdsrc.h:
1361         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1362         * plugins/elements/gstidentity.h:
1363         * plugins/elements/gstqueue.h:
1364         * plugins/elements/gsttee.c:
1365         * plugins/elements/gsttee.h:
1366         * plugins/elements/gsttypefindelement.c:
1367         (gst_type_find_element_class_init):
1368         * plugins/elements/gsttypefindelement.h:
1369         Small updates to various docs.
1370         Added core plugins to docs.
1371
1372 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1373
1374         * common/gst.supp:
1375           add a suppression for liboil's uninitialized variable
1376
1377 2006-01-02  James Livingston  <jrl at ids dot org dot au>
1378
1379         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1380
1381         * gst/gstutils.h:
1382           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
1383           macro, so that gcc doesn't complain if the -Wmissing-prototypes
1384           compiler switch is being used (#325429).
1385
1386 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
1387
1388         * gst/gstbin.c: (gst_bin_query):
1389           Disable duration query caching in bins until it gets
1390           fixed (see #324807).
1391
1392 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
1393
1394         * tools/gst-inspect.c: (print_element_properties_info):
1395           Handle properties of POINTER and BOXED type.
1396
1397 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
1398
1399         * gst/gst.c: (init_post):
1400           Init tags stuff and some other things before loading
1401           any static plugins (there may be other static plugins
1402           than just the GStreamer ones, and they may want to
1403           register their own tags or formats or whatever, and
1404           preferably without segfaulting).
1405
1406         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1407           Print at least a warning in the debug logs if we drop a
1408           query just because we don't know how to adjust the value
1409           in the particular format.
1410
1411 2005-12-24  David Schleef  <ds@schleef.org>
1412
1413         * tools/gstreamer-completion:
1414           Replacement for gst-complete written in sh and sed.  Only
1415           completes names of features, but that's 90% of what I want
1416           it for.  Properties are not available in registry.xml.  (Maybe
1417           they should be...)
1418
1419 === release 0.10.1 ===
1420
1421 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
1422
1423         * configure.ac:
1424           releasing 0.10.1, "Nollaig chridheil"
1425
1426 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
1427
1428         * docs/faq/cvs.xml:
1429           Add missing quote, should be make ERROR_CFLAGS="".
1430
1431 2005-12-20  Wim Taymans  <wim@fluendo.com>
1432
1433         * docs/design/part-trickmodes.txt:
1434         More documentation on trickmodes.
1435
1436 2005-12-20  Edward Hervey  <edward@fluendo.com>
1437
1438         * gst/gstcaps.c: (gst_static_caps_get_type):
1439         * gst/gstcaps.h:
1440           API addition: GST_TYPE_STATIC_CAPS
1441         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
1442         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
1443         * gst/gstpadtemplate.h:
1444           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
1445         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
1446         bindings.
1447
1448 2005-12-18  Wim Taymans  <wim@fluendo.com>
1449
1450         * libs/gst/base/gstadapter.c:
1451         * libs/gst/base/gstadapter.h:
1452         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1453         (gst_base_sink_get_position):
1454         * libs/gst/base/gstbasesink.h:
1455         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1456         (gst_base_src_default_query), (gst_base_src_default_do_seek),
1457         (gst_base_src_do_seek), (gst_base_src_perform_seek),
1458         (gst_base_src_send_event), (gst_base_src_update_length),
1459         (gst_base_src_get_range), (gst_base_src_loop),
1460         (gst_base_src_start):
1461         * libs/gst/base/gstbasesrc.h:
1462         * libs/gst/base/gstbasetransform.h:
1463         * libs/gst/base/gstcollectpads.h:
1464         * libs/gst/base/gstpushsrc.c:
1465         * libs/gst/base/gstpushsrc.h:
1466         * libs/gst/dataprotocol/dataprotocol.c:
1467         * libs/gst/dataprotocol/dataprotocol.h:
1468         * libs/gst/net/gstnetclientclock.h:
1469         * libs/gst/net/gstnettimeprovider.h:
1470         Documentation updates.
1471
1472 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
1473
1474         * docs/manual/basics-helloworld.xml:
1475           Remove superfluous closing bracket in helloworld example.
1476
1477 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
1478
1479         * tools/gst-launch.1.in:
1480           Update gst-launch man page; add a section with useful
1481           environment variables. Fixes #323882.
1482
1483 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
1484
1485         * gst/gst.c:
1486         * gst/gst_private.h:
1487           change some char* into char[]
1488
1489 2005-12-16  Wim Taymans  <wim@fluendo.com>
1490
1491         * gst/gstregistryxml.c: (load_feature):
1492         Cleanups.
1493         Don't use g_object_unref on GstObjects so that we avoid
1494         leaks on unsafe glibs.
1495
1496 2005-12-16  Wim Taymans  <wim@fluendo.com>
1497
1498         * gst/gstbin.c: (gst_bin_recalc_state):
1499         Small doc updates.
1500
1501 2005-12-16  Wim Taymans  <wim@fluendo.com>
1502
1503         * common/check.mak:
1504         Added make forever target for check.
1505
1506 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1507
1508         * gst/gst.c: (init_post):
1509           make the registry cache file HOST_CPU-dependent
1510
1511 2005-12-16  Andy Wingo  <wingo@pobox.com>
1512
1513         * plugins/elements/gstbufferstore.c
1514         (gst_buffer_store_cleared_func): Pay attention to g_list_append
1515         return value.
1516
1517         * tests/check/gst/gstobject.c
1518         (test_fake_object_name_threaded_unique): Pay attention to
1519         g_list_sort return value.
1520
1521 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1522
1523         * tools/gst-feedback-m.m:
1524           Update for 0.9/0.10 (fixes #323870).
1525
1526 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
1527
1528         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
1529           Fix lcopy for mini objects, the mini object needs to be ref'ed.
1530           
1531         * tests/check/gst/gstminiobject.c: (my_foo_init),
1532         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
1533         (test_value_collection), (gst_mini_object_suite):
1534           Add test to ensure refcounts end up as expected when passing
1535           GstMiniObjects through g_object_get() and g_object_set().
1536
1537 2005-12-14  Julien MOUTTE  <julien@moutte.net>
1538
1539         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1540         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
1541         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
1542         of collectpads. This version removes a lot of races without
1543         touching API/ABI. Yay !
1544
1545 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
1546
1547         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
1548           Don't allow activation of a srcpad in pull_range if it has no
1549           getrange function.
1550           Change some debug statements to be a little clearer
1551
1552         * plugins/elements/gsttypefindelement.c:
1553         (gst_type_find_handle_src_query):
1554           Check that we have a peer before executing queries thereupon.
1555
1556         * tests/examples/metadata/read-metadata.c: (message_loop):
1557           Use gst_bus_pop instead of gst_bus_poll when we just want it to
1558           immediately return us any available message with 0 timeout.
1559
1560 2005-12-12  Michael Smith  <msmith@fluendo.com>
1561
1562         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
1563           Don't unref factories after calling them.
1564         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
1565         * plugins/elements/gsttypefindelement.c:
1566         (gst_type_find_element_chain):
1567           Free lists of factories after using them. Fixing typefinding memory
1568           leaks.
1569
1570 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
1571
1572         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1573         (gst_plugin_feature_load):
1574           more meaningful debug output
1575         * configure.ac:
1576         * tests/Makefile.am:
1577         * tests/old/examples/Makefile.am:
1578           make make distcheck happy again
1579
1580 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1581
1582         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
1583           Catch the special case where we are operating chain-based,
1584           but the downstream peer pad has no chain function. Emit a
1585           custom error message in this case instead of letting the
1586           core generate one implying that this is some sort of core
1587           bug. It's not, it just means that whatever got plugged
1588           into the pipeline downstream when we announced the type
1589           can only operate pull-based, while our source can only
1590           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
1591           Error string has not been marked for translation yet, as
1592           it probably needs some more work first.
1593
1594         (gst_type_find_element_get_best_possibility):
1595           Add helper function to find the best of all available
1596           found possibilities that qualify given the min. threshold.
1597
1598         (gst_type_find_element_handle_event):
1599           Fix the case where we get an EOS while still in TYPEFIND
1600           mode (we want to chose the best of all possible types,
1601           not just the first type that happens to be in our unsorted
1602           list of possible types).
1603
1604         (gst_type_find_element_chain):
1605           Make sure we return GST_FLOW_ERROR when we errored out
1606           in stop_typefinding(); also, don't just find the best of
1607           all found type entries and then use the last examined
1608           type entry, but actually use the best entry.
1609
1610 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1611
1612         * tests/examples/typefind/typefind.c: (type_found):
1613         * tests/examples/xml/runxml.c: (xml_loaded):
1614           More gcc4 fixes and a mem leak fix.
1615
1616 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
1617
1618         * tests/examples/xml/createxml.c: (object_saved):
1619           gcc 4 fixes
1620
1621 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
1622
1623         * tests/Makefile.am:
1624           enable the examples even more
1625
1626 2005-12-12  Andy Wingo  <wingo@pobox.com>
1627
1628         * libs/gst/net/gstnettimeprovider.c
1629         (gst_net_time_provider_class_init, gst_net_time_provider_init)
1630         (gst_net_time_provider_set_property)
1631         (gst_net_time_provider_get_property):
1632         API addition: Export "active" as a GObject property.
1633         (gst_net_time_provider_thread): Only respond to time queries if
1634         the time provider is active.
1635
1636         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
1637         NetTimeProvider, preserving binary compat.
1638
1639 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
1640
1641         * tests/examples/controller/audio-example.c: (main):
1642         * tests/examples/launch/Makefile.am:
1643           convert comments again
1644
1645 2005-12-12  Wim Taymans  <wim@fluendo.com>
1646
1647         * libs/gst/base/gstpushsrc.c:
1648         Fix typo.
1649
1650 2005-12-12  Wim Taymans  <wim@fluendo.com>
1651
1652         * docs/libs/gstreamer-libs-sections.txt:
1653         Added new symbol to docs.
1654
1655         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1656         (gst_base_src_init), (gst_base_src_set_format),
1657         (gst_base_src_default_query), (gst_base_src_query),
1658         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
1659         (gst_base_src_perform_seek), (gst_base_src_send_event),
1660         (gst_base_src_default_event), (gst_base_src_event_handler),
1661         (gst_base_src_set_property), (gst_base_src_get_property),
1662         (gst_base_src_wait), (gst_base_src_do_sync),
1663         (gst_base_src_update_length), (gst_base_src_get_range),
1664         (gst_base_src_check_get_range), (gst_base_src_loop),
1665         (gst_base_src_default_negotiate), (gst_base_src_start),
1666         (gst_base_src_activate_push), (gst_base_src_activate_pull),
1667         (gst_base_src_change_state):
1668         * libs/gst/base/gstbasesrc.h:
1669         Implement seeking to other formats than _BYTES.
1670         Implement more seeking methods correctly.
1671         Doc updates.
1672         Added query vmethod.
1673         Added do_seek vmethod to make life easier for subclasses
1674         when seeking.
1675         API addition: gst_base_src_set_format()
1676
1677 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
1678
1679         * tests/examples/Makefile.am:
1680           added that too
1681
1682 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
1683
1684         * configure.ac:
1685         * docs/random/ensonic/media-device-daemon.txt:
1686         * tests/examples/controller/.cvsignore:
1687         * tests/examples/controller/Makefile.am:
1688         * tests/examples/controller/audio-example.c: (main):
1689         * tests/examples/helloworld/.cvsignore:
1690         * tests/examples/helloworld/Makefile.am:
1691         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
1692         * tests/examples/launch/.cvsignore:
1693         * tests/examples/launch/Makefile.am:
1694         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
1695         * tests/examples/metadata/.cvsignore:
1696         * tests/examples/metadata/Makefile.am:
1697         * tests/examples/metadata/read-metadata.c: (message_loop),
1698         (make_pipeline), (print_tag), (main):
1699         * tests/examples/queue/.cvsignore:
1700         * tests/examples/queue/Makefile.am:
1701         * tests/examples/queue/queue.c: (event_loop), (main):
1702         * tests/examples/typefind/.cvsignore:
1703         * tests/examples/typefind/Makefile.am:
1704         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
1705         (main):
1706         * tests/examples/xml/.cvsignore:
1707         * tests/examples/xml/Makefile.am:
1708         * tests/examples/xml/createxml.c: (object_saved), (main):
1709         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
1710         * tests/old/examples/Makefile.am:
1711         * tests/old/examples/TODO:
1712         * tests/old/examples/controller/.cvsignore:
1713         * tests/old/examples/controller/Makefile.am:
1714         * tests/old/examples/controller/audio-example.c:
1715         * tests/old/examples/helloworld/.cvsignore:
1716         * tests/old/examples/helloworld/Makefile.am:
1717         * tests/old/examples/helloworld/helloworld.c:
1718         * tests/old/examples/launch/.cvsignore:
1719         * tests/old/examples/launch/Makefile.am:
1720         * tests/old/examples/launch/mp3parselaunch.c:
1721         * tests/old/examples/launch/mp3play:
1722         * tests/old/examples/manual/Makefile.am:
1723         * tests/old/examples/metadata/Makefile.am:
1724         * tests/old/examples/metadata/read-metadata.c:
1725         * tests/old/examples/queue/.cvsignore:
1726         * tests/old/examples/queue/Makefile.am:
1727         * tests/old/examples/queue/queue.c:
1728         * tests/old/examples/typefind/.cvsignore:
1729         * tests/old/examples/typefind/Makefile.am:
1730         * tests/old/examples/typefind/typefind.c:
1731         * tests/old/examples/xml/.cvsignore:
1732         * tests/old/examples/xml/Makefile.am:
1733         * tests/old/examples/xml/createxml.c:
1734         * tests/old/examples/xml/runxml.c:
1735           applied some simple fixing to some examples
1736           re-enabled the working examples
1737
1738 2005-12-12  Wim Taymans  <wim@fluendo.com>
1739
1740         * gst/gstsegment.c: (gst_segment_init),
1741         (gst_segment_set_last_stop), (gst_segment_set_seek),
1742         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1743         (gst_segment_to_running_time):
1744         Added more documentation.
1745         Make sure the last_pos value is updated properly.
1746         Make sure to_stream_time and to_running_time don't
1747         operate on wrong values.
1748
1749         * tests/check/gst/gstsegment.c: (GST_START_TEST):
1750         Update check.
1751
1752 2005-12-12  Michael Smith  <msmith@fluendo.com>
1753
1754         * plugins/elements/gsttypefindelement.c: (free_entry),
1755         (gst_type_find_element_chain):
1756           Now that we're not leaking factories, make sure we keep references
1757           to them while we need them.
1758
1759 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1760
1761         * tests/check/gst/struct_i386.h:
1762           ifdef out the XML structs
1763
1764 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1765
1766         * gst/gstvalue.c: (gst_value_transform_double_fraction):
1767           floor is not needed, F is always positive; this obviates the
1768           need for adding -lm when building without libxml
1769
1770 2005-12-12  Wim Taymans  <wim@fluendo.com>
1771
1772         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
1773         Take current playback rate into account when reporting
1774         the position.
1775
1776 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1777
1778         * docs/manual/mime-world.fig:
1779           Let's try this again, this time with a file that is
1780           actually in XFig format.
1781
1782 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1783
1784         * docs/manual/mime-world.fig:
1785           Add audioconvert element to diagram so that it
1786           matches the text and the code (fixes #319526).
1787
1788 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1789
1790         * docs/pwg/building-chainfn.xml:
1791         * docs/pwg/building-pads.xml:
1792         * docs/pwg/building-state.xml:
1793         * docs/pwg/other-source.xml:
1794           Update state change stuff for 0.10 (fixes #322969).
1795
1796 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1797
1798         * docs/manual/advanced-dataaccess.xml:
1799         * docs/manual/appendix-checklist.xml:
1800         * docs/manual/appendix-programs.xml:
1801         * docs/manual/basics-pads.xml:
1802         * docs/manual/highlevel-components.xml:
1803         * docs/manual/manual.xml:
1804           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
1805           add converters in front of pipelines; remove curly
1806           brackets for threads stuff, they no longer exist; use
1807           GST_TYPE_FRACTION for framerates; update some pieces of
1808           code to 0.10, but there's plenty more to do.
1809
1810         * docs/manual/appendix-porting.xml:
1811           Expand on asynchroneous state changes; s/0.9/0.10/;
1812           mention disappearance of gst_init_get_popt_table()
1813           (fixes #322916).
1814
1815 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
1816
1817         * docs/faq/using.xml:
1818           Spider no longer exists, and neither does gst-launch-ext.
1819           Update examples to use decodebin and playbin and put
1820           converters in front of sinks (fixes #323726).
1821
1822 2005-12-09  Michael Smith  <msmith@fluendo.com>
1823
1824         * plugins/elements/gsttypefindelement.c: (find_peek),
1825         (gst_type_find_element_chain):
1826           Fix leaking element factories in typefinding.
1827           Fix problem where we forgot about a probable type on non-seekable
1828           files, and thus later mis-typefound it.
1829
1830 2005-12-09  Michael Smith  <msmith@fluendo.com>
1831
1832         * common/m4/gst-makecontext.m4:
1833         * common/m4/gst-mcsc.m4:
1834         * configure.ac:
1835         * win32/common/config.h:
1836         * win32/common/config.h.in:
1837           Remove makecontext stuff; not used in 0.10 and causes problems on
1838           HPUX according to bug #322441
1839
1840 2005-12-07  Wim Taymans  <wim@fluendo.com>
1841
1842         * tests/check/Makefile.am:
1843         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
1844         (main):
1845         * tests/check/libs/struct_i386.h:
1846         Added ABI check for libs
1847
1848 2005-12-07  Wim Taymans  <wim@fluendo.com>
1849
1850         * tests/check/Makefile.am:
1851         And add the struct_i386.h to dist.
1852
1853 2005-12-07  Wim Taymans  <wim@fluendo.com>
1854
1855         * tests/check/Makefile.am:
1856         * tests/check/gst/.cvsignore:
1857         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
1858         (main):
1859         * tests/check/gst/struct_i386.h:
1860         Added check for ABI compatibility.
1861
1862 2005-12-07  Wim Taymans  <wim@fluendo.com>
1863
1864         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1865         (gst_fake_src_get_times), (gst_fake_src_create):
1866         Fix broken sync option, fixes #323259
1867
1868 2005-12-07  Wim Taymans  <wim@fluendo.com>
1869
1870         * gst/gstbuffer.c:
1871         Small docs update.
1872
1873         * gst/gstcaps.c: (gst_caps_is_equal):
1874         Don't assert on NULL <--> X. Fixes #323260
1875
1876         * gst/gstminiobject.c: (gst_mini_object_replace):
1877         If we're doing atomic operations, we might just as well use
1878         the proper way to get an atomic pointer.
1879
1880         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
1881         Clean up debugging.
1882
1883 2005-12-07  Michael Smith  <msmith@fluendo.com>
1884
1885         * gst/parse/grammar.y:
1886           Remove handling of { } for threads.
1887
1888 2005-12-06  David Schleef  <ds@schleef.org>
1889
1890         * libs/gst/base/gstbasetransform.c: speling fix.
1891
1892 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
1893
1894         * docs/libs/tmpl/gstdataprotocol.sgml:
1895         * docs/random/omega/testing/gstobject.c:
1896         * gst/gst.c:
1897         * gst/gstclock.c:
1898         * gst/gstelement.c:
1899         * gst/gstelementfactory.c:
1900         * gst/gsterror.c:
1901         * gst/gstevent.c:
1902         * gst/gstghostpad.c:
1903         * gst/gstinfo.c:
1904         * gst/gstpadtemplate.c:
1905         * gst/gstregistryxml.c:
1906         * gst/gsttaglist.c:
1907         * gst/gsttagsetter.c:
1908         * gst/gsttypefind.c:
1909         * gst/gstvalue.c:
1910         * libs/gst/base/gstbasesrc.c:
1911         * libs/gst/net/gstnetclientclock.c:
1912         * libs/gst/net/gstnettimeprovider.c:
1913         * plugins/elements/gstfakesrc.c:
1914         * plugins/elements/gstfdsrc.c:
1915         * plugins/elements/gstfilesrc.c:
1916         * plugins/elements/gstidentity.c:
1917         * plugins/elements/gstqueue.c:
1918         * plugins/elements/gsttypefindelement.c:
1919         * plugins/indexers/gstfileindex.c:
1920         * plugins/indexers/gstmemindex.c:
1921         * tests/check/gst/gsttag.c:
1922         * tests/old/examples/cutter/cutter.c:
1923         * tests/old/examples/mixer/mixer.c:
1924         * tests/old/examples/xml/runxml.c: (main):
1925         * tests/old/testsuite/caps/normalisation.c:
1926         * tests/old/testsuite/debug/global.c:
1927         * tests/old/testsuite/parse/parse1.c:
1928         * tools/gst-xmlinspect.c:
1929         * win32/common/dirent.c:
1930           expand tabs
1931
1932 === release 0.10.0 ===
1933
1934 2005-12-05   <thomas (at) apestaart (dot) org>
1935
1936         * configure.ac:
1937           releasing 0.10.0, "Maroilles"
1938
1939 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1940
1941         submitted by: Funda Wang <fundawang@linux.net.cn>
1942
1943         * po/LINGUAS:
1944         * po/zh_CN.po:
1945           added Chinese (Traditional) translation
1946
1947 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1948
1949         * docs/gst/gstreamer-sections.txt:
1950         * docs/libs/tmpl/gstdataprotocol.sgml:
1951         * docs/random/thomasvs/TODO:
1952         * gst/gstutils.c:
1953         * gst/gstutils.h:
1954           fix docs
1955
1956 2005-12-05  Andy Wingo  <wingo@pobox.com>
1957
1958         patch by: Wim Taymans <wim@fluendo.com>
1959
1960         * libs/gst/base/gstbasetransform.c
1961         (gst_base_transform_prepare_output_buf)
1962         (gst_base_transform_buffer_alloc):
1963         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
1964         alloc_buffer_and_set_caps.
1965
1966         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
1967         set_caps on the source pad.
1968         (gst_pad_alloc_buffer_and_set_caps): New function, does what
1969         alloc_buffer used to do. Fixes #322874.
1970
1971         * docs/gst/gstreamer-sections.txt: 
1972         * docs/design/part-negotiation.txt: 
1973         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
1974         changes.
1975
1976 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1977
1978         patch by: Sebastien Moutte
1979
1980         * win32/MANIFEST:
1981         * win32/common/config.h.in:
1982         * win32/vs6/libgstcontroller.dsp:
1983           win32 build fixes
1984
1985 2005-12-05  Wim Taymans  <wim@fluendo.com>
1986
1987         * gst/gstcaps.c: (gst_caps_is_equal):
1988         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1989         (gst_fake_src_create):
1990         Back out previous code changes, leave doc updates, file bugs 
1991         instead. 
1992
1993 2005-12-05  Wim Taymans  <wim@fluendo.com>
1994
1995         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1996         (gst_fake_src_get_times), (gst_fake_src_create):
1997         * plugins/elements/gstfakesrc.h:
1998         Fix broken sync code.
1999
2000 2005-12-05  Wim Taymans  <wim@fluendo.com>
2001
2002         * gst/gstcaps.c: (gst_caps_is_equal):
2003         Comparing NULL against !NULL yields different caps, not a
2004         failure.
2005
2006 2005-12-05  Wim Taymans  <wim@fluendo.com>
2007
2008         * gst/gstpipeline.c:
2009         Fix small typo in docs.
2010
2011 2005-12-05  Andy Wingo  <wingo@pobox.com>
2012
2013         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
2014
2015         * gst/gst.c (init_post): remove hard-coded 0.9 location for
2016         registries/plugins with a MAJORMINOR one.
2017         (plugin_desc): Rename library from gstcoreleements to
2018         staticelements. Fixes #323222.
2019
2020 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
2021
2022         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
2023           Change debug category to 'collectpads' from 'collect_pads'
2024           (fixes #323250).
2025
2026 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2027
2028         patch by: Sebastien Moutte
2029
2030         * libs/gst/controller/gstinterpolation.c:
2031           use convert function for uint64/double
2032         * win32/vs6/libgstcontroller.dsp:
2033           link to GLib
2034
2035 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
2036
2037         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
2038         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
2039         * gst/gstutils.h:
2040         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2041           add tests that seem to show that the guint64/gdouble conversions
2042           are correct.
2043
2044 2005-12-02  Wim Taymans  <wim@fluendo.com>
2045
2046         * gst/gstregistry.c: (gst_registry_add_path):
2047         * gst/gstregistry.h:
2048         * gst/gstregistryxml.c:
2049         Fix docs again.
2050
2051 2005-12-02  Wim Taymans  <wim@fluendo.com>
2052
2053         * gst/gstutils.c: (gst_util_uint64_scale_int64),
2054         (gst_util_uint64_scale_int):
2055         Small cleanup.
2056
2057         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2058         Add debug log line.
2059
2060         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
2061         Add FIXME.
2062
2063 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2064
2065         * win32/MANIFEST:
2066         * win32/common/config.h:
2067         * win32/vs6/gstreamer.dsw:
2068         * win32/vs6/libgstcoreelements.dsp:
2069         * win32/vs6/libgstelements.dsp:
2070           renamed core elements plugin
2071
2072 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2073
2074         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
2075         (get_candidates):
2076           do piece-wise major/minor comparison so 0.9 < 0.10
2077           also allow .exe extensions for tools
2078
2079 2005-12-02  Michael Smith  <msmith@fluendo.com>
2080
2081         * gst/gst.c:
2082           Escape a % to make gtkdoc happier; bug 322958.
2083
2084 === release 0.9.7 ===
2085
2086 2005-12-01   <thomas (at) apestaart (dot) org>
2087
2088         * configure.ac:
2089           releasing 0.9.7, "My Dog Has No Nose"
2090
2091 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2092
2093         * common/gst-xmlinspect.py:
2094         * configure.ac:
2095         * docs/libs/tmpl/gstdataprotocol.sgml:
2096         * docs/random/release:
2097         * po/af.po:
2098         * po/az.po:
2099         * po/bg.po:
2100         * po/ca.po:
2101         * po/cs.po:
2102         * po/de.po:
2103         * po/en_GB.po:
2104         * po/fr.po:
2105         * po/it.po:
2106         * po/nb.po:
2107         * po/nl.po:
2108         * po/ru.po:
2109         * po/sq.po:
2110         * po/sr.po:
2111         * po/sv.po:
2112         * po/tr.po:
2113         * po/uk.po:
2114         * po/vi.po:
2115         * win32/common/config.h:
2116         * win32/common/config.h.in:
2117         * win32/vs6/gst_inspect.dsp:
2118         * win32/vs6/gst_launch.dsp:
2119         * win32/vs6/libgstbase.dsp:
2120         * win32/vs6/libgstelements.dsp:
2121         * win32/vs6/libgstreamer.dsp:
2122         * win32/vs7/GStreamer.vcproj:
2123         * win32/vs7/gst-inspect.vcproj:
2124         * win32/vs7/gst-launch.vcproj:
2125         * win32/vs7/libgstbase.vcproj:
2126           bump GST_MAJORMINOR to 0.10
2127           reset libtool version
2128
2129 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2130
2131         * po/LINGUAS:
2132         * po/bg.po:
2133           Added Bulgarian translation by (Alexander Shopov)
2134
2135 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2136
2137         * tests/check/gst/gstplugin.c:
2138           fix test
2139
2140 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2141
2142         * common/gst-xmlinspect.py:
2143         * common/gtk-doc-plugins.mak:
2144         * configure.ac:
2145         * docs/Makefile.am:
2146         * docs/gst/Makefile.am:
2147         * docs/gst/gstreamer-docs.sgml:
2148         * docs/gst/gstreamer-sections.txt:
2149         * docs/gst/gstreamer.types:
2150         * docs/gst/gstreamer.types.in:
2151         * docs/plugins/Makefile.am:
2152         * docs/plugins/gstreamer-plugins-docs.sgml:
2153         * docs/plugins/gstreamer-plugins-sections.txt:
2154         * docs/plugins/gstreamer-plugins.types:
2155         * docs/plugins/inspect.stamp:
2156         * docs/plugins/inspect/plugin-coreelements.xml:
2157         * docs/plugins/inspect/plugin-coreindexers.xml:
2158         * docs/plugins/scanobj-build.stamp:
2159         * gstreamer.spec.in:
2160         * plugins/elements/Makefile.am:
2161         * plugins/elements/gstelements.c:
2162         * plugins/elements/gstfakesink.c:
2163         * plugins/elements/gstfakesrc.c:
2164         * plugins/elements/gstfilesink.c:
2165         * plugins/elements/gstfilesrc.c:
2166         * plugins/elements/gstqueue.c:
2167         * plugins/indexers/Makefile.am:
2168         * plugins/indexers/gstindexers.c:
2169           document core plugins in a separate document just like all the
2170           others
2171           rename these plugins to something starting with core
2172
2173 2005-12-01  Andy Wingo  <wingo@pobox.com>
2174
2175         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
2176         padding here before, but it missed the commit.
2177
2178 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2179
2180         * libs/gst/controller/gstinterpolation.c:
2181           whitespace prices have crashed, we should feel free to use some now
2182           use gst_guint64_to_gdouble
2183
2184 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2185
2186         * libs/gst/controller/gstcontroller.c:
2187         * libs/gst/controller/gsthelper.c:
2188         * libs/gst/controller/gstinterpolation.c:
2189         * libs/gst/controller/lib.c:
2190           wrap config.h include
2191
2192 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2193
2194         * docs/gst/gstreamer-sections.txt:
2195           update docs
2196
2197 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2198
2199         * plugins/elements/gstelements.c:
2200         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
2201         (gst_fd_sink__class_init), (gst_fd_sink__init),
2202         (gst_fd_sink__chain), (gst_fd_sink__set_property),
2203         (gst_fd_sink__get_property):
2204         * plugins/elements/gstfdsink.h:
2205         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
2206         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
2207         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
2208         (gst_fd_src_unlock), (gst_fd_src_set_property),
2209         (gst_fd_src_get_property), (gst_fd_src_create),
2210         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
2211         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
2212         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
2213         (gst_fd_src_uri_handler_init):
2214         * plugins/elements/gstfdsrc.h:
2215         * plugins/elements/gstqueue.c: (gst_queue_get_type):
2216           more anal cleanup
2217
2218 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2219
2220         * docs/gst/Makefile.am:
2221         * docs/gst/gstreamer.types.in:
2222         * gst/Makefile.am:
2223           fix the docs build
2224
2225 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2226
2227         * configure.ac:
2228         * gst/Makefile.am:
2229         * gst/gst.c:
2230         * gst/gstplugin.h:
2231         * gst/gstregistry.h:
2232         * tests/benchmarks/complexity.c:
2233         * tests/benchmarks/mass-elements.c:
2234         * tests/check/Makefile.am:
2235         * tools/Makefile.am:
2236         * tools/gst-inspect.c:
2237         * tools/gst-xmlinspect.c:
2238           various fixes to make
2239           --disable-nls --disable-registry --disable-loadsave
2240           --disable-parse --disable-gst-debug
2241           work and get the core .so down to 360444 bytes after stripping
2242
2243 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2244
2245         * Makefile.am:
2246         * configure.ac:
2247           descend into tests
2248         * docs/random/thomasvs/TODO:
2249         * tests/Makefile.am:
2250         * tests/README:
2251           add a README
2252
2253 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2254
2255         * win32/GStreamer.vcproj:
2256         * win32/MANIFEST:
2257         * win32/Makefile:
2258         * win32/Makefile.inspect:
2259         * win32/Makefile.launch:
2260         * win32/Makefile.register:
2261         * win32/README.txt:
2262         * win32/gst-inspect.vcproj:
2263         * win32/gst-launch.vcproj:
2264         * win32/gst-register.vcproj:
2265         * win32/gstelements.vcproj:
2266         * win32/gstgetbits.def:
2267         * win32/gstgetbits.vcproj:
2268         * win32/gstreamer-dbg.def:
2269         * win32/gstreamer.def:
2270         * win32/libgstbase.def:
2271         * win32/libgstbase.vcproj:
2272         * win32/link_oldruntime.c:
2273         * win32/mman.c:
2274         * win32/mman.h:
2275         * win32/mman.inl:
2276         * win32/msvc71.sln:
2277           move even more stuff, win32/ is nice and clean now
2278
2279 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2280
2281         * libs/gst/control/.cvsignore:
2282         * win32/MANIFEST:
2283         * win32/config.h:
2284         * win32/dirent.c:
2285         * win32/dirent.h:
2286         * win32/gstbytestream.def:
2287         * win32/gstbytestream.vcproj:
2288         * win32/gstconfig.h:
2289         * win32/gstenumtypes.c:
2290         * win32/gstenumtypes.h:
2291         * win32/gstoptimalscheduler.vcproj:
2292         * win32/gstversion.h:
2293         * win32/gtchar.h:
2294         * win32/testsuite/bins.vcproj:
2295         * win32/testsuite/bytestream.vcproj:
2296         * win32/testsuite/caps.vcproj:
2297         * win32/testsuite/cleanup.vcproj:
2298         * win32/testsuite/clock.vcproj:
2299         * win32/testsuite/debug.vcproj:
2300         * win32/testsuite/dlopen.vcproj:
2301         * win32/testsuite/dynparams.vcproj:
2302         * win32/testsuite/elements.vcproj:
2303         * win32/testsuite/ghostpads.vcproj:
2304         * win32/testsuite/indexers.vcproj:
2305         * win32/testsuite/negotiation.vcproj:
2306         * win32/testsuite/parse.vcproj:
2307         * win32/testsuite/plugin.vcproj:
2308         * win32/testsuite/refcounting.vcproj:
2309         * win32/testsuite/schedulers.vcproj:
2310         * win32/testsuite/states.vcproj:
2311         * win32/testsuite/tags.vcproj:
2312         * win32/testsuite/threads.vcproj:
2313           remove old win32 stuff that isn't maintained and should be
2314           reorganized
2315
2316 2005-11-30  Andy Wingo  <wingo@pobox.com>
2317
2318         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
2319         loading the gst.interfaces python module bork.
2320
2321         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
2322         available since GLib 2.2. Fixes #318031.
2323
2324 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2325
2326         * Makefile.am:
2327         * check/.cvsignore:
2328         * check/Makefile.am:
2329         * check/elements/.cvsignore:
2330         * check/elements/fakesrc.c:
2331         * check/elements/fdsrc.c:
2332         * check/elements/identity.c:
2333         * check/generic/.cvsignore:
2334         * check/generic/states.c:
2335         * check/gst-libs/.cvsignore:
2336         * check/gst-libs/controller.c:
2337         * check/gst-libs/gdp.c:
2338         * check/gst/.cvsignore:
2339         * check/gst/capslist.h:
2340         * check/gst/gst.c:
2341         * check/gst/gstbin.c:
2342         * check/gst/gstbuffer.c:
2343         * check/gst/gstbus.c:
2344         * check/gst/gstcaps.c:
2345         * check/gst/gstelement.c:
2346         * check/gst/gstevent.c:
2347         * check/gst/gstghostpad.c:
2348         * check/gst/gstiterator.c:
2349         * check/gst/gstmessage.c:
2350         * check/gst/gstminiobject.c:
2351         * check/gst/gstobject.c:
2352         * check/gst/gstpad.c:
2353         * check/gst/gstpipeline.c:
2354         * check/gst/gstplugin.c:
2355         * check/gst/gstsegment.c:
2356         * check/gst/gststructure.c:
2357         * check/gst/gstsystemclock.c:
2358         * check/gst/gsttag.c:
2359         * check/gst/gstutils.c:
2360         * check/gst/gstvalue.c:
2361         * check/net/.cvsignore:
2362         * check/net/gstnetclientclock.c:
2363         * check/net/gstnettimeprovider.c:
2364         * check/pipelines/.cvsignore:
2365         * check/pipelines/cleanup.c:
2366         * check/pipelines/simple_launch_lines.c:
2367         * check/pipelines/stress.c:
2368         * check/states/.cvsignore:
2369         * check/states/sinks.c:
2370         * configure.ac:
2371         * examples/Makefile.am:
2372         * examples/appreader/.cvsignore:
2373         * examples/appreader/Makefile.am:
2374         * examples/appreader/appreader.c:
2375         * examples/controller/.cvsignore:
2376         * examples/controller/Makefile.am:
2377         * examples/controller/audio-example.c:
2378         * examples/cutter/.cvsignore:
2379         * examples/cutter/Makefile.am:
2380         * examples/cutter/cutter.c:
2381         * examples/cutter/cutter.h:
2382         * examples/events/Makefile.am:
2383         * examples/events/seek.c:
2384         * examples/helloworld/.cvsignore:
2385         * examples/helloworld/Makefile.am:
2386         * examples/helloworld/helloworld.c:
2387         * examples/helloworld2/.cvsignore:
2388         * examples/helloworld2/Makefile.am:
2389         * examples/helloworld2/helloworld2.c:
2390         * examples/launch/.cvsignore:
2391         * examples/launch/Makefile.am:
2392         * examples/launch/mp3parselaunch.c:
2393         * examples/launch/mp3play:
2394         * examples/manual/.cvsignore:
2395         * examples/manual/Makefile.am:
2396         * examples/manual/extract.pl:
2397         * examples/metadata/Makefile.am:
2398         * examples/metadata/read-metadata.c:
2399         * examples/mixer/.cvsignore:
2400         * examples/mixer/Makefile.am:
2401         * examples/mixer/mixer.c:
2402         * examples/mixer/mixer.h:
2403         * examples/pingpong/.cvsignore:
2404         * examples/pingpong/Makefile.am:
2405         * examples/pingpong/pingpong.c:
2406         * examples/plugins/.cvsignore:
2407         * examples/plugins/Makefile.am:
2408         * examples/plugins/example.c:
2409         * examples/plugins/example.h:
2410         * examples/pwg/.cvsignore:
2411         * examples/pwg/Makefile.am:
2412         * examples/pwg/extract.pl:
2413         * examples/queue/.cvsignore:
2414         * examples/queue/Makefile.am:
2415         * examples/queue/queue.c:
2416         * examples/queue2/.cvsignore:
2417         * examples/queue2/Makefile.am:
2418         * examples/queue2/queue2.c:
2419         * examples/queue3/.cvsignore:
2420         * examples/queue3/Makefile.am:
2421         * examples/queue3/queue3.c:
2422         * examples/queue4/.cvsignore:
2423         * examples/queue4/Makefile.am:
2424         * examples/queue4/queue4.c:
2425         * examples/retag/.cvsignore:
2426         * examples/retag/Makefile.am:
2427         * examples/retag/retag.c:
2428         * examples/retag/transcode.c:
2429         * examples/thread/.cvsignore:
2430         * examples/thread/Makefile.am:
2431         * examples/thread/thread.c:
2432         * examples/typefind/.cvsignore:
2433         * examples/typefind/Makefile.am:
2434         * examples/typefind/typefind.c:
2435         * examples/xml/.cvsignore:
2436         * examples/xml/Makefile.am:
2437         * examples/xml/createxml.c:
2438         * examples/xml/runxml.c:
2439         * tests/Makefile.am:
2440         * tests/check/Makefile.am:
2441         * testsuite/.cvsignore:
2442         * testsuite/Makefile.am:
2443         * testsuite/Rules:
2444         * testsuite/caps/.cvsignore:
2445         * testsuite/caps/Makefile.am:
2446         * testsuite/caps/app_fixate.c:
2447         * testsuite/caps/audioscale.c:
2448         * testsuite/caps/caps.c:
2449         * testsuite/caps/caps.h:
2450         * testsuite/caps/caps_strings:
2451         * testsuite/caps/compatibility.c:
2452         * testsuite/caps/deserialize.c:
2453         * testsuite/caps/enumcaps.c:
2454         * testsuite/caps/eratosthenes.c:
2455         * testsuite/caps/filtercaps.c:
2456         * testsuite/caps/fixed.c:
2457         * testsuite/caps/fraction-convert.c:
2458         * testsuite/caps/fraction-multiply-and-zero.c:
2459         * testsuite/caps/intersect2.c:
2460         * testsuite/caps/intersection.c:
2461         * testsuite/caps/normalisation.c:
2462         * testsuite/caps/random.c:
2463         * testsuite/caps/renegotiate.c:
2464         * testsuite/caps/sets.c:
2465         * testsuite/caps/simplify.c:
2466         * testsuite/caps/string-conversions.c:
2467         * testsuite/caps/structure.c:
2468         * testsuite/caps/subtract.c:
2469         * testsuite/caps/union.c:
2470         * testsuite/debug/.cvsignore:
2471         * testsuite/debug/Makefile.am:
2472         * testsuite/debug/category.c:
2473         * testsuite/debug/commandline.c:
2474         * testsuite/debug/global.c:
2475         * testsuite/debug/output.c:
2476         * testsuite/debug/printf_extension.c:
2477         * testsuite/dlopen/.cvsignore:
2478         * testsuite/dlopen/Makefile.am:
2479         * testsuite/dlopen/dlopen_gst.c:
2480         * testsuite/dlopen/loadgst.c:
2481         * testsuite/elements/.cvsignore:
2482         * testsuite/elements/Makefile.am:
2483         * testsuite/elements/gst-inspect-check.in:
2484         * testsuite/elements/struct_i386.h:
2485         * testsuite/elements/struct_size.c:
2486         * testsuite/indexers/.cvsignore:
2487         * testsuite/indexers/Makefile.am:
2488         * testsuite/indexers/cache1.c:
2489         * testsuite/indexers/indexdump.c:
2490         * testsuite/parse/.cvsignore:
2491         * testsuite/parse/Makefile.am:
2492         * testsuite/parse/parse1.c:
2493         * testsuite/parse/parse2.c:
2494         * testsuite/plugin/.cvsignore:
2495         * testsuite/plugin/Makefile.am:
2496         * testsuite/plugin/README:
2497         * testsuite/plugin/dynamic.c:
2498         * testsuite/plugin/linked.c:
2499         * testsuite/plugin/loading.c:
2500         * testsuite/plugin/registry.c:
2501         * testsuite/plugin/static.c:
2502         * testsuite/plugin/static2.c:
2503         * testsuite/plugin/testplugin.c:
2504         * testsuite/plugin/testplugin2.c:
2505         * testsuite/plugin/testplugin2_s.c:
2506         * testsuite/plugin/testplugin_s.c:
2507         * testsuite/refcounting/.cvsignore:
2508         * testsuite/refcounting/Makefile.am:
2509         * testsuite/refcounting/bin.c:
2510         * testsuite/refcounting/element.c:
2511         * testsuite/refcounting/element_pad.c:
2512         * testsuite/refcounting/mainloop.c:
2513         * testsuite/refcounting/mem.c:
2514         * testsuite/refcounting/mem.h:
2515         * testsuite/refcounting/object.c:
2516         * testsuite/refcounting/pad.c:
2517         * testsuite/refcounting/sched.c:
2518         * testsuite/refcounting/thread.c:
2519         * testsuite/states/.cvsignore:
2520         * testsuite/states/Makefile.am:
2521         * testsuite/states/bin.c:
2522         * testsuite/states/locked.c:
2523         * testsuite/states/parent.c:
2524         * testsuite/threads/.cvsignore:
2525         * testsuite/threads/159566.c:
2526         * testsuite/threads/159852.c:
2527         * testsuite/threads/Makefile.am:
2528         * testsuite/threads/queue.c:
2529         * testsuite/threads/signals.c:
2530         * testsuite/threads/staticrec.c:
2531         * testsuite/threads/thread.c:
2532         * testsuite/threads/threadb.c:
2533         * testsuite/threads/threadc.c:
2534         * testsuite/threads/threadd.c:
2535         * testsuite/threads/threade.c:
2536         * testsuite/threads/threadf.c:
2537         * testsuite/threads/threadg.c:
2538         * testsuite/threads/threadh.c:
2539         * testsuite/threads/threadi.c:
2540           move all of these under tests
2541
2542 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2543
2544         * configure.ac:
2545         * tests/Makefile.am:
2546           fix distcheck
2547
2548 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2549
2550         * docs/gst/gstreamer-sections.txt:
2551         * tests/sched/.cvsignore:
2552         * tests/sched/Makefile.am:
2553         * tests/sched/cases/(fs-fs).xml:
2554         * tests/sched/cases/(fs-i-fs).xml:
2555         * tests/sched/cases/(fs-i-i-fs).xml:
2556         * tests/sched/cases/(fs-i-q[i-fs]).xml:
2557         * tests/sched/dynamic-pipeline.c:
2558         * tests/sched/interrupt1.c:
2559         * tests/sched/interrupt2.c:
2560         * tests/sched/interrupt3.c:
2561         * tests/sched/runtestcases:
2562         * tests/sched/runxml.c:
2563         * tests/sched/sched-stress.c:
2564         * tests/sched/sort.c:
2565         * tests/sched/testcases:
2566         * tests/sched/testcases1.tc:
2567         * tests/seeking/.cvsignore:
2568         * tests/seeking/Makefile.am:
2569         * tests/seeking/seeking1.c:
2570         * tests/threadstate/.cvsignore:
2571         * tests/threadstate/Makefile.am:
2572         * tests/threadstate/test1.c:
2573         * tests/threadstate/test2.c:
2574         * tests/threadstate/threadstate1.c:
2575         * tests/threadstate/threadstate2.c:
2576         * tests/threadstate/threadstate3.c:
2577         * tests/threadstate/threadstate4.c:
2578         * tests/threadstate/threadstate5.c:
2579           remove obsolete tests
2580         * configure.ac:
2581         * tests/bench-complexity.scm:
2582         * tests/bench-mass_elements.scm:
2583         * tests/complexity.c:
2584         * tests/complexity.gnuplot:
2585         * tests/instantiate/.cvsignore:
2586         * tests/instantiate/Makefile.am:
2587         * tests/instantiate/caps.c:
2588         * tests/mass_elements.c:
2589         * tests/network-clock-utils.scm:
2590         * tests/network-clock.scm:
2591         * tests/plot-data:
2592         First pass at cleaning up tests/ dir before moving the rest
2593         Combined with CVS surgery
2594
2595 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2596
2597         * po/POTFILES.in:
2598           queue has moved, update
2599
2600 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2601
2602         * docs/gst/gstreamer-sections.txt:
2603           remove double entries from the docs
2604         * gst/gst_private.h:
2605         * gst/gstinfo.c: (_gst_debug_init):
2606           remove the THREAD debug category
2607         * gst/Makefile.am:
2608         * gst/gstqueue.c:
2609         * gst/gstqueue.h:
2610         * docs/gst/gstreamer.types:
2611         * plugins/elements/gstqueue.c: (gst_queue_get_type),
2612         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
2613           completely move queue and fix up debugging categories
2614
2615 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2616
2617         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2618           make initialization portable, using LL is not
2619
2620 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2621
2622         * win32/common/gstconfig.h:
2623           add large padding
2624
2625 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2626
2627         * win32/common/libgstreamer.def:
2628           rename symbols; sort base section
2629
2630 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2631
2632         * gst/gstclock.c: (do_linear_regression):
2633           remove crack non-portable handrolled DEBUG macro
2634
2635 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2636
2637         * docs/random/release:
2638           update notes
2639         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2640         (gst_object_flags_get_type), (register_gst_bin_flags),
2641         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2642         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2643         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2644         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
2645         (gst_caps_flags_get_type), (register_gst_clock_return),
2646         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2647         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2648         (gst_clock_flags_get_type), (register_gst_state),
2649         (gst_state_get_type), (register_gst_state_change_return),
2650         (gst_state_change_return_get_type), (register_gst_state_change),
2651         (gst_state_change_get_type), (register_gst_element_flags),
2652         (gst_element_flags_get_type), (register_gst_core_error),
2653         (gst_core_error_get_type), (register_gst_library_error),
2654         (gst_library_error_get_type), (register_gst_resource_error),
2655         (gst_resource_error_get_type), (register_gst_stream_error),
2656         (gst_stream_error_get_type), (register_gst_event_type_flags),
2657         (gst_event_type_flags_get_type), (register_gst_event_type),
2658         (gst_event_type_get_type), (register_gst_seek_type),
2659         (gst_seek_type_get_type), (register_gst_seek_flags),
2660         (gst_seek_flags_get_type), (register_gst_format),
2661         (gst_format_get_type), (register_gst_index_certainty),
2662         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2663         (gst_index_entry_type_get_type),
2664         (register_gst_index_lookup_method),
2665         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2666         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2667         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2668         (gst_index_flags_get_type), (register_gst_debug_level),
2669         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2670         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2671         (gst_iterator_result_get_type), (register_gst_iterator_item),
2672         (gst_iterator_item_get_type), (register_gst_message_type),
2673         (gst_message_type_get_type), (register_gst_mini_object_flags),
2674         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2675         (gst_pad_link_return_get_type), (register_gst_flow_return),
2676         (gst_flow_return_get_type), (register_gst_activate_mode),
2677         (gst_activate_mode_get_type), (register_gst_pad_direction),
2678         (gst_pad_direction_get_type), (register_gst_pad_flags),
2679         (gst_pad_flags_get_type), (register_gst_pad_presence),
2680         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2681         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2682         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2683         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2684         (gst_plugin_flags_get_type), (register_gst_rank),
2685         (gst_rank_get_type), (register_gst_query_type),
2686         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2687         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2688         (gst_tag_flag_get_type), (register_gst_task_state),
2689         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2690         (gst_alloc_trace_flags_get_type),
2691         (register_gst_type_find_probability),
2692         (gst_type_find_probability_get_type), (register_gst_uri_type),
2693         (gst_uri_type_get_type), (register_gst_parse_error),
2694         (gst_parse_error_get_type):
2695         * win32/common/gstenumtypes.h:
2696         * win32/common/gstversion.h:
2697           update visual studio generated files
2698
2699 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2700
2701         * win32/vs6/libgstbase.dsp:
2702         * win32/vs6/libgstelements.dsp:
2703           update project files for new locations
2704
2705 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2706
2707         * Makefile.am:
2708           remove some files
2709         * README:
2710           reinstate and update
2711         * DEVEL:
2712         * REQUIREMENTS:
2713           removed
2714         * LICENSE:
2715         * docs/random/LICENSE:
2716           moved to random
2717
2718 2005-11-30  Edward Hervey  <edward@fluendo.com>
2719
2720         * gst/gsttypefind.c: (gst_type_find_register):
2721         * gst/gsttypefind.h:
2722         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
2723         (gst_type_find_factory_dispose):
2724         * gst/gsttypefindfactory.h:
2725         Fix memory leak in GstTypeFindFactory.
2726
2727 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2728
2729         * gst/gst.c:
2730         * plugins/elements/Makefile.am:
2731         * plugins/elements/gstelements.c:
2732         * plugins/elements/gstqueue.c:
2733           move queue from core to the elements plugin
2734
2735 2005-11-29  Andy Wingo  <wingo@pobox.com>
2736
2737         * libs/gst/base/gstbasetransform.h: 
2738         * libs/gst/base/gstbasesrc.h: 
2739         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
2740
2741         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
2742         of pointers by which to pad very extensible base classes (like the
2743         ones in libs/gst/base).
2744
2745 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2746
2747         * docs/gst/gstreamer-docs.sgml:
2748         * docs/gst/gstreamer-sections.txt:
2749         * docs/libs/gstreamer-libs-docs.sgml:
2750         * docs/libs/gstreamer-libs-sections.txt:
2751           moving documentation from core to lib
2752
2753 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2754
2755         * check/Makefile.am:
2756         * configure.ac:
2757         * docs/gst/Makefile.am:
2758         * gst/Makefile.am:
2759         * gst/base/.cvsignore:
2760         * gst/base/Makefile.am:
2761         * gst/base/README:
2762         * gst/base/gstadapter.c:
2763         * gst/base/gstadapter.h:
2764         * gst/base/gstbasesink.c:
2765         * gst/base/gstbasesink.h:
2766         * gst/base/gstbasesrc.c:
2767         * gst/base/gstbasesrc.h:
2768         * gst/base/gstbasetransform.c:
2769         * gst/base/gstbasetransform.h:
2770         * gst/base/gstcollectpads.c:
2771         * gst/base/gstcollectpads.h:
2772         * gst/base/gstpushsrc.c:
2773         * gst/base/gstpushsrc.h:
2774         * gst/base/gsttypefindhelper.c:
2775         * gst/base/gsttypefindhelper.h:
2776         * gst/check/Makefile.am:
2777         * gst/check/gstcheck.c:
2778         * gst/check/gstcheck.h:
2779         * gst/net/Makefile.am:
2780         * gst/net/gstnet.h:
2781         * gst/net/gstnetclientclock.c:
2782         * gst/net/gstnetclientclock.h:
2783         * gst/net/gstnettimepacket.c:
2784         * gst/net/gstnettimepacket.h:
2785         * gst/net/gstnettimeprovider.c:
2786         * gst/net/gstnettimeprovider.h:
2787         * libs/gst/Makefile.am:
2788         * libs/gst/base/Makefile.am:
2789         * libs/gst/base/gstbasetransform.c:
2790         * libs/gst/check/Makefile.am:
2791         * plugins/elements/Makefile.am:
2792         * po/POTFILES.in:
2793           CVS surgery + support to move base, check, and net out of gst
2794           and into libs/gst
2795
2796 2005-11-29  Andy Wingo  <wingo@pobox.com>
2797
2798         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
2799
2800         * gst/gststructure.h (struct _GstStructure): Only one pointer of
2801         padding.
2802
2803         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
2804
2805         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
2806
2807         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
2808
2809         * gst/gstobject.h: (struct _GstObject): Only one pointer of
2810         padding; reduces object size by about 30%. We don't expect
2811         anything else to go into gstobject.
2812
2813         * gst/gstminiobject.h (struct _GstMiniObject)
2814         (struct _GstMiniObjectClass): Only one pointer of padding; the
2815         payload is only a pointer and two ints anyway. For the class there
2816         are only two methods as well.
2817         
2818         * gst/gstelement.h (struct _GstElementClass): Removed
2819         the state_changed signal callback, it is not used.
2820
2821 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2822
2823         * docs/gst/gstreamer.types:
2824           fix includes, though they are a little dinky
2825
2826 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2827
2828         * check/Makefile.am:
2829           look in the right place for elements, a lot more chance of
2830           success
2831         * gst/Makefile.am:
2832           remove indexers and elements subdirs
2833         * plugins/Makefile.am:
2834           make indexers conditional
2835
2836 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2837
2838         * Makefile.am:
2839         * configure.ac:
2840         * plugins/elements/Makefile.am:
2841         * plugins/elements/gstcapsfilter.c:
2842         * plugins/elements/gstfilesink.c:
2843         * plugins/elements/gstfilesrc.c:
2844         * plugins/elements/gstidentity.c:
2845         * plugins/indexers/Makefile.am:
2846           do CVS surgery and related build fixery to move elements
2847           and indexers in a new gstreamer/plugins directory, out of the
2848           gst/ directory
2849
2850 2005-11-29  Andy Wingo  <wingo@pobox.com>
2851
2852         * check/Makefile.am:
2853         * pkgconfig/gstreamer-net-uninstalled.pc.in:
2854         * pkgconfig/gstreamer-net.pc.in:
2855         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
2856         #322257.
2857
2858 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2859
2860         * tools/Makefile.am:
2861         * tools/gst-complete.1.in:
2862         * tools/gst-complete.c:
2863         * tools/gst-compprep.1.in:
2864         * tools/gst-compprep.c:
2865           removing -compprep and -complete
2866
2867 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2868
2869         * gst/gstevent.c: (gst_event_new_new_segment),
2870         (gst_event_parse_new_segment):
2871         * gst/gstevent.h:
2872           fix #320529 - clean up new_segment API and structure.
2873           Let's hope everyone was using the methods, and not the structure.
2874
2875 2005-11-29  Edward Hervey  <edward@fluendo.com>
2876
2877         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2878         (gst_base_sink_event), (gst_base_sink_do_sync),
2879         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
2880         Properly handle non GST_FORMAT_TIME segment
2881         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2882         Properly handle non GST_FORMAT_TIME segment
2883         * gst/gstsegment.c:
2884         This function is valid if the accumulator is 0 and the format
2885         is different from the requested format.
2886         
2887 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
2888
2889         * docs/gst/gstreamer-sections.txt:
2890         Add gst_query_new_seeking and gst_query_parse_seeking to the
2891         docs.
2892
2893 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
2894
2895         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
2896           Treat a pad alloc with new caps the same as if we were not
2897           negotiated, in order to allow a changing upstream output
2898           to produce a new format of data.
2899
2900 2005-11-29  Edward Hervey  <edward@fluendo.com>
2901
2902         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2903         (gst_base_transform_event), (gst_base_transform_eventfunc):
2904         The event virtual method is now properly implemented, with a default
2905         handler
2906         Sub classes should call the parent_class event method. They should
2907         return FALSE if they had a problem handling the given event, or don't
2908         want GstBaseTransform to send that even downstream
2909         * gst/elements/gstidentity.c: (gst_identity_class_init),
2910         (gst_identity_init), (gst_identity_event),
2911         (gst_identity_transform_ip), (gst_identity_set_property),
2912         (gst_identity_get_property):
2913         * gst/elements/gstidentity.h:
2914         Added the single-segment boolean property.
2915         If set to TRUE, it will output a single segment of data, starting from
2916         0, will eat up all incoming newsegment, and modify the timestamp of the
2917         buffers accordingly
2918
2919 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
2920
2921         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
2922           Don't ref NULL target pad (#322751). Improve docs.
2923
2924 2005-11-29  Michael Smith  <msmith@fluendo.com>
2925
2926         * gst/gstregistryxml.c: (load_plugin):
2927           Don't crash if we failed to load a feature from a plugin. 
2928
2929 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2930
2931         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
2932         (GST_START_TEST):
2933           use more check API and less GLib API
2934
2935 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2936
2937         * Makefile.am:
2938           don't run checks if we don't have check
2939         * common/check.mak:
2940           remove the registry when running make torture
2941         * docs/gst/gstreamer-sections.txt:
2942           remove second multiply
2943         * gst/gstqueue.c: (gst_queue_loop):
2944           fix a compile warning when disabling debug
2945
2946 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
2947
2948         * gst/gstinfo.h:
2949         Hey! Let's print the pad name if the pointer != NULL instead
2950         of when it == NULL :-)
2951
2952 2005-11-28  Wim Taymans  <wim@fluendo.com>
2953
2954         * check/gst/gstutils.c: (GST_START_TEST):
2955         Updated check, add some scaling accuracy checking code.
2956
2957         * gst/gstutils.c: (gst_util_div128_64),
2958         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
2959         (gst_util_uint64_scale_int):
2960         Fix 6 times faster division code. Optimize for common 
2961         1/1 and less common X/1 cases.
2962
2963 2005-11-28  Wim Taymans  <wim@fluendo.com>
2964
2965         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2966         More checks.
2967
2968         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
2969         (do_linear_regression), (gst_clock_add_observation):
2970         Cleanups.
2971         Release lock when the clock cannot be slaved.
2972         Catch the case where the regression returned an invalid denominator.
2973
2974         * gst/gstutils.c: (gst_util_div128_64_iterate),
2975         (gst_util_div128_64), (gst_util_uint64_scale_int64),
2976         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
2977         Add protentially more performant non-iterative 128/64 divide function
2978         that unfortunatly does not work yet.
2979         Shortcut the trivial 0/X = 0 case.
2980         Remove the warnings on overflow.
2981
2982 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2983
2984         * gst/gstplugin.c: (gst_plugin_register_func):
2985           everything causing a plugin not to load should be at least a WARNING
2986
2987 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
2988
2989         * docs/random/ensonic/dparams.txt:
2990           some TODOs for the next dev cycle
2991         * libs/gst/controller/gstcontroller.c:
2992         (gst_controlled_property_set_interpolation_mode),
2993         (gst_controlled_property_new):
2994         * libs/gst/controller/gstcontroller.h:
2995           use base type to assign acccessor functions
2996
2997 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
2998
2999         * check/Makefile.am:
3000         Oops, that should have been top_srcdir
3001
3002 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
3003
3004         * check/Makefile.am:
3005         * check/elements/fdsrc.c: (GST_START_TEST):
3006         Use a cmdline define to specify the location of a file to use for
3007         testing, to avoid breaking distcheck.
3008
3009 2005-11-28  Andy Wingo  <wingo@pobox.com>
3010
3011         * gst/gstpad.c (fixate_value): Use array functions for arrays.
3012
3013 2005-11-28  Edward Hervey  <edward@fluendo.com>
3014
3015         * tools/gst-launch.c: (main):
3016         Clarify the output strings, makes it easier to translate.
3017         Fixes #322626
3018
3019 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3020
3021         * gst/Makefile.am:
3022           don't try and build net if we don't even have <sys/socket.h>
3023
3024 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
3025
3026         * check/Makefile.am:
3027         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
3028         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
3029           Add tests for fdsrc seekability
3030
3031         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3032         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
3033         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
3034         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
3035         * gst/elements/gstfdsrc.h:
3036           fdsrc should not be a 'live' source.
3037           Implement seeking on seekable fd's.
3038
3039         * gst/gstquery.c: (gst_query_new_seeking),
3040         (gst_query_parse_seeking):
3041         * gst/gstquery.h:
3042           Implement SEEKING query functions: 
3043             *_new_seeking and *_parse_seeking
3044
3045 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
3046
3047         * gst/gstelement.c: (gst_element_dispose):
3048           don't loop forever
3049
3050         * gst/gstiterator.c:
3051         * gst/gststructure.c:
3052           doc fixes
3053
3054         * libs/gst/controller/gstcontroller.c:
3055         (gst_controlled_property_set_interpolation_mode):
3056         * libs/gst/controller/gstcontroller.h:
3057         * libs/gst/controller/gstinterpolation.c:
3058         (interpolate_none_get_enum_value_array):
3059           support controlling enums
3060
3061 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
3062
3063         * gst/gstvalue.c:
3064           Improve documentation for gst_value_union().
3065
3066         * gst/gstvalue.h:
3067           Change return value for union, intersect and subtract functions
3068           from gint to gboolean.
3069
3070 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
3071
3072         * gst/gstvalue.c: (gst_value_serialize_any_list),
3073         (gst_value_transform_any_list_string),
3074         (gst_value_deserialize_list), (gst_value_deserialize_array),
3075         (gst_value_set_int_range), (gst_value_deserialize_int_range),
3076         (gst_value_set_double_range), (gst_value_deserialize_double_range),
3077         (gst_value_set_fraction_range_full),
3078         (gst_value_deserialize_fraction_range),
3079         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
3080         (gst_value_deserialize_boolean),
3081         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
3082         (gst_value_serialize_float), (gst_value_deserialize_float),
3083         (gst_string_wrap), (gst_value_deserialize_string),
3084         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
3085         (gst_value_union_int_range_int_range),
3086         (gst_value_intersect_int_range_int_range),
3087         (gst_value_intersect_double_range_double_range),
3088         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
3089         (gst_value_subtract_int_range_int_range),
3090         (gst_value_subtract_double_double_range),
3091         (gst_value_subtract_double_range_double_range),
3092         (gst_value_deserialize_fraction):
3093         * gst/gstvalue.h:
3094           Use gint, gdouble and gchar in our API instead of int, double and
3095           char (and make usage in gstvalue.c more consistent).
3096
3097 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
3098
3099         * check/Makefile.am:
3100         * libs/gst/controller/Makefile.am:
3101         * libs/gst/dataprotocol/Makefile.am:
3102           fix up Makefile.am and remove GST_ENABLE_NEW
3103
3104 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
3105
3106         * configure.ac:
3107         * gst/Makefile.am:
3108         * gst/base/Makefile.am:
3109         * gst/check/Makefile.am:
3110         * gst/elements/Makefile.am:
3111         * gst/net/Makefile.am:
3112           update LDFLAGS use some more
3113
3114 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
3115
3116         * common/m4/gst-doc.m4:
3117           Fixes #312589
3118
3119 2005-11-26  Edward Hervey  <edward@fluendo.com>
3120
3121         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3122         This shouldn't issue a g_warning since it returns NULL if it
3123         couldn't find the plugin, and all functions using this behave
3124         properly on a NULL return. Switching to a GST_WARNING.
3125
3126 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
3127
3128         * gst/gstbin.c: (gst_bin_handle_message_func):
3129         Don't leak clock messages.
3130
3131 2005-11-25  Wim Taymans  <wim@fluendo.com>
3132
3133         * gst/gstutils.c: (gst_util_uint64_scale_int64),
3134         (gst_util_uint64_scale_int):
3135         Optimisations, remove unneeded vars.
3136
3137 2005-11-25  Wim Taymans  <wim@fluendo.com>
3138
3139         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3140         Added more checks for the high precision uint64 cases.
3141
3142         * gst/gstutils.c: (gst_util_uint64_scale_int64),
3143         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
3144         Implement high precision (guint64 * guint64) / guint64.
3145
3146 2005-11-24  Wim Taymans  <wim@fluendo.com>
3147
3148         * gst/base/gstbasesrc.c: (gst_base_src_query):
3149         Fix wrong percentage query.
3150
3151         * gst/gstutils.c: (gst_util_uint64_scale),
3152         (gst_util_uint64_scale_int):
3153         Add some more common cases that can be handled 
3154         efficiently to _scale.
3155
3156 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3157
3158         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
3159         (gst_mini_object_suite):
3160           don't use check calls from threads; check probably isn't
3161           threadsafe and using a lock to make it threadsafe would
3162           defeat the purpose of this check
3163         * gst/check/gstcheck.c:
3164         * gst/check/gstcheck.h:
3165           use GST_DEBUG some more
3166
3167 2005-11-24  Wim Taymans  <wim@fluendo.com>
3168
3169         * gst/gstutils.c: (gst_util_uint64_scale),
3170         (gst_util_uint64_scale_int):
3171         Chain trivial case to _scale_int.
3172
3173 2005-11-24  Wim Taymans  <wim@fluendo.com>
3174
3175         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3176         Added test for scaling.
3177
3178         * gst/gstclock.h:
3179         Small doc fix.
3180
3181         * gst/gstutils.c: (gst_util_uint64_scale_int):
3182         Implemented high precision scaling code.
3183
3184 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
3185
3186         * gst/gstinfo.h:
3187           do not crash on pad==NULL
3188
3189 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3190
3191         Patch by: Stefan Kost
3192
3193         * common/gtk-doc.mak:
3194         * docs/gst/Makefile.am:
3195         * docs/libs/Makefile.am:
3196           Fix distcheck issues for the libraries docs build
3197           Closes #319599.
3198
3199 2005-11-24  Michael Smith <msmith@fluendo.com>
3200
3201         * docs/manual/basics-helloworld.xml:
3202           Fix bug #315027: memory leak in example code in docs.
3203
3204 2005-11-24  Michael Smith <msmith@fluendo.com>
3205
3206         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3207           Unlock the PREROLL_LOCK in a failure case.
3208
3209 2005-11-24  Wim Taymans  <wim@fluendo.com>
3210
3211         * docs/gst/gstreamer-sections.txt:
3212         * gst/base/gstadapter.h:
3213         * gst/base/gstbasesink.h:
3214         * gst/base/gstbasesrc.h:
3215         * gst/base/gstbasetransform.h:
3216         * gst/base/gstpushsrc.h:
3217         * gst/elements/gstfakesink.h:
3218         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
3219         * gst/elements/gstfakesrc.h:
3220         * gst/elements/gstfilesink.h:
3221         * gst/elements/gstfilesrc.h:
3222         * gst/gst.c:
3223         * gst/gstbin.c:
3224         * gst/gstbuffer.c: (_gst_buffer_copy):
3225         * gst/gstbus.h:
3226         * gst/gstcaps.c:
3227         * gst/gstchildproxy.c:
3228         * gst/gstclock.c:
3229         * gst/gstelement.c:
3230         * gst/gstelementfactory.c:
3231         * gst/gstelementfactory.h:
3232         * gst/gstevent.c:
3233         * gst/gstghostpad.h:
3234         * gst/gstindex.h:
3235         * gst/gstinterface.h:
3236         * gst/gstminiobject.c:
3237         * gst/gstminiobject.h:
3238         * gst/gstpad.c:
3239         * gst/gstpad.h:
3240         * gst/gstpadtemplate.h:
3241         * gst/gstpipeline.h:
3242         * gst/gstpluginfeature.h:
3243         * gst/gstquery.h:
3244         * gst/gstqueue.h:
3245         * gst/gsttaglist.c:
3246         * gst/gsttaglist.h:
3247         * gst/gsttagsetter.c:
3248         * gst/gsttagsetter.h:
3249         * gst/gsttrace.c:
3250         * gst/gsttrace.h:
3251         * gst/gsttypefind.h:
3252         * gst/gsturi.h:
3253         * gst/gstvalue.c:
3254         * gst/net/gstnetclientclock.c:
3255         * gst/net/gstnetclientclock.h:
3256         * gst/net/gstnettimepacket.c:
3257         * gst/net/gstnettimeprovider.c:
3258         * gst/net/gstnettimeprovider.h:
3259         Doc fixes.
3260
3261 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3262
3263         * configure.ac: back to HEAD
3264
3265 === release 0.9.6 ===
3266
3267 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
3268
3269         * configure.ac:
3270           releasing 0.9.6, "Always On Time"
3271
3272 2005-11-23  Wim Taymans  <wim@fluendo.com>
3273
3274         * docs/gst/gstreamer-sections.txt:
3275         * gst/glib-compat.c:
3276         * gst/gsttagsetter.c:
3277         * gst/gstvalue.c:
3278         * gst/net/gstnetclientclock.c:
3279         * gst/net/gstnettimepacket.h:
3280         Doc updates.
3281
3282 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3283
3284         * docs/faq/using.xml:
3285         * docs/libs/tmpl/gstcontrol.sgml:
3286         * docs/manual/advanced-dparams.xml:
3287         * docs/manual/appendix-checklist.xml:
3288         * docs/manual/basics-elements.xml:
3289         * docs/pwg/other-source.xml:
3290         * docs/random/moving-plugins:
3291         * gst/gstpad.c:
3292         * tools/gst-launch.1.in:
3293           remove mentions of sinesrc
3294
3295 2005-11-23  Michael Smith <msmith@fluendo.com>
3296
3297         * docs/gst/gstreamer-sections.txt:
3298           Update for new API and API changes.
3299         * gst/gstobject.h:
3300           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
3301         * gst/gstvalue.c:
3302           Documentation typo fix.
3303         * gst/net/gstnettimepacket.c:
3304           Documentation fixes for arguments.
3305
3306 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
3307
3308         * gst/gststructure.c: (gst_structure_get_fraction),
3309         (gst_structure_parse_value),
3310         (gst_structure_fixate_field_nearest_fraction):
3311         * gst/gststructure.h:
3312         * gst/gstutils.c: (gst_util_uint64_scale_int):
3313         * gst/gstutils.h:
3314         * scripts/update-funcnames:
3315         API Changes. 
3316         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
3317         Make gst_structure_fixate_field_nearest_fraction take a numerator
3318         and denominator argument instead of a GValue
3319         add gst_structure_get_fraction helper function.
3320
3321 2005-11-23  Wim Taymans  <wim@fluendo.com>
3322
3323         * docs/design/part-TODO.txt:
3324         Update TODO.
3325
3326         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3327         * gst/net/gstnetclientclock.h:
3328         Use parent fields for timeout and window_size.
3329
3330 2005-11-23  Andy Wingo  <wingo@pobox.com>
3331
3332         * check/net/gstnetclientclock.c (test_functioning): Adjust to
3333         rate_num/rate_denom change.
3334
3335         * gst/net/gstnetclientclock.c
3336         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
3337         OBJECT_LOCK. Don't call add_observation with the lock.
3338
3339         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
3340         fraction.
3341         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
3342         rate fraction.
3343         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
3344         deal with rate as a fraction whose numerator and denominator are
3345         GstClockTime values.
3346         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
3347         master; the other fields are protected by the SLAVE_LOCK.
3348         (do_linear_regression): Note that this must be called with the
3349         SLAVE_LOCK.
3350         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
3351         OBJECT_LOCK. Call set_calibration instead of touching the
3352         variables directly.
3353         (gst_clock_set_property, gst_clock_get_property): Protect
3354         master/slave parameters with the SLAVE_LOCK.
3355
3356         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
3357         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
3358         note that all of the instance variables that add_observation and
3359         the set_master functions use are protected by that lock and not
3360         the OBJECT_LOCK.
3361         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
3362
3363         * gst/gstclock.c (gst_clock_add_observation): No longer requires
3364         the caller to take the object lock.
3365
3366 2005-11-23  Wim Taymans  <wim@fluendo.com>
3367
3368         * gst/gsterror.c: (_gst_core_errors_init):
3369         * gst/gsterror.h:
3370         Add error for clock stuff.
3371
3372         * gst/gstpipeline.c: (gst_pipeline_change_state),
3373         (gst_pipeline_set_clock):
3374         Post clock error when clock cannot be used in a pipeline.
3375
3376 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
3377
3378         * docs/gst/gstreamer-sections.txt:
3379           make two symbols from gstinfo private for the docs
3380         * gst/base/gstcollectpads.h:
3381         * gst/gstutils.c:
3382           fix doc typos, update docs
3383
3384 2005-11-22  Wim Taymans  <wim@fluendo.com>
3385
3386         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3387         (gst_base_sink_wait), (gst_base_sink_do_sync),
3388         (gst_base_sink_handle_event):
3389         * gst/base/gstbasesink.h:
3390         No need to store the clock, the parent element class already
3391         has it.
3392
3393         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
3394         Updates for clock_set returning a gboolean
3395
3396         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
3397         (gst_clock_id_wait_async), (gst_clock_class_init),
3398         (gst_clock_init), (gst_clock_finalize),
3399         (gst_clock_get_internal_time), (gst_clock_get_time),
3400         (gst_clock_slave_callback), (gst_clock_set_master),
3401         (gst_clock_get_master), (do_linear_regression),
3402         (gst_clock_add_observation), (gst_clock_set_property),
3403         (gst_clock_get_property):
3404         * gst/gstclock.h:
3405         Implement master/slave. When setting a clock as a slave, a
3406         periodic timeout is scheduled to sample master and slave times.
3407         Then the slave clock is recalibrated to match offset and rate
3408         of the master clock.
3409         Update logging a bit.
3410         Add flag so that a clock can state that is cannot be slaved to
3411         another clock.
3412
3413         * gst/gstelement.c: (gst_element_set_clock):
3414         * gst/gstelement.h:
3415         The set clock returns a gboolean for when an element cannot
3416         deal with the selected clock in the pipeline. 
3417
3418         * gst/gstpipeline.c: (gst_pipeline_change_state),
3419         (gst_pipeline_set_clock):
3420         * gst/gstpipeline.h:
3421         Handle the case where the selected clock cannot be set on
3422         the pipeline.
3423
3424         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
3425         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3426         (gst_net_client_clock_set_property),
3427         (gst_net_client_clock_get_property),
3428         (gst_net_client_clock_observe_times):
3429         * gst/net/gstnetclientclock.h:
3430         Use regression code in GstClock parent, remove duplicated
3431         functionality.
3432
3433 2005-11-22  Michael Smith <msmith@fluendo.com>
3434
3435         * gst/gstutils.c: (gst_util_clock_time_scale):
3436         * gst/gstutils.h:
3437         * docs/gst/gstreamer-sections.txt:
3438           Rename method to have extra underscore.
3439
3440 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3441
3442         * gst/elements/Makefile.am:
3443         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
3444         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3445         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
3446         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
3447         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
3448         * gst/elements/gstfakesrc.h:
3449         * gst/gstqueue.c: (queue_leaky_get_type):
3450           correctly fix GEnumValues so that nick is the short lowercase
3451           dashed tag
3452         * tools/gst-inspect.c: (print_element_properties_info):
3453           also show the nick, since it's useful to use from parse_launch
3454           syntax
3455           Fixes #322139
3456
3457 2005-11-22  Michael Smith <msmith@fluendo.com>
3458
3459         * gst/gstutils.c: (gst_util_clocktime_scale):
3460         * gst/gstutils.h:
3461         * docs/gst/gstreamer-sections.txt:
3462           Add util method for scaling a clocktime by a fraction. Useful 
3463           implementation is left as an exercise for the reader.
3464
3465 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
3466
3467         * gst/gstvalue.c: (gst_value_collect_fraction_range):
3468         If needed, allocate storage in the destination value during
3469         collection.
3470
3471 2005-11-22  Edward Hervey  <edward@fluendo.com>
3472
3473         * docs/gst/gstreamer-sections.txt:
3474         * gst/Makefile.am:
3475         * gst/gst.h:
3476         * gst/gsturitype.c:
3477         * gst/gsturitype.h:
3478         * gst/gstutils.c: (gst_util_set_object_arg):
3479         * tools/gst-compprep.c: (main):
3480         * tools/gst-inspect.c: (print_element_properties_info):
3481         Removed GstURI, closes bug #321061
3482
3483 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
3484
3485         * check/gst/gststructure.c: (GST_START_TEST):
3486         * gst/gststructure.c: (gst_structure_parse_value):
3487           Oops, broke automatic string type parsing.
3488           Add a test to catch it in future.
3489
3490 2005-11-22  Andy Wingo  <wingo@pobox.com>
3491
3492         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
3493         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
3494         Actually rename the function implementations. Grr.
3495
3496 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
3497
3498         * check/gst/capslist.h:
3499           Comment test cases
3500         * check/gst/gststructure.c: (GST_START_TEST),
3501         (gst_structure_suite):
3502           Test automatic value type detection in gst_structure_from_string.
3503         * gst/gststructure.c: (gst_structure_parse_value):
3504           Add fraction as a type we try and guess automatically in
3505           caps/structure strings.
3506
3507 2005-11-22  Andy Wingo  <wingo@pobox.com>
3508
3509         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
3510
3511         * gst/gsttagsetter.h:
3512         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
3513         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
3514         (gst_tag_setter_add_tag_valist)
3515         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
3516         _add_values, _add_valist, and _add_valist_values. Since this is an
3517         interface the function suffixes should be more explicit so
3518         language binding don't end up with element.add_valist ->
3519         gst_tag_setter_add_valist, for example. Fixes #322069.
3520
3521 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
3522
3523         * check/gst/gstcaps.c: (GST_START_TEST):
3524           Extend caps string tests to check that a caps to string
3525           conversion is reversible and produces the same caps.
3526
3527         * gst/gststructure.c: (gst_structure_value_get_generic_type):
3528           Output "fraction" as the generic type fraction range, so caps
3529           serialisation and deserialisation works.
3530         * check/gst/capslist.h:
3531         * gst/gstvalue.c: (gst_value_deserialize_fraction):
3532           Support 'MIN' and 'MAX' for deserialising fractions.
3533
3534 2005-11-22  Andy Wingo  <wingo@pobox.com>
3535
3536         * gst/gstevent.h (gst_event_new_new_segment)
3537         (gst_event_parse_new_segment, gst_event_new_buffer_size)
3538         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
3539         Renamed from *_newsegment, *_buffersize, *_notarget.
3540
3541         * scripts/update-funcnames: New script, performs the changes
3542         listed above.
3543
3544 2005-11-22  Wim Taymans  <wim@fluendo.com>
3545
3546         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3547         Make sure the GstFlowReturn is returned.
3548
3549         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
3550         (gst_bus_add_signal_watch):
3551         * gst/gstbus.h:
3552         add gst_bus_add_signal_watch_full.
3553
3554         * gst/gstplugin.c: (gst_plugin_load_file):
3555         Small style cleanup.
3556
3557 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
3558
3559         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
3560           Block the fakesrc srcpad when we send an event, to avoid
3561           contention on the stream_lock causing random test failures.
3562
3563 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
3564
3565         * check/gst/gstvalue.c: (GST_START_TEST):
3566         * gst/gstvalue.c: (gst_value_fraction_subtract):
3567           Fix subtraction.
3568
3569 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
3570
3571         * gst/gst.h:
3572           include "gstchildproxy.h"
3573         * gst/gstchildproxy.h:
3574         * libs/gst/controller/gstcontroller.h:
3575           use G_GNUC_NULL_TERMINATED
3576
3577 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
3578
3579         * check/gst/capslist.h:
3580         * check/gst/gstcaps.c: (GST_START_TEST):
3581         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3582         * gst/gststructure.c: (gst_structure_parse_range),
3583         (gst_structure_fixate_field_nearest_fraction):
3584         * gst/gststructure.h:
3585         * gst/gstvalue.c: (gst_value_init_fraction_range),
3586         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
3587         (gst_value_collect_fraction_range),
3588         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
3589         (gst_value_set_fraction_range_full),
3590         (gst_value_get_fraction_range_min),
3591         (gst_value_get_fraction_range_max),
3592         (gst_value_serialize_fraction_range),
3593         (gst_value_transform_fraction_range_string),
3594         (gst_value_compare_fraction_range),
3595         (gst_value_deserialize_fraction_range),
3596         (gst_value_intersect_fraction_fraction_range),
3597         (gst_value_intersect_fraction_range_fraction_range),
3598         (gst_value_subtract_fraction_fraction_range),
3599         (gst_value_subtract_fraction_range_fraction),
3600         (gst_value_subtract_fraction_range_fraction_range),
3601         (gst_value_collect_fraction), (gst_value_fraction_multiply),
3602         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
3603         (gst_value_transform_string_fraction), (_gst_value_initialize):
3604         * gst/gstvalue.h:
3605           Implement fraction ranges and extend GstFraction to support
3606           arithmetic subtraction, as well as deserialization from integer
3607           strings such as "100"
3608           Add a testsuite as for int and double range set operations
3609
3610 2005-11-21  Andy Wingo  <wingo@pobox.com>
3611
3612         * gst/gsttaglist.h: 
3613         * gst/gstcaps.h: 
3614         * gst/gststructure.h: Add glib-compat.h.
3615
3616 2005-11-21  Wim Taymans  <wim@fluendo.com>
3617
3618         * gst/gstbin.c: (gst_bin_change_state_func):
3619         Fix for #321595
3620
3621 2005-11-21  Wim Taymans  <wim@fluendo.com>
3622
3623         * gst/gstsegment.h:
3624         And add a nice define too.
3625
3626 2005-11-21  Wim Taymans  <wim@fluendo.com>
3627
3628         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
3629         (gst_segment_new), (gst_segment_free), (gst_segment_init),
3630         (gst_segment_set_duration), (gst_segment_set_last_stop),
3631         (gst_segment_set_seek), (gst_segment_set_newsegment),
3632         (gst_segment_to_stream_time), (gst_segment_to_running_time),
3633         (gst_segment_clip):
3634         * gst/gstsegment.h:
3635         Make binding friendly.
3636
3637 2005-11-21  Andy Wingo  <wingo@pobox.com>
3638
3639         * gst/gsttagsetter.h: 
3640         * gst/gsttaglist.h: 
3641         * gst/gststructure.h: 
3642         * gst/gstcaps.h: 
3643         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
3644         #319940.
3645
3646         * gst/gsterror.c (_gst_core_errors_init):
3647         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
3648         category.
3649
3650         * gst/Makefile.am (gst_headers): Add glib-compat.h.
3651         (noinst_HEADERS): noinst the -private.
3652
3653 2005-11-21  Michael Smith <msmith@fluendo.com>
3654
3655         * gst/gstplugin.h:
3656         * gst/gstregistry.h:
3657           Remove unimplemented declarations for which we can see no sensible
3658           use.
3659
3660 2005-11-21  Andy Wingo  <wingo@pobox.com>
3661
3662         * gst/gst.h: Include glib-compat.h.
3663
3664         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
3665
3666         * gst/glib-compat.c: Include the public and the private header.
3667
3668         * gst/glib-compat-private.h: Copied here from glib-compat.h.
3669
3670         * gst/gstvalue.c: 
3671         * gst/gstpad.c: 
3672         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
3673
3674         * check/gst/gstevent.c (create_custom_events): Check that
3675         FLUSH_STOP is serialized.
3676
3677         * check/elements/identity.c (event_func): 
3678         * check/elements/fakesrc.c (event_func): No stream lock, the core
3679         takes it.
3680
3681         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
3682         stream lock taking, yay.
3683
3684         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
3685         ensure that core takes the stream lock.
3686
3687         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
3688         lock name change.
3689
3690         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
3691         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
3692         it already. For the flush start we do take it though so we get the
3693         right preroll state change messages.
3694
3695         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
3696         the stream lock here, the core does it for us.
3697
3698         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
3699         GST_STREAM_GET_LOCK.
3700         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
3701         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
3702         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
3703         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
3704         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
3705         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
3706
3707         * gst/gstpad.c: Update for stream lock name change.
3708
3709         * gst/base/gstbasesink.c: Update for preroll lock name change.
3710
3711 2005-11-21  Wim Taymans  <wim@fluendo.com>
3712
3713         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
3714         (gst_clock_get_master):
3715         * gst/gstclock.h:
3716         * gst/gstsystemclock.c: (gst_system_clock_init):
3717         Convert Clock flags to object flags.
3718         Added methods to manage master/slave clocks.
3719
3720 2005-11-21  Wim Taymans  <wim@fluendo.com>
3721
3722         * check/gst/gstsegment.c: (GST_START_TEST):
3723         * docs/design/part-TODO.txt:
3724         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3725         (gst_base_sink_event), (gst_base_sink_do_sync),
3726         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
3727         (gst_base_sink_query), (gst_base_sink_change_state):
3728         * gst/base/gstbasesink.h:
3729         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3730         (gst_base_src_default_newsegment),
3731         (gst_base_src_configure_segment), (gst_base_src_do_seek),
3732         (gst_base_src_get_range), (gst_base_src_loop),
3733         (gst_base_src_change_state):
3734         * gst/base/gstbasesrc.h:
3735         * gst/base/gstbasetransform.c:
3736         (gst_base_transform_prepare_output_buf),
3737         (gst_base_transform_event), (gst_base_transform_change_state):
3738         * gst/base/gstbasetransform.h:
3739         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3740         (gst_collect_pads_event):
3741         * gst/base/gstcollectpads.h:
3742         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
3743         (gst_fake_src_create):
3744         * gst/elements/gstfakesrc.h:
3745         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
3746         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
3747         (gst_segment_set_last_stop), (gst_segment_set_seek),
3748         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
3749         (gst_segment_to_running_time), (gst_segment_clip):
3750         * gst/gstsegment.h:
3751         More segment updates, replace code in plugins with segment
3752         helper functions.
3753
3754 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
3755
3756         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
3757         Don't ignore sscanf results
3758
3759 2005-11-21  Andy Wingo  <wingo@pobox.com>
3760
3761         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
3762
3763         * *.h:
3764         * *.c: Ran scripts/update-macros. Oh yes.
3765
3766         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
3767         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
3768         GST_GET_LOCK, etc.
3769
3770         * scripts/update-macros: New script. Run it on your files to
3771         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
3772         well.
3773
3774 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
3775
3776         * docs/gst/Makefile.am:
3777         * docs/gst/gstreamer-docs.sgml:
3778         * docs/gst/gstreamer-sections.txt:
3779         * docs/gst/gstreamer.types:
3780         * gst/gstinfo.h:
3781           more docs fixes, add new api to the docs
3782
3783 2005-11-21  Andy Wingo  <wingo@pobox.com>
3784
3785         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
3786         state_broadcast call.
3787
3788         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
3789
3790 2005-11-21  Julien MOUTTE  <julien@moutte.net>
3791
3792         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
3793         function calls for arrays.
3794
3795 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
3796
3797         * docs/random/ensonic/media-device-daemon.txt:
3798           wild idea, can this be done?
3799         * docs/gst/gstreamer-sections.txt:
3800         * gst/gsterror.h:
3801         * gst/gstfilter.c:
3802         * gst/gstfilter.h:
3803         * gst/gstplugin.h:
3804         * gst/gstpluginfeature.c:
3805         * gst/gsttrace.c:
3806         * gst/gstvalue.c:
3807         * gst/gstvalue.h:
3808           doc fixes and additions
3809
3810 2005-11-21  Andy Wingo  <wingo@pobox.com>
3811
3812         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
3813         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
3814         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
3815         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
3816         private to the basesrc implementation.
3817
3818         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
3819         behalf of event function if necessary. It should no longer be
3820         necessary to take the stream lock in pad's event functions. Fixes
3821         #320299.
3822
3823 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
3824         * docs/gst/gstreamer-sections.txt:
3825         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
3826         (gst_structure_fixate_field_nearest_double),
3827         (gst_structure_fixate_field_boolean):
3828         * gst/gststructure.h:
3829         * win32/common/libgstreamer.def:
3830         * win32/gstreamer.def:
3831
3832         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
3833         (#322027)
3834
3835 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
3836
3837         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
3838         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
3839         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
3840         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
3841         (gst_fdsrc_uri_handler_init):
3842         * gst/elements/gstfdsrc.h:
3843           Port fd:// URI handler from 0.8 to fdsrc
3844
3845 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
3846
3847         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
3848         (gst_value_serialize_fourcc):
3849         * gst/gstvalue.h:
3850           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
3851           consistent with our other format defines (#320324).
3852
3853 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
3854
3855         * gst/gstvalue.c: (gst_value_is_fixed):
3856           Revert previous commit. Value lists are by definition
3857           not fixed, as they are a list of possible values.
3858
3859 2005-11-21  Andy Wingo  <wingo@pobox.com>
3860
3861         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
3862         during the stable series if we need it. Fixes #319178.
3863
3864         * gst/gstevent.c (gst_event_new_filler): Removed.
3865
3866         * check/gst/gstevent.c: Update comment about filler events.
3867
3868 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
3869
3870         * gst/gstvalue.c: (gst_value_is_fixed):
3871           Should handle both value arrays and value lists.
3872
3873 2005-11-21  Andy Wingo  <wingo@pobox.com>
3874
3875         patch by: Alessandro Dessina <alessandro nnva org>
3876
3877         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
3878         functions to access arrays. Fixes #321962.
3879
3880 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
3881
3882         * docs/gst/gstreamer.types:
3883           gst_collectpads_get_type => gst_collect_pads_get_type.
3884           
3885         * gst/base/gstbasetransform.c:
3886           Remove unused SIGNAL_HANDOFF enum.
3887
3888 2005-11-21  Andy Wingo  <wingo@pobox.com>
3889
3890         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
3891         the event type (upstream, downstream, serialized). Renamed
3892         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
3893         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
3894         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
3895
3896         * gst/gstevent.c: Update for new CUSTOM event names.
3897
3898         * check/gst/gstevent.c: Update check for new CUSTOM event names.
3899
3900         * gst/gstevent.h:
3901         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
3902         bug #319392.
3903
3904 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
3905
3906         * docs/gst/gstreamer-sections.txt:
3907         * win32/common/libgstbase.def:
3908         * win32/libgstbase.def:
3909         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3910         (gst_collect_pads_class_init), (gst_collect_pads_init),
3911         (gst_collect_pads_finalize), (gst_collect_pads_new),
3912         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
3913         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
3914         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
3915         (gst_collect_pads_start), (gst_collect_pads_stop),
3916         (gst_collect_pads_peek), (gst_collect_pads_pop),
3917         (gst_collect_pads_available), (gst_collect_pads_read),
3918         (gst_collect_pads_flush), (gst_collect_pads_event),
3919         (gst_collect_pads_chain):
3920         * gst/base/gstcollectpads.h:
3921           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
3922           unimplemented functions as unimplemented. Add padding to
3923           GstCollectData. (#320766, #320423)
3924
3925 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
3926
3927         * gst/gstmessage.c:
3928           Improve docs for DURATION message (usage of duration parameter)
3929           (#320113)
3930
3931 2005-11-20  Wim Taymans  <wim@fluendo.com>
3932
3933         * check/Makefile.am:
3934         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
3935         (main):
3936         * gst/Makefile.am:
3937         * gst/gst.h:
3938         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
3939         (gst_segment_set_seek), (gst_segment_set_newsegment),
3940         (gst_segment_to_stream_time), (gst_segment_to_running_time),
3941         (gst_segment_clip):
3942         * gst/gstsegment.h:
3943         Added segment helper structure and methods. Not fully implemented
3944         yet.
3945         Added segment check.
3946
3947 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
3948
3949         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3950           Add a deserialisation test for fractions
3951         * examples/metadata/read-metadata.c: (message_loop),
3952         (make_pipeline), (main):
3953           Fix up metadata reading sample.
3954         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3955           Debug format fix
3956         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
3957           Don't try and fixate empty caps
3958         * gst/gst_private.h:
3959           Wrap in G_BEGIN_DECLS/G_END_DECLS
3960         * gst/gstvalue.c: (gst_value_collect_fraction),
3961         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
3962         (gst_value_transform_string_fraction),
3963         (gst_value_compare_fraction):
3964           Add some extra guards to ensure that we don't end up 
3965           with an invalid denominator of 0 in a gstfraction and
3966           that fractions always get reduced.
3967
3968 2005-11-20  Wim Taymans  <wim@fluendo.com>
3969
3970         * docs/gst/gstreamer-sections.txt:
3971         * gst/gstbuffer.h:
3972         * gst/gstelement.c:
3973         * gst/gstformat.c:
3974         * gst/gstformat.h:
3975         * gst/gstindex.h:
3976         * gst/gstquery.c:
3977         * gst/gstquery.h:
3978         * gst/gstvalue.c:
3979         Doc fixes.
3980
3981 2005-11-20  Wim Taymans  <wim@fluendo.com>
3982
3983         * docs/design/part-TODO.txt:
3984         * gst/gstcaps.h:
3985         Make a proper enum of the flag.
3986
3987 2005-11-19  Wim Taymans  <wim@fluendo.com>
3988
3989         * docs/design/part-TODO.txt:
3990         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
3991         (gst_format_to_quark), (gst_format_register):
3992         * gst/gstformat.h:
3993         * gst/gstquery.c: (_gst_query_initialize),
3994         (gst_query_type_get_name), (gst_query_type_to_quark),
3995         (gst_query_type_register):
3996         * gst/gstquery.h:
3997         Add type to quark and type to string conversions.
3998
3999 2005-11-19  Andy Wingo  <wingo@pobox.com>
4000
4001         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
4002         #320097.
4003
4004 2005-11-19  Wim Taymans  <wim@fluendo.com>
4005
4006         * docs/design/part-TODO.txt:
4007         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4008         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
4009         (gst_bin_handle_message_func):
4010         * gst/gstbin.h:
4011         Make message handling overridable.
4012
4013 2005-11-19  Andy Wingo  <wingo@pobox.com>
4014
4015         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
4016
4017         * gst/gstclock.h:
4018         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
4019         be a GstClockTime.
4020         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
4021         is a GstClockTime. Fixes #321710.
4022
4023         * gst/gstclock.h (GstClock): Remove offset property. Add
4024         internal_calibration and external_calibration. Fix padding. Pad
4025         also by GstClockTime so we don't run into problems.
4026
4027         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
4028         (gst_clock_get_rate_offset): Remove.
4029         (gst_clock_set_time_adjust): Remove. Fixes #321712.
4030
4031         * gst/gstutils.h:
4032         * gst/gstutils.c (g_static_rec_cond_wait)
4033         (g_static_rec_cond_timed_wait): Removed, no longer needed.
4034
4035         * gst/gstbin.c: Remove terrible continue_state prototype.
4036
4037         * gst/gstelement.h (gst_element_continue_state): Make public.
4038
4039         * gst/gstelement.h:
4040         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
4041         by continue_state. Fixes #319389.
4042
4043         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
4044         Really fixes #168438. However I don't see anywhere where the
4045         filter function is called... stupid GStreamer...
4046         
4047         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
4048         don't have a dispose function, so it won't get called when the
4049         object is unreffed, but oh well!
4050
4051         * gst/gstindex.c (gst_index_set_filter_full): New API function,
4052         allows a destroy function to be set so user_data can be freed.
4053         Fixes #168438.
4054         (gst_index_set_filter): Call gst_index_set_filter_full.
4055
4056         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
4057
4058         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
4059         string should produce an error, given the lack of a way to
4060         represent NULL strings. Fixes #165650.
4061         
4062         * gst/gstvalue.h: 
4063         * gst/gstvalue.c (gst_value_array_append_value) 
4064         (gst_value_array_prepend_value, gst_value_array_get_size) 
4065         (gst_value_array_get_value): New API, copied from
4066         gst_value_list_*, only operates on arrays.
4067         (gst_value_list_append_value, gst_value_list_prepend_value) 
4068         (gst_value_list_concat, gst_value_list_get_size) 
4069         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
4070
4071         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
4072         init_list, because it works on both.
4073         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
4074         (gst_value_copy_list_or_array): Renamed from copy_list.
4075         (gst_value_free_list_or_array): Renamed from free_list.
4076         (gst_value_collect_list_or_array): Renamed from collect_list.
4077         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
4078         (gst_value_list_or_array_peek_pointer): Renamed from
4079         list_peek_pointer.
4080         (_gst_value_array_value_table, _gst_value_list_value_table):
4081         Update value table functions.
4082         (gst_value_compare_list_or_array): Renamed from compare_list.
4083
4084         * gsttaglist.h: Whoops, foreach function returns void. Also fix
4085         some constness.
4086
4087         * gst/gsttaglist.c:
4088         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
4089         GstTagList*. Fixes #143472.
4090
4091         * gst/gststructure.h: Clarify what the foreach/map functions can
4092         or can't do to their arguments.
4093
4094 2005-11-18  Wim Taymans  <wim@fluendo.com>
4095
4096         * gst/gstclock.c: (gst_clock_set_calibration),
4097         (gst_clock_get_calibration):
4098         Doc and API fixes.
4099         Calibration can be set with internal time equal to current
4100         internal time too.
4101
4102 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4103
4104         * gst/gsterror.c:
4105         * gst/gsterror.h:
4106           document
4107
4108 2005-11-18  Andy Wingo  <wingo@pobox.com>
4109
4110         * configure.ac: 
4111         * pkgconfig/gstreamer-net.pc.in:
4112         * pkgconfig/gstreamer-net-uninstalled.pc.in:
4113         * pkgconfig/Makefile.am: Add net pkgconfig files.
4114
4115 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
4116
4117         * gst/gstcaps.c:
4118         * gst/gstghostpad.c:
4119         * gst/gsttrace.c:
4120         * gst/gstvalue.c:
4121         * gst/gstvalue.h:
4122           docs fixes
4123
4124 2005-11-18  Andy Wingo  <wingo@pobox.com>
4125
4126         * gst/net/gstnetclientclock.c: Turn off debugging.
4127
4128         * check/net/gstnetclientclock.c (test_functioning): Assert that the
4129         times connverge somewhat. Can't make a real test.
4130
4131         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
4132         integer arithmetic. Return the minimum of the domain, which can be
4133         set as "internal" for gst_clock_set_calibration.
4134         (gst_net_client_clock_observe_times): Call _set_calibration.
4135         (gst_net_client_clock_new): Call _set_calibration instead of
4136         rate_offset.
4137
4138         * check/net/gstnetclientclock.c (test_functioning): Use the right
4139         adjustment api.
4140
4141         * gst/gstclock.h:
4142         * gst/gstclock.c (gst_clock_get_calibration) 
4143         (gst_clock_set_calibration): New functions, obsolete the ones I
4144         added yesterday. Doh. Precision issues mean we have to extrapolate
4145         from a point in the more recent past than 1970.
4146         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
4147         obsolete.
4148         (gst_clock_adjust_unlocked): Use the right calibration data.
4149
4150 2005-11-18  Edward Hervey  <edward@fluendo.com>
4151
4152         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
4153         Also reset the ->current_* values in READY->PAUSED
4154
4155 2005-11-18  Andy Wingo  <wingo@pobox.com>
4156
4157         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
4158         Whoops, check the right fd. Also add some debugging.
4159         (gst_net_client_clock_observe_times): Adjust for int64 offset.
4160         (do_linear_regression): Add a crapload of debugging. Subtract off
4161         the minimum values from the input series to discard unneeded bits.
4162         Use only int arithmetic. There is still double arithmetic when
4163         calculating the intercept that needs fixing. Return boolean to
4164         indicate success; FALSE would mean the domain or range is too
4165         great. Still needs fixes.
4166
4167 2005-11-18  Wim Taymans  <wim@fluendo.com>
4168
4169         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
4170         For the current position in stream time, we need to subtract
4171         accumulated time.
4172         
4173         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4174         Release lock before calling the callback function of async
4175         entries.
4176
4177 2005-11-18  Andy Wingo  <wingo@pobox.com>
4178
4179         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
4180         Port goes all the way to MAXUINT16.
4181
4182         * gst/net/gstnettimeprovider.c: Make the port range the same as
4183         for the kernel: 0 assigns, otherwise ports are less than
4184         MAXUINT16.
4185
4186         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
4187         port change.
4188
4189         * check/net/gstnetclientclock.c (test_functioning): Add the start
4190         of another test. 
4191
4192 2005-11-18  Wim Taymans  <wim@fluendo.com>
4193
4194         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4195         (gst_bin_remove_func), (bin_bus_handler):
4196         * gst/gstbin.h:
4197         Removing a clock provider from a bin, triggers a clock lost message
4198         so that a new clock will be selected.
4199         Adding a clock to a bin triggers a clock provider message.
4200         Make sure we reselect a clock when we received a clock lost message.
4201         Keep a reference to the element that provided the clock.
4202
4203 2005-11-18  Andy Wingo  <wingo@pobox.com>
4204
4205         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
4206         the clock initially so it produces values around the base time.
4207         (gst_net_client_clock_class_init): Typo fix.
4208         (gst_net_client_clock_thread): Add note on when the socket gets
4209         closed.
4210
4211 2005-11-17  Wim Taymans  <wim@fluendo.com>
4212
4213         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
4214         Free remote and local time arrays.
4215
4216 2005-11-17  Wim Taymans  <wim@fluendo.com>
4217
4218         * gst/net/gstnetclientclock.c: (do_linear_regression),
4219         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
4220         Fix compilation, uninitialized vars and a forgotten continue.
4221
4222 2005-11-17  Andy Wingo  <wingo@pobox.com>
4223
4224         * check/Makefile.am (check_PROGRAMS): 
4225         * check/net/gstnetclientclock.c: Add a most minimal test for the
4226         net client clock. More to come later.
4227
4228         * gst/net/gstnet.h: 
4229         * gst/net/Makefile.am: Add netclientclock.
4230
4231         * gst/net/gstnetclientclock.h:
4232         * gst/net/gstnetclientclock.c: New files, implement an untested
4233         GstClock that takes its time from a network time provider.
4234         Implements the algorithm in network-clock.scm.
4235
4236         * tests/network-clock.scm (*window-size*): Rename from
4237         *queue-length*.
4238         * tests/network-clock.scm (network-time): 
4239         * tests/network-clock-utils.scm (q-push): Update callers.
4240
4241 2005-11-17  Wim Taymans  <wim@fluendo.com>
4242
4243         * gst/gstbin.c: (gst_bin_provide_clock_func),
4244         (gst_bin_sort_iterator_new):
4245         And unref the child too..
4246
4247 2005-11-17  Wim Taymans  <wim@fluendo.com>
4248
4249         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4250         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
4251         Refactor the sort iterator so it can be used while holding the
4252         LOCK too.
4253         Make clock selection select a clock closest to the source.
4254
4255 2005-11-17  Michael Smith <msmith@fluendo.com>
4256
4257         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
4258         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
4259         * gst/gstclock.h:
4260           Anonymous structs are a gcc (and some other compilers) extension, so
4261           don't use them. Since this is only for ABI-compatibility, and our
4262           API/ABI freeze is over in a few days, this whole thing will only
4263           last a few days, so don't bother trying to think up a meaningful
4264           name for the struct.
4265
4266 2005-11-17  Andy Wingo  <wingo@pobox.com>
4267
4268         * gst/gstclock.h (GstClock): Add rate and offset properties,
4269         preserving ABI stability. Add rate/offset accessors. Will file bug
4270         for the freeze break.
4271
4272         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
4273         and offset, trying to keep precision and avoiding
4274         underflow/overflow.
4275         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
4276         functions. Make gst_clock_set_time_adjust obsolete.
4277         (gst_clock_set_time_adjust): Note that this function is obsolete.
4278         Will file bug soon.
4279
4280         * gst/base/gstbasetransform.h: Make the ABI-stability hack
4281         greppable by using GST_PADDING-1+1.
4282
4283 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
4284
4285         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4286
4287         * gst/gstmessage.c: (gst_message_parse_clock_lost):
4288           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
4289
4290         * gst/gstpadtemplate.h:
4291         * gst/gstpluginfeature.h:
4292           Don't use c++ style comments in headers (#321638).
4293
4294 2005-11-16  Andy Wingo  <wingo@pobox.com>
4295
4296         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
4297         buffer.
4298
4299         * check/net/gstnettimeprovider.c: Check to see that the time
4300         provider actually provides times. Works, yo!
4301
4302 2005-11-16  Wim Taymans  <wim@fluendo.com>
4303
4304         * check/Makefile.am:
4305         Enable more tests.
4306
4307         * check/elements/fakesrc.c: (GST_START_TEST):
4308         Set element to NULL before disposing it.
4309
4310 2005-11-16  Andy Wingo  <wingo@pobox.com>
4311
4312         * gst/net/Makefile.am:
4313         * gst/net/gstnet.h:
4314         * gst/net/gstnettimeprovider.c: 
4315         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
4316         provider, include it from gstnet.h, and add it to the build.
4317
4318         * gst/net/gstnettimepacket.h: 
4319         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
4320         sending and receiving.
4321
4322 2005-11-16  Wim Taymans  <wim@fluendo.com>
4323
4324         * check/Makefile.am:
4325         Enable valgrind check.
4326
4327         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
4328         (gst_fake_src_alloc_buffer):
4329         Fix memleak.
4330
4331 2005-11-16  Wim Taymans  <wim@fluendo.com>
4332
4333         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
4334         Call parent finalize too.
4335
4336 2005-11-16  Wim Taymans  <wim@fluendo.com>
4337
4338         * check/Makefile.am:
4339         Enable valgrind check that should work fine now.
4340
4341         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
4342         * gst/gstqueue.c: (gst_queue_init):
4343         Fix memleaks in pad allocation.
4344
4345 2005-11-16  Andy Wingo  <wingo@pobox.com>
4346
4347         * gst/net/Makefile.am:
4348         * gst/net/gstnet.h: New part of core to hold network elements and
4349         objects. Put in core because it exposes API that applications want
4350         to use. The library is named libgstnet-tempname right now because
4351         of the existing libgstnet in gst-plugins-base. Solution is
4352         probably to rename the one in plugins-base; will file a bug for
4353         the freeze break.
4354
4355         * gst/net/gstnettimeprovider.c: 
4356         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
4357         get_time call over the network.
4358
4359         * configure.ac: 
4360         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
4361
4362         * check/Makefile.am:
4363         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
4364         get additions shortly.
4365
4366 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4367
4368         * gst/gstpad.c: (gst_pad_new_from_static_template):
4369         * gst/gstpad.h:
4370           add gst_pad_new_from_static_template functions
4371         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
4372         (gst_check_setup_sink_pad):
4373         * gst/elements/gsttee.c: (gst_tee_init):
4374           and use them
4375
4376 2005-11-16  Wim Taymans  <wim@fluendo.com>
4377
4378         * gst/gstpad.c: (gst_pad_pause_task):
4379         Removed warning, it's not really an error either.
4380
4381 2005-11-16  Wim Taymans  <wim@fluendo.com>
4382
4383         * gst/base/gstbasetransform.c:
4384         (gst_base_transform_prepare_output_buf),
4385         (gst_base_transform_event):
4386         Check if the caps are NULL, this can happen if the element
4387         is shutting down and the pad caps are set to NULL.
4388
4389 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4390
4391         * gst/elements/gsttee.c: (gst_tee_init):
4392           fix pad template leak in tee
4393
4394 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4395
4396         * gst/glib-compat.c: (g_value_dup_gst_object):
4397         * gst/glib-compat.h:
4398         * gst/gstpad.c: (gst_pad_set_property):
4399           use gst_object_ref when setting the pad template; this will
4400           trigger the pad template leaks on GLib 2.6 and the slaves
4401
4402 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4403
4404         * gst/glib-compat.c: (gst_flags_get_first_value):
4405         * gst/glib-compat.h:
4406         * gst/gstregistryxml.c:
4407           remove functions copied from GLib 2.6
4408
4409 2005-11-16  Michael Smith <msmith@fluendo.com>
4410
4411         * gst/Makefile.am:
4412           Don't link against VALGRIND_LIBS. That was always the wrong thing to
4413           do, but only breaks with newer valgrind versions. We're not a
4414           valgrind tool, we have no link-time dependencies on libcoregrind.
4415
4416 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4417
4418         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4419           some debug changes
4420         * gst/gstmessage.h:
4421           typo fixes
4422
4423 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4424
4425         * gst/base/gstbasesrc.c: (gst_base_src_init):
4426         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
4427         * gst/gstqueue.c: (gst_queue_init):
4428         * gst/gstregistryxml.c: (load_feature):
4429           Revert all these unrefs, they don't even pass make check !
4430
4431 2005-11-15  Johan Dahlin  <johan@gnome.org>
4432
4433         * gst/base/gstbasesrc.c: (gst_base_src_init):
4434         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
4435         * gst/gstqueue.c: (gst_queue_init): 
4436         Free pad templates, fixes a couple of leaks.
4437
4438 2005-11-15  Daniel Fischer  <dan at f3c dot com>
4439
4440         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4441
4442         * gst/gstpad.c: (gst_pad_get_property):
4443           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
4444           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
4445           (#321452)
4446
4447 2005-11-15  Wim Taymans  <wim@fluendo.com>
4448
4449         * gst/gstevent.c:
4450         Small doc update.
4451
4452 2005-11-15  Andy Wingo  <wingo@pobox.com>
4453
4454         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
4455
4456         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
4457         using GST_CLOCK_TIME_NONE to disable base time management.
4458         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
4459         time if it was NONE before.
4460         (gst_pipeline_change_state): Only munge the base time if
4461         stream_time != GST_CLOCK_TIME_NONE.
4462
4463         * check/gst/gstpipeline.c (test_base_time): Punt around the
4464         problem of the probe not being called, because that's not the
4465         issue I'm looking at. Add a check that setting stream_time to NONE
4466         disables base time management.
4467         
4468 2005-11-15  Wim Taymans  <wim@fluendo.com>
4469
4470         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4471         segment_stop == -1 at startup.
4472
4473         * gst/base/gstbasetransform.c: (gst_base_transform_event),
4474         (gst_base_transform_change_state):
4475         Init segment values at start.
4476
4477 2005-11-15  Wim Taymans  <wim@fluendo.com>
4478
4479         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4480         0 segment values are 0 in any format.
4481
4482         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4483         * gst/base/gstbasetransform.h:
4484         Parse newsegment correctly in basetransform
4485
4486         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
4487         Sync to clock using updated segment values.
4488
4489 2005-11-15  Andy Wingo  <wingo@pobox.com>
4490
4491         * check/gst/gstpipeline.c (test_base_time): Add check that the
4492         base time and stream time are reset correctly.
4493
4494 2005-11-15  Wim Taymans  <wim@fluendo.com>
4495
4496         * docs/design/part-TODO.txt:
4497         Some more TODO items.
4498
4499 2005-11-15  Andy Wingo  <wingo@pobox.com>
4500
4501         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
4502         error if the user selected "no clock" as the clocking method.
4503
4504         * check/gst/gstpipeline.c (test_base_time): New test for buffer
4505         timestamps with live capture.
4506
4507         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
4508         is 0 but we are a live source, timestamp the buffers using the
4509         element's clock.
4510
4511 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
4512
4513         * docs/gst/gstreamer-sections.txt:
4514         * gst/gsterror.c:
4515         * gst/gstghostpad.c:
4516         * gst/gstobject.h:
4517         * gst/gstxml.c:
4518           more section docs
4519
4520 2005-11-14  Wim Taymans  <wim@fluendo.com>
4521
4522         * common/gst.supp:
4523           add suppressions from Wim's Debian machine
4524
4525 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4526
4527         * common/gst.supp:
4528           add suppressions from Andy's AMD64 Ubuntu machine
4529
4530 2005-11-14  Andy Wingo  <wingo@pobox.com>
4531
4532         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
4533         STATE_LOCK not necessary. Fixes #311489.
4534
4535         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
4536         #305291.
4537
4538         * gst/gstindex.c (gst_index_add_object): Note in the docs that
4539         this function is not implemented.
4540
4541 2005-11-14  Julien MOUTTE  <julien@moutte.net>
4542
4543         * gst/base/gstbasetransform.c:
4544         (gst_base_transform_prepare_output_buf):
4545         Ref the source pad caps while we need them.
4546         Fixes (#321386)
4547
4548 2005-11-11  Wim Taymans  <wim@fluendo.com>
4549
4550         * docs/gst/gstreamer-sections.txt:
4551         Added some docs for GstCollectData.
4552
4553         * gst/base/gstadapter.c:
4554         Some small code example fix.
4555
4556         * gst/base/gstcollectpads.c:
4557         * gst/base/gstcollectpads.h:
4558         Document some more.
4559
4560 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4561
4562         * configure.ac: back to HEAD
4563
4564 === release 0.9.5 ===
4565
4566 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
4567
4568         * configure.ac:
4569           releasing 0.9.5, "Bike Lunch Day"
4570
4571 2005-11-11  Wim Taymans  <wim@fluendo.com>
4572
4573         * gst/gstbuffer.c: (_gst_buffer_copy):
4574         Copy more flags.
4575
4576         * gst/gstcaps.c: (gst_caps_is_equal):
4577         Fix some docs.
4578         Make _is_equal fast in the trivial cases.
4579
4580         * gst/gstminiobject.c:
4581         * gst/gstminiobject.h:
4582         More docs. Spifify .h file.
4583
4584         * gst/gstutils.c:
4585         Small doc update.
4586
4587 2005-11-11  Wim Taymans  <wim@fluendo.com>
4588
4589         * gst/base/gstbasetransform.c:
4590         (gst_base_transform_prepare_output_buf),
4591         (gst_base_transform_handle_buffer):
4592         Small cleanups.
4593         If we're processing a buffer and need to allocate an output
4594         buffer, we cannot accept a format change. If we did get a 
4595         format change, we have to alloc a buffer ourselves of the 
4596         right size.
4597
4598 2005-11-11  Wim Taymans  <wim@fluendo.com>
4599
4600         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
4601         While checking the flag for reentrancy in the gstcaps function
4602         is nice to detect recursive invocations, it also makes it 
4603         impossible to call getcaps from multiple threads, which must be
4604         possible. So, checking for recursive calls has to go.
4605
4606 2005-11-11  Michael Smith <msmith@fluendo.com>
4607
4608         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4609           Don't sync on buffers that fall partially outside our current
4610           segment. Prevents an assertion failure/abort playing some files.
4611
4612 2005-11-10  Andy Wingo  <wingo@pobox.com>
4613
4614         * check/gst/gstbin.c (test_message_state_changed_children): Style
4615         fix..
4616
4617         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
4618         gst_bus_poll with the signal watch. Ensures that poll and a signal
4619         watch see the same messages.
4620
4621         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
4622         a poll and a watch at the same time get the same messages.
4623
4624 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4625
4626         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
4627         * gst/gstcaps.c: (gst_caps_intersect):
4628           Don't call gst_caps_do_simplify - it doesn't respect order of caps
4629           and it's not needed.
4630
4631 2005-11-10  Wim Taymans  <wim@fluendo.com>
4632
4633         * docs/design/part-TODO.txt:
4634         Updated todo.
4635
4636 2005-11-10  Wim Taymans  <wim@fluendo.com>
4637
4638         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4639         * gst/base/gstbasesrc.c: (gst_base_src_wait),
4640         (gst_base_src_do_sync), (gst_base_src_get_range):
4641         Implement clock sync in base class.
4642
4643 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4644
4645         patch by: Tim-Philipp Müller <tim at centricular dot net>
4646
4647         * gst/gststructure.c: (gst_structure_parse_field),
4648         (gst_structure_from_string):
4649           Forward-port a 0.8 patch to handle escaped spaces in structure string,
4650           so that gst_parse_launch() can deal with spaces in filtered link
4651           caps (fixes #164479)
4652         * check/gst/capslist.h:
4653         * check/gst/gststructure.c: (GST_START_TEST):
4654           add unit tests for this change
4655
4656 2005-11-10  Wim Taymans  <wim@fluendo.com>
4657
4658         * docs/gst/gstreamer-sections.txt:
4659         * gst/gstelement.c:
4660         * gst/gstelement.h:
4661         Fix docs, move some STATE macros to private.
4662
4663 2005-11-10  Wim Taymans  <wim@fluendo.com>
4664
4665         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4666         Added check for bug #317341
4667
4668         * gst/gstbuffer.c:
4669         * gst/gstbuffer.h:
4670         Some more spiffifying.
4671
4672         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
4673         Call peer linkfunction if we are a source pad. Totally fixes
4674         #317341
4675
4676         * gst/gstpad.c:
4677         Update docs, source pads should call the peer linkfunction
4678         so they can atomically perform the pad link.
4679
4680 2005-11-09  Wim Taymans  <wim@fluendo.com>
4681
4682         * gst/gstbuffer.c:
4683         * gst/gstbuffer.h:
4684         Uber-spiffy-spiffify some more.
4685
4686 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
4687
4688         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
4689         * gst/elements/gstfilesink.c: (gst_file_sink_init):
4690         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
4691         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
4692         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
4693         * gst/gstpad.c: (gst_pad_init):
4694           Use GST_DEBUG_FUNCPTR() more extensively.
4695
4696 2005-11-09  Wim Taymans  <wim@fluendo.com>
4697
4698         * gst/gstobject.c: (gst_object_class_init):
4699         * gst/gstobject.h:
4700         Documentation fixes.
4701
4702 2005-11-09  Edward Hervey  <edward@fluendo.com>
4703
4704         * gst/gsttypefindfactory.c:
4705         Fix docs.
4706         
4707 2005-11-09  Edward Hervey  <edward@fluendo.com>
4708
4709         * gst/base/gsttypefindhelper.c:
4710         * gst/gsttypefind.c:
4711         * gst/gsttypefind.h:
4712         Fix docs.
4713
4714 2005-11-09  Wim Taymans  <wim@fluendo.com>
4715
4716         * gst/gstiterator.c:
4717         Fix revision data.
4718
4719         * gst/gsttask.c:
4720         * gst/gsttask.h:
4721         Fix docs.
4722
4723 2005-11-09  Wim Taymans  <wim@fluendo.com>
4724
4725         * gst/gstevent.h:
4726         * gst/gsturi.h:
4727         Fix docs.
4728
4729 2005-11-09  Wim Taymans  <wim@fluendo.com>
4730
4731         * docs/gst/gstreamer-sections.txt:
4732         Moved the message async delivery private lock and cond
4733         to the private section.
4734
4735         * gst/gstmessage.c:
4736         * gst/gstmessage.h:
4737         Fixed docs.
4738
4739 2005-11-09  Edward Hervey  <edward@fluendo.com>
4740
4741         * docs/gst/gstreamer-sections.txt:
4742         * gst/gsturi.c:
4743         * gst/gsturi.h:
4744         Document GstURIHandler
4745
4746 2005-11-09  Wim Taymans  <wim@fluendo.com>
4747
4748         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
4749         (gst_iterator_find_custom):
4750         * gst/gstiterator.h:
4751         Fix iterator docs.
4752
4753 2005-11-09  Wim Taymans  <wim@fluendo.com>
4754
4755         * gst/gstbin.h:
4756         Document another field.
4757
4758         * gst/gststructure.c:
4759         * gst/gststructure.h:
4760         Document.
4761
4762 2005-11-09  Wim Taymans  <wim@fluendo.com>
4763
4764         * gst/gstbin.h:
4765         Documented structs.
4766
4767 2005-11-09  Wim Taymans  <wim@fluendo.com>
4768
4769         * docs/gst/gstreamer-sections.txt:
4770         Added some new macros.
4771
4772         * gst/gstclock.c:
4773         * gst/gstclock.h:
4774         * gst/gstobject.h:
4775         Docs updates.
4776
4777 2005-11-09  Wim Taymans  <wim@fluendo.com>
4778
4779         * docs/design/part-TODO.txt:
4780         Some more items for the TODO
4781
4782         * gst/gstcaps.c:
4783         * gst/gstcaps.h:
4784         Document GstCaps.
4785
4786 2005-11-09  Andy Wingo  <wingo@pobox.com>
4787
4788         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
4789         to work on something else now tho...
4790
4791         * gst/base/gstadapter.c: More adapter docs.
4792
4793         * gst/elements/gstfilesink.c (gst_file_sink_start) 
4794         (gst_file_sink_stop): New functions, replace the state change
4795         handler.
4796         (gst_file_sink_class_init): Hook up the start and stop functions.
4797         (gst_file_sink_base_init): Don't set the state change handler any
4798         more. It was a bit ugly too, being set from here...
4799         (gst_file_sink_get_property, gst_file_sink_set_property):
4800         Cleanups...
4801         (gst_file_sink_set_location): More robust check that doesn't call
4802         GST_STATE. Ugggggg.
4803
4804 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
4805
4806         * gst/base/gstbasetransform.c: (gst_base_transform_event):
4807           Hold STREAM_LOCK while pushing newsegment or tag events as well.
4808
4809 2005-11-08  Wim Taymans  <wim@fluendo.com>
4810
4811         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4812         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4813         (gst_base_sink_chain), (gst_base_sink_change_state):
4814         * gst/base/gstbasesink.h:
4815         * gst/base/gstbasesrc.h:
4816         * gst/gstelement.h:
4817         * gst/gstevent.h:
4818         Avoid excessive typechecking in macros.
4819
4820         * gst/gstminiobject.c: (gst_mini_object_get_type),
4821         (gst_mini_object_init), (gst_mini_object_new),
4822         (gst_mini_object_free):
4823         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
4824         (gst_object_finalize):
4825         Remove cruft code, optimize alloc_trace.
4826
4827 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4828
4829         * docs/faq/gst-uninstalled:
4830           fix up PS1 for systems that try to reset it
4831
4832 2005-11-07  Wim Taymans  <wim@fluendo.com>
4833
4834         * gst/base/gstbasesrc.c: (gst_base_src_init),
4835         (gst_base_src_get_range):
4836         Set the segment_end to -1 initially. Fixed typefind.
4837
4838 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4839
4840         * gst/base/gstadapter.c:
4841           Debug category should be 'adapter', not 'GstAdapter'.
4842           
4843         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
4844         (gst_collectpads_class_init), (gst_collectpads_init),
4845         (gst_collectpads_peek), (gst_collectpads_pop),
4846         (gst_collectpads_event), (gst_collectpads_chain):
4847           Add debug category and some debugging output. Use boilerplate
4848           macros. Remove some extraneous words from docs.
4849
4850 2005-11-05  Andy Wingo  <wingo@pobox.com>
4851
4852         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
4853         macro.
4854
4855 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
4856
4857         * docs/gst/gstreamer-sections.txt:
4858         * gst/gstcaps.h:
4859         * gst/gstinfo.c:
4860         * gst/gstminiobject.h:
4861         * gst/gstobject.h:
4862         * gst/gstutils.h:
4863           more docs added
4864
4865 2005-11-04  Wim Taymans  <wim@fluendo.com>
4866
4867         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4868         Small update to stop at the configured segment_end
4869         position.
4870
4871 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
4872
4873         * gst/gstregistry.c:
4874         * gst/gstregistry.h:
4875           added missing docs
4876
4877 2005-11-04  Edward Hervey  <edward@fluendo.com>
4878
4879         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4880         Check if we are doing a segment seek and have arrived at the
4881         end of that segment.
4882
4883 2005-11-04  Wim Taymans  <wim@fluendo.com>
4884
4885         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
4886         Don't leak a mutex unlock in case of an error.
4887
4888         * gst/gstbus.h:
4889         Doc fixes.
4890
4891 2005-11-04  Wim Taymans  <wim@fluendo.com>
4892
4893         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
4894         (gst_bus_post):
4895         Get the context to wake up only once.
4896
4897 2005-11-03  Wim Taymans  <wim@fluendo.com>
4898
4899         * check/states/sinks.c: (GST_START_TEST):
4900         Uncomment fixed check.
4901
4902         * docs/design/part-TODO.txt:
4903         Updated TODO.
4904
4905         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4906         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
4907         (gst_base_sink_get_position):
4908         If we are going to PLAYING, post the right pending state
4909         when we post the intermediate paused message.
4910
4911         * gst/gstelement.c: (gst_element_continue_state),
4912         (gst_element_set_state_func), (gst_element_change_state):
4913         Don't post state changes that were between the same state
4914         and were not ASYNC.
4915
4916 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
4917
4918         * docs/gst/gstreamer-sections.txt:
4919         * gst/gstcaps.h:
4920         * gst/gstinfo.c:
4921         * gst/gstminiobject.h:
4922         * gst/gstobject.h:
4923         * gst/gstutils.h:
4924           more docs and doc style fixes
4925
4926 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
4927
4928         * docs/gst/gstreamer-sections.txt:
4929         * gst/gstelement.c:
4930         * gst/gstminiobject.c:
4931         doc fixes
4932
4933 2005-11-03  Andy Wingo  <wingo@pobox.com>
4934
4935         * check/states/sinks.c (test_livesrc_sink): Add checks that the
4936         state-changed messages actually have the right order and the right
4937         values.
4938
4939 2005-11-03  Wim Taymans  <wim@fluendo.com>
4940
4941         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4942         Added some more checks. Specifically the case where NO_PREROLL
4943         elements are in the pipeline.
4944
4945         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4946         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
4947         (gst_base_sink_get_position):
4948         Post READY->PAUSED state change messages too.
4949         Fix bug where VOID was posted as pending state...
4950
4951         * gst/gstbin.c: (gst_bin_recalc_state):
4952         use _element_continue_state() to continue the state change.
4953
4954         * gst/gstelement.c: (gst_element_continue_state),
4955         (gst_element_commit_state), (gst_element_set_state_func),
4956         (gst_element_change_state), (gst_element_change_state_func):
4957         Lots of state change cleanups, assign the STATE_RETURN in
4958         a new continue_state() function that also propagates the
4959         last return value from a state change to the app.
4960         Update some debug statements with proper category.
4961
4962 2005-11-03  Wim Taymans  <wim@fluendo.com>
4963
4964         * docs/design/part-events.txt:
4965         * docs/design/part-gstpipeline.txt:
4966         * docs/design/part-messages.txt:
4967         * docs/design/part-overview.txt:
4968         * docs/design/part-seeking.txt:
4969         * docs/design/part-states.txt:
4970         * docs/design/part-trickmodes.txt:
4971         * docs/manual/advanced-position.xml:
4972         Small docs updates.
4973
4974         * gst/gstobject.h:
4975         People think !! is ugly, this looks better.
4976
4977         * gst/gstpad.c: (gst_pad_set_blocked_async):
4978         Remove !! since it's fixed elsewhere now.
4979
4980 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4981
4982         * gst/gstminiobject.h:
4983         * gst/gstobject.h:
4984           Add !! to _FLAG_IS_SET macros to make the result boolean.
4985
4986 2005-11-03  Edward Hervey  <edward@fluendo.com>
4987
4988         * gst/gstpad.c: (gst_pad_set_blocked_async):
4989         comparing a flag and a gboolean rarely returns coherent results...
4990         Added two characters (!!) to make that work correctly.
4991         
4992 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4993
4994         * gst/gstbus.c: (gst_bus_class_init):
4995           Fix some typos.
4996           
4997         * gst/gstqueue.c: (gst_queue_loop):
4998           Don't assume a miniobject that isn't a buffer is an
4999           event (it could be that there is a refcounting
5000           problem somewhere and the pointer is stale and
5001           refers to an already destroyed miniobject).
5002
5003 2005-11-03  Julien MOUTTE  <julien@moutte.net>
5004
5005         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
5006
5007 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5008
5009         * docs/manual/advanced-position.xml:
5010           Update seek example and explanations to current 0.9 API.
5011
5012         * gst/elements/gsttypefindelement.c:
5013         (gst_type_find_element_activate):
5014           Remove FIXME comment now that the found caps
5015           are unreffed.
5016
5017 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5018
5019         * gst/gstregistryxml.c: (load_feature):
5020           Add another GST_STR_NULL instance
5021
5022 2005-11-02  Edward Hervey  <edward@fluendo.com>
5023
5024         * gst/gstpad.c: (handle_pad_block):
5025         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
5026         
5027 2005-11-02  Wim Taymans  <wim@fluendo.com>
5028
5029         * gst/gstbin.c:
5030         Fix typo in docs.
5031
5032         * gst/gstelement.c: (gst_element_commit_state):
5033         Remove unused value.
5034
5035         * gst/gstiterator.c:
5036         Mention that the returned element is reffed in the docs.
5037
5038 2005-11-02  Wim Taymans  <wim@fluendo.com>
5039
5040         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
5041         (gst_pad_push), (gst_pad_push_event):
5042         Unlock blocked pads when they are flushed.
5043
5044 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5045
5046         * docs/README:
5047         * docs/gst/gstreamer-sections.txt:
5048         * gst/gstbin.c:
5049           doc updates
5050         * gst/gstregistry.c: (gst_registry_scan_path_level):
5051           fix for a nasty little missed situation where an installed plug-in
5052           which was in the cache did not get overridden by an uninstalled one
5053           which was earlier in the plugin path because the newly created plugin
5054           for the uninstalled one (not in the registry) didn't get its
5055           ->registered set to TRUE
5056
5057 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5058
5059         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
5060         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
5061         (gst_collectpads_is_active), (gst_collectpads_collect),
5062         (gst_collectpads_collect_range), (gst_collectpads_start),
5063         (gst_collectpads_stop), (gst_collectpads_peek),
5064         (gst_collectpads_pop), (gst_collectpads_available),
5065         (gst_collectpads_read), (gst_collectpads_flush):
5066           Guard public API with assertions.
5067         
5068         * gst/gstpad.c:
5069           Fix docs for gst_pad_set_link_function().
5070
5071 2005-11-02  Johan Dahlin  <johan@gnome.org>
5072
5073         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
5074         Unref found_caps after we used it.
5075
5076 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5077
5078         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
5079           Don't try to ref NULL.
5080
5081 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5082
5083         * win32/common/config.h.in:
5084           provide a GST_FUNCTION that just gives a string for now
5085
5086 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5087
5088         * win32/common/gstenumtypes.c: (register_gst_object_flags),
5089         (gst_object_flags_get_type), (register_gst_bin_flags),
5090         (gst_bin_flags_get_type), (register_gst_buffer_flag),
5091         (gst_buffer_flag_get_type), (register_gst_bus_flags),
5092         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
5093         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
5094         (gst_clock_return_get_type), (register_gst_clock_entry_type),
5095         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
5096         (gst_clock_flags_get_type), (register_gst_state),
5097         (gst_state_get_type), (register_gst_state_change_return),
5098         (gst_state_change_return_get_type), (register_gst_state_change),
5099         (gst_state_change_get_type), (register_gst_element_flags),
5100         (gst_element_flags_get_type), (register_gst_core_error),
5101         (gst_core_error_get_type), (register_gst_library_error),
5102         (gst_library_error_get_type), (register_gst_resource_error),
5103         (gst_resource_error_get_type), (register_gst_stream_error),
5104         (gst_stream_error_get_type), (register_gst_event_type),
5105         (gst_event_type_get_type), (register_gst_seek_type),
5106         (gst_seek_type_get_type), (register_gst_seek_flags),
5107         (gst_seek_flags_get_type), (register_gst_format),
5108         (gst_format_get_type), (register_gst_index_certainty),
5109         (gst_index_certainty_get_type), (register_gst_index_entry_type),
5110         (gst_index_entry_type_get_type),
5111         (register_gst_index_lookup_method),
5112         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
5113         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
5114         (gst_index_resolver_method_get_type), (register_gst_index_flags),
5115         (gst_index_flags_get_type), (register_gst_debug_level),
5116         (gst_debug_level_get_type), (register_gst_debug_color_flags),
5117         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
5118         (gst_iterator_result_get_type), (register_gst_iterator_item),
5119         (gst_iterator_item_get_type), (register_gst_message_type),
5120         (gst_message_type_get_type), (register_gst_mini_object_flags),
5121         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
5122         (gst_pad_link_return_get_type), (register_gst_flow_return),
5123         (gst_flow_return_get_type), (register_gst_activate_mode),
5124         (gst_activate_mode_get_type), (register_gst_pad_direction),
5125         (gst_pad_direction_get_type), (register_gst_pad_flags),
5126         (gst_pad_flags_get_type), (register_gst_pad_presence),
5127         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
5128         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
5129         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
5130         (gst_plugin_error_get_type), (register_gst_plugin_flags),
5131         (gst_plugin_flags_get_type), (register_gst_rank),
5132         (gst_rank_get_type), (register_gst_query_type),
5133         (gst_query_type_get_type), (register_gst_tag_merge_mode),
5134         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
5135         (gst_tag_flag_get_type), (register_gst_task_state),
5136         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
5137         (gst_alloc_trace_flags_get_type),
5138         (register_gst_type_find_probability),
5139         (gst_type_find_probability_get_type), (register_gst_uri_type),
5140         (gst_uri_type_get_type), (register_gst_parse_error),
5141         (gst_parse_error_get_type):
5142         * win32/common/gstversion.h:
5143           update win32 copies
5144
5145 2005-11-01  Luca Ognibene  <luogni@tin.it>
5146
5147         * gst/gst.c:
5148           fix docs. popt is dead, long live GOption.
5149
5150 2005-10-31  Wim Taymans  <wim@fluendo.com>
5151
5152         * gst/gstbuffer.h:
5153         Small doc fix.
5154
5155 2005-10-31  Andy Wingo  <wingo@pobox.com>
5156
5157         * Boo!
5158
5159         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
5160
5161         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
5162         need to serialize property notifications on GLib 2.8. GLib 2.6 has
5163         the possibility of deadlocks here if code calling notify() or
5164         set() has a lock that can be taken in another notify handler (ABBA
5165         with class lock and e.g. python GIL state lock).
5166
5167 2005-10-28  Julien MOUTTE  <julien@moutte.net>
5168
5169         * gst/gstbus.c: Doc updates.
5170
5171 2005-10-28  Wim Taymans  <wim@fluendo.com>
5172
5173         * docs/design/part-TODO.txt:
5174         * gst/gstiterator.c:
5175         * gst/gstsystemclock.c:
5176         * gst/gstsystemclock.h:
5177         Doc updates.
5178
5179 2005-10-28  Edward Hervey  <edward@fluendo.com>
5180
5181         * docs/gst/gstreamer-docs.sgml:
5182         * docs/gst/gstreamer-sections.txt:
5183         the GstURIType documentation page is private, it only defines GstURIType
5184         which should be defined in the GstURIHandler page
5185         
5186 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5187
5188         * gst/gstbin.c: (gst_bin_class_init):
5189         * gst/gstbin.h:
5190         * gst/gstutils.c:
5191         Documentation updates.
5192
5193 2005-10-28  Wim Taymans  <wim@fluendo.com>
5194
5195         * docs/gst/gstreamer-sections.txt:
5196         * gst/gstclock.c:
5197         * gst/gstclock.h:
5198         Documented the clocks.
5199
5200 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
5201
5202         * docs/gst/gstreamer-sections.txt:
5203           move some macros to private sections
5204         * gst/gstminiobject.c:
5205         * gst/gstminiobject.h:
5206           add descriptions provided by ds and some more
5207         * gst/gstpad.h:
5208           mark macro as to be removed
5209
5210 2005-10-28  Wim Taymans  <wim@fluendo.com>
5211
5212         * docs/design/part-TODO.txt:
5213         Add an item to TODO.
5214
5215         * gst/gstiterator.c: (gst_iterator_fold),
5216         (gst_iterator_find_custom):
5217         * gst/gstiterator.h:
5218         Add iterator docs.
5219
5220 2005-10-28  Wim Taymans  <wim@fluendo.com>
5221
5222         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5223         (gst_base_transform_init):
5224         Don't leak class.
5225
5226         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
5227         An EOS event marks the queue as completely filled.
5228
5229 2005-10-27  Wim Taymans  <wim@fluendo.com>
5230
5231         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5232         (gst_base_sink_do_sync), (gst_base_sink_get_position):
5233         Some more debugging.
5234
5235         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
5236         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
5237         (gst_base_transform_event), (gst_base_transform_getrange),
5238         (gst_base_transform_chain):
5239         * gst/base/gstbasetransform.h:
5240         Fix debugging,
5241         Protect transform and concurrent buffer alloc with a new lock.
5242         Try not to break ABI/API.
5243
5244 2005-10-27  Wim Taymans  <wim@fluendo.com>
5245
5246         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5247         (gst_base_src_init), (gst_base_src_query),
5248         (gst_base_src_default_newsegment),
5249         (gst_base_src_configure_segment), (gst_base_src_do_seek),
5250         (gst_base_src_send_event), (gst_base_src_event_handler),
5251         (gst_base_src_pad_get_range), (gst_base_src_loop),
5252         (gst_base_src_unlock), (gst_base_src_default_negotiate),
5253         (gst_base_src_start), (gst_base_src_deactivate),
5254         (gst_base_src_activate_push), (gst_base_src_change_state):
5255         Move some stuff around and cleanup things.
5256
5257 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
5258
5259         * gst/base/gstbasesrc.c: (gst_base_src_query):
5260           Add missing break statements.
5261
5262 2005-10-27  Wim Taymans  <wim@fluendo.com>
5263
5264         * check/gst/gstbin.c: (GST_START_TEST):
5265         An extra refcount is taken in basesrc.
5266
5267         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
5268         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5269         (gst_base_src_loop):
5270         Small cleanups, check for flushing after being unlocked from the 
5271         LIVE_LOCK. take refcounts correctly (not yet everywhere).
5272         Don't send out EOS when going to READY.
5273
5274 2005-10-27  Wim Taymans  <wim@fluendo.com>
5275
5276         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5277         (gst_base_sink_get_position):
5278         Some more debug.
5279
5280         * gst/gstbin.c: (message_check), (bin_replace_message),
5281         (bin_remove_messages), (is_eos), (gst_bin_add_func),
5282         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
5283         (bin_query_duration_init), (bin_query_duration_fold),
5284         (bin_query_duration_done), (bin_query_generic_fold),
5285         (gst_bin_query):
5286         * tools/gst-launch.c: (main):
5287         Remove old option.
5288
5289 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
5290
5291         * examples/controller/audio-example.c: (main):
5292         * examples/queue/queue.c: (event_loop):
5293         * gst/base/gstbasetransform.h:
5294         * gst/gstelement.c: (gst_element_send_event):
5295         * gst/gstevent.h:
5296         * gst/gstpad.c: (gst_pad_send_event):
5297           fixing examples
5298           fixing docs typos
5299           changing log priority in error situations
5300
5301 2005-10-25  Wim Taymans  <wim@fluendo.com>
5302
5303         * gst/gstbin.c: (message_check), (bin_replace_message),
5304         (bin_remove_messages), (is_eos), (gst_bin_add_func),
5305         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
5306         (bin_query_duration_init), (bin_query_duration_fold),
5307         (bin_query_duration_done), (bin_query_generic_fold),
5308         (gst_bin_query):
5309         Some doc and debug updates.
5310         Cache previously requested query DURATION for speed. invalidate
5311         cached duration if element posts a DURATION message.
5312
5313 2005-10-25  Wim Taymans  <wim@fluendo.com>
5314
5315         * docs/design/part-TODO.txt:
5316         Update TODO.
5317
5318         * gst/gstbin.c: (message_check), (bin_replace_message),
5319         (bin_remove_messages), (is_eos), (gst_bin_add_func),
5320         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
5321         (bin_query_duration_init), (bin_query_duration_fold),
5322         (bin_query_duration_done), (bin_query_generic_fold),
5323         (gst_bin_query):
5324         Handle SEGMENT_START/DONE messages correctly.
5325         More evolved query algorithm that handles duration queries
5326         correctly.
5327
5328         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
5329         (gst_element_get_state_func), (gst_element_abort_state),
5330         (gst_element_commit_state), (gst_element_lost_state):
5331         Some more debugging.
5332
5333         * gst/gstmessage.h:
5334         Added doc.
5335
5336 2005-10-25  Wim Taymans  <wim@fluendo.com>
5337
5338         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
5339         Don't use invalid stream_time.
5340
5341         * gst/gstevent.c: (gst_event_new_newsegment):
5342         stream_time in newsegment cannot be undefined.
5343
5344 2005-10-24  Wim Taymans  <wim@fluendo.com>
5345
5346         * gst/gstbus.c:
5347         Doc fix.
5348
5349         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5350         (gst_queue_loop):
5351         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
5352
5353 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
5354
5355         * docs/libs/tmpl/gstdparam.sgml:
5356         * docs/libs/tmpl/gstdplinint.sgml:
5357         * docs/libs/tmpl/gstdpman.sgml:
5358         * docs/libs/tmpl/gstdpsmooth.sgml:
5359         * docs/libs/tmpl/gstunitconvert.sgml:
5360           these are obsolete
5361
5362 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5363
5364         * configure.ac:
5365           back to HEAD
5366
5367 === release 0.9.4 ===
5368
5369 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5370
5371         * configure.ac:
5372           releasing 0.9.4, "Tyrannosaurus Rex"
5373
5374 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
5375
5376         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
5377         (gst_file_sink_get_current_offset):
5378           Use fseeko() and ftello() if available. When falling back on
5379           lseek() to get the current offset, fflush() first to make sure
5380           everything is up-to-date and we get the right offset.
5381
5382 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5383
5384         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5385         * gst/base/gstbasesrc.c: (gst_base_src_loop):
5386         * gst/gsterror.c: (_gst_stream_errors_init):
5387         * gst/gsterror.h:
5388         * gst/gstqueue.c: (gst_queue_loop):
5389         * po/POTFILES.in:
5390           remove prematurely added error category and clean up the instances
5391
5392 2005-10-21  Wim Taymans  <wim@fluendo.com>
5393
5394         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5395         (gst_base_sink_get_position), (gst_base_sink_query),
5396         (gst_base_sink_change_state):
5397         Simply set the right flag when going to playing, that's all
5398         we need to do instead of calling a function inside the object
5399         lock (that could take the lock as well and deadlock)
5400
5401 2005-10-21  Wim Taymans  <wim@fluendo.com>
5402
5403         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
5404         (gst_base_src_loop):
5405         Don't warn, the peer element knows what to do best when
5406         the seek failed, it might try something else.
5407
5408 2005-10-21  Wim Taymans  <wim@fluendo.com>
5409
5410         * gst/base/gstbasesrc.c: (gst_base_src_init),
5411         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5412         Fix seeking.
5413
5414 2005-10-21  Wim Taymans  <wim@fluendo.com>
5415
5416         * docs/design/part-segments.txt:
5417         More docs.
5418
5419         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5420         Correctly set caps, even on the subbufer.
5421
5422 2005-10-21  Wim Taymans  <wim@fluendo.com>
5423
5424         * docs/gst/gstreamer-docs.sgml:
5425         * docs/gst/gstreamer-sections.txt:
5426         * gst/gstelement.h:
5427         * gst/gstevent.c:
5428         * gst/gstevent.h:
5429         * gst/gstmessage.h:
5430         * gst/gstpad.h:
5431         * gst/gstparse.h:
5432         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
5433         * gst/gsttask.h:
5434         * gst/gstutils.c:
5435         * gst/gstutils.h:
5436         And 2% more doc coverage.
5437
5438 2005-10-21  Andy Wingo  <wingo@pobox.com>
5439
5440         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
5441         position reporting.
5442
5443 2005-10-20  Wim Taymans  <wim@fluendo.com>
5444
5445         * gst/gsterror.c: (gst_error_get_message):
5446         * gst/gstparse.h:
5447         * gst/gstquery.h:
5448         * gst/gststructure.c:
5449         * gst/gsttrace.c:
5450         * gst/gstutils.c:
5451         More docs.
5452
5453 2005-10-20  Wim Taymans  <wim@fluendo.com>
5454
5455         * gst/gstbuffer.h:
5456         * gst/gstpad.c:
5457         * gst/gstparse.c:
5458         Another 1% more coverage.
5459
5460 2005-10-20  Wim Taymans  <wim@fluendo.com>
5461
5462         * docs/gst/gstreamer-sections.txt:
5463         * gst/gstelement.c: (gst_element_get_state_func),
5464         (gst_element_abort_state), (gst_element_commit_state),
5465         (gst_element_lost_state):
5466         * gst/gstevent.h:
5467         * gst/gstquery.c: (gst_query_set_position),
5468         (gst_query_parse_position), (gst_query_set_duration),
5469         (gst_query_parse_duration), (gst_query_new_convert):
5470         * gst/gstutils.c:
5471         Yay! 1% more docs coverage.
5472
5473 2005-10-20  Wim Taymans  <wim@fluendo.com>
5474
5475         * gst/gstpad.h:
5476         * gst/gstquery.c: (gst_query_set_position),
5477         (gst_query_parse_position), (gst_query_set_duration),
5478         (gst_query_parse_duration), (gst_query_new_convert):
5479         * gst/gstquery.h:
5480         * gst/gstutils.c: (gst_element_query_convert):
5481         * gst/gstutils.h:
5482         Docs and consistency fixes.
5483
5484 2005-10-20  Wim Taymans  <wim@fluendo.com>
5485
5486         * gst/gsttask.c:
5487         * gst/gsttask.h:
5488         More docs.
5489
5490 2005-10-20  Wim Taymans  <wim@fluendo.com>
5491
5492         * gst/gstbin.c: (message_check), (bin_replace_message),
5493         (bin_remove_messages), (is_eos), (gst_bin_add_func),
5494         (update_degree), (gst_bin_sort_iterator_next),
5495         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
5496         Reworked the message handling a bit, cache the messages instead of
5497         only the senders. alows us to do more in the future.
5498
5499 2005-10-20  Wim Taymans  <wim@fluendo.com>
5500
5501         * docs/design/part-TODO.txt:
5502         Update TODO
5503
5504         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
5505         (gst_base_sink_query):
5506         Don't use clock time to report position when in EOS.
5507
5508 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
5509
5510         * tools/gst-inspect.c: (print_interfaces),
5511         (print_element_properties_info), (print_element_info):
5512           Fix interface output with gst-inspect -a; don't print
5513           newlines after double/float properties.
5514
5515 2005-10-20  Wim Taymans  <wim@fluendo.com>
5516
5517         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
5518         (gst_base_sink_query):
5519         Speed up current position calculation.
5520
5521         * gst/base/gstbasesrc.c: (gst_base_src_query),
5522         (gst_base_src_default_newsegment):
5523         Correctly set stream position in newsegment.
5524
5525         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
5526         (update_degree), (gst_bin_sort_iterator_next),
5527         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
5528         * gst/gstmessage.c: (gst_message_new_custom):
5529         Clean up debugging info
5530
5531         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5532         (gst_queue_loop), (gst_queue_handle_src_query):
5533         Pause task faster.
5534
5535 2005-10-19  Wim Taymans  <wim@fluendo.com>
5536
5537         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5538         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
5539         Fix query handling again.
5540
5541 2005-10-19  Wim Taymans  <wim@fluendo.com>
5542
5543         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5544         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
5545         * gst/base/gstbasesrc.c: (gst_base_src_query):
5546         * gst/elements/gstfilesink.c: (gst_file_sink_query):
5547         * gst/elements/gsttypefindelement.c:
5548         (gst_type_find_handle_src_query), (find_element_get_length),
5549         (gst_type_find_element_activate):
5550         API change fix.
5551
5552         * gst/gstquery.c: (gst_query_new_position),
5553         (gst_query_set_position), (gst_query_parse_position),
5554         (gst_query_new_duration), (gst_query_set_duration),
5555         (gst_query_parse_duration), (gst_query_set_segment),
5556         (gst_query_parse_segment):
5557         * gst/gstquery.h:
5558         Bundling query position/duration is not a good idea since duration
5559         does not change much and we don't want to recalculate it for every
5560         position query, so they are separated again..
5561         Base value in segment query is not needed.
5562
5563         * gst/gstqueue.c: (gst_queue_handle_src_query):
5564         * gst/gstutils.c: (gst_element_query_position),
5565         (gst_element_query_duration), (gst_pad_query_position),
5566         (gst_pad_query_duration):
5567         * gst/gstutils.h:
5568         Updates for query API change.
5569         Added some docs here and there.
5570
5571 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5572
5573         * check/gst/gstbin.c: (GST_START_TEST):
5574         * check/gst/gstghostpad.c: (GST_START_TEST):
5575         * check/pipelines/cleanup.c: (GST_START_TEST):
5576           wait on thread to die so we can check refcount correctly
5577
5578 2005-10-18  Wim Taymans  <wim@fluendo.com>
5579
5580         * check/pipelines/stress.c: (GST_START_TEST):
5581         Make check a little more time consuming.
5582
5583 2005-10-18  Wim Taymans  <wim@fluendo.com>
5584
5585         * check/Makefile.am:
5586         * check/pipelines/stress.c: (GST_START_TEST),
5587         (simple_launch_lines_suite), (main):
5588         Small state change torture test.
5589
5590         * docs/design/part-states.txt:
5591         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5592         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
5593         (gst_base_sink_change_state):
5594         Never take state lock from streaming thread, clean up ugly
5595         hacks. Unfortunatly core does not yet support nice ways to
5596         async commit state.
5597         
5598         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
5599         (bin_bus_handler):
5600         Start state recalc if a STATE_DIRTY message is posted, but only
5601         on the toplevel bin.
5602
5603         * gst/gstelement.c: (gst_element_sync_state_with_parent),
5604         (gst_element_get_state_func), (gst_element_abort_state),
5605         (gst_element_commit_state), (gst_element_lost_state),
5606         (gst_element_set_state_func), (gst_element_change_state):
5607         * gst/gstelement.h:
5608         State variables are now protected with the LOCK, the state
5609         lock is only used to serialize _set_state().
5610
5611 2005-10-18  Wim Taymans  <wim@fluendo.com>
5612
5613         * check/gst/gstbin.c: (GST_START_TEST):
5614         * check/gst/gstmessage.c: (GST_START_TEST):
5615         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5616         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
5617         (bin_bus_handler):
5618         * gst/gstelement.c: (gst_element_abort_state),
5619         (gst_element_commit_state), (gst_element_lost_state):
5620         * gst/gstmessage.c: (gst_message_new_state_changed),
5621         (gst_message_new_state_dirty), (gst_message_new_segment_start),
5622         (gst_message_new_segment_done), (gst_message_new_duration),
5623         (gst_message_parse_state_changed),
5624         (gst_message_parse_segment_start),
5625         (gst_message_parse_segment_done), (gst_message_parse_duration):
5626         * gst/gstmessage.h:
5627         * tools/gst-launch.c: (event_loop):
5628         Seriously, this is better than a previous commit as we only need
5629         to notify the fact that an element changed state in a streaming
5630         thread, marking the state of the parents dirty, hence the 
5631         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
5632         message.
5633
5634 2005-10-18  Wim Taymans  <wim@fluendo.com>
5635
5636         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
5637         (gst_bin_recalc_func):
5638         * gst/gstelement.c: (gst_element_set_clock),
5639         (gst_element_abort_state), (gst_element_lost_state):
5640         Cleanups, prepare for state change fixes.
5641
5642 2005-10-18  Wim Taymans  <wim@fluendo.com>
5643
5644         * gst/gstbin.h:
5645         * gst/gstelement.c: (gst_element_class_init),
5646         (gst_element_set_state), (gst_element_set_state_func):
5647         * gst/gstelement.h:
5648         Pending ABI changes.
5649         GThreadPool in GstBinClass to monitor async state changes.
5650         state_cookie in GstElement to detect concurrent gst/set state.
5651         set_state is now virtual too in case a very complicated element
5652         has to be constructed.
5653
5654 2005-10-18  Wim Taymans  <wim@fluendo.com>
5655
5656         * check/gst/gstbin.c: (GST_START_TEST):
5657         * check/gst/gstmessage.c: (GST_START_TEST):
5658         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5659         * gst/gstbin.c: (bin_bus_handler):
5660         * gst/gstelement.c: (gst_element_commit_state),
5661         (gst_element_lost_state):
5662         * gst/gstmessage.c: (gst_message_new_state_changed),
5663         (gst_message_new_segment_start), (gst_message_new_segment_done),
5664         (gst_message_new_duration), (gst_message_parse_state_changed),
5665         (gst_message_parse_segment_start),
5666         (gst_message_parse_segment_done), (gst_message_parse_duration):
5667         * gst/gstmessage.h:
5668         * tools/gst-launch.c: (event_loop):
5669         Make messages future proof.
5670         state-change gets a flag if it was a message comming from the
5671         streaming thread.
5672         segment-start/stop can also be specified in other formats.
5673         A message to notify an app that a pipeline changed playback 
5674         duration.
5675         Also fix a GstMessage leak in -launch
5676
5677 2005-10-18  Andy Wingo  <wingo@pobox.com>
5678
5679         * gst/gstelement.c (gst_element_dispose): More helpful message.
5680
5681 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5682
5683         reviewed by: <delete if not using a buddy>
5684
5685         * common/gtk-doc.mak:
5686
5687 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5688
5689         * gst/gstregistry.c: (gst_registry_scan_path_level):
5690           unref a plug-in we get that was already initialized
5691
5692 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
5693
5694         * docs/gst/gstreamer-sections.txt:
5695         * docs/libs/gstreamer-libs-sections.txt:
5696         * gst/gstelement.h:
5697           add new api entries
5698           hide internal macro
5699
5700 2005-10-17  Andy Wingo  <wingo@pobox.com>
5701
5702         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
5703         cleanup.
5704
5705         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
5706
5707         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
5708
5709         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
5710         (gst_element_get_state_func): Better debug message.
5711         (gst_element_commit_state): s/INFO/DEBUG/.
5712         (gst_element_lost_state, gst_element_change_state): 
5713
5714         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
5715         (gst_message_new_custom): s/INFO/LOG/.
5716
5717 2005-10-17  Michael Smith <msmith@fluendo.com>
5718
5719         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5720           Check if end time is valid using end time, not start time.
5721
5722 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
5723
5724         * check/gst-libs/controller.c: (GST_START_TEST),
5725         (gst_controller_suite):
5726         * libs/gst/controller/gstcontroller.c:
5727         (gst_controlled_property_set_interpolation_mode):
5728         * libs/gst/controller/gstcontroller.h:
5729         * libs/gst/controller/gstinterpolation.c:
5730         * testsuite/controller/.cvsignore:
5731         * testsuite/controller/Makefile.am:
5732         * testsuite/controller/interpolator.c:
5733           merge controller testsuites
5734           fix broken tests
5735           remove mem-chunk from docs
5736
5737 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5738
5739         * gst/gstmemchunk.c:
5740         * gst/gstmemchunk.h:
5741         * gst/gsttrashstack.c:
5742         * gst/gsttrashstack.h:
5743           out.  get out.  you're fired.  to the Attic !
5744
5745 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5746
5747         * gst/gstcaps.c: (gst_caps_intersect):
5748           fix signedness issues in a (hopefully) correct way
5749         * gst/gstelement.c: (gst_element_pads_activate):
5750           some debugging
5751         * gst/gstobject.c: (gst_object_set_parent):
5752           some debugging
5753
5754 2005-10-17  Julien MOUTTE  <julien@moutte.net>
5755
5756         * gst/gstvalue.h: Fix prototypes.
5757
5758 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5759
5760         * docs/gst/gstreamer-sections.txt:
5761         * gst/gst.c: (gst_version_string):
5762         * gst/gst.h:
5763         * gst/gstversion.h.in:
5764         * win32/common/libgstreamer.def:
5765           add gst_version_string ()
5766
5767 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5768
5769         * configure.ac:
5770           clean up further
5771         * gst/gst.c: (init_post):
5772         * win32/common/config.h.in:
5773           it's PLUGINDIR now
5774         * gst/gstcaps.c: (gst_caps_intersect):
5775           use gint64, the range could be bigger than a guint
5776
5777 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5778
5779         * gst/gstclock.h:
5780           document potential problem in 2038
5781
5782 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5783
5784         * gst/gstcaps.c: (gst_caps_intersect):
5785           Fix guint j diving under 0
5786
5787 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5788
5789         * configure.ac:
5790         * win32/common/config.h:
5791         * win32/common/config.h.in:
5792           check for process.h, declares getpid() on Windows
5793         * gst/gstinfo.c:
5794           include process.h if we have it
5795         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
5796         * gst/gstmemchunk.h:
5797           fix signedness issues
5798         * win32/common/libgstreamer.def:
5799           fix get_type's
5800
5801 2005-10-16  Julien MOUTTE  <julien@moutte.net>
5802
5803         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
5804         fix. Because of unsigned ints, caps intersection was going nuts and
5805         trying to access structures with G_MAXUINT index. That fixes
5806         videotestsrc ! ffmpegcolorspace ! fakesink
5807         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
5808         consistency.
5809
5810 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5811
5812         * configure.ac:
5813           use the gettext macro
5814         * gst/elements/gstelements.c:
5815         * gst/gst.c:
5816         * gst/indexers/gstindexers.c:
5817           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
5818         * win32/common/config.h:
5819           updated config.h
5820         * win32/common/config.h.in:
5821           add the template to generate config.h
5822         * win32/common/gstenumtypes.c:
5823         * win32/common/gstversion.h:
5824           updated copies
5825
5826 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5827
5828         * gst/gst.c: (gst_version):
5829         * gst/gstversion.h.in:
5830           add the nano
5831
5832 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
5833
5834         * gst/gstevent.h:
5835           Oops, add missing closing bracket.
5836
5837 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5838
5839         * configure.ac:
5840           use common m4's for argument checking
5841
5842 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
5843
5844         * docs/gst/gstreamer-sections.txt:
5845         * gst/gstevent.h:
5846           Add GST_EVENT_TYPE_NAME() macro.
5847
5848 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5849
5850         * gst/gstinfo.c:
5851         * gst/gstpluginfeature.c:
5852         * gst/gsttask.c:
5853           privatize more symbols
5854
5855 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5856
5857         * configure.ac:
5858           add srcdir, builddir includes to GST_ALL_CFLAGS, since
5859           everything that uses GStreamer API should have the includes
5860
5861 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5862
5863         * docs/gst/gstreamer-sections.txt:
5864         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
5865         * gst/gstvalue.h:
5866           give each value a _get_type, removes the DATA exports
5867
5868 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5869
5870         * gst/gst.c:
5871         * gst/gst.h:
5872           remove _gst_registry_auto_load, not used anymore
5873         * gst/gstbin.c: (gst_bin_get_type):
5874         * gst/gstbin.h:
5875         * gst/gstelement.c: (gst_element_get_type):
5876         * gst/gstelement.h:
5877         * gst/gstobject.c: (gst_object_get_type):
5878         * gst/gstobject.h:
5879         * gst/gstpad.c: (gst_pad_get_type):
5880         * gst/gstpad.h:
5881           make _get_type functions similar, fixes data export from library
5882
5883 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5884
5885         * configure.ac:
5886           correctly make conditionals
5887         * gst/elements/Makefile.am:
5888         * gst/elements/gstelements.c:
5889           fix typo causing fdsrc not to build
5890
5891 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5892
5893         * testsuite/Makefile.am:
5894         * testsuite/bytestream/.cvsignore:
5895         * testsuite/bytestream/Makefile.am:
5896         * testsuite/bytestream/filepadsink.c:
5897         * testsuite/bytestream/gstbstest.c:
5898         * testsuite/bytestream/test1.c:
5899         * testsuite/bytestream/testfile1:
5900         * testsuite/caps/normalisation.c:
5901         * testsuite/caps/random.c: (main):
5902         * testsuite/cleanup/.cvsignore:
5903         * testsuite/cleanup/Makefile.am:
5904         * testsuite/cleanup/cleanup1.c:
5905         * testsuite/cleanup/cleanup2.c:
5906         * testsuite/cleanup/cleanup3.c:
5907         * testsuite/cleanup/cleanup4.c:
5908         * testsuite/cleanup/cleanup5.c:
5909         * testsuite/controller/interpolator.c:
5910         * testsuite/debug/printf_extension.c: (main):
5911         * testsuite/elements/tee.c:
5912         * testsuite/negotiation/.cvsignore:
5913         * testsuite/negotiation/Makefile.am:
5914         * testsuite/negotiation/pad_link.c:
5915         * testsuite/pad/Makefile.am:
5916         * testsuite/pad/chainnopull.c:
5917         * testsuite/pad/getnopush.c:
5918         * testsuite/pad/link.c:
5919         * testsuite/refcounting/sched.c: (create_pipeline):
5920         * testsuite/registry/Makefile.am:
5921         * testsuite/registry/gst-print-formats.c:
5922         * testsuite/schedulers/.cvsignore:
5923         * testsuite/schedulers/142183-2.c:
5924         * testsuite/schedulers/142183.c:
5925         * testsuite/schedulers/143777-2.c:
5926         * testsuite/schedulers/143777.c:
5927         * testsuite/schedulers/147713.c:
5928         * testsuite/schedulers/147819.c:
5929         * testsuite/schedulers/147894-2.c:
5930         * testsuite/schedulers/147894.c:
5931         * testsuite/schedulers/Makefile.am:
5932         * testsuite/schedulers/group_link.c:
5933         * testsuite/schedulers/queue_link.c:
5934         * testsuite/schedulers/relink.c:
5935         * testsuite/schedulers/unlink.c:
5936         * testsuite/schedulers/unref.c:
5937         * testsuite/schedulers/useless_iteration.c:
5938         * testsuite/states/bin.c:
5939           clean out/remove some stuff from the testsuite directories
5940
5941 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5942
5943         * configure.ac:
5944           check for some headers
5945         * gst/elements/Makefile.am:
5946         * gst/elements/gstelements.c:
5947           don't compile fdsrc without sys/socket.h
5948         * gst/indexers/Makefile.am:
5949         * gst/indexers/gstindexers.c: (plugin_init):
5950           don't compile fileindex without mmap
5951
5952 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5953
5954         * configure.ac:
5955           reorganize
5956           clean up
5957           document more
5958           remove cruft
5959         * check/Makefile.am:
5960         * docs/gst/Makefile.am:
5961         * examples/helloworld/Makefile.am:
5962         * gst/Makefile.am:
5963         * gst/base/Makefile.am:
5964         * gst/check/Makefile.am:
5965         * gst/elements/Makefile.am:
5966         * gst/indexers/Makefile.am:
5967         * gst/parse/Makefile.am:
5968         * libs/gst/controller/Makefile.am:
5969         * libs/gst/dataprotocol/Makefile.am:
5970         * examples/helloworld/helloworld.c: (event_loop):
5971           compile fixes, though it's not being compiled currently
5972
5973 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
5974
5975         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
5976           Add some simple tests for the new taglist date API.
5977
5978 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
5979
5980         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
5981         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
5982           Beautify 'last-message' output: print 'none' for buffer timestamps
5983           and durations if none is set; improve alignment with next messages.
5984
5985 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
5986
5987         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
5988         * gst/gstpluginfeature.h:
5989         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
5990         * gst/gstregistry.h:
5991         * docs/gst/gstreamer-sections.txt:
5992           Add new API to check plugin feature version requirements.
5993
5994         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
5995           Some basic tests for the above.         
5996
5997 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5998
5999         * gst/gststructure.c: (gst_structure_to_string):
6000           guard against NULL printf - happens when for example
6001           a message structure with GstClock gets serialized
6002
6003 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6004
6005         * gst/base/gstcollectpads.c: (gst_collectpads_event):
6006           Fix presumable copy'n'pasto.
6007
6008 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6009
6010         * gst/elements/gstfakesrc.h:
6011         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
6012         * gst/elements/gsttypefindelement.c:
6013           fix some signedness
6014         * gst/elements/gstfilesink.c: (gst_file_sink_render):
6015           I wonder if this could actually write +2GB files before
6016
6017 2005-10-13  Andy Wingo  <wingo@pobox.com>
6018
6019         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
6020         Fix Timmeke Waymans bug.
6021         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
6022         string of the proper length to gst_caps_from_string. There's a
6023         potential for, before this fix, that this could cause someone
6024         connecting over the network to cause a segfault if the payload is
6025         not NUL-terminated.
6026
6027 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
6028
6029         * docs/design/draft-push-pull.txt:
6030         * docs/design/part-overview.txt:
6031         * docs/random/TODO-pre-0.9:
6032         * docs/random/old/ChangeLog.gstreamer:
6033         * gst/base/gstpushsrc.c:
6034         * gst/gstclock.c:
6035           fixed typos
6036
6037 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6038
6039         * gst/glib-compat.c: (gst_flags_get_first_value):
6040         * gst/glib-compat.h:
6041         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
6042         (gst_value_compare_double), (gst_value_serialize_flags):
6043           GLib 2.6 g_flags_get_first_value has a bug that triggers an
6044           infinite loop
6045
6046 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6047
6048         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6049         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6050           fix up debugging
6051         * tools/gst-launch.c: (event_loop):
6052           print out clock nicely
6053
6054 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6055
6056         * docs/gst/gstreamer-sections.txt:
6057         * gst/gsttaglist.h:
6058         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
6059         (gst_tag_list_get_date_index):
6060           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
6061           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
6062
6063 2005-10-13  Julien MOUTTE  <julien@moutte.net>
6064
6065         * gst/base/gstcollectpads.c: (gst_collectpads_event),
6066         (gst_collectpads_chain):
6067         * gst/base/gstcollectpads.h: Handle newsegment and store informations
6068         in CollectData.
6069
6070 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
6071
6072         * docs/gst/gstreamer-sections.txt:
6073         * gst/gst.c:
6074         * gst/gsterror.h:
6075         * tools/gst-inspect.c: (main):
6076         * tools/gst-launch.c: (main):
6077         * tools/gst-run.c: (main):
6078         * tools/gst-xmlinspect.c: (main):
6079           fix GOption context leaks
6080           doc fixes
6081
6082 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6083
6084         * gst/gstbus.c:
6085           use HAVE_UNISTD_H
6086         * win32/common/config.h:
6087           update config
6088         * win32/vs6/grammar.dsp:
6089         * win32/vs6/libgstelements.dsp:
6090         * win32/vs6/libgstreamer.dsp:
6091           update vs6 files
6092
6093 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6094
6095         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6096         * gst/base/gstbasesrc.c: (gst_base_src_query):
6097           fix more guint64<->gdouble conversions
6098
6099 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6100
6101         * Makefile.am:
6102           add win32-update target
6103         * win32/common/gstconfig.h:
6104         * win32/common/gstenumtypes.c:
6105         * win32/common/gstenumtypes.h:
6106         * win32/common/gstversion.h:
6107           add files that visual studio can't generate
6108
6109 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6110
6111         * Makefile.am:
6112           add a win32-update target
6113         * configure.ac:
6114
6115 2005-10-12  Wim Taymans  <wim@fluendo.com>
6116
6117         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6118         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
6119         * gst/gstelement.c: (gst_element_commit_state),
6120         (gst_element_set_state):
6121         Protect flags with proper lock.
6122         unref provided cached clock in dispose.
6123
6124 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
6125
6126         * gst/gst.c:
6127         * gst/gstminiobject.h:
6128         * gst/gstpad.h:
6129         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
6130           removed unused flags from miniobject
6131           doc fixes
6132
6133 2005-10-12  Wim Taymans  <wim@fluendo.com>
6134
6135         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
6136         (gst_file_sink_event), (gst_file_sink_render):
6137         Flush before seeking.
6138
6139 2005-10-12  Andy Wingo  <wingo@pobox.com>
6140
6141         * gst/gst.c (gst_init_check): Ignore unknown options, as has
6142         always been the case.
6143
6144 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
6145
6146         * check/gst/gstbin.c: (GST_START_TEST):
6147         * docs/gst/gstreamer-sections.txt:
6148         * gst/base/gstbasesink.c: (gst_base_sink_init):
6149         * gst/base/gstbasesrc.c: (gst_base_src_init),
6150         (gst_base_src_get_range), (gst_base_src_check_get_range),
6151         (gst_base_src_start), (gst_base_src_stop):
6152         * gst/base/gstbasesrc.h:
6153         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
6154         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6155         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
6156         (bin_bus_handler):
6157         * gst/gstbin.h:
6158         * gst/gstbuffer.h:
6159         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
6160         * gst/gstbus.h:
6161         * gst/gstelement.c: (gst_element_is_locked_state),
6162         (gst_element_set_locked_state), (gst_element_commit_state),
6163         (gst_element_set_state):
6164         * gst/gstelement.h:
6165         * gst/gstindex.c: (gst_index_init):
6166         * gst/gstindex.h:
6167         * gst/gstminiobject.h:
6168         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
6169         (gst_object_set_parent):
6170         * gst/gstobject.h:
6171         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
6172         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
6173         * gst/gstpad.h:
6174         * gst/gstpadtemplate.h:
6175         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
6176         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
6177         * gst/gstpipeline.h:
6178         * gst/indexers/gstfileindex.c: (gst_file_index_load),
6179         (gst_file_index_commit):
6180         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
6181         * testsuite/pad/link.c: (gst_test_src_init),
6182         (gst_test_filter_init), (gst_test_sink_init):
6183         * testsuite/states/locked.c: (main):
6184           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
6185           moved bitshift from macro to enum definition
6186
6187 2005-10-12  Wim Taymans  <wim@fluendo.com>
6188
6189         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
6190         * gst/elements/gstfilesink.c: (gst_file_sink_event),
6191         (gst_file_sink_render):
6192         Some more debugging info.
6193
6194 2005-10-12  Wim Taymans  <wim@fluendo.com>
6195
6196         * docs/design/part-states.txt:
6197         * tools/gst-launch.c: (main):
6198         Some doc updates.
6199         Revert non-intentional change.
6200
6201 2005-10-12  Wim Taymans  <wim@fluendo.com>
6202
6203         * check/gst/gstbin.c: (GST_START_TEST):
6204         * check/gst/gstelement.c: (GST_START_TEST):
6205         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
6206         * check/gst/gstghostpad.c: (GST_START_TEST):
6207         * check/gst/gstpipeline.c: (GST_START_TEST):
6208         * check/pipelines/simple_launch_lines.c: (run_pipeline):
6209         * check/states/sinks.c: (GST_START_TEST):
6210         * gst/elements/gsttypefindelement.c: (stop_typefinding):
6211         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
6212         (gst_bin_remove_func), (gst_bin_get_state_func),
6213         (gst_bin_recalc_state), (gst_bin_change_state_func),
6214         (bin_bus_handler):
6215         * gst/gstelement.c: (gst_element_get_state_func),
6216         (gst_element_get_state), (gst_element_abort_state),
6217         (gst_element_commit_state), (gst_element_set_state),
6218         (gst_element_change_state), (gst_element_change_state_func):
6219         * gst/gstelement.h:
6220         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
6221         (gst_pipeline_provide_clock_func):
6222         * gst/gstutils.c: (gst_element_link_pads_filtered):
6223         * tools/gst-launch.c: (main):
6224         * tools/gst-typefind.c: (main):
6225         Use GstClockTime in _get_state() instead of GTimeVal.
6226         Remove old code in gstutils.c
6227
6228 2005-10-12  Andy Wingo  <wingo@pobox.com>
6229
6230         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
6231         removed.
6232
6233         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
6234         there is no task. Shouldn't affect any code, as nothing in our
6235         plugins checks this return value.
6236         (gst_pad_stop_task): Also take the stream lock if the pad has no
6237         task. Docs updated.
6238
6239 2005-10-12  Wim Taymans  <wim@fluendo.com>
6240
6241         * gst/gstpad.c: (pre_activate), (post_activate),
6242         (gst_pad_activate_pull), (gst_pad_activate_push):
6243         Cleanup activation code. Reset old state if
6244         activation failed.
6245
6246 2005-10-12  Wim Taymans  <wim@fluendo.com>
6247
6248         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6249         (gst_base_sink_change_state):
6250         No need to prerol after receiving EOS.
6251
6252         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6253         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
6254         * gst/elements/gstidentity.c: (gst_identity_event):
6255         Print events more verbosely.
6256
6257 2005-10-12  Wim Taymans  <wim@fluendo.com>
6258
6259         * check/Makefile.am:
6260         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
6261         * check/states/sinks2.c:
6262         Moved sinks2 testcode in sinks check.
6263
6264         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
6265         (gst_bin_remove_func), (gst_bin_recalc_state),
6266         (gst_bin_change_state_func), (bin_bus_handler):
6267         Fix potential race condition when _get_state() iterated over an
6268         ASYNC element right before it posted a state completion.
6269
6270         * gst/gstclock.h:
6271         Do proper cast here.
6272
6273         * gst/gstevent.c: (gst_event_new_newsegment),
6274         (gst_event_parse_newsegment):
6275         A playback rate of 0.0 is not allowed.
6276
6277 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6278
6279         * win32/common/config.h:
6280         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
6281         (_trewinddir), (_ttelldir), (_tseekdir):
6282         * win32/common/dirent.h:
6283         * win32/common/gtchar.h:
6284         * win32/common/libgstbase.def:
6285         * win32/common/libgstreamer.def:
6286         * win32/vs6/grammar.dsp:
6287         * win32/vs6/gst_inspect.dsp:
6288         * win32/vs6/gst_launch.dsp:
6289         * win32/vs6/gstreamer.dsw:
6290         * win32/vs6/libgstbase.dsp:
6291         * win32/vs6/libgstelements.dsp:
6292         * win32/vs6/libgstreamer.dsp:
6293           Visual Studio 6 project files, and a new common directory.
6294           Phear.
6295
6296 2005-10-11  Wim Taymans  <wim@fluendo.com>
6297
6298         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6299         (gst_base_sink_do_sync), (gst_base_sink_query),
6300         (gst_base_sink_change_state):
6301         * gst/base/gstbasesink.h:
6302         Correctly parse newsegment info.
6303
6304 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6305
6306         * gst/gst.c: (init_post):
6307           split plugin paths correctly
6308
6309 2005-10-11  Wim Taymans  <wim@fluendo.com>
6310
6311         * check/gst/gstevent.c: (GST_START_TEST):
6312         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6313         (gst_base_sink_change_state):
6314         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
6315         * gst/base/gstbasetransform.c: (gst_base_transform_event):
6316         * gst/elements/gstfilesink.c: (gst_file_sink_event):
6317         * gst/gstevent.c: (gst_event_new_newsegment),
6318         (gst_event_parse_newsegment):
6319         * gst/gstevent.h:
6320         Added extra flag to newsegment for future API freeze.
6321         Updated check and base elements.
6322
6323 2005-10-11  Julien MOUTTE  <julien@moutte.net>
6324
6325         * gst/base/gstcollectpads.c: (gst_collectpads_init),
6326         (gst_collectpads_add_pad), (gst_collectpads_pop),
6327         (gst_collectpads_event), (gst_collectpads_chain):
6328         * gst/base/gstcollectpads.h: Handle EOS correctly.
6329
6330 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6331
6332         * tools/gst-launch.c: (main):
6333           more null protecting
6334
6335 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6336
6337         * gst/gst-i18n-lib.h:
6338           check for ENABLE_NLS, not GETTEXT_PACKAGE
6339         * gst/gstregistry.c: (gst_registry_add_plugin),
6340         (gst_registry_scan_path_level),
6341         (_gst_registry_remove_cache_plugins):
6342           protect possibly NULL strings
6343         * gst/parse/types.h:
6344           config.h already included before
6345         * tools/gst-inspect.c: (main):
6346           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
6347           check for ENABLE_NLS, not GETTEXT_PACKAGE
6348         * tools/gst-launch.c: (main):
6349           check for ENABLE_NLS, not GETTEXT_PACKAGE
6350
6351 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6352
6353         * configure.ac:
6354           if we don't have glib, fail before testing 2.8
6355         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
6356           fix a leak, should fix plugins-base testsuite
6357
6358 2005-10-11  Andy Wingo  <wingo@pobox.com>
6359
6360         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
6361         take the mode we're going to as an arg. Go head and set the mode
6362         and flushing flags now, so that if the activate function starts a
6363         thread all the flags will be in the right state.
6364         (post_activate): Renamed also. Just handle making sure streaming
6365         finishes for the deactivation case, and setting the deactivated
6366         mode.
6367         (gst_pad_set_active): Complain loudly if deactivation fails.
6368         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
6369         (gst_pad_activate_push): Adapt to pre/post_activate changes,
6370         remove the terrible hack.
6371
6372 2005-10-11  Wim Taymans  <wim@fluendo.com>
6373
6374         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
6375         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
6376         (gst_bin_recalc_state), (gst_bin_change_state_func),
6377         (gst_bin_dispose), (bin_bus_handler):
6378         * gst/gstbin.h:
6379         Prepare to make current EOS message queue more generic.
6380         Fix some typos.
6381
6382         * gst/gstevent.c: (gst_event_new_newsegment),
6383         (gst_event_parse_newsegment):
6384         * gst/gstevent.h:
6385         Rename base to stream_time.
6386
6387         * gst/gstmessage.h:
6388         Fix typo in docs.
6389
6390 2005-10-11  Wim Taymans  <wim@fluendo.com>
6391
6392         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
6393         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
6394         (gst_bin_change_state_func), (bin_bus_handler):
6395         * gst/gstbin.h:
6396         Work on proper clock selection.
6397
6398 2005-10-11  Edward Hervey  <edward@fluendo.com>
6399
6400         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
6401         * libs/gst/controller/gstcontroller.h:
6402         Added GList* version of _remove_properties() in order to be able to wrap
6403         it in bindings.
6404
6405 2005-10-11  Wim Taymans  <wim@fluendo.com>
6406
6407         * docs/design/part-states.txt:
6408         Some more docs.
6409
6410         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
6411         (gst_bin_change_state_func), (bin_bus_handler):
6412         Doc updates. Don't distribute the same clock over and over again.
6413
6414         * gst/gstclock.c:
6415         * gst/gstclock.h:
6416         Doc updates.
6417
6418         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
6419         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
6420         (gst_pad_send_event):
6421         * gst/gstpad.h:
6422         Make probe emission threadsafe again.
6423         Register quarks and move _get_name() from utils.
6424         Doc updates.
6425
6426         * gst/gstpipeline.c: (gst_pipeline_class_init),
6427         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
6428         Only redistribute the clock of it changed.
6429
6430         * gst/gstsystemclock.h:
6431         Doc updates. 
6432
6433         * gst/gstutils.c:
6434         * gst/gstutils.h:
6435         Moved the _flow_get_name() to GstPad.
6436
6437 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6438
6439         * check/gst-libs/gdp.c: (GST_START_TEST):
6440         * check/gst/gstcaps.c: (GST_START_TEST):
6441         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
6442         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
6443         (gst_dp_packet_from_caps):
6444           fix more valgrind warnings before turning up the heat
6445
6446 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6447
6448         * gst/parse/grammar.y:
6449           some cleanup before the hacking
6450
6451 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6452
6453         * gst/base/gstbasesrc.c: (gst_base_src_query):
6454           use conversions
6455         * gst/gstutils.c: (gst_guint64_to_gdouble),
6456         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
6457         * gst/gstutils.h:
6458           externalize, basesrc uses it
6459           obviously the implementation needs testing
6460
6461 2005-10-10  Wim Taymans  <wim@fluendo.com>
6462
6463         * tests/sched/Makefile.am:
6464         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
6465         (make_pipeline3), (make_pipeline4), (print_elem), (main):
6466
6467 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6468
6469         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
6470           apparently converting from guint64 to double is not implemented
6471           on MSVC
6472
6473 2005-10-10  Wim Taymans  <wim@fluendo.com>
6474
6475         * check/Makefile.am:
6476         * check/generic/states.c: (GST_START_TEST):
6477         * check/gst/gstbin.c: (GST_START_TEST):
6478         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6479         * check/states/sinks.c: (GST_START_TEST):
6480         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
6481         (main):
6482         Check fixes, use API as stated in design docs, remove hacks.
6483
6484         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6485         (gst_base_sink_change_state):
6486         Catch stopping our task while we're shutting down.
6487
6488         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6489         (gst_bin_remove_func), (gst_bin_get_state_func),
6490         (gst_bin_recalc_state), (gst_bin_change_state_func),
6491         (bin_bus_handler):
6492         * gst/gstbin.h:
6493         * gst/gstelement.c: (gst_element_init),
6494         (gst_element_get_state_func), (gst_element_abort_state),
6495         (gst_element_commit_state), (gst_element_lost_state),
6496         (gst_element_set_state), (gst_element_change_state),
6497         (gst_element_change_state_func):
6498         * gst/gstelement.h:
6499         New state change algorithm (see #318116)
6500
6501         * gst/gstpipeline.c: (gst_pipeline_class_init),
6502         (gst_pipeline_init), (gst_pipeline_set_property),
6503         (gst_pipeline_get_property), (do_pipeline_seek),
6504         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
6505         * gst/gstpipeline.h:
6506         Remove crude state change hacks.
6507
6508         * gst/gstutils.h:
6509         Remove crude hacks.
6510
6511         * tools/gst-launch.c: (main):
6512         Fixes for state change. Needs some more work to fully use the
6513         new stuff.
6514
6515 2005-10-10  Andy Wingo  <wingo@pobox.com>
6516
6517         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
6518
6519         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
6520         this flag, but it's not even in GLib 2.6. Odd. Hack around the
6521         issue.
6522
6523 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6524
6525         * gst/gstiterator.c: (gst_iterator_new):
6526           Fix my previous commit: GTypes passed to gst_iterator_new()
6527           can be fundamental types.
6528
6529 2005-10-10  Wim Taymans  <wim@fluendo.com>
6530
6531         * gst/gstelement.c: (gst_element_iterate_pad_list),
6532         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
6533         (gst_element_iterate_sink_pads):
6534         Use src/sink pads lists for the respective iterators instead
6535         of filtering.
6536
6537 2005-10-10  Andy Wingo  <wingo@pobox.com>
6538
6539         Merged in popt removal + GOption addition patch from Ronald, bug
6540         #169772.
6541
6542         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
6543         GstElement macros around, remove popt-related symbols, add goption
6544         stuff.
6545
6546         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
6547         
6548         * docs/gst/Makefile.am:
6549         * docs/libs/Makefile.am: No POPT_CFLAGS.
6550         
6551         * examples/manual/Makefile.am:
6552         * docs/manual/basics-init.xml: Doc updates with an example.
6553         
6554         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6555         (gst_init), (parse_one_option), (parse_goption_arg):
6556         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
6557         bit of hand merging and debugging to get the GOption stuff working
6558         tho.
6559         
6560         * tests/Makefile.am:
6561         * tools/Makefile.am:
6562         * tools/gst-inspect.c: (main):
6563         * tools/gst-launch.c: (main):
6564         * tools/gst-run.c: (main):
6565         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
6566
6567 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6568
6569         * gst/gstiterator.c: (gst_iterator_new):
6570           Add assertions to make sure passed GType is likely to really
6571           be a GType (as the compiler won't catch it if the size and
6572           GType arguments get mixed up, see #318447).
6573
6574 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
6575
6576         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6577
6578         * gst/gstbin.c: (gst_bin_iterate_sorted):
6579           Pass GType and size arguments to gst_iterator_new() in the right
6580           order (maybe we should make _new() take the GType as first argument
6581           just like _new_list()?) (#318447).
6582           
6583
6584 2005-10-10  Wim Taymans  <wim@fluendo.com>
6585
6586         * gst/gstelement.c: (gst_element_finalize):
6587         And free the GStaticRecMutex too
6588
6589 2005-10-10  Andy Wingo  <wingo@pobox.com>
6590
6591         * gst/gstelement.c (gst_element_init, gst_element_finalize):
6592         Allocate and free the mutex properly.
6593
6594         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
6595         New macros.
6596         (GstElement): The state_lock is now recursive. Rebuild your
6597         plugins, suckers. Old macros adapted.
6598
6599         * docs/gst/gstreamer-sections.txt: Doc updates.
6600
6601         * gst/gstutils.h:
6602         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
6603         (g_static_rec_cond_wait): Ported from state changes patch, while
6604         we wait on bug #317802 to be solved in a well-distributed GLib.
6605
6606         * gst/gstelement.c (gst_element_change_state_func): Renamed from
6607         gst_element_change_state, variable name changes.
6608         (gst_element_change_state): Split out of gst_element_set_state in
6609         preparation for the state change merge. Doesn't pay attention to
6610         the 'transition' argument.
6611         (gst_element_set_state): Updates, hopefully purely cosmetic.
6612         (gst_element_sync_state_with_parent): MT-safety. Ported from the
6613         state change patch.
6614         (gst_element_get_state_func): Renamed from get_state, cosmetic
6615         changes.
6616
6617 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6618
6619         * gst/elements/gstelements.c:
6620         * win32/GStreamer.vcproj:
6621         * win32/config.h:
6622         * win32/dirent.c: (_tseekdir):
6623         * win32/gst-inspect.vcproj:
6624         * win32/gst-launch.vcproj:
6625         * win32/gstconfig.h:
6626         * win32/gstelements.vcproj:
6627         * win32/gstenumtypes.c: (gst_object_flags_get_type):
6628         * win32/gstreamer.def:
6629         * win32/msvc71.sln:
6630           updates for the win32 build (patch from Sebastien Moutte)
6631
6632 2005-10-10  Andy Wingo  <wingo@pobox.com>
6633
6634         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
6635         gst_bin_get_state, cleaned up (but no logic changes).
6636         (bin_element_is_sink): Comment updates.
6637         (sink_iterator_filter): Remove needless cast.
6638         (gst_bin_iterate_sinks): Doc update.
6639         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
6640         cleaned up (but no logic changes).
6641
6642         * check/states/sinks.c (test_src_sink): Cleanups from the state
6643         change patch.
6644         (test_livesrc_sink): Sync on the state.
6645
6646         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
6647         the state change patch.
6648
6649         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
6650         change patch.
6651
6652         * check/gst/gstbin.c: Merge in some style fixes and additional
6653         checks from Wim's state change patch.
6654
6655 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6656
6657         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6658         (gst_type_find_helper):
6659           Check whether we have the requested data already in our list of
6660           cached buffers before pulling a new buffer; also make the buffer
6661           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
6662
6663 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6664
6665         * gst/gstcaps.c:
6666         * gst/gstevent.c:
6667           doc updates
6668         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6669           don't use long long, it's not portable.  Replacing with
6670           gint64 seems to work; let's hope no skeletons fall out of the closet.
6671
6672 2005-10-10  Andy Wingo  <wingo@pobox.com>
6673
6674         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
6675
6676 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
6677
6678         * docs/gst/gstreamer-sections.txt:
6679         * gst/gstevent.c:
6680         * gst/gstevent.h:
6681         * gst/gstinfo.c:
6682         * gst/gstinfo.h:
6683         * gst/gstmessage.c: (gst_message_parse_state_changed):
6684         * gst/gstpad.c:
6685         * gst/gstpad.h:
6686           more docs, fix compilation
6687
6688 2005-10-09  Philippe Khalaf <burger@speedy.org>
6689         * gst/gstmessage.c:
6690           Fixed a few forgotten variables on previous commit
6691
6692 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6693
6694         * gst/base/gsttypefindhelper.c: (helper_find_peek):
6695           Fix evil typefind crasher: getrange() might return a short
6696           buffer at the end of a file, but gst_type_find_peek() must
6697           either return the full data as requested or NULL, but
6698           never a short buffer.
6699
6700 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6701
6702         * gst/gstmessage.c: (gst_message_new_state_changed),
6703         (gst_message_parse_state_changed):
6704         * gst/gstmessage.h:
6705           don't use "new", it's a C++ keyword
6706
6707 2005-10-08  Wim Taymans  <wim@fluendo.com>
6708
6709         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
6710         * gst/gstelement.c: (gst_element_post_message):
6711         * gst/gstpipeline.c: (gst_pipeline_change_state):
6712         Small docs and debug updates.
6713
6714 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
6715
6716         * docs/gst/gstreamer-sections.txt:
6717         * gst/gstelementfactory.c:
6718         * gst/gstevent.c:
6719         * gst/gsttaglist.c:
6720           more docs
6721
6722 2005-10-08  Wim Taymans  <wim@fluendo.com>
6723
6724         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
6725         (gst_bin_dispose), (bin_bus_handler):
6726         Fix typos, add comments.
6727         Clear EOS list when going to PAUSED from any direction and do it
6728         in a threadsafe way.
6729         Get base time in a threadsafe way too.
6730         Fix confusing debug in the change_state function.
6731         Various other small cleanups.
6732         
6733         * gst/gstelement.c: (gst_element_post_message):
6734         Fix very verbose bus posting code.
6735
6736         * gst/gstpipeline.c: (gst_pipeline_class_init),
6737         (gst_pipeline_set_property), (gst_pipeline_get_property),
6738         (gst_pipeline_change_state):
6739         Small ARG_ -> PROP_ cleanup
6740
6741 2005-10-08  Wim Taymans  <wim@fluendo.com>
6742
6743         * gst/gstbin.c: (is_eos), (bin_bus_handler):
6744         Do a less CPU demanding EOS check because we can.
6745
6746 2005-10-08  Wim Taymans  <wim@fluendo.com>
6747
6748         * libs/gst/dataprotocol/dataprotocol.c:
6749         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6750         (gst_dp_packet_from_event):
6751         * libs/gst/dataprotocol/dataprotocol.h:
6752         * libs/gst/dataprotocol/dp-private.h:
6753         It's about time we bump the version number.
6754         Since event types don't fit in the guint8 anymore describing
6755         the payload type, make payload type 16 bits wide.
6756
6757 2005-10-08  Wim Taymans  <wim@fluendo.com>
6758
6759         * docs/design/part-TODO.txt:
6760         * docs/design/part-clocks.txt:
6761         * docs/design/part-events.txt:
6762         * docs/design/part-gstbin.txt:
6763         * docs/design/part-gstelement.txt:
6764         * docs/design/part-gstpipeline.txt:
6765         * docs/design/part-live-source.txt:
6766         * docs/design/part-messages.txt:
6767         * docs/design/part-overview.txt:
6768         * docs/design/part-states.txt:
6769         Many doc updates.
6770
6771 2005-10-08  Wim Taymans  <wim@fluendo.com>
6772
6773         * gst/gstevent.c:
6774         * gst/gstevent.h:
6775         Fix event quark registration.
6776         Add some space between events so we can insert them in the
6777         right groups.
6778
6779 2005-10-08  Wim Taymans  <wim@fluendo.com>
6780
6781         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6782         (gst_base_sink_handle_buffer):
6783         Better log message.
6784
6785         * gst/gstbus.h:
6786         * gst/gstelement.h:
6787         More docs.
6788
6789         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
6790         (gst_queue_set_property), (gst_queue_get_property):
6791         * gst/gstqueue.h:
6792         Remove old unused properties.
6793
6794 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
6795         * docs/gst/gstreamer-sections.txt:
6796         * gst/gstmessage.c:
6797         * gst/gstmessage.h:
6798         * gst/gstminiobject.c:
6799         * gst/gstminiobject.h:
6800         * gst/gstobject.h:
6801         * gst/gstpad.h:
6802         * gst/gstutils.h:
6803           lots of new docs and doc fixes
6804
6805 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6806
6807         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
6808         * gst/gstplugin.h:
6809         * gst/gstregistry.c: (gst_registry_lookup_locked),
6810         (gst_registry_scan_path_level):
6811         * gst/gstregistryxml.c: (load_plugin):
6812           Only ever load one plugin for a given plugin basename.
6813           This ensures correct overriding of GST_PLUGIN_PATH over
6814           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
6815           system installed plugins.
6816
6817 2005-10-08  Wim Taymans  <wim@fluendo.com>
6818
6819         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6820         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
6821         Prepare for doing QOS.
6822
6823 2005-10-08  Wim Taymans  <wim@fluendo.com>
6824
6825         * check/gst/gstbin.c: (GST_START_TEST):
6826         * check/pipelines/cleanup.c: (GST_START_TEST):
6827         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6828         Allow new clock message too.
6829
6830 2005-10-08  Wim Taymans  <wim@fluendo.com>
6831
6832         * gst/gstmessage.c: (gst_message_new_error),
6833         (gst_message_new_warning), (gst_message_new_tag),
6834         (gst_message_new_state_changed), (gst_message_new_clock_provide),
6835         (gst_message_new_clock_lost), (gst_message_new_new_clock),
6836         (gst_message_new_segment_start), (gst_message_new_segment_done),
6837         (gst_message_parse_state_changed),
6838         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
6839         (gst_message_parse_new_clock):
6840         * gst/gstmessage.h:
6841         Also carry the clock in question.
6842
6843 2005-10-08  Wim Taymans  <wim@fluendo.com>
6844
6845         * gst/gstmessage.c: (gst_message_new_custom),
6846         (gst_message_new_eos), (gst_message_new_error),
6847         (gst_message_new_warning), (gst_message_new_tag),
6848         (gst_message_new_state_changed), (gst_message_new_clock_provide),
6849         (gst_message_new_new_clock), (gst_message_new_segment_start),
6850         (gst_message_new_segment_done), (gst_message_parse_state_changed),
6851         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
6852         * gst/gstmessage.h:
6853         Clean up.
6854         Added clock related messages.
6855
6856         * gst/gstpipeline.c: (gst_pipeline_change_state):
6857         Post message when the clock changed.
6858
6859         * tools/gst-launch.c: (event_loop):
6860         Print new clock.
6861
6862 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6863
6864         * tools/gst-inspect.c: (print_element_properties_info):
6865           Can't pass NULL strings to g_print() on windows.
6866
6867 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6868
6869         * docs/Makefile.am:
6870         * docs/gst/Makefile.am:
6871         * docs/gst/gstreamer-docs.sgml:
6872         * docs/gst/running.xml:
6873         * docs/version.entities.in:
6874           add a chapter on running GStreamer.
6875           document GST_DEBUG and GST_PLUGIN* env vars
6876
6877 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6878
6879         * Makefile.am:
6880           remove include dir
6881         * configure.ac:
6882           remove PLUGINS_BUILDDIR stuff
6883         * gst/gst.c: (init_post):
6884           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
6885         * idiottest.mak:
6886           remove, it was condescending and not needed
6887
6888 2005-10-08  Wim Taymans  <wim@fluendo.com>
6889
6890         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6891         (gst_base_sink_handle_object), (gst_base_sink_event),
6892         (gst_base_sink_wait), (gst_base_sink_handle_event),
6893         (gst_base_sink_change_state):
6894         * gst/base/gstbasesink.h:
6895         Repost EOS message while going to PLAYING if still EOS.
6896         Make sure that when receiving a FLUSH_START we don't attempt
6897         to sync on the clock anymore.
6898
6899 2005-10-08  Wim Taymans  <wim@fluendo.com>
6900
6901         * tools/gst-launch.c: (event_loop):
6902         Better message printout.
6903
6904 2005-10-08  Wim Taymans  <wim@fluendo.com>
6905
6906         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
6907         (gst_bin_child_proxy_get_children_count):
6908         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6909         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
6910         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
6911         (gst_child_proxy_set_valist):
6912         * gst/parse/grammar.y:
6913         Make ChildProxy threadsafe and fix mem leaks.
6914
6915 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6916
6917         * gst/gst.c: (init_post):
6918           debug the GST_PLUGIN_ env vars
6919
6920 2005-10-08  Wim Taymans  <wim@fluendo.com>
6921
6922         * check/gst/gstbin.c: (GST_START_TEST):
6923         * check/gst/gstmessage.c: (GST_START_TEST):
6924         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
6925         * gst/gstelement.c: (gst_element_commit_state),
6926         (gst_element_lost_state):
6927         * gst/gstmessage.c: (gst_message_new_state_changed),
6928         (gst_message_parse_state_changed):
6929         * gst/gstmessage.h:
6930         * tools/gst-launch.c: (event_loop):
6931         Added extra field to STATE_CHANGE message with the pending
6932         state, which will be different from the new state soon.
6933
6934 2005-10-08  Wim Taymans  <wim@fluendo.com>
6935
6936         * gst/gstbus.c: (gst_bus_pop):
6937         * gst/gstclock.c:
6938         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
6939         Small cleanups and doc updates.
6940
6941 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6942
6943         * gst/gst.c: (init_pre):
6944         * gst/gstbin.c: (gst_bin_add_func):
6945           log distributing clocks and base time
6946         * gst/gstregistry.c: (gst_registry_add_plugin),
6947         (gst_registry_scan_path_level), (gst_registry_scan_path):
6948           clean up the debugging output a little
6949         * gst/gstutils.c: (gst_element_state_get_name):
6950           warn about a memleak (I've actually seen this be used, though
6951           it was probably a bug)
6952
6953 2005-10-07  Wim Taymans  <wim@fluendo.com>
6954
6955         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6956         (gst_base_src_init), (gst_base_src_default_newsegment),
6957         (gst_base_src_newsegment), (gst_base_src_do_seek),
6958         (gst_base_src_loop), (gst_base_src_start):
6959         * gst/base/gstbasesrc.h:
6960         Make the newsegment event customizable by subclasses.
6961
6962 2005-10-07  Wim Taymans  <wim@fluendo.com>
6963
6964         * gst/gstevent.c: (gst_event_new_buffersize),
6965         (gst_event_parse_buffersize):
6966         * gst/gstevent.h:
6967         New event for future idea.
6968
6969 2005-10-07  Andy Wingo  <wingo@pobox.com>
6970
6971         * gst/gstelement.c (gst_element_post_message): Doc update.
6972
6973         * docs/gst/gstreamer-sections.txt: Update.
6974
6975         * gst/gstmessage.c (gst_message_new_application): Made into a
6976         function like honest API calls.
6977         (gst_message_new_element): New message type.
6978
6979         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
6980
6981         * check/elements/fakesrc.c (test_no_preroll): New check, checks
6982         that setting a live fakesrc to PAUSED returns NO_PREROLL both
6983         times.
6984
6985         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
6986         NO_PREROLL from gst_element_change_state to fall through.
6987
6988 2005-10-07  Wim Taymans  <wim@fluendo.com>
6989
6990         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
6991         (gst_ghost_pad_do_activate_push):
6992         Activating a ghostpad with no internal pad in push mode
6993         is ok.
6994
6995 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
6996
6997         * gst/gstobject.h:
6998           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
6999           Fixes compilation on Windows.
7000
7001 2005-10-07  Michael Smith <msmith@fluendo.com>
7002
7003         * tools/gst-inspect.c:
7004           Print out feature and plugin count at the end when printing out
7005           all features.
7006
7007 2005-10-04  Michael Smith <msmith@fluendo.com>
7008
7009         * gst/gsterror.c: (_gst_stream_errors_init):
7010           Add another error string used in a few existing plugins.
7011
7012         * gst/gstplugin.c:
7013         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7014         * tools/gst-inspect.c: (print_element_info):
7015           When a feature disappears from a plugin (and the feature exists in
7016           the cached registry file), things went horribly wrong. This isn't a
7017           complete fix, we should actually be removing the 'missing' features
7018           from the features list when we load the actual plugin. That's not
7019           yet implemented. 
7020
7021 2005-10-04  Johan Dahlin  <johan@gnome.org>
7022
7023         * check/gst/gstiterator.c: (GST_START_TEST):
7024         * gst/gstbin.c: (gst_bin_iterate_elements),
7025         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
7026         * gst/gstelement.c: (gst_element_iterate_pads):
7027         * gst/gstformat.c: (gst_format_iterate_definitions):
7028         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
7029         (gst_iterator_new_list), (gst_iterator_filter):
7030         * gst/gstiterator.h:
7031         * gst/gstquery.c: (gst_query_type_iterate_definitions):
7032         Add a GType to GstIterator, update callsites and tests.
7033
7034 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7035
7036         * gst/gstpad.c: (gst_pad_event_default_dispatch):
7037           give events a chance to be handled by event probes when the pad
7038           is not linked
7039
7040 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7041
7042         * gst/gstevent.c: (gst_event_type_get_name),
7043         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
7044         * gst/gstevent.h:
7045           add string representations for event types
7046
7047 2005-10-06  Wim Taymans  <wim@fluendo.com>
7048
7049         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
7050         Don't use NULL pointers.
7051
7052 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7053
7054         * gst/gst_private.h:
7055         * gst/gstbus.c:
7056         * gst/gstelement.c:
7057         * gst/gstinfo.c:
7058         * gst/gstpluginfeature.c:
7059           widen the debug category in output to fit the biggest one we have
7060           add a bus category and use it
7061           play with the colors
7062           fix up some categories
7063
7064 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7065
7066         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
7067           add push activation of sink ghost pads.
7068           Andye, please verify
7069
7070 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7071
7072         * gst/gstutils.c: (gst_element_link_pads):
7073           fix a bug in the case where neither element has a pad
7074         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7075           add a test for that case
7076
7077 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7078
7079         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
7080           emit have-data before checking for peers.  This allows
7081           for probe handlers to connect elements.  This helps autopluggers.
7082         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
7083         (gst_pad_suite):
7084           add six checks, linked/unlinked with no/true/false probe
7085
7086 2005-10-04  Wim Taymans  <wim@fluendo.com>
7087
7088         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
7089         (gst_fake_sink_event), (gst_fake_sink_preroll),
7090         (gst_fake_sink_render), (gst_fake_sink_change_state):
7091         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
7092         (gst_fake_src_get_property), (gst_fake_src_create),
7093         (gst_fake_src_stop):
7094         * gst/elements/gstidentity.c: (gst_identity_stop):
7095         Protect last_message with lock.
7096
7097 2005-10-04  Edward Hervey  <edward@fluendo.com>
7098
7099         * gst/gstformat.h: 
7100         Added precision in the comments for GST_FORMAT_DEFAULT
7101
7102 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
7103
7104         * tools/gst-launch.c: (main):
7105           Don't try to run erroneous pipelines.
7106
7107 2005-10-04  Julien MOUTTE  <julien@moutte.net>
7108
7109         * gst/gstbus.c: We don't need this header.
7110
7111 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7112
7113         * configure.ac:
7114           back to development
7115
7116 === release 0.9.3 ===
7117
7118 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7119
7120         * README:
7121         * configure.ac:
7122           Releasing 0.9.3, "Unregistered"
7123
7124 2005-10-03  Andy Wingo  <wingo@pobox.com>
7125
7126         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
7127         whereby calling a pad's activatepush() function can start a thread
7128         that starts to push or pull before the pad gets the FLUSHING flag
7129         unset. Hack around it by holding the stream lock until the flag is
7130         set. Need to replace this with a proper solution. Together with
7131         the ghost pad fixes, this fixes mp3 playing/tagreading.
7132
7133         * docs/design/part-gstghostpad.txt: Add a note about activation of
7134         proxy pads outside of ghost pads.
7135
7136         * gst/gstghostpad.c: Implement the ghost pad activation design.
7137
7138 2005-10-02  Andy Wingo  <wingo@pobox.com>
7139
7140         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
7141         It is volatile, after all.
7142
7143         * docs/design/part-gstghostpad.txt: Flesh out activation with
7144         ghost pads.
7145
7146         * gst/base/gstbasesrc.c (gst_base_src_init): Use
7147         GST_DEBUG_FUNCPTR.
7148
7149 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
7150
7151         * configure.ac:
7152           Fix (unused) AM_CONDITIONAL tests.
7153
7154 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
7155
7156         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
7157
7158         * gst/gstutils.c: (gst_pad_query_convert):
7159           Add assertion that makes sure src_val is >=0, just like
7160           gst_query_new_convert() has. (#315895)
7161
7162 2005-09-30  Edward Hervey  <edward@fluendo.com>
7163
7164         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
7165         Let's not iterate pads we're not interested in, it avoids getting 
7166         sky-high refcounts on sinkpad.
7167
7168 2005-09-30  Wim Taymans  <wim@fluendo.com>
7169
7170         * gst/gstelement.c: (gst_element_set_state),
7171         (gst_element_change_state):
7172         Small tweak, element in ASYNC remains ASYNC.
7173
7174 2005-09-30  Wim Taymans  <wim@fluendo.com>
7175
7176         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7177         Only error is an error.
7178
7179         * gst/gstbin.c: (gst_bin_change_state):
7180         Better debugging.
7181
7182         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
7183         Also call pad_block in pad alloc.
7184
7185         * gst/gstutils.c: (gst_flow_get_name):
7186         Better debugging.
7187
7188 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7189
7190         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7191         (gst_base_src_get_range):
7192           Fix documentation typos. Add some more debug info.
7193
7194 2005-09-29  David Schleef  <ds@schleef.org>
7195
7196         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
7197           more end-user friendly.
7198         * tools/gst-inspect.c: (main): Check if command-line argument is
7199           a file and attempt to load that file as a plugin.
7200
7201 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7202
7203         * check/gst/gstbin.c:
7204         * check/states/sinks.c:
7205           fix tests for the new warning
7206         * check/gst/gstpipeline.c:
7207           add a test for pipeline and bus interaction
7208         * gst/gstelement.c:
7209           elements should be NULL if they get disposed; add a warning if not
7210
7211 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7212
7213         * gst/gstobject.c:
7214           for 2.6 refcounting, make debug log more correct by printing
7215           the actual refcounts at the time of swap (Wim)
7216
7217 2005-09-29  Andy Wingo  <wingo@pobox.com>
7218
7219         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
7220         removes signal watches previously added via
7221         gst_bus_add_signal_watch.
7222         (gst_bus_add_signal_watch): Don't return the source id, just store
7223         it on the bus if there wasn't an id already.
7224
7225         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
7226         add_signal_watch and remove_signal_watch.
7227
7228 2005-09-29  Edward Hervey  <edward@fluendo.com>
7229
7230         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
7231         Better if we actually iterate the list :)
7232
7233 2005-09-29  Wim Taymans  <wim@fluendo.com>
7234
7235         * check/gst/gstbin.c: (GST_START_TEST):
7236         Change for new bus API.
7237
7238         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
7239         (send_messages), (GST_START_TEST), (gstbus_suite):
7240         Change for new bus signal API.
7241
7242         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
7243         (gst_bus_source_prepare), (gst_bus_source_check),
7244         (gst_bus_create_watch), (gst_bus_add_watch_full),
7245         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
7246         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
7247         * gst/gstbus.h:
7248         Remove support for multiple GSources operating on different
7249         message types as it is too complex and unneeded when using
7250         signals.
7251         Added support for receiving signals from the bus.
7252
7253 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7254
7255         * docs/libs/tmpl/gstdataprotocol.sgml:
7256         * docs/manual/advanced-dataaccess.xml:
7257         * gst/elements/gstcapsfilter.c:
7258         * gst/gstutils.c:
7259           rename filter-caps to caps property
7260
7261 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7262
7263         * gst/gstvalue.c: (gst_value_deserialize_fraction):
7264           More robust fraction string parsing.
7265
7266         * docs/pwg/appendix-porting.xml:
7267           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
7268
7269 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7270
7271         * gst/gstcaps.c: (gst_caps_do_simplify):
7272           Thou shalt not free a structure and then continue using it
7273           in the next loop iteration.
7274
7275         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
7276         (gst_caps_suite):
7277           Add test case for caps simplification.
7278
7279 2005-09-29  Wim Taymans  <wim@fluendo.com>
7280
7281         * check/gst/gstbin.c: (GST_START_TEST):
7282         Oops.
7283
7284 2005-09-29  Wim Taymans  <wim@fluendo.com>
7285
7286         * check/gst/gstbin.c: (GST_START_TEST):
7287         Add bus to bin.
7288
7289         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7290         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
7291         (find_element), (gst_bin_sort_iterator_next),
7292         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
7293         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
7294         (gst_bin_change_state), (gst_bin_dispose):
7295         A bin does not have a bus, it gets the bus from the parent.
7296
7297         * gst/gstelement.c: (gst_element_requires_clock),
7298         (gst_element_provides_clock), (gst_element_is_indexable),
7299         (gst_element_is_locked_state), (gst_element_change_state),
7300         (gst_element_set_bus_func):
7301         Small cleanups.
7302
7303         * gst/gstpipeline.c: (gst_pipeline_class_init),
7304         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
7305         The pipeline provides a bus.
7306
7307 2005-09-28  Johan Dahlin  <johan@gnome.org>
7308
7309         * gst/gstmessage.c (gst_message_parse_state_changed): Use
7310         gst_structure_get_enum instead of gst_structure_get_int
7311
7312         * gst/gststructure.c (gst_structure_get_enum): Impl.
7313
7314         * gst/gststructure.h (gst_structure_get_enum): Add
7315
7316         * docs/gst/gstreamer-sections.txt: Ditto
7317
7318         * gst/gstmessage.c (gst_message_new_state_changed): Use
7319         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
7320         which does introspection.
7321         Reviewed by Christian Schaller
7322
7323 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
7324
7325         * gst/gstinfo.c: (gst_debug_log_default):
7326           don't do dummy g_strdup()s
7327         * libs/gst/controller/gstcontroller.c:
7328         (on_object_controlled_property_changed),
7329         (gst_controlled_property_new), (gst_controller_new_valist),
7330         (gst_controller_new_list),
7331         (gst_controller_remove_properties_valist), (gst_controller_set),
7332         (gst_controller_get), (gst_controller_sync_values),
7333         (gst_controller_get_value_array), (_gst_controller_class_init),
7334         (gst_controller_get_type):
7335         * libs/gst/controller/gstcontroller.h:
7336         * libs/gst/controller/gstinterpolation.c:
7337         (gst_controlled_property_find_timed_value_node):
7338           convert // to /**/ comments
7339
7340 2005-09-28  Wim Taymans  <wim@fluendo.com>
7341
7342         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
7343         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
7344         (gst_bus_sync_signal_handler):
7345         * gst/gstbus.h:
7346         Added async-message and sync-message signals to the bus.
7347         Added helper BusFunc to emit signals for all posted messages.
7348
7349         * gst/gstmessage.c: (gst_message_type_get_name),
7350         (gst_message_type_to_quark), (gst_message_get_type):
7351         * gst/gstmessage.h:
7352         Register quarks for message names.
7353
7354 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
7355
7356         * docs/libs/gstreamer-libs-sections.txt:
7357         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7358         (gst_controller_new_list):
7359         * libs/gst/controller/gstcontroller.h:
7360           added another constructor for language bindings
7361
7362 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7363
7364         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
7365           add another check
7366         * gst/gstbus.c:
7367           add some doc
7368         * gst/gstinfo.c: (_gst_debug_init):
7369           slightly more readable color for refcount debugging
7370
7371 2005-09-28  Wim Taymans  <wim@fluendo.com>
7372
7373         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
7374         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
7375         (find_element), (gst_bin_sort_iterator_next),
7376         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
7377         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
7378         (gst_bin_change_state), (gst_bin_dispose):
7379         Small doc fixes. get_clock -> provide_clock.
7380
7381         * gst/gstelement.c: (gst_element_class_init),
7382         (gst_element_provides_clock), (gst_element_provide_clock),
7383         (gst_element_get_clock), (gst_element_commit_state),
7384         (gst_element_lost_state):
7385         * gst/gstelement.h:
7386         Make get/set_clock() symetric. Add provide_clock vmethod since
7387         that is actually what this function does.
7388
7389         * gst/gstpipeline.c: (gst_pipeline_class_init),
7390         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
7391         (gst_pipeline_get_clock):
7392         get_clock -> provide_clock.
7393
7394 2005-09-28  Andy Wingo  <wingo@pobox.com>
7395
7396         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
7397         lieu of real docs...
7398
7399         * gst/elements/gstfdsrc.c: Cleaned up a bit.
7400
7401 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
7402
7403         * gst/elements/gstcapsfilter.c:
7404         * gst/elements/gstfakesink.c:
7405         * gst/elements/gstfakesrc.c:
7406         * gst/elements/gstfdsink.c:
7407         * gst/elements/gstfdsrc.c:
7408         * gst/elements/gstfilesink.c:
7409         * gst/elements/gstfilesrc.c:
7410         * gst/elements/gstidentity.c:
7411         * gst/elements/gsttee.c:
7412         * gst/elements/gsttypefindelement.c:
7413           Make element details static.
7414
7415 2005-09-28  Wim Taymans  <wim@fluendo.com>
7416
7417         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
7418         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
7419         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
7420         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
7421         (gst_bin_change_state), (gst_bin_dispose):
7422         Some documentation updates.
7423         Clean up dispose handlers.
7424
7425         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
7426         * gst/gstpad.c: (gst_pad_dispose):
7427         Clean up dispose handler.
7428
7429         * gst/gstpipeline.c: (gst_pipeline_change_state):
7430         Removed spurious UNLOCK.
7431
7432 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
7433
7434         * docs/gst/gstreamer-sections.txt:
7435         * gst/base/gstbasesrc.h:
7436         * gst/gstelement.h:
7437         * gst/gstevent.h:
7438         * gst/gstobject.h:
7439         * gst/gstpad.h:
7440         * gst/gstpipeline.c:
7441         * gst/gstpipeline.h:
7442         * gst/gstutils.h:
7443         * gst/gstxml.h:
7444           added two new functions to the docs
7445                 documents all undocumented GstXXXFlags
7446                 completed some incomplete docs 
7447
7448 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7449
7450         * gst/gstbin.c: (gst_bin_dispose):
7451         * gst/gstelement.c: (gst_element_dispose):
7452           remove now useless and leaky resurrection code in dispose
7453         * gst/base/gstbasesrc.c: (gst_base_src_init):
7454         * gst/gstelementfactory.c: (gst_element_factory_create):
7455         * gst/gstobject.c: (gst_object_set_parent):
7456           add some debugging
7457
7458 2005-09-27  Wim Taymans  <wim@fluendo.com>
7459
7460         * docs/design/part-TODO.txt:
7461         Update TODO.
7462
7463         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
7464         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
7465         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
7466         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
7467         (gst_bin_change_state):
7468         * gst/gstelement.h:
7469         Remove element variable, we keep element info in the iterator now.
7470
7471 2005-09-27  Andy Wingo  <wingo@pobox.com>
7472
7473         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
7474         values.
7475
7476 2005-09-27  Wim Taymans  <wim@fluendo.com>
7477
7478         * check/gst/gstbin.c: (GST_START_TEST):
7479         Enable check that works now.
7480
7481         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
7482         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
7483         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
7484         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
7485         (gst_bin_change_state):
7486         * gst/gstbin.h:
7487         Redid the state change algorithm using a topological sort algo.
7488         Handles all cases correctly.
7489         Exposed iterator for state change order.
7490
7491         * gst/gstelement.h:
7492         Temp storage for state changes. Need to get rid of this soon.
7493
7494 2005-09-27  Wim Taymans  <wim@fluendo.com>
7495
7496         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
7497         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
7498         (link_fold_func), (gst_pad_proxy_setcaps):
7499         Leak fixes, the fold functions need to unref the passed object and
7500         _get_parent_*() returns ref to parent.
7501
7502 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7503
7504         * check/gst/gstbuffer.c: (test_make_writable):
7505           Plug leak in test case and fix 'make check-valgrind'
7506
7507 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7508
7509         * gst/gstbuffer.c: (gst_subbuffer_init):
7510           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
7511           works correctly in all circumstances (we could have just copied
7512           the parent buffer's readonly flag, but conceptually it seems
7513           cleaner to mark all subbuffers as read-only). (based on patch
7514           by Alessandro Decina, #314710).
7515         
7516         * check/gst/gstbuffer.c: (create_read_only_buffer),
7517         (test_make_writable), (test_subbuffer_make_writable),
7518         (gst_test_suite):
7519           Add some tests for gst_buffer_make_writable().
7520
7521 2005-09-27  Wim Taymans  <wim@fluendo.com>
7522
7523         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
7524         use gst_object_has_ancestor().
7525
7526         * gst/gstobject.c: (gst_object_has_ancestor):
7527         * gst/gstobject.h:
7528         gst_object_has_ancestor() copied from gstbin.c as it is a
7529         usefull function.
7530
7531         * tests/instantiate/create.c: (create_all_elements):
7532         * tests/lat.c: (handoff_src), (handoff_sink):
7533         * tests/sched/runxml.c: (main):
7534         * tests/seeking/seeking1.c: (main):
7535         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7536         (main):
7537         Fix compilation of some tests.
7538
7539 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7540
7541         * gst/gsterror.h:
7542           Remove comment. GST_TYPE_G_ERROR is here to stay,
7543           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
7544           (#316961, #300610).
7545
7546 2005-09-26  Wim Taymans  <wim@fluendo.com>
7547
7548         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7549         Added check that shows error in state change order.
7550
7551 2005-09-26  Wim Taymans  <wim@fluendo.com>
7552
7553         * gst/gstbin.c: (gst_bin_change_state):
7554         Make state change function use 3 queues again, we were
7555         adding elements in the wrong order.
7556
7557         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7558         Some debug info,
7559
7560         * gst/gstpad.c: (gst_pad_dispose):
7561         Added some debug info first.
7562
7563 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
7564
7565         * docs/design/draft-push-pull.txt:
7566         * docs/design/part-events.txt:
7567         * docs/design/part-overview.txt:
7568         * docs/design/part-scheduling.txt:
7569           Replace all _pull_region() with _pull_range()
7570           
7571 2005-09-26  Andy Wingo  <wingo@pobox.com>
7572
7573         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
7574
7575         * check/gst-libs/controller.c: Update for controller api change.
7576
7577         * configure.ac: 
7578         * tests/Makefile.am:
7579         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
7580         over by GLib bug 118439.
7581         
7582         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
7583         routines to a function.
7584
7585         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
7586
7587         * libs/gst/controller/gsthelper.c:
7588         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
7589         (gst_object_sync_values): Renamed from sink_values. Ugh.
7590
7591         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
7592
7593         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
7594         Renamed from controller_key, as it is exported.
7595
7596         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
7597
7598 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
7599
7600         * gst/Makefile.am:
7601         * gst/gst.h:
7602         * gst/gstpad.h:
7603         * gst/gstpadtemplate.h:
7604         * gst/gstquery.c:
7605         * gst/gstquery.h:
7606         * gst/gstqueryutils.c:
7607         * gst/gstqueryutils.h:
7608           remove queryutils headers after moving the two used functions
7609           to gstquery.  also fixes build problem for gstsiddec
7610
7611 2005-09-26  Michael Smith <msmith@fluendo.com>
7612
7613         * tools/gst-launch.1.in:
7614         Correct documentation in manpage of debug syntax
7615
7616 2005-09-26  Wim Taymans  <wim@fluendo.com>
7617
7618         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7619         (gst_base_src_is_seekable), (gst_base_src_change_state):
7620         Some more debugging info.
7621
7622 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
7623
7624         * docs/gst/gstreamer-sections.txt:
7625         * gst/base/gstbasetransform.h:
7626         * gst/gstindex.h:
7627           added more docs
7628
7629 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
7630
7631         * docs/gst/.cvsignore:
7632         * docs/gst/tmpl/.cvsignore:
7633         * docs/gst/tmpl/gstpipeline.sgml:
7634         * docs/gst/tmpl/gstplugin.sgml:
7635         * gst/gstpipeline.c:
7636         * gst/gstplugin.c:
7637         * gst/gstplugin.h:
7638           inlined the last two docs files
7639           removed the tmpl directory from cvs (no more conflicts here!)
7640
7641 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
7642
7643         * docs/gst/gstreamer-sections.txt:
7644         * docs/gst/tmpl/.cvsignore:
7645         * docs/gst/tmpl/gstpad.sgml:
7646         * docs/gst/tmpl/gstpadtemplate.sgml:
7647         * gst/Makefile.am:
7648         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7649         (gst_pad_finalize), (gst_pad_set_pad_template):
7650         * gst/gstpad.h:
7651         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7652         (gst_pad_template_class_init), (gst_pad_template_init),
7653         (gst_pad_template_dispose), (name_is_valid),
7654         (gst_static_pad_template_get), (gst_pad_template_new),
7655         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
7656         (gst_pad_template_pad_created):
7657         * gst/gstpadtemplate.h:
7658           inlined two more docs
7659           factored gstpadtemplate out of gstpad
7660
7661 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
7662
7663         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
7664         (test_children_state_change_order_semi_sink):
7665           Fix test case: we can't rely on a fixed state change order when
7666           going from READY => PAUSED because the sink might commit its 
7667           new state first when the first buffer created by the source 
7668           reaches the sink before the source has finished its change state.
7669           (Test case still fails at times, see #316856, comment 5 onwards)
7670
7671 2005-09-24  Wim Taymans  <wim@fluendo.com>
7672
7673         * docs/design/part-events.txt:
7674         * docs/design/part-gstbus.txt:
7675         * docs/design/part-gstpipeline.txt:
7676         * docs/design/part-messages.txt:
7677         * docs/design/part-overview.txt:
7678         * docs/design/part-segments.txt:
7679         * gst/gstbin.c:
7680         * gst/gstbuffer.c:
7681         * gst/gstclock.c:
7682         * gst/gstelement.c:
7683         * gst/gstevent.c:
7684         * gst/gstfilter.c:
7685         * gst/gstiterator.c:
7686         Various documentation updates.
7687
7688 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7689
7690         * gst/gstclock.h:
7691           Well, that's embarassing.  Luckily we weren't using
7692           GST_CLOCK_DIFF anywhere.
7693
7694 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7695
7696         * common/gtk-doc.mak:
7697           don't fail on building XML, FC4 slave shows a bunch of doc
7698           missing bits that I don't get
7699         * gst/gstpad.c:
7700         * gst/gstpipeline.c:
7701         * gst/gststructure.c:
7702           some doc updates
7703
7704 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
7705
7706         * docs/design/part-gstbin.txt:
7707         * docs/design/part-gstbus.txt:
7708         * gst/gstbus.c:
7709           Add blurb about how the bus goes into flushing mode and
7710           drops all messages when its bin goes from READY into NULL 
7711           state.
7712
7713 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7714
7715         * docs/gst/gstreamer-sections.txt:
7716         * gst/gststructure.c: (gst_structure_get_clock_time):
7717         * gst/gststructure.h:
7718           add a method to get a GstClockTime out of a structure
7719
7720 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
7721
7722         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
7723         (test_children_state_change_order_semi_sink), (gst_bin_suite):
7724           Added test to check state change order in bins (can still be made
7725           to fail here under heavy disk load; bails out with 'Push on pad
7726           fakesink:sink0, but it was not activated in push mode').
7727
7728         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
7729           Fix state change order when there is only a semi sink (#316856)
7730
7731         * gst/gstbus.c: (gst_bus_class_init):
7732           Use _class_peek_parent(), not _class_ref(); fix docs to say
7733           'default main context' instead of 'mainloop' where that is
7734           what's meant.
7735
7736         * gst/gstelement.c: (gst_element_commit_state),
7737         (gst_element_set_state):
7738           Fix typos in debug messages
7739
7740 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7741
7742         * docs/README:
7743         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
7744         * gst/gstpluginfeature.c:
7745         * gst/gstutils.c:
7746           various doc updates
7747         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7748           change an assert into an error until it gets fixed properly
7749
7750 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
7751
7752         * docs/gst/gstreamer-sections.txt:
7753         * docs/gst/tmpl/.cvsignore:
7754         * docs/gst/tmpl/gstelement.sgml:
7755         * docs/gst/tmpl/gstinfo.sgml:
7756         * docs/gst/tmpl/gstobject.sgml:
7757         * gst/gstelement.c:
7758         * gst/gstelement.h:
7759         * gst/gstinfo.c:
7760         * gst/gstinfo.h:
7761         * gst/gstobject.c: (gst_object_class_init):
7762         * gst/gstobject.h:
7763           inlined 3 more biiiig doc files and added some missing docs on the fly
7764
7765 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7766
7767         * check/gst/.cvsignore:
7768         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
7769         * gst/gstregistryxml.c: (load_plugin),
7770         (gst_registry_xml_save_plugin):
7771           put back source in registry.  add checks for find_plugin.
7772         * testsuite/states/bin.c: (assert_state), (empty_bin),
7773         (test_adding_one_element), (main):
7774         * testsuite/states/locked.c: (main):
7775           some compile/run fixes
7776
7777 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7778
7779         * check/gst/gstvalue.c: (GST_START_TEST):
7780           fix leaks in the test itself
7781
7782 2005-09-22  Wim Taymans  <wim@fluendo.com>
7783
7784         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7785         (gst_base_sink_send_event), (gst_base_sink_peer_query),
7786         (gst_base_sink_query):
7787         Prepare for more accurate position reporting and query
7788         handling.
7789
7790         * gst/gstelement.c: (gst_element_send_event),
7791         (gst_element_set_state):
7792         Add some comment.
7793
7794 2005-09-22  Wim Taymans  <wim@fluendo.com>
7795
7796         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
7797         (gst_query_parse_segment):
7798         * gst/gstquery.h:
7799         More documentation.
7800         Add segment query for future use.
7801
7802 2005-09-22  Wim Taymans  <wim@fluendo.com>
7803
7804         * gst/gstbin.c: (gst_bin_add_func):
7805         Some more debug info.
7806
7807         * gst/gstelement.c: (gst_element_send_event):
7808         Simplify send_event
7809
7810         * gst/gstelement.h:
7811         Don't know how flags got broken.
7812
7813         * gst/gstquery.h:
7814         Added new query.
7815
7816 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
7817
7818         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
7819           Add simplistic test suite for GST_TYPE_DATE serialisation and
7820           deserialisation.
7821
7822 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
7823
7824         * docs/gst/gstreamer-sections.txt:
7825         * gst/gststructure.c: (gst_structure_set_valist),
7826         (gst_structure_get_date):
7827         * gst/gststructure.h:
7828         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
7829         (gst_date_copy), (gst_value_compare_date),
7830         (gst_value_serialize_date), (gst_value_deserialize_date),
7831         (gst_value_transform_date_string),
7832         (gst_value_transform_string_date), (_gst_value_initialize):
7833         * gst/gstvalue.h:
7834           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
7835           bunch of utility functions along with a hack that checks that
7836           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
7837           is required. Part of the grand scheme in #170777.
7838
7839 2005-09-22  Andy Wingo  <wingo@pobox.com>
7840
7841         * gst/gstconfig.h.in: Psych out gtk-doc.
7842
7843         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
7844
7845         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
7846
7847         * tools/gst-inspect.c (print_element_list): Plug some
7848         inconsequential leaks.
7849
7850         * gst/gstregistry.c (gst_registry_get_default): Doc.
7851
7852         * check/gst/gstplugin.c: 
7853         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
7854         * gst/gstelementfactory.c (gst_element_factory_create): 
7855         * gst/gstindexfactory.c (gst_index_factory_create): Update for
7856         refcount changes.
7857
7858         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
7859         (gst_plugin_feature_load): Doc, don't eat refs.
7860
7861         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
7862         (gst_plugin_list_free): Doc.
7863         (gst_plugin_load_file): Doc updates.
7864
7865         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
7866         accessors returning refcounted objects, return a ref.
7867
7868         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
7869         accessor for caps. IDEMPOTENCE. Oh yes.
7870
7871 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
7872
7873         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
7874
7875         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7876         (_gst_debug_register_funcptr):
7877           Add mutex to serialise access to the hash table with
7878           the function pointer => function name string mapping;
7879           make that hash table static scope (#316809).
7880
7881         * gst/registries/.cvsignore:
7882           Remove left-over file.
7883
7884 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
7885
7886         * docs/pwg/appendix-porting.xml:
7887           And something about newsegment events and caps-on-buffers to
7888           the porting guide (feel free to improve).
7889
7890 2005-09-21  Andy Wingo  <wingo@pobox.com>
7891
7892         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
7893         data and event probes on the same pad.
7894         (test_buffer_probe_once): Test that removing probes from within
7895         the probe functions works.
7896
7897 2005-09-21  Andy Wingo  <wingo@pobox.com>
7898
7899         * check/gst/gstutils.c: New file.
7900         (test_buffer_probe_n_times): A simple buffer probe test. More to
7901         come, foolios.
7902
7903         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
7904         have-data::buffer, not have-data.
7905         (gst_pad_add_event_probe): Likewise for have-data::event.
7906         (gst_pad_add_data_probe): More docs. The part about 'resolving the
7907         peer' isn't quite right yet though.
7908         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
7909         (gst_pad_remove_data_probe): Change to take the guint handler_id
7910         as their arg, not the function+data, which is more glib-like.
7911
7912         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
7913         the signal emission to indicate if the data is a buffer or an
7914         event.
7915         (gst_pad_get_type): Initialize buffer and event quarks.
7916         (gst_pad_class_init): have-data is now a detailed signal, yes it
7917         is.
7918
7919 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
7920
7921         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7922         * gst/gstutils.c: (gst_util_set_value_from_string),
7923         (gst_util_set_object_arg):
7924           Don't put functional code in g_return_if_fail() or
7925           g_return_val_if_fail() statements, otherwise things will 
7926           break when G_DISABLE_CHECKS is defined during compilation.
7927
7928 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
7929
7930         * docs/gst/tmpl/.cvsignore:
7931         * docs/gst/tmpl/gstvalue.sgml:
7932         * gst/gstvalue.c:
7933         * gst/gstvalue.h:
7934           inlied another one and added  some obvious docs
7935
7936 2005-09-21  Wim Taymans  <wim@fluendo.com>
7937
7938         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7939         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
7940         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
7941         (gst_fdsrc_get_property), (gst_fdsrc_create):
7942         * gst/elements/gstfdsrc.h:
7943         Properly implement fdsrc. Removed signal and timeout,
7944         better implemented somewhere else.
7945
7946 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
7947
7948         * docs/gst/tmpl/.cvsignore:
7949         * docs/gst/tmpl/gstimplementsinterface.sgml:
7950         * gst/gstinterface.c:
7951           inlined more docs
7952
7953 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
7954
7955         * docs/gst/gstreamer-sections.txt:
7956         * docs/gst/tmpl/.cvsignore:
7957         * docs/gst/tmpl/gstenumtypes.sgml:
7958           remove obsolete doc file
7959
7960 2005-09-21  David Schleef  <ds@schleef.org>
7961
7962         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
7963         little beer, fix a little leak.
7964
7965 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
7966
7967         * docs/gst/gstreamer-docs.sgml:
7968         * docs/gst/gstreamer-sections.txt:
7969         * docs/gst/tmpl/.cvsignore:
7970         * gst/Makefile.am:
7971         * gst/gst.h:
7972         * gst/gstbin.c:
7973         * gst/gstelement.h:
7974         * gst/gstindex.c: (gst_index_class_init):
7975         * gst/gstindex.h:
7976         * gst/gstindexfactory.c: (gst_index_factory_get_type),
7977         (gst_index_factory_class_init), (gst_index_factory_init),
7978         (gst_index_factory_finalize), (gst_index_factory_new),
7979         (gst_index_factory_destroy), (gst_index_factory_find),
7980         (gst_index_factory_create), (gst_index_factory_make):
7981         * gst/gstindexfactory.h:
7982         * gst/gstpluginfeature.c:
7983         * gst/gstpluginfeature.h:
7984         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
7985           more docs inlined, splitted gstindex.{c,h}
7986
7987 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
7988
7989         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
7990           fix a leak
7991
7992 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
7993
7994         * gst/elements/gstfilesink.c: (gst_file_sink_init):
7995           Set sync to FALSE by default.
7996
7997 2005-09-20  Wim Taymans  <wim@fluendo.com>
7998
7999         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8000         (gst_base_sink_init):
8001         Make sync property settable from subclass.
8002
8003         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
8004         (gst_fake_sink_change_state):
8005         Set sync to FALSE by default.
8006
8007 2005-09-20  Wim Taymans  <wim@fluendo.com>
8008
8009         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
8010         * tools/gst-launch.c: (main):
8011         The timeout handler should have lower priority than the source
8012         so we don't timeout before popping a message with 0 timeout.
8013         Dump error messages after failed state change.
8014
8015 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
8016
8017         * tools/gst-inspect.c: (print_element_properties_info):
8018           Fix two typos.
8019
8020 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8021
8022         * check/gst/gstevent.c:
8023         * gst/elements/gstfakesink.c:
8024         * gst/elements/gstfakesink.h:
8025           remove the sync property from fakesink.
8026           has the side effect of setting sync TRUE
8027           for fakesink, which is a change.  Anyone who knows how
8028           to fix this nicely in a GObject-y way, feel free.
8029
8030 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
8031
8032         * docs/gst/gstreamer-docs.sgml:
8033           remove probe refsection
8034
8035 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
8036
8037         * check/Makefile.am:
8038           disable valgrinding the controller test again
8039         * docs/gst/gstreamer-sections.txt:
8040           update for api-changes
8041
8042 2005-09-20  Wim Taymans  <wim@fluendo.com>
8043
8044         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8045         (gst_base_sink_set_property), (gst_base_sink_get_property),
8046         (gst_base_sink_do_sync):
8047         * gst/base/gstbasesink.h:
8048         Added sync property to basesink to disable clock sync.
8049
8050 2005-09-20  Andy Wingo  <wingo@pobox.com>
8051
8052         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
8053         eating the caller's refcount.
8054
8055         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
8056         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
8057         refcount.
8058
8059         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
8060         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
8061         of GLib 2.8 public, so we can know which refcount to check in
8062         tests.
8063
8064         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
8065         (gst_object_init): Only set the gst refcount if we're going ahead
8066         with the refcount hack.
8067
8068 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
8069
8070         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
8071         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
8072           more leaks plumbed, added more debug-logging
8073         * gst/gstmacros.h:
8074           whitespace fix
8075
8076 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8077
8078         * gst/gstmessage.c:
8079           remove include of gstmemchunk.h
8080
8081 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8082
8083         * gst/gstclock.c: (_gst_clock_id_free):
8084           Commit from the Political Party For More Atomic CVS Commits,
8085           so that people don't waste too much of their day fishing
8086           out obvious leaks out of massive commits.
8087           Oh, and fix a pretty damn obvious leak in the memchunk
8088           removal code.
8089
8090 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
8091
8092         * check/Makefile.am:
8093         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
8094           plug mem-leak, re-add to valgrindable tests
8095
8096 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
8097
8098         * gst/gstplugin.h:
8099           unbreak the build for those who have chronic arthritis
8100           and typing "make check" is just too taxing on the hands
8101
8102 2005-09-20  Andy Wingo  <wingo@pobox.com>
8103
8104         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
8105         really want it out, you should fix plugins at the same time.
8106
8107 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
8108
8109         * configure.ac:
8110         * docs/gst/gstreamer-sections.txt:
8111         * gst/gstobject.c:
8112           added missing symbols to api docs
8113           disable ref-count hack if we have glib >= 2.8
8114
8115 2005-09-19  David Schleef  <ds@schleef.org>
8116
8117         * docs/gst/Makefile.am: Ignore a few more internal headers
8118         * docs/gst/gstreamer-docs.sgml: Remove old sections
8119         * docs/gst/gstreamer-sections.txt: Remove old sections
8120         * docs/gst/tmpl/gstobject.sgml: update
8121         * docs/gst/tmpl/gstplugin.sgml: update
8122         * docs/gst/tmpl/gstpluginfeature.sgml: update
8123         * docs/random/ds/0.9-suggested-changes: update.
8124         * gst/Makefile.am: remove memchunk and trashstack, since they're
8125           not used.
8126         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
8127         * gst/gst.h: don't include some headers
8128         * gst/gstchildproxy.c: add gstmarshal.h
8129         * gst/gstclock.c: Don't use memchunks
8130         * gst/gstminiobject.c: Add some docs
8131         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
8132         * gst/gstobject.h: same
8133         * gst/gstplugin.c: include gstmacros.h
8134         * gst/gstplugin.h: don't include gstmacros.h, since it's private
8135         * gst/gstquery.c: don't use memchunks
8136         * gst/gstregistry.c: rename gst_registry_deinit()
8137         * gst/gstregistry.h: same
8138
8139 2005-09-19  David Schleef  <ds@schleef.org>
8140
8141         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
8142         * docs/libs/gstreamer-libs-sections.txt:
8143         * docs/libs/tmpl/gstgetbits.sgml:
8144         * docs/libs/tmpl/gstputbits.sgml:
8145
8146 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
8147
8148         * win32/gstenumtypes.c:
8149         * win32/gstenumtypes.h:
8150           Update.
8151
8152 2005-09-19  Wim Taymans  <wim@fluendo.com>
8153
8154         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
8155         Automatically PAUSE and RESUME a pipeline when a flushing seek
8156         is performed.
8157
8158 2005-09-19  Andy Wingo  <wingo@pobox.com>
8159
8160         * gst/gstregistry.h: Spacing fixen.
8161
8162 2005-09-19  Wim Taymans  <wim@fluendo.com>
8163
8164         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
8165         Handle state change failure more correctly.
8166
8167 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
8168
8169         * check/Makefile.am:
8170         * check/pipelines/cleanup.c: (run_pipeline):
8171         * check/pipelines/simple_launch_lines.c: (run_pipeline),
8172         (GST_START_TEST):
8173           enable cleanup again after fixing the leak
8174         * docs/README:
8175           some more info on docs
8176
8177 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
8178
8179         * check/Makefile.am:
8180           re-enable tests now that leaks are plugged
8181         * check/gst/gst.c:
8182         * check/gst/gstbin.c:
8183         * check/gst/gstpipeline.c:
8184           add some more tests while fixing leaks
8185         * common/check.mak:
8186           make sure binaries are uptodate when valgrinding/gdbing
8187         * gst/gst.c:
8188         * gst/gstelementfactory.c:
8189           remove a ref too many, and add a FIXME for when we get
8190           round to disposing of classes
8191         * gst/gstplugin.c:
8192           fix the refcounting when loading a plugin from a file and
8193           the code pretends that the pointer is the same even though
8194           of course it can change
8195         * gst/gstpluginfeature.c:
8196           unref plugins marked cached (a bit confusing as a name)
8197           as the docs state should be done
8198           various doc additions to explain refcounting
8199         * gst/gstregistry.c:
8200         * gst/gstregistryxml.c:
8201           debugging
8202
8203 2005-09-19  Wim Taymans  <wim@fluendo.com>
8204
8205         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8206         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
8207         (send_messages), (GST_START_TEST), (gstbus_suite):
8208         * check/gst/gstpipeline.c: (GST_START_TEST):
8209         * check/pipelines/cleanup.c: (run_pipeline):
8210         * check/pipelines/simple_launch_lines.c: (run_pipeline),
8211         (GST_START_TEST):
8212         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
8213         (gst_bus_source_check), (gst_bus_source_dispatch),
8214         (gst_bus_create_watch), (gst_bus_add_watch_full),
8215         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
8216         * gst/gstbus.h:
8217         * tools/gst-launch.c: (event_loop):
8218         * tools/gst-md5sum.c: (event_loop):
8219         GstBusHandler -> GstBusFunc, return value has the same meaning as
8220         any other GSource (FALSE == remove source).
8221         _add_watch() and _add_watch_full() now take a MessageType mask to
8222         only handle specific types of messages.
8223         _poll() returns the GstMessage instead of the message type to avoid
8224         race conditions.
8225         _have_pending() takes a MessageType mask now too.
8226         Added testsuite for multiple bus watches.
8227         Fix testsuites and applications for new bus API.
8228
8229 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
8230
8231         * check/Makefile.am:
8232           mark a bunch of the tests as to fix until we fix them
8233
8234 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8235
8236         * common/check.mak:
8237           use GST_PLUGIN settings for valgrind tests as well, so we're
8238           valgrinding the correct thing
8239         * gst/gst.c: (init_post):
8240           plug another leak
8241
8242 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8243
8244         * gst/gst.c: (init_post), (gst_deinit):
8245         * gst/gstelementfactory.c: (gst_element_factory_class_init),
8246         (gst_element_factory_finalize), (gst_element_factory_cleanup):
8247         * gst/gstindex.c: (gst_index_factory_class_init),
8248         (gst_index_factory_finalize):
8249         * gst/gstobject.c: (gst_object_dispose):
8250         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8251         (gst_plugin_load_file), (gst_plugin_desc_free):
8252         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
8253         (gst_plugin_feature_finalize):
8254         * gst/gstregistry.c: (gst_registry_class_init),
8255         (gst_registry_init), (gst_registry_finalize),
8256         (gst_registry_get_default), (gst_registry_deinit):
8257         * gst/gstregistry.h:
8258         * gst/gstregistryxml.c: (load_feature), (load_plugin):
8259           various cleanups and memleak plugging.  make valgrind is happy now.
8260
8261 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8262
8263         * common/check.mak:
8264           add a check-valgrind target
8265
8266 2005-09-18  David Schleef  <ds@schleef.org>
8267
8268         * tools/gst-inspect.c: Revert the GOption code.
8269
8270 2005-09-17  David Schleef  <ds@schleef.org>
8271
8272         * check/Makefile.am: Fix environment variables.
8273         * check/gst/gstplugin.c: Fix for API changes.
8274         * tools/gst-inspect.c: Fix for API changes.
8275         * tools/gst-xmlinspect.c: Fix for API changes.
8276         * gst/gstelementfactory.c:
8277         * gst/gstplugin.c:
8278         * gst/gstplugin.h:
8279         * gst/gstpluginfeature.c:
8280         * gst/gstpluginfeature.h:
8281         * gst/gstregistry.c:
8282         * gst/gstregistry.h:
8283         * gst/gstregistryxml.c:
8284         * gst/gsttypefind.c:
8285         * gst/gsttypefindfactory.c:
8286         * gst/indexers/gstfileindex.c:
8287         * gst/indexers/gstmemindex.c:
8288         * gst/schedulers/Makefile.am:
8289           Change registry to keep track of both plugins and features,
8290           removing the feature tracking from plugins themselves.
8291
8292 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8293
8294         * check/Makefile.am:
8295         * tools/gst-register.1.in:
8296           remove gst-register
8297
8298 2005-09-15  David Schleef  <ds@schleef.org>
8299
8300         * check/gst/gstplugin.c:
8301         * gst/gstelementfactory.c:
8302         * gst/gstplugin.c:
8303         * gst/gstpluginfeature.c:
8304         * gst/gstregistry.c:
8305           Getting tired of debugging.  Disabled all the unreffing of
8306           plugins and features, which fixes the segfaults, but of
8307           course leaks like crazy.  At least playbin works.
8308
8309 2005-09-15  David Schleef  <ds@schleef.org>
8310
8311         * check/gst/gstplugin.c: (register_check_elements),
8312         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
8313         More testing
8314         * gst/elements/gsttypefindelement.c: Fix refcounting.
8315         * gst/gsttypefind.c:
8316         * gst/gsttypefindfactory.c:
8317         * gst/gsttypefindfactory.h:
8318
8319 2005-09-15  David Schleef  <ds@schleef.org>
8320
8321         * gst/gstindex.c: get refcounting correct.
8322         * gst/gstregistry.c: Handle the case where a feature/plugin is
8323           not found.
8324
8325 2005-09-15  David Schleef  <ds@schleef.org>
8326
8327         * check/Makefile.am:
8328         * check/gst/gstplugin.c: Add test
8329         * gst/gstplugin.c: Fix problems noticed by testsuite
8330         * gst/gstplugin.h:
8331         * gst/gstregistry.c: 
8332         * gst/gstregistry.h:
8333
8334 2005-09-15  David Schleef  <ds@schleef.org>
8335
8336         * gst/gstplugin.c: Implement semi-decent recounting and locking
8337           in plugins and plugin features.
8338         * gst/gstplugin.h:
8339         * gst/gstpluginfeature.c:
8340         * gst/gstpluginfeature.h:
8341         * gst/gstregistry.c:
8342
8343 2005-09-15  Michael Smith <msmith@fluendo.com>
8344
8345         * gst/gstregistry.c: (gst_registry_get_feature_list):
8346           Implement this. Makes oggdemux work; decodebin still broken.
8347
8348 2005-09-14  David Schleef  <ds@schleef.org>
8349
8350         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
8351           #316076)
8352         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
8353         * gst/check/Makefile.am:
8354         * libs/gst/controller/Makefile.am:
8355         * libs/gst/dataprotocol/Makefile.am:
8356
8357 2005-09-14  David Schleef  <ds@schleef.org>
8358
8359         * configure.ac: Remove getbits library.  Nothing uses it, and
8360           it should be in something like liboil if someone did want
8361           to use it.
8362         * libs/gst/Makefile.am:
8363         * libs/gst/getbits/Makefile.am:
8364         * libs/gst/getbits/gbtest.c:
8365         * libs/gst/getbits/getbits.c:
8366         * libs/gst/getbits/getbits.h:
8367         * libs/gst/getbits/gstgetbits_generic.c:
8368         * libs/gst/getbits/gstgetbits_i386.s:
8369         * libs/gst/getbits/gstgetbits_inl.h:
8370
8371 2005-09-14  David Schleef  <ds@schleef.org>
8372
8373         * gst/Makefile.am: Dist glib-compat.h
8374
8375 2005-09-14  David Schleef  <ds@schleef.org>
8376
8377         * configure.ac: Remove gst/registries, since it's no longer used.
8378         * gst/registries/Makefile.am:
8379         * gst/registries/gstlibxmlregistry.c:
8380         * gst/registries/gstlibxmlregistry.h:
8381         * gst/registries/gstxmlregistry.c:
8382         * gst/registries/gstxmlregistry.h:
8383         * gst/registries/registrytest.c:
8384
8385 2005-09-14  David Schleef  <ds@schleef.org>
8386
8387         * gst/glib-compat.h:
8388         * gst/gstregistryxml.c:
8389           Convergence is near.  Seriously.
8390
8391 2005-09-14  David Schleef  <ds@schleef.org>
8392
8393         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
8394         * gst/glib-compat.h:
8395           Attempt #4 to appease the buildbots.
8396
8397 2005-09-14  David Schleef  <ds@schleef.org>
8398
8399         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
8400           Attempt #3.
8401
8402 2005-09-14  David Schleef  <ds@schleef.org>
8403
8404         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
8405         Attempt #2.
8406
8407 2005-09-14  David Schleef  <ds@schleef.org>
8408
8409         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
8410           the new functions.
8411
8412 2005-09-14  David Schleef  <ds@schleef.org>
8413
8414         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
8415         * gst/glib-compat.h: Add some functions that are in newer versions
8416           of glib than we care to require.
8417         * gst/gstregistryxml.c: Use them.
8418
8419 2005-09-14  David Schleef  <ds@schleef.org>
8420
8421         * po/POTFILES.in: remove gst-register.c
8422
8423 2005-09-14  David Schleef  <ds@schleef.org>
8424
8425         * docs/gst/gstreamer-docs.sgml:
8426         * docs/gst/gstreamer-sections.txt:
8427         * docs/gst/gstreamer.types:
8428         * docs/gst/tmpl/gstelement.sgml:
8429         * docs/gst/tmpl/gstplugin.sgml:
8430         * docs/gst/tmpl/gstpluginfeature.sgml:
8431           Documentation updates for registry changes.
8432
8433 2005-09-14  David Schleef  <ds@schleef.org>
8434
8435         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
8436           because we don't require glib-2.8.
8437
8438 2005-09-14  David Schleef  <ds@schleef.org>
8439
8440         * gst/gstregistryxml.c: Added.  Essentially moved out of the
8441           registries directory.
8442
8443 2005-09-14  David Schleef  <ds@schleef.org>
8444
8445         * check/Makefile.am:
8446         * check/generic/states.c:
8447         * gst/Makefile.am:
8448         * gst/gst.c:
8449         * gst/gst.h:
8450         * gst/gst_private.h:
8451         * gst/gstelementfactory.c:
8452         * gst/gstindex.c:
8453         * gst/gstinfo.c:
8454         * gst/gstplugin.c:
8455         * gst/gstplugin.h:
8456         * gst/gstpluginfeature.c:
8457         * gst/gstpluginfeature.h:
8458         * gst/gstregistry.c:
8459         * gst/gstregistry.h:
8460         * gst/gstregistrypool.c: remove
8461         * gst/gstregistrypool.h: remove
8462         * gst/gsttypefind.c:
8463         * gst/gsttypefindfactory.c:
8464         * gst/gsturi.c:
8465         * tools/Makefile.am:
8466         * tools/gst-compprep.c:
8467         * tools/gst-inspect.c:
8468         * tools/gst-register.c: remove
8469         * tools/gst-xmlinspect.c:
8470           Registry rewrite.  Changes registry from being a file created
8471           by a tool into a simple cache file created automatically by 
8472           libgstreamer.  Removed gst-register (because it's no longer
8473           needed).  Remove registry pools, because we only have one
8474           registry implementation (XML).  Fix up other subsystems as
8475           necessary.
8476
8477 2005-09-13  Michael Smith <msmith@fluendo.com>
8478
8479         * gst/gstconfig.h.in:
8480           Don't Use windows linking attributes for MinGW. Fixes #316157
8481
8482 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8483
8484         * gst/gstutils.c: (set_state_async_thread_func),
8485         (gst_element_set_state_async):
8486           Apparently people think it's better if this function doesn't
8487           try to set the state to whatever state was asked for on the first
8488           call to this function for any object.  Seriously.
8489
8490 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8491
8492         * check/gst/gstpipeline.c: (GST_START_TEST):
8493         * docs/gst/gstreamer-sections.txt:
8494         * gst/gstutils.c: (set_state_async_thread_func),
8495         (gst_element_set_state_async):
8496         * gst/gstutils.h:
8497           add a "gst_element_set_state_async" method that
8498           sets the state and starts a thread to make sure the state
8499           change completes as best as it can
8500
8501 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8502
8503         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
8504           codify design+behaviour in testsuite after discussion
8505
8506 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8507
8508         * docs/gst/tmpl/gstelement.sgml:
8509         * docs/manual/appendix-quotes.xml:
8510           add a quote
8511         * gst/gstelement.c: (gst_element_set_state):
8512           add some debug
8513
8514 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
8515
8516         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8517         (gst_base_transform_prepare_output_buf),
8518         (gst_base_transform_handle_buffer):
8519         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
8520         (gst_capsfilter_prepare_buf):
8521           Remove the requirement for sub-classes to call the parent
8522           implementation of prepare_output_buffer with a wrapper function.
8523           
8524         * gst/gsttaglist.h:
8525         * gst/gsttagsetter.h:
8526           Fix #define wrapper
8527
8528 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
8529
8530         * docs/gst/gstreamer-sections.txt:
8531           more doc cleanups
8532
8533 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8534
8535         * docs/gst/gstreamer-sections.txt:
8536         * docs/gst/tmpl/gstelement.sgml:
8537         * docs/gst/tmpl/gstplugin.sgml:
8538         * gst/gstminiobject.c:
8539         * gst/gstvalue.h:
8540           docs now stop throwing warnings
8541
8542 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8543
8544         * docs/gst/gstreamer-sections.txt:
8545         * docs/gst/gstreamer.types:
8546         * docs/gst/tmpl/gstpad.sgml:
8547         * docs/gst/tmpl/gsttypes.sgml:
8548         * gst/base/gstadapter.h:
8549         * gst/base/gstbasesink.h:
8550         * gst/base/gstbasesrc.h:
8551         * gst/gstbin.h:
8552         * gst/gstbuffer.h:
8553         * gst/gstbus.h:
8554         * gst/gstcaps.h:
8555         * gst/gstclock.h:
8556         * gst/gstelement.h:
8557         * gst/gstevent.h:
8558         * gst/gstmessage.h:
8559         * gst/gstpad.h:
8560         * gst/gststructure.c:
8561         * gst/registries/gstlibxmlregistry.h:
8562           various documentation fixes
8563
8564 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8565
8566         * docs/gst/gstreamer-sections.txt:
8567         * docs/gst/tmpl/gstvalue.sgml:
8568           rearrange gstvalue section
8569         * gst/gstutils.c: (gst_element_state_get_name):
8570           NONE -> VOID
8571         * gst/gstvalue.c: (_gst_value_initialize):
8572         * gst/gstvalue.h:
8573           doc updates
8574
8575 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
8576
8577         * check/gst-libs/controller.c:
8578           Header include fix.
8579         * gst/base/gstbasetransform.c:
8580         (gst_base_transform_default_prepare_buf),
8581         (gst_base_transform_handle_buffer):
8582         * gst/base/gstbasetransform.h:
8583           Some more basetransform changes and fixes to enable sub-classes
8584           that modify buffer metadata only.
8585         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8586         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
8587         (gst_capsfilter_prepare_buf):
8588           If the output pad has fixed allowed caps and input buffers 
8589           don't have any, set the fixed caps on outgoing buffers.
8590
8591 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
8592         * check/elements/identity.c: (GST_START_TEST):
8593           Make the error a little clearer when the test fails because
8594           identity made a copy of the buffer.
8595         * docs/gst/gstreamer-sections.txt:
8596           New symbols in gstbasetransform.h
8597         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8598         (gst_base_transform_init), (gst_base_transform_transform_size),
8599         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8600         (gst_base_transform_default_prepare_buf),
8601         (gst_base_transform_get_unit_size),
8602         (gst_base_transform_buffer_alloc),
8603         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8604         (gst_base_transform_change_state),
8605         (gst_base_transform_set_passthrough),
8606         (gst_base_transform_set_in_place),
8607         (gst_base_transform_is_in_place):
8608         * gst/base/gstbasetransform.h:
8609           Change BaseTransform to separate in_place operate from same_caps
8610           output. in_place implies that the element can perform the transform
8611           on incoming buffers in-place, even if the caps on the output are
8612           different.
8613           Sub-class elements can now implement special buffer allocation
8614           methods for outgoing buffers if they wish to.
8615           Big documentation addition.
8616         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
8617         * gst/elements/gstelements.c:
8618           Changes for basetransform modifications.
8619         * gst/elements/Makefile.am:
8620         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
8621           Compile fix. Extra debug output.
8622
8623 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8624
8625         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
8626         (gst_pad_suite):
8627           add tests for valid pad naming
8628         * gst/check/gstcheck.c: (gst_check_log_message_func),
8629         (gst_check_log_critical_func):
8630           add ASSERT_WARNING
8631           remove printing of code, it is fragile when the code contains
8632           % and the line number is enough info
8633         * gst/check/gstcheck.h:
8634         * gst/gstpad.c: (gst_pad_template_new):
8635           fix memleaks
8636
8637 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8638
8639         * configure.ac:
8640           say what CHECK flags we use
8641         * docs/libs/gstreamer-libs.types:
8642         * libs/gst/controller/Makefile.am:
8643         * libs/gst/controller/gst-controller.c:
8644         * libs/gst/controller/gst-controller.h:
8645         * libs/gst/controller/gst-helper.c:
8646         * libs/gst/controller/gst-interpolation.c:
8647         * libs/gst/controller/gstcontroller.c:
8648         * libs/gst/controller/gsthelper.c:
8649         * libs/gst/controller/gstinterpolation.c:
8650         * tools/gst-inspect.c: (print_plugin_info):
8651           we don't use dashes in header names
8652
8653 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8654
8655         * check/Makefile.am:
8656         * check/gst/.cvsignore:
8657         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
8658         (gst_pipeline_suite), (main):
8659           adding a test for pipelines and state changes
8660         * gst/gstutils.c: (get_state_func):
8661           add some debugging
8662         * gstreamer.spec.in:
8663           fix up spec file
8664
8665 2005-09-08  Michael Smith <msmith@fluendo.com>
8666
8667         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
8668         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
8669         (gst_file_src_is_seekable), (gst_file_src_get_size),
8670         (gst_file_src_start):
8671         * gst/elements/gstfilesrc.h:
8672           Various fixes for unseekable, unmmapable, and non-normal files, so
8673           that fallback to read() rather than mmap() works.
8674         * gst/gstevent.c: (gst_event_new_newsegment):
8675           Allow newsegment events with segment_start == segment_end, as will
8676           correctly happen if you use filesrc on a zero-size file, for
8677           example.
8678
8679 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
8680
8681         * gst/gstplugin.c: (gst_plugin_load_file):
8682           Call g_module_close when we don't load the module
8683
8684         * gst/registries/gstlibxmlregistry.c:
8685         (gst_xml_registry_get_property):
8686           Port leak fix from 0.8
8687
8688 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
8689
8690         * docs/gst/gstreamer-docs.sgml:
8691         * docs/gst/tmpl/.cvsignore:
8692         * docs/gst/tmpl/gsttrace.sgml:
8693         * docs/gst/tmpl/gsttrashstack.sgml:
8694         * gst/Makefile.am:
8695         * gst/gst.h:
8696         * gst/gstelement.h:
8697         * gst/gstevent.h:
8698         * gst/gstmessage.c:
8699         * gst/gstmessage.h:
8700         * gst/gsttag.c:
8701         * gst/gsttag.h:
8702         * gst/gsttaginterface.c:
8703         * gst/gsttaginterface.h:
8704         * gst/gsttaglist.c:
8705         * gst/gsttaglist.h:
8706         * gst/gsttagsetter.c:
8707         * gst/gsttagsetter.h:
8708         * gst/gsttrace.c:
8709         * gst/gsttrace.h:
8710         * gst/gsttrashstack.c:
8711           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
8712           inlined docs for gsttrace, gsttrashstack
8713
8714 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
8715
8716         * gst/Makefile.am:
8717         * gst/elements/gstbufferstore.h:
8718         * gst/elements/gsttypefindelement.c:
8719         * gst/elements/gsttypefindelement.h:
8720         * gst/gst.h:
8721         * gst/gsttypefind.c:
8722         * gst/gsttypefind.h:
8723         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
8724         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
8725         (gst_type_find_factory_dispose),
8726         (gst_type_find_factory_unload_thyself),
8727         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
8728         (gst_type_find_factory_get_caps),
8729         (gst_type_find_factory_get_extensions),
8730         (gst_type_find_factory_call_function):
8731         * gst/gsttypefindfactory.h:
8732         * gst/registries/gstlibxmlregistry.c:
8733         * gst/registries/gstxmlregistry.c:
8734           splitted gsttypefind into gsttypefind, gsttypefindfactory
8735
8736 2005-09-07  Andy Wingo  <wingo@pobox.com>
8737
8738         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
8739         condition whereby the pad's task function is entered before the
8740         pad_mode variable was set.
8741
8742 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
8743
8744         * gst/gstpad.c: (gst_pad_alloc_buffer):
8745           Catch misbehaving pad_alloc functions that don't
8746           set up caps and do it for them.
8747
8748 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
8749
8750         * check/pipelines/simple_launch_lines.c: (run_pipeline):
8751           test for pipe!=NULL
8752         * docs/gst/tmpl/.cvsignore:
8753         * docs/gst/tmpl/gstmemchunk.sgml:
8754         * docs/gst/tmpl/gstparse.sgml:
8755         * docs/gst/tmpl/gsttaglist.sgml:
8756         * docs/gst/tmpl/gsttagsetter.sgml:
8757         * docs/gst/tmpl/gsttypefind.sgml:
8758         * docs/gst/tmpl/gsttypefindfactory.sgml:
8759         * gst/gstmemchunk.c:
8760         * gst/gstparse.c:
8761         * gst/gsttag.c:
8762         * gst/gsttaginterface.c:
8763         * gst/gsttypefind.c:
8764         * gst/gsttypefind.h:
8765           inlined more docs
8766
8767 === release 0.9.2 ===
8768
8769 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8770
8771         * NEWS:
8772         * RELEASE:
8773         * configure.ac:
8774           releasing 0.9.2, "South"
8775
8776 2005-09-05  Andy Wingo  <wingo@pobox.com>
8777
8778         * gst/registries/gstxmlregistry.h:
8779         * gst/registries/gstxmlregistry.c: Um... resurrect...
8780         
8781         * gst/registries/gstxmlregistry.h:
8782         * gst/registries/gstxmlregistry.c: and update to newer API.
8783         Incidentally they should be a bit faster now that they don't have
8784         to parse the caps.
8785         
8786 2005-09-05  Andy Wingo  <wingo@pobox.com>
8787
8788         * gst/registries/gstxmlregistry.h:
8789         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
8790         replaced by the libxml registry a while back
8791
8792 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8793
8794         * docs/gst/tmpl/gstplugin.sgml:
8795         * gst/elements/gstelements.c:
8796         * gst/gst.c:
8797         * gst/gstplugin.c: (gst_plugin_register_func),
8798         (gst_plugin_desc_copy), (gst_plugin_desc_free),
8799         (gst_plugin_get_source):
8800         * gst/gstplugin.h:
8801         * gst/registries/gstlibxmlregistry.c: (load_plugin),
8802         (gst_xml_registry_save_plugin):
8803         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
8804         (gst_xml_registry_save_plugin):
8805         * tools/gst-inspect.c: (print_plugin_info):
8806           add a "source" plugin description field, to represent the source
8807           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
8808           will set it to PACKAGE, which is automake's idea of the name of
8809           the source project.
8810
8811 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8812
8813         * Makefile.am:
8814         * autogen.sh:
8815         * configure.ac:
8816         * docs/Makefile.am:
8817         * docs/faq/Makefile.am:
8818         * docs/gst/tmpl/gstelement.sgml:
8819         * docs/gst/tmpl/gsttypes.sgml:
8820         * docs/htmlinstall.mak:
8821         * docs/manual/Makefile.am:
8822         * docs/pwg/Makefile.am:
8823           reorganize doc build a little
8824           split out docbook and gtk-doc stuff
8825           have two separate --enable's and enable them through autogen
8826           but disable by default in configure (to be similar to other
8827           projects)
8828         * gstreamer.spec.in:
8829           clean up docs install
8830         * po/af.po:
8831         * po/az.po:
8832         * po/ca.po:
8833         * po/cs.po:
8834         * po/de.po:
8835         * po/en_GB.po:
8836         * po/fr.po:
8837         * po/it.po:
8838         * po/nb.po:
8839         * po/nl.po:
8840         * po/ru.po:
8841         * po/sq.po:
8842         * po/sr.po:
8843         * po/sv.po:
8844         * po/tr.po:
8845         * po/uk.po:
8846         * po/vi.po:
8847           translation updates
8848
8849 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
8850
8851         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
8852           Add comment.
8853           
8854         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
8855         (gst_fake_sink_change_state):
8856           Make state change function thread-safe.
8857           
8858         * gst/gstpad.c: (gst_pad_alloc_buffer):
8859           Set offset on generic buffer allocated by fallback.
8860
8861 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
8862
8863         * docs/gst/gstreamer-sections.txt:
8864         * docs/gst/tmpl/gstelement.sgml:
8865         * gst/gstpad.c:
8866         * libs/gst/controller/gst-controller.c:
8867         (gst_controlled_property_set_interpolation_mode),
8868         (gst_controlled_property_new),
8869         (gst_controller_find_controlled_property):
8870          run the wingo-magic script against the docs
8871
8872 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
8873
8874         * docs/gst/gstreamer-docs.sgml:
8875         * docs/gst/gstreamer-sections.txt:
8876         * docs/gst/tmpl/.cvsignore:
8877         * docs/gst/tmpl/gstelementdetails.sgml:
8878         * docs/gst/tmpl/gstelementfactory.sgml:
8879         * gst/gst.c:
8880         * gst/gstbus.c:
8881         * gst/gstelementfactory.c:
8882         * gst/gstelementfactory.h:
8883           merged elementdetails docs into elementfactory docs
8884           inlined both
8885
8886 2005-09-02  Andy Wingo  <wingo@pobox.com>
8887
8888         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
8889         consider this enum an enum and not a flags.
8890
8891 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
8892
8893         * docs/gst/gstreamer-docs.sgml:
8894         * docs/gst/tmpl/.cvsignore:
8895         * docs/gst/tmpl/gstghostpad.sgml:
8896         * docs/gst/tmpl/gstiterator.sgml:
8897         * docs/gst/tmpl/gstmacros.sgml:
8898         * docs/gst/tmpl/gstrealpad.sgml:
8899         * docs/gst/tmpl/gstregistry.sgml:
8900         * docs/gst/tmpl/gstregistrypool.sgml:
8901         * docs/gst/tmpl/gststructure.sgml:
8902         * docs/gst/tmpl/gstsystemclock.sgml:
8903         * docs/gst/tmpl/gsttrace.sgml:
8904         * gst/gstghostpad.c:
8905         * gst/gstmacros.h:
8906         * gst/gstmemchunk.c:
8907         * gst/gstmemchunk.h:
8908         * gst/gstqueue.c:
8909         * gst/gstregistry.c:
8910         * gst/gstregistrypool.c:
8911         * gst/gststructure.c:
8912         * gst/gstsystemclock.c:
8913           more docs inlined
8914
8915 2005-09-02  Andy Wingo  <wingo@pobox.com>
8916
8917         * gst/gstelement.h (GstState): Renamed from GstElementState,
8918         changed to be a normal enum instead of flags.
8919         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
8920         munged to be GST_STATE_CHANGE_*.
8921         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
8922         work with the new state representation.
8923         (GstStateChange): New enumeration of possible state transitions.
8924         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
8925         (GstElementClass::change_state): Pass the GstStateChange along as
8926         an argument. Helps language bindings, so they don't have to use
8927         tricky lock-needing macros like GST_STATE_CHANGE ().
8928
8929         * scripts/update-states (file): New script. Run it on a file to
8930         update it for state naming and API changes. Updates files in
8931         place.
8932
8933         * All files updated for the new API.
8934
8935 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8936
8937         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
8938         * gst/gstutils.c: (gst_util_set_value_from_string),
8939         (gst_util_set_object_arg):
8940           fix a bunch of unchecked return values
8941         * tools/gst-complete.c: (main):
8942         * gstreamer.spec.in:
8943           clean up a little
8944
8945 2005-09-01  Wim Taymans  <wim@fluendo.com>
8946
8947         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8948         (gst_base_sink_event), (gst_base_sink_do_sync),
8949         (gst_base_sink_handle_event):
8950         * gst/base/gstbasesink.h:
8951         Handle newsegments more correctly.
8952
8953         * gst/gstbus.c:
8954         Fix docs.
8955
8956         * gst/gstevent.c: (gst_event_new_newsegment):
8957         A newsegment cannot have a start_time of -1
8958
8959 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
8960
8961         * win32/gstenumtypes.c:
8962         * win32/gstenumtypes.h:
8963           Update
8964
8965 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
8966
8967         * libs/gst/controller/gst-controller.c:
8968         (gst_controlled_property_set_interpolation_mode),
8969         (gst_controlled_property_new):
8970          fixed boolean again
8971
8972 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
8973
8974         * docs/faq/gst-uninstalled:
8975           add -good
8976         * gst/gstevent.c:
8977         * gst/gstevent.h:
8978           remove wrong docs
8979         * gst/gstutils.c: (gst_element_link_filtered):
8980         * gst/gstutils.h:
8981           add gst_element_link_filtered
8982
8983 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
8984
8985         * docs/gst/gstreamer-docs.sgml:
8986         * docs/gst/gstreamer-sections.txt:
8987         * docs/gst/tmpl/.cvsignore:
8988         * docs/gst/tmpl/gsterror.sgml:
8989         * docs/gst/tmpl/gstfilter.sgml:
8990         * docs/gst/tmpl/gsturihandler.sgml:
8991         * docs/gst/tmpl/gsturitype.sgml:
8992         * docs/gst/tmpl/gstutils.sgml:
8993         * docs/gst/tmpl/gstxml.sgml:
8994         * gst/gsterror.c:
8995         * gst/gsterror.h:
8996         * gst/gstfilter.c:
8997         * gst/gsturi.c:
8998         * gst/gsturitype.c:
8999         * gst/gstutils.c:
9000         * gst/gstxml.c:
9001           inlined more docs, fixed double id-ref
9002
9003 2005-08-31  Wim Taymans  <wim@fluendo.com>
9004
9005         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
9006         (gst_base_transform_handle_buffer):
9007         Passthrough elements don't need the caps as they don't care.
9008
9009 2005-08-31  Wim Taymans  <wim@fluendo.com>
9010
9011         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
9012         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
9013         Don't leak refcounts on buffers.
9014
9015 2005-08-31  Wim Taymans  <wim@fluendo.com>
9016
9017         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
9018         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9019         (gst_base_transform_chain), (gst_base_transform_change_state):
9020         * gst/base/gstbasetransform.h:
9021         Handle the case where we are not negotiated more gracefully.
9022
9023 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
9024
9025         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
9026         (gst_file_src_map_region):
9027           Set READONLY flag on mmap'ed buffers, otherwise
9028           gst_buffer_make_writable() won't work properly (#314708).
9029
9030 2005-08-31  Wim Taymans  <wim@fluendo.com>
9031
9032         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
9033         passthrough elements can even do inplace on non writable
9034         buffers (as they don't touch them).
9035
9036 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
9037
9038         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
9039         (gst_test_mono_source_set_property),
9040         (gst_test_mono_source_class_init), (GST_START_TEST),
9041         (gst_controller_suite):
9042           more tests (hehe I have the most)
9043         * gst/gstbus.c:
9044           describe popping messages whenusing mulltiple sources
9045         * libs/gst/controller/gst-controller.c:
9046         (gst_controlled_property_set_interpolation_mode),
9047         (gst_controlled_property_new):
9048         * libs/gst/controller/gst-controller.h:
9049         * libs/gst/controller/gst-interpolation.c:
9050           implement boolean properties
9051
9052 2005-08-31  Wim Taymans  <wim@fluendo.com>
9053
9054         * gst/gstminiobject.c: (gst_mini_object_ref):
9055         Cannot assert that the refcount has to be positive
9056         since a disposed object can be resurrected.
9057
9058 2005-08-31  Wim Taymans  <wim@fluendo.com>
9059
9060         * gst/gstpad.c: (gst_pad_init):
9061         Revert change, need to first fix badly behaving 
9062         apps.
9063
9064 2005-08-30  Wim Taymans  <wim@fluendo.com>
9065
9066         * check/elements/fakesrc.c: (setup_fakesrc):
9067         * check/elements/identity.c: (setup_identity):
9068         Activate pads before using them.
9069
9070 2005-08-30  Wim Taymans  <wim@fluendo.com>
9071
9072         * gst/base/gstadapter.c: (gst_adapter_flush):
9073         Flushing out 0 bytes is ok for this function.
9074
9075         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9076         no newsegment gives a warning and sets the start/stop to 
9077         invalid.
9078
9079         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
9080         (gst_base_transform_set_passthrough):
9081         Some debug info.
9082
9083         * gst/gstminiobject.c: (gst_mini_object_ref):
9084         Check refcount here too.
9085
9086         * gst/gstpad.c: (gst_pad_init):
9087         Pads are initially flushing and refusing data.
9088
9089         * gst/gstutils.c: (gst_element_link_pads_filtered):
9090         When adding a capsfilter element make sure it has the
9091         same state as the parent bin.
9092
9093 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
9094
9095         * docs/gst/tmpl/.cvsignore:
9096         * docs/gst/tmpl/gstformat.sgml:
9097         * docs/gst/tmpl/gstversion.sgml:
9098         * gst/gstbus.h:
9099         * gst/gstformat.c:
9100         * gst/gstformat.h:
9101         * gst/gstversion.h.in:
9102           more docs and two more inlined
9103
9104 2005-08-30  Wim Taymans  <wim@fluendo.com>
9105
9106         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
9107         Don't sync to clock.
9108
9109 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
9110
9111         * docs/gst/gstreamer-sections.txt:
9112           ultral33t func10ns deserve to appear in the docs actually
9113         * docs/gst/tmpl/.cvsignore:
9114         * docs/gst/tmpl/gstcompat.sgml:
9115         * docs/gst/tmpl/gstconfig.sgml:
9116         * gst/check/gstcheck.c:
9117         * gst/gstcompat.h:
9118         * gst/gstconfig.h.in:
9119           inlined more docs
9120
9121 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
9122
9123         * docs/gst/tmpl/.cvsignore:
9124         * docs/gst/tmpl/gstquery.sgml:
9125         * docs/gst/tmpl/gstutils.sgml:
9126         * gst/gstquery.c:
9127         * gst/gstquery.h:
9128           inlined and extended docs
9129
9130 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
9131
9132         * check/gst-libs/controller.c: (GST_START_TEST),
9133         (gst_controller_suite):
9134           more tests
9135         * docs/gst/tmpl/gstutils.sgml:
9136         * docs/libs/gstreamer-libs-sections.txt:
9137         * docs/libs/tmpl/gstdataprotocol.sgml:
9138           include path fixes
9139         * examples/controller/audio-example.c: (main):
9140           controller example works now
9141         * gst/gstclock.h:
9142           doc fixes
9143         * tools/gst-inspect.c: (print_element_properties_info):
9144           show param spec flags
9145
9146 2005-08-29  Andy Wingo  <wingo@pobox.com>
9147
9148         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
9149
9150 2005-08-28  Andy Wingo  <wingo@pobox.com>
9151
9152         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
9153         as having two arguments instead of just one. Allows superclasses
9154         to access information on subclasses -- see the terrible for() loop
9155         in gtype.c:g_type_create_instance for the reason why. All callers
9156         changed.
9157
9158 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
9159
9160         * docs/design/part-messages.txt:
9161           update info
9162         * docs/gst/tmpl/.cvsignore:
9163         * docs/gst/tmpl/gstcaps.sgml:
9164         * docs/gst/tmpl/gstclock.sgml:
9165         * gst/gstbus.c:
9166         * gst/gstcaps.c:
9167         * gst/gstcaps.h:
9168         * gst/gstclock.c:
9169         * gst/gstclock.h:
9170         * gst/gstmessage.c:
9171           added descriptions for bus and message
9172           inline caps and clock docs
9173
9174 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
9175
9176         * gst/gstmessage.c:
9177         * gst/gstmessage.h:
9178           doc fixes
9179
9180 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
9181
9182         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
9183           fix div-by-zero
9184
9185 2005-08-26  Andy Wingo  <wingo@pobox.com>
9186
9187         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
9188         element_set_state's return val.
9189         (test_2_elements): Add test that's been disabled for months.
9190
9191         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
9192         can-activate-pull properties.
9193
9194         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
9195         can-activate-pull properties. Implement is_seekable so fakesrc can
9196         operate in pull mode.
9197
9198         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
9199         properties.
9200         (gst_base_sink_activate, gst_base_sink_activate_pull)
9201         (gst_base_sink_activate_push): Make activation mode choosing work.
9202         Cleanups.
9203         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
9204         is right. Make pull mode work. Post an eos before pausing in pull
9205         mode.
9206         (gst_base_sink_change_state): Pay attention to the core's
9207         change_state() return val.
9208         
9209         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
9210         has-getrange properties. Cleanups.
9211         
9212         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
9213         has_getrange and replace with can_activate_pull and
9214         can_activate_push.
9215
9216         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
9217         locking comments. Remove has_loop, has_chain and replace with
9218         can_activate_pull and can_activate_push.
9219
9220 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
9221
9222         * configure.ac:
9223         * examples/Makefile.am:
9224         * examples/metadata/Makefile.am:
9225         * examples/metadata/read-metadata.c: (message_loop),
9226         (have_pad_handler), (make_pipeline), (print_tag), (main):
9227           Add metadata reading example that loops over a list of filenames,
9228           dumping any tags found.
9229
9230         * gst/gstbus.c: (gst_bus_dispose):
9231         * gst/gstelement.c: (gst_element_dispose):
9232           Release a few potentially-held references in dispose.
9233
9234 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
9235
9236         * docs/gst/tmpl/gstminiobject.sgml:
9237           do *not* add tmpl/*.sgml files to CVS!
9238
9239 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
9240
9241         * libs/gst/bytestream/.cvsignore:
9242         * libs/gst/bytestream/Makefile.am:
9243         * libs/gst/bytestream/adapter.c:
9244         * libs/gst/bytestream/adapter.h:
9245         * libs/gst/bytestream/bytestream.c:
9246         * libs/gst/bytestream/bytestream.h:
9247         * libs/gst/bytestream/filepad.c:
9248         * libs/gst/bytestream/filepad.h:
9249           removing obsolete files
9250
9251 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
9252
9253         * docs/gst/gstreamer-docs.sgml:
9254         * docs/libs/gstreamer-libs-docs.sgml:
9255           disabed additional index entries again, as this makes docs-gen just
9256           slow and they aren't useful yet
9257         * docs/libs/gstreamer-libs-sections.txt:
9258           little -section.txt cleanup for libs
9259
9260 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
9261
9262         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9263         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
9264           fix up some debugging
9265         (gst_base_transform_get_unit_size),
9266         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9267         (gst_base_transform_handle_buffer):
9268         * gst/base/gstbasetransform.h:
9269           handle and store timed NEWSEGMENT events so that subclasses that
9270           calculate time by counting samples have a segment_start time they
9271           need to add to their timestamps - see audioresample
9272
9273 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
9274
9275         * gst/gstbin.h:
9276           removed ';' from the end of macro defs
9277         * docs/gst/gstreamer-docs.sgml:
9278         * docs/gst/gstreamer-sections.txt:
9279         * docs/gst/tmpl/.cvsignore:
9280         * gst/gstbus.h:
9281         * gst/gstelement.c: (gst_element_class_init),
9282         (gst_element_set_state), (activate_pads),
9283         (gst_element_save_thyself):
9284         * gst/gstevent.c: (gst_event_new_newsegment):
9285         * gst/gstevent.h:
9286         * gst/gstiterator.c:
9287         * gst/gstiterator.h:
9288         * gst/gstpad.c:
9289         * gst/gstprobe.h:
9290         * gst/gstutils.c: (gst_pad_query_convert):
9291         * gst/gstutils.h:
9292           fixed parameter name mismatches between source, header and docs
9293           added some more docs, resolved the last batch of unused elements in
9294           docs (now someone needs to doc them)
9295
9296 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
9297
9298         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
9299         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
9300           don't walk through the plugins backwards.  Where is all this
9301           reversed logic coming from ?
9302
9303 2005-08-25  Wim Taymans  <wim@fluendo.com>
9304
9305         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9306         (gst_base_transform_transform_size),
9307         (gst_base_transform_configure_caps),
9308         (gst_base_transform_get_unit_size),
9309         (gst_base_transform_buffer_alloc),
9310         (gst_base_transform_change_state):
9311         * gst/base/gstbasetransform.h:
9312         Cache caps unit_size.
9313         Make sure we cannot negotiate up and downstream at the
9314         same time.
9315
9316 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
9317
9318         * gst/gst.c: (init_pre), (init_post):
9319           register the installed plugin path after the env var
9320         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
9321         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
9322           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
9323           directories, so the tests can prefer uninstalled over installed
9324
9325 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
9326
9327         * gst/base/gstbasetransform.h:
9328           comment
9329         * gst/gstpad.c:
9330           add to docs
9331
9332 2005-08-25  Wim Taymans  <wim@fluendo.com>
9333
9334         * gst/gstbin.c: (bin_bus_handler):
9335         Be a bit more conservative about the posted message.
9336         
9337         * gst/gstbus.c: (gst_bus_post):
9338         Some cleanups, warn wrong return values.
9339
9340 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
9341
9342         * check/gst/gstbin.c: (GST_START_TEST):
9343         * gst/gstbin.c: (bin_bus_handler):
9344         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
9345         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
9346         (gst_message_new_warning), (gst_message_new_tag),
9347         (gst_message_new_state_changed), (gst_message_new_segment_start),
9348         (gst_message_new_segment_done), (gst_message_new_custom):
9349         * gst/gstmessage.h:
9350         * tools/gst-launch.c: (event_loop):
9351         * tools/gst-md5sum.c: (event_loop):
9352           Revert unpopular change for GST_MESSAGE_SRC to GObject.
9353
9354 2005-08-25  Wim Taymans  <wim@fluendo.com>
9355
9356         * check/generic/states.c: (GST_START_TEST):
9357         Cleanup can be done at the end.
9358
9359         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
9360         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
9361         (gst_task_get_state), (gst_task_start), (gst_task_pause):
9362         Oh boy.. Thanks for finding this, Thomas. 
9363
9364 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
9365
9366         * docs/gst/gstreamer.types:
9367           added missing types
9368
9369 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
9370
9371         * docs/gst/gstreamer-docs.sgml:
9372         * docs/gst/gstreamer-sections.txt:
9373         * docs/gst/tmpl/.cvsignore:
9374         * gst/gstbin.c:
9375         * gst/gstiterator.c:
9376         * gst/gstutils.c:
9377         * gst/registries/gstxmlregistry.h:
9378           added missing classes and symbols (123 more to go)
9379           removed removed symbols from section file
9380           fixed many doc-comments
9381
9382 2005-08-24  Wim Taymans  <wim@fluendo.com>
9383
9384         * check/generic/states.c: (GST_START_TEST):
9385         Make sure all tasks are stopped.
9386
9387         * check/gst/gstbin.c: (GST_START_TEST):
9388         Unref after usage for proper valgrinding.
9389
9390         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
9391         Really wait for the task to stop before destroying the
9392         mutex.
9393
9394         * gst/gstqueue.c: (gst_queue_sink_activate_push),
9395         (gst_queue_src_activate_push):
9396         Small cleanups. Don't stop the task when we did not start
9397         it.
9398
9399         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
9400         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
9401         (gst_task_get_state), (gst_task_start), (gst_task_pause),
9402         (gst_task_join):
9403         * gst/gsttask.h:
9404         Protect the stream lock with the object lock.
9405         Disallow setting the stream lock when running.
9406         Add cleanup_all to wait for the threadpool to finish.
9407         Remove code to autoallocate a mutex if none was provided.
9408         Add _join() to wait for a task to stop.
9409         Protect the thread pool with a global lock.
9410
9411 2005-08-24  Wim Taymans  <wim@fluendo.com>
9412
9413         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9414         (gst_base_sink_get_times), (gst_base_sink_do_sync),
9415         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
9416         * gst/base/gstbasesink.h:
9417         Handle newsegment events correctly.
9418         Drop buffers out of the segment range.
9419
9420 2005-08-22  Andy Wingo  <wingo@pobox.com>
9421
9422         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
9423         macro, implements an interface and gstimplementsinterface for a
9424         new type.
9425
9426 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9427
9428         * check/Makefile.am:
9429         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
9430           add a test that does a bunch of state changes on elements
9431           needs some fixing for valgrind
9432         * check/states/sinks.c: (gst_object_suite):
9433           whitespace
9434         * gst/gstcaps.h:
9435           add prototype for gst_caps_is_equal_fixed
9436         * gst/gstplugin.c:
9437         * gst/gstregistrypool.c:
9438           doc fixes
9439
9440 2005-08-24  Andy Wingo  <wingo@pobox.com>
9441
9442         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
9443         convert a negative value. Doesn't make much sense. Mostly this is
9444         here to force callers to ensure -1 maps to -1.
9445
9446 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
9447
9448         * docs/pwg/advanced-types.xml:
9449           Well done to Michael for catching my deliberate introduction
9450           of this spelling mistake. 
9451         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
9452         * gst/gstelement.h:
9453           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
9454           unlink pads before removing the element from the bin.
9455
9456 2005-08-24  Andy Wingo  <wingo@pobox.com>
9457
9458         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
9459         the same thing as GST_DEBUG=*:4.
9460         (parse_debug_level, parse_debug_category): New helper parsers.
9461
9462 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9463
9464         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9465         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
9466         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
9467         (gst_base_transform_buffer_alloc),
9468         (gst_base_transform_handle_buffer):
9469           use gboolean return values and pointers to size so we can use the
9470           full GST_BUFFER_SIZE range (guint) for buffer sizes
9471           use GstPadDirection for transform_caps
9472         * gst/base/gstbasetransform.h:
9473           rename get_size to get_unit_size since that's what it is
9474         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
9475           use GstPadDirection for transform_caps
9476         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
9477         * gst/gstutils.h:
9478           cleanup and debugging
9479
9480 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
9481
9482         * gst/gstelement.c: (gst_element_class_init),
9483         (gst_element_set_state), (activate_pads),
9484         (gst_element_save_thyself):
9485         * tools/gst-compprep.c: (main):
9486         * tools/gst-inspect.c: (print_element_properties_info):
9487         * tools/gst-xmlinspect.c: (print_element_properties):
9488           Fixed long standing mem-leak
9489
9490 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
9491
9492         * check/gst/gstbin.c: (GST_START_TEST):
9493         * gst/gstbin.c: (bin_bus_handler):
9494         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
9495         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
9496         (gst_message_new_warning), (gst_message_new_tag),
9497         (gst_message_new_state_changed), (gst_message_new_segment_start),
9498         (gst_message_new_segment_done), (gst_message_new_custom):
9499         * gst/gstmessage.h:
9500         * tools/gst-launch.c: (event_loop):
9501         * tools/gst-md5sum.c: (event_loop):
9502           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
9503           that applications can sensibly post custom messages with references
9504           to their own objects.
9505
9506 2005-08-24  Andy Wingo  <wingo@pobox.com>
9507
9508         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
9509         already.
9510
9511 2005-08-24  Wim Taymans  <wim@fluendo.com>
9512
9513         * gst/base/gstbasetransform.c: (gst_base_transform_init),
9514         (gst_base_transform_transform_caps),
9515         (gst_base_transform_transform_size),
9516         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9517         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9518         (gst_base_transform_handle_buffer):
9519         * gst/base/gstbasetransform.h:
9520         Many fixes and new features added by Thomas. Can now also do
9521         transforms with variable sizes and a custom fixate_caps function.
9522
9523 2005-08-24  Wim Taymans  <wim@fluendo.com>
9524
9525         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
9526         Some debugging.
9527
9528         * gst/gstclock.h:
9529         Cast to ClockTime before formatting to time.
9530
9531         * gst/gstutils.h:
9532         Cleanups.
9533
9534 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
9535
9536         * check/gst-libs/controller.c: (GST_START_TEST),
9537         (gst_controller_suite):
9538         * docs/gst/tmpl/gstcaps.sgml:
9539         * docs/gst/tmpl/gstghostpad.sgml:
9540         * docs/gst/tmpl/gstquery.sgml:
9541         * docs/gst/tmpl/gstutils.sgml:
9542         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
9543         (gst_object_sink_values), (gst_object_get_value_arrays),
9544         (gst_object_get_value_array):
9545           gracefully handle helper method calls to objects that are not beeing
9546           controlled, added test case for that          
9547
9548 2005-08-23  Wim Taymans  <wim@fluendo.com>
9549
9550         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
9551         (gst_event_new_newsegment), (gst_event_parse_newsegment),
9552         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
9553         (gst_event_parse_qos), (gst_event_new_seek),
9554         (gst_event_parse_seek):
9555         * gst/gstevent.h:
9556         Some more debugging output and doc cleanups.
9557
9558         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9559         Fix possible deadlock.
9560
9561 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
9562
9563         * docs/gst/gstreamer-docs.sgml:
9564         * docs/gst/gstreamer-sections.txt:
9565         * docs/gst/gstreamer.types:
9566         * docs/gst/tmpl/.cvsignore:
9567         * gst/gstbin.h:
9568         * gst/gstbus.c:
9569         * gst/gstelement.c:
9570         * gst/gstevent.h:
9571           added 100 symbols from gstreamer-unused.txt to the right sections
9572           fixed more broken comments
9573           added GstBus to docs
9574
9575 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
9576
9577         * docs/gst/gstreamer-sections.txt:
9578         * docs/gst/tmpl/.cvsignore:
9579         * docs/gst/tmpl/gstbin.sgml:
9580         * docs/gst/tmpl/gstbuffer.sgml:
9581         * gst/base/gstbasesrc.c:
9582         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
9583         * gst/gstbuffer.c:
9584         * gst/gstbuffer.h:
9585         * tools/gst-launch.1.in:
9586           inlined more doc comments, added missing comments and fixed comments
9587           fixed typos
9588
9589 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9590
9591         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
9592           some debugging
9593         * gst/gstcaps.h:
9594           whitespace fixes
9595         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
9596           more debugging
9597         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
9598         * gst/gststructure.h:
9599           add a fixate function for booleans; add a FIXME that these func
9600           names should probably be gst_structure_fixate_*
9601
9602 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
9603
9604         * docs/gst/gstreamer-docs.sgml:
9605         * docs/gst/gstreamer-sections.txt:
9606         * gst/Makefile.am:
9607         * gst/gstbin.c: (gst_bin_get_type),
9608         (gst_bin_child_proxy_get_child_by_index),
9609         (gst_bin_child_proxy_get_children_count),
9610         (gst_bin_child_proxy_init):
9611         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
9612         (gst_child_proxy_get_child_by_index),
9613         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
9614         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
9615         (gst_child_proxy_get), (gst_child_proxy_set_property),
9616         (gst_child_proxy_set_valist), (gst_child_proxy_set),
9617         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
9618         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
9619         * gst/gstchildproxy.h:
9620         * gst/parse/grammar.y:
9621         * tools/gst-inspect.c: (print_interfaces),
9622         (print_element_properties_info), (print_element_info):
9623           ported gstchildproxy over from 0.8
9624           ported gst-inspect fixes and enhancements over from 0.8
9625
9626 2005-08-22  Wim Taymans  <wim@fluendo.com>
9627
9628         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9629         (gst_base_transform_handle_buffer):
9630         Also call the transform function if we have ANY caps.
9631
9632         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
9633         Fix debug info.
9634
9635 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
9636
9637         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
9638           Don't pretend to handle seek events if the source is not seekable
9639
9640 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
9641
9642         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9643           Remove extra parameter to debug output
9644
9645         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9646         (gst_base_src_do_seek), (gst_base_src_activate_push):
9647           Fix seek event handling.
9648
9649         * gst/gstpipeline.c: (gst_pipeline_change_state):
9650         * gst/gstqueue.c: (gst_queue_handle_sink_event),
9651         (gst_queue_src_activate_push):
9652           Don't start the src pad task on FLUSH_STOP if the pad
9653           isn't linked.
9654           Debug changes.
9655
9656 2005-08-22  Wim Taymans  <wim@fluendo.com>
9657
9658         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9659         Added check for gst_static_caps_get() refcounting.
9660
9661 2005-08-22  Wim Taymans  <wim@fluendo.com>
9662
9663         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
9664         Make _static_caps_get() refcounting sane.
9665         
9666         * gst/gstelement.c: (gst_element_set_state):
9667         Add g_return_val_if_fail() to protect against segfaults.
9668
9669 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
9670
9671         * docs/gst/tmpl/gstevent.sgml:
9672         * gst/gstevent.c:
9673         * gst/gstevent.h:
9674           inlined remaining docs, added missing doc comments
9675
9676 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9677
9678         * check/gst/gstbin.c: (GST_START_TEST):
9679           since we don't know when preroll is done, use refcount range
9680           check for the sink
9681         * gst/check/gstcheck.h:
9682           add macro for checking refcount range
9683
9684 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9685
9686         * check/Makefile.am:
9687           clean up environment for when registry gets built versus
9688           when actual tests are run; valgrind seems to not report
9689           leaks if GST_PLUGIN_PATH is set to some specific values
9690         * check/gst/gstbin.c: (GST_START_TEST):
9691           add more refcounting checks; maybe this exposes a
9692           preroll lock bug ?
9693         * common/check.mak:
9694         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9695         * gst/check/gstcheck.h:
9696         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
9697         (gst_bin_change_state):
9698         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
9699           add/fix debugging/whitespace
9700
9701 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
9702
9703         * check/gst/gstevent.c: (event_probe), (test_event),
9704         (GST_START_TEST):
9705          Er, don't call gst_bin_watch_for_state_change you idiot.
9706
9707 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
9708
9709         * check/Makefile.am:
9710           Use CHECK_CFLAGS and CHECK_LIBS
9711         * check/gst/gstevent.c: (event_probe), (test_event),
9712         (GST_START_TEST):
9713           Don't leak events.
9714         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9715         (gst_base_src_start), (gst_base_src_stop),
9716         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9717         (gst_base_src_change_state):
9718           Sprinkle gst_base_src_stop liberally around error paths to fix
9719           problems reusing a source after failed state changes.
9720         * gst/base/gsttypefindhelper.c: (helper_find_peek),
9721         (helper_find_suggest), (gst_type_find_helper):
9722           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
9723         * gst/gstevent.h:
9724         * docs/gst/tmpl/gstevent.sgml:
9725           Migrate part of the docs from the SGML file. Wait for ensonic to
9726           tell me how I did it wrong ;)
9727         * tools/gst-typefind.c: (main):
9728           Extra robustness to state changes between files.
9729
9730 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9731
9732         * check/Makefile.am:
9733           don't valgrind the controller test - it's leaking - Stefan, HELP
9734         * gst/check/gstcheck.c: (gst_check_message_error),
9735         (gst_check_chain_func), (gst_check_setup_element),
9736         (gst_check_teardown_element), (gst_check_setup_src_pad),
9737         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9738         (gst_check_teardown_sink_pad):
9739         * gst/check/gstcheck.h:
9740           add a bunch of methods to set up elements, and src and sink pads
9741         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
9742         * check/elements/identity.c: (setup_identity), (cleanup_identity),
9743         (GST_START_TEST):
9744           use them
9745         * gst/gstmessage.c:
9746         * gst/gsttag.h:
9747           whitespace/doc fixes
9748
9749 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9750
9751         * gst/gstelement.h:
9752           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
9753           be handled by the application and not always printed as well
9754
9755 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9756
9757         * check/Makefile.am:
9758           set GST_TOOLS_DIR
9759         * gst/check/gstcheck.c: (gst_check_message_error):
9760         * gst/check/gstcheck.h:
9761           add a fail_unless_equals_int
9762           add fail_unless for error messages
9763
9764 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9765
9766         * check/Makefile.am:
9767         * check/gst.supp:
9768         * common/Makefile.am:
9769         * common/check.mak:
9770         * common/gst.supp:
9771           factor out some of the common stuff so we can use it
9772
9773 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9774
9775         * check/Makefile.am:
9776         * check/gst/gstiterator.c: (GST_START_TEST):
9777         * check/gst/gstsystemclock.c: (GST_START_TEST),
9778         (gst_systemclock_suite):
9779         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9780         * gst/gstclock.c:
9781           valgrind more tests
9782
9783 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
9784
9785         * check/elements/.cvsignore:
9786         * check/elements/gstfakesrc.c:
9787           rename to name of element
9788         * check/elements/identity.c: (chain_func), (event_func),
9789         (setup_identity), (cleanup_identity), (GST_START_TEST),
9790         (identity_suite), (main):
9791           add a test for identity
9792         * check/Makefile.am:
9793         * pkgconfig/Makefile.am:
9794         * pkgconfig/gstreamer-check.pc.in:
9795         * pkgconfig/gstreamer-check-uninstalled.pc.in:
9796         * gst/check:
9797         * gst/Makefile.am:
9798         * configure.ac:
9799           move the check stuff to a library that gets installed
9800         * check/gst-libs/controller.c: (GST_START_TEST):
9801         * check/gst-libs/gdp.c:
9802         * check/gst/gst.c: (GST_START_TEST):
9803         * check/gst/gstbin.c:
9804         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9805         * check/gst/gstbus.c:
9806         * check/gst/gstcaps.c: (GST_START_TEST):
9807         * check/gst/gstelement.c:
9808         * check/gst/gstghostpad.c:
9809         * check/gst/gstiterator.c:
9810         * check/gst/gstmessage.c:
9811         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
9812         * check/gst/gstobject.c:
9813         * check/gst/gstpad.c: (GST_START_TEST):
9814         * check/gst/gststructure.c: (GST_START_TEST):
9815         * check/gst/gstsystemclock.c: (GST_START_TEST),
9816         (gst_systemclock_suite):
9817         * check/gst/gsttag.c: (gst_tag_suite):
9818         * check/gst/gstvalue.c:
9819         * check/pipelines/cleanup.c:
9820         * check/pipelines/simple_launch_lines.c:
9821         * check/states/sinks.c:
9822           change include statement
9823
9824         * docs/gst/gstreamer-sections.txt:
9825         * docs/gst/tmpl/gstpad.sgml:
9826           document more pad stuff
9827         * gst/gstminiobject.c: (gst_mini_object_ref),
9828         (gst_mini_object_unref):
9829           debug refcounting
9830
9831 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
9832
9833         * docs/gst/tmpl/gst.sgml:
9834         * gst/gst.c:
9835           eliminate another tmpl file, fix spelling in the long-description
9836
9837 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
9838
9839         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
9840         (test_event), (timediff), (gstevents_suite):
9841           Should fix build on 64-bit arch's
9842
9843 2005-08-18  Andy Wingo  <wingo@pobox.com>
9844
9845         Make sure that when a pipeline goes to PLAYING, that data has
9846         actually hit the sink.
9847
9848         * check/states/sinks.c (test_sink): A sink that doesn't get any
9849         data shouldn't return SUCCESS for going to either PLAYING or
9850         PAUSED. Test also the return values on the way back down.
9851
9852         * gst/gstelement.c (gst_element_set_state): When changing the
9853         state of an element currently changing state asynchronously, go to
9854         lost-state after commiting the pending state. Makes future calls
9855         to get_state continue to return ASYNC.
9856
9857         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
9858         ASYNC when going to PLAYING if we still don't have preroll, as can
9859         happen with live sources.
9860
9861 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
9862
9863         * docs/pwg/advanced-types.xml:
9864           Hack long paragraph into 2 chunks as a workaround for buggy
9865           jadetex version in sid and breezy that loops infinitely and
9866           eats all RAM.
9867
9868 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
9869
9870         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
9871         (test_event), (timediff), (gstevents_suite):
9872           Provide more error margin in clock measurements to allow for 
9873           g_get_current_time inaccuracies.
9874
9875 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
9876
9877         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
9878         (test_event), (timediff), (gstevents_suite):
9879            Fix error message output so I might be able to tell why the
9880            test works here but fails on the build farm.
9881
9882 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
9883
9884         * check/Makefile.am:
9885         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
9886         (test_event), (timediff), (gstevents_suite), (main):
9887           I wrote a test!
9888
9889         * docs/design/part-seeking.txt:
9890           Spelling correction
9891
9892         * docs/gst/tmpl/gstevent.sgml:
9893         * docs/gst/tmpl/gstfakesrc.sgml:
9894           Docs updates.
9895
9896         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9897           Treat a buffer-without-newsegment the same as a receiving 
9898           a newsegment not in time format, and disable syncing to the clock
9899           with a warning.
9900
9901         * gst/gstbus.c: (gst_bus_set_sync_handler):
9902           Assert if anyone tries to replace the existing sync_handler for bus, 
9903           as only the owner should be setting it.
9904
9905         * gst/gstevent.h:
9906           Have a fixed set of custom event enums with events identified by
9907           their structure name (as in 0.8), rather than a free-for-all
9908           allowing collisions between enum values from different plugins.
9909
9910         * gst/gstpad.c: (gst_pad_class_init):
9911           Docs change.
9912           
9913         * gst/gstqueue.c: (gst_queue_handle_sink_event):
9914           Handle out-of-band downstream events from the sending thread.
9915
9916 2005-08-17  Andy Wingo  <wingo@pobox.com>
9917
9918         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
9919         play-timeout==0 to mean no timeout at all. In that case, don't
9920         bother with a get_state or a warning, just return directly, even
9921         if it's ASYNC.
9922
9923         * gst/base/gstbasetransform.c: Debug changes.
9924
9925         * gst/gstutils.h:
9926         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
9927         ensure bins post state change messages. A bit of a hack but I can't
9928         think of a way to avoid it.
9929
9930         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
9931
9932 2005-08-16  Andy Wingo  <wingo@pobox.com>
9933
9934         * gst/base/gstadapter.h:
9935         * gst/base/gstadapter.c (gst_adapter_take): New function, like
9936         peek() but you own the data. Not terribly efficient atm.
9937
9938 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9939
9940         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
9941         (gst_element_found_tags):
9942         * gst/gstutils.h:
9943           Add two utility functions for tag handling.
9944
9945 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9946
9947         * docs/manual/advanced-dataaccess.xml:
9948         * docs/manual/basics-helloworld.xml:
9949           Fix docs to use _bin_add() before _link(), which fixes the examples
9950           with recent core versions (reported by Madhan Raj M
9951           <raj_madan@rediffmail.com>, #313199).
9952
9953 2005-08-16  Wim Taymans  <wim@fluendo.com>
9954
9955         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9956         Added subtract checks.
9957
9958         * docs/design/part-events.txt:
9959         Some more docs about newsegment
9960
9961         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9962         Fix FIXME
9963
9964         * gst/gstcaps.c: (gst_caps_to_string):
9965         Add comments, cleanups.
9966         
9967         * gst/gstelement.c: (gst_element_save_thyself):
9968         cleanups
9969         
9970         * gst/gstvalue.c: (gst_value_collect_int_range),
9971         (gst_string_unwrap), (gst_value_union_int_int_range),
9972         (gst_value_union_int_range_int_range),
9973         (gst_value_intersect_int_int_range),
9974         (gst_value_intersect_int_range_int_range),
9975         (gst_value_intersect_double_double_range),
9976         (gst_value_intersect_double_range_double_range),
9977         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
9978         (gst_value_subtract_int_range_int),
9979         (gst_value_subtract_double_range_double),
9980         (gst_value_subtract_double_range_double_range),
9981         (gst_value_subtract_from_list), (gst_value_subtract_list),
9982         (gst_value_can_compare), (gst_value_compare_fraction):
9983         Cleanups, add comments, remove unneeded asserts.
9984
9985 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9986
9987         * tools/gst-launch.c: (event_loop):
9988           don't convert NULL structures to strings
9989
9990 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
9991
9992         * docs/gst/gstreamer-sections.txt:
9993           made some defines private
9994         * docs/gst/tmpl/gstconfig.sgml:
9995         * docs/gst/tmpl/gstqueue.sgml:
9996         * docs/gst/tmpl/gsttaglist.sgml:
9997         * docs/gst/tmpl/gsttypes.sgml:
9998         * docs/gst/tmpl/gstutils.sgml:
9999         * docs/pwg/appendix-porting.xml:
10000         * gst/base/gstbasesink.h:
10001         * gst/base/gstbasesrc.c:
10002         * gst/base/gstbasesrc.h:
10003         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
10004         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
10005         * gst/gstelement.c: (gst_element_class_init):
10006         * gst/gstpad.c: (gst_pad_class_init):
10007         * gst/gstqueue.c: (gst_queue_class_init):
10008         * gst/gstxml.c: (gst_xml_class_init):
10009           documented all undocumented signal inline
10010         * libs/gst/controller/gst-controller.h:
10011           added padding
10012
10013 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10014
10015         * docs/pwg/appendix-porting.xml:
10016           Document _set_link_function -> _set_setcaps_function.
10017
10018 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10019
10020         * check/Makefile.am:
10021           add a .check target for running the check
10022         * check/gst-libs/controller.c: (GST_START_TEST):
10023           cosmetic fixups
10024         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10025           complete checks for gstbuffer; would be nice if I could get the
10026           gcov stuff to work so I can see if I actually completed gstbuffer.c
10027         * check/gstcheck.h:
10028           add ASSERT_BUFFER_REFCOUNT
10029
10030 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
10031
10032         * docs/gst/gstreamer-sections.txt:
10033         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
10034         * gst/gsttag.h:
10035           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
10036           spew out a warning if a tag that is already registered
10037           is re-registered, unless it is re-registered with a 
10038           different type (#308438).
10039
10040 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
10041
10042         * docs/pwg/appendix-porting.xml:
10043         * docs/pwg/building-state.xml:
10044           Add some paragraphs about state changes in 0.9 to the PWG
10045           and the porting guide, in particular about the new meaning
10046           of GST_STATE_PAUSED and how to write state change functions
10047           with concurrent access by multiple threads in mind.
10048
10049 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
10050
10051         * docs/gst/gstreamer-docs.sgml:
10052         * docs/libs/gstreamer-libs-docs.sgml:
10053           added deprecation and since indexes
10054         * libs/gst/controller/gst-controller.c:
10055         * libs/gst/controller/gst-helper.c:
10056           added since tags
10057
10058
10059 2005-08-11  Wim Taymans  <wim@fluendo.com>
10060
10061         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
10062         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
10063         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
10064         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
10065         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
10066         (gst_ghost_pad_set_target):
10067         Actually implement (re)setting the target on a ghostpad
10068         as described in the docs.
10069
10070 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
10071
10072         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
10073           Check whether GST_DEBUG_NO_COLOR environment variable is
10074           set and disable coloured debug output if that is the case.
10075
10076 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
10077
10078         * gst/base/gsttypefindhelper.c: (helper_find_peek),
10079         (gst_type_find_helper):
10080           The memory returned by gst_type_find_peek() needs to
10081           stay valid until the end of a typefind function, and
10082           typefind functions may keep results from different 
10083           offsets around, so we can't just unref the buffer from
10084           the previous _peek(), but have to save all buffers 
10085           returned by _peek() until typefinding is done and only
10086           free them then.
10087
10088 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
10089
10090         * docs/gst/gstreamer-sections.txt:
10091         * gst/gstutils.h:
10092           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
10093
10094 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10095
10096         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10097           Fix a pretty good memleak.
10098
10099 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
10100
10101         * gst/gstiterator.h:
10102           Fix wrong include and 'make distcheck'.
10103
10104 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10105
10106         * gst/gstbin.c: (bin_bus_handler):
10107           Use gst_element_post_message() instead.
10108
10109 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
10110
10111         * gst/base/gstadapter.h:
10112         * gst/base/gstbasesink.h:
10113         * gst/base/gstbasesrc.h:
10114         * gst/base/gstbasetransform.h:
10115         * gst/base/gstcollectpads.h:
10116         * gst/base/gstpushsrc.h:
10117         * gst/gstiterator.h:
10118           Add padding to our base elements' class and instance structs and
10119           to GstIterator (you will need to rebuild all plugins and apps!)
10120
10121 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10122
10123         * gst/gstbin.c: (bin_bus_handler):
10124           Make default message forwarding from child->bus to bin->bus
10125           threadsafe and make it not emit warnings if the parent has no bus.
10126
10127 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10128
10129         * gst/gstelement.c: (activate_pads):
10130           On paused->ready, set pad->caps to NULL, as is the documented
10131           behaviour in this state change. Fixes playback of series of
10132           media files when visualization is enabled in Totem.
10133
10134 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10135
10136         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10137           Allow NULL as filter-caps (which means "any").
10138
10139 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
10140
10141         * docs/libs/gstreamer-libs-sections.txt:
10142         * libs/gst/controller/gst-controller.c:
10143         * libs/gst/controller/gst-controller.h:
10144         * libs/gst/controller/gst-helper.c:
10145           adding more entries to the docs and fix small doc-bugs
10146
10147 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
10148
10149         * docs/gst/gstreamer-docs.sgml:
10150         * docs/gst/gstreamer-sections.txt:
10151         * docs/gst/gstreamer.types:
10152         * docs/gst/tmpl/gstbasesink.sgml:
10153         * docs/gst/tmpl/gstbasesrc.sgml:
10154         * docs/gst/tmpl/gstbasetransform.sgml:
10155         * docs/gst/tmpl/gstfakesrc.sgml:
10156         * gst/base/gstcollectpads.c:
10157         * gst/base/gstcollectpads.h:
10158         * libs/gst/controller/gst-controller.c:
10159         * libs/gst/controller/gst-controller.h:
10160         * libs/gst/controller/gst-helper.c:
10161         * libs/gst/controller/gst-interpolation.c:
10162         * libs/gst/controller/lib.c:
10163           added long/short desc for controller docs
10164           added collectpads base class docs
10165           added correct includes to base-class docs
10166
10167 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
10168
10169         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
10170         (gst_test_mono_source_set_property),
10171         (gst_test_mono_source_class_init), (GST_START_TEST),
10172         (gst_controller_suite):
10173         * docs/gst/gstreamer-docs.sgml:
10174         * docs/gst/gstreamer-sections.txt:
10175         * docs/gst/gstreamer.types:
10176         * docs/libs/gstreamer-libs-docs.sgml:
10177         * docs/libs/gstreamer-libs-sections.txt:
10178         * gst/base/gstadapter.c:
10179         * libs/gst/controller/gst-controller.c:
10180         (gst_controlled_property_new), (gst_controlled_property_free),
10181         (gst_controller_new_valist),
10182         (gst_controller_remove_properties_valist),
10183         (gst_controller_sink_values), (_gst_controller_finalize):
10184         * libs/gst/controller/gst-controller.h:
10185         * libs/gst/controller/gst-helper.c:
10186         (gst_object_control_properties), (gst_object_uncontrol_properties),
10187         (gst_object_get_controller), (gst_object_set_controller),
10188         (gst_object_sink_values), (gst_object_get_value_arrays),
10189         (gst_object_get_value_array):
10190           more tests (and fixes) for the controller
10191           more docs for the controller
10192           integrated companies docs for the adapter 
10193
10194 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10195
10196         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
10197         (GST_START_TEST), (fakesrc_suite):
10198           add tests for sizetype
10199
10200 2005-08-04  Andy Wingo  <wingo@pobox.com>
10201
10202         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
10203         fixes buffer_alloc proxying among other things.
10204
10205         * gst/base/gstbasetransform.c:
10206         * gst/base/gstbasetransform.h:
10207         Revert patch to gstbasetransform from 7-28 removing
10208         delay_configure.
10209
10210         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
10211         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
10212         Semantics changed, should return not the size of the output buffer
10213         but the byte size of a buffer with a given caps.
10214
10215         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
10216         debug object.
10217         (gst_base_transform_configure_caps): Don't set out_size here: (in,
10218         out) are not the pad caps until setcaps finishes.
10219         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
10220         not-in-place case as well. Deal with changing from in-place to
10221         not-in-place within calling pad_alloc_buffer. Still a bit
10222         concerned about the overhead here...
10223
10224 2005-08-03  Andy Wingo  <wingo@pobox.com>
10225
10226         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
10227         fixating is an error.
10228
10229 2005-08-04  Edward Hervey  <edward@fluendo.com>
10230
10231         * gst/base/gstadapter.h: 
10232         Added gst_adapter_get_type() to the header
10233
10234 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
10235
10236         * check/Makefile.am:
10237         * check/gst-libs/controller.c:
10238         * libs/gst/controller/gst-controller.c:
10239         (gst_controller_new_valist):
10240           added check test suite for the controller
10241         * gst/base/gstpushsrc.c:
10242           fixed a doc typo
10243
10244 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
10245
10246         * docs/gst/Makefile.am:
10247         * docs/gst/gstreamer-docs.sgml:
10248         * docs/gst/gstreamer-sections.txt:
10249         * docs/gst/gstreamer.types:
10250         * docs/gst/tmpl/gstfakesrc.sgml:
10251         * gst/base/README:
10252         * gst/base/gstbasesink.c:
10253         * gst/base/gstbasesink.h:
10254         * gst/base/gstbasesrc.c:
10255         * gst/base/gstbasesrc.h:
10256         * gst/base/gstbasetransform.c:
10257         * gst/base/gstpushsrc.c:
10258         * gst/base/gstpushsrc.h:
10259           add short/long description docs to base classes
10260           add pushsrc to the docs
10261           remove consolidated doc fragments
10262
10263 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
10264
10265         * configure.ac:
10266         * docs/libs/Makefile.am:
10267         * docs/libs/gstreamer-libs-docs.sgml:
10268         * docs/libs/gstreamer-libs-sections.txt:
10269         * docs/libs/gstreamer-libs.types:
10270         * examples/Makefile.am:
10271         * examples/controller/.cvsignore:
10272         * examples/controller/Makefile.am:
10273         * examples/controller/audio-example.c: (main):
10274         * libs/gst/Makefile.am:
10275         * libs/gst/controller/.cvsignore:
10276         * libs/gst/controller/Makefile.am:
10277         * libs/gst/controller/gst-controller.c:
10278         (on_object_controlled_property_changed), (gst_timed_value_compare),
10279         (gst_timed_value_find),
10280         (gst_controlled_property_set_interpolation_mode),
10281         (gst_controlled_property_new), (gst_controlled_property_free),
10282         (gst_controller_find_controlled_property),
10283         (gst_controller_new_valist), (gst_controller_new),
10284         (gst_controller_remove_properties_valist),
10285         (gst_controller_remove_properties), (gst_controller_set),
10286         (gst_controller_set_from_list), (gst_controller_unset),
10287         (gst_controller_get), (gst_controller_get_all),
10288         (gst_controller_sink_values), (gst_controller_get_value_arrays),
10289         (gst_controller_get_value_array),
10290         (gst_controller_set_interpolation_mode),
10291         (_gst_controller_finalize), (_gst_controller_init),
10292         (_gst_controller_class_init), (gst_controller_get_type):
10293         * libs/gst/controller/gst-controller.h:
10294         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
10295         (g_object_uncontrol_properties), (g_object_get_controller),
10296         (g_object_set_controller), (g_object_sink_values),
10297         (g_object_get_value_arrays), (g_object_get_value_array):
10298         * libs/gst/controller/gst-interpolation.c:
10299         (gst_controlled_property_find_timed_value_node),
10300         (interpolate_none_get), (interpolate_trigger_get),
10301         (interpolate_trigger_get_value_array):
10302         * libs/gst/controller/lib.c: (gst_controller_init):
10303         * pkgconfig/Makefile.am:
10304         * pkgconfig/gstreamer-control-uninstalled.pc.in:
10305         * pkgconfig/gstreamer-control.pc.in:
10306         * testsuite/Makefile.am:
10307         * testsuite/controller/.cvsignore:
10308         * testsuite/controller/Makefile.am:
10309         * testsuite/controller/interpolator.c: (main):
10310           added controller code
10311           removed dparam pc files
10312
10313 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
10314         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
10315         (gst_collectpads_stop):
10316           Broadcast the condition when shutting down, to make sure we wake all
10317           threads up. Shut down pads on finalize, for safety.
10318
10319 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
10320         * gst/base/gstbasetransform.c: (gst_base_transform_init),
10321         (gst_base_transform_handle_buffer),
10322         (gst_base_transform_change_state):
10323           Handle PAUSED->READY->PAUSED transition after negotiation
10324           occurred already.
10325         * gst/gstmessage.c: (gst_message_init):
10326           Extra piece of debug for new messages.
10327
10328 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
10329
10330         * configure.ac:
10331         * docs/gst/tmpl/gstbasesrc.sgml:
10332         * docs/gst/tmpl/gstelement.sgml:
10333         * docs/gst/tmpl/gstevent.sgml:
10334         * docs/gst/tmpl/gstfakesrc.sgml:
10335         * docs/gst/tmpl/gstformat.sgml:
10336         * docs/gst/tmpl/gstghostpad.sgml:
10337         * docs/gst/tmpl/gstpad.sgml:
10338         * docs/gst/tmpl/gstquery.sgml:
10339         * docs/gst/tmpl/gststructure.sgml:
10340         * docs/gst/tmpl/gsttaglist.sgml:
10341         * docs/gst/tmpl/gstvalue.sgml:
10342         * docs/libs/gstreamer-libs-docs.sgml:
10343         * docs/libs/gstreamer-libs-sections.txt:
10344         * docs/libs/gstreamer-libs.types:
10345         * libs/gst/Makefile.am:
10346         * libs/gst/control/.cvsignore:
10347         * libs/gst/control/Makefile.am:
10348         * libs/gst/control/control.c:
10349         * libs/gst/control/control.h:
10350         * libs/gst/control/dparam.c:
10351         * libs/gst/control/dparam.h:
10352         * libs/gst/control/dparam_smooth.c:
10353         * libs/gst/control/dparam_smooth.h:
10354         * libs/gst/control/dparamcommon.h:
10355         * libs/gst/control/dparammanager.c:
10356         * libs/gst/control/dparammanager.h:
10357         * libs/gst/control/dplinearinterp.c:
10358         * libs/gst/control/dplinearinterp.h:
10359         * libs/gst/control/unitconvert.c:
10360         * libs/gst/control/unitconvert.h:
10361         * testsuite/Makefile.am:
10362         * testsuite/dynparams/.cvsignore:
10363         * testsuite/dynparams/Makefile.am:
10364         * testsuite/dynparams/dparamstest.c:
10365         * tools/Makefile.am:
10366         * tools/gst-inspect.c: (print_element_info), (main):
10367         * tools/gst-xmlinspect.c: (print_element_info), (main):
10368           deactivate and remove dparams (libgstcontrol)
10369
10370 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
10371
10372         * gst/elements/gsttypefindelement.c:
10373         (gst_type_find_element_have_type), (gst_type_find_element_init),
10374         (stop_typefinding), (gst_type_find_element_handle_event),
10375         (gst_type_find_element_chain), (gst_type_find_element_getrange):
10376         * gst/elements/gsttypefindelement.h:
10377           Set caps on all outgoing buffers, not just the first one.
10378
10379 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
10380
10381         * gst/elements/gsttypefindelement.c:
10382         (gst_type_find_element_have_type),
10383         (gst_type_find_element_check_set_buffer_caps),
10384         (gst_type_find_element_init), (stop_typefinding),
10385         (gst_type_find_element_handle_event),
10386         (gst_type_find_element_chain), (gst_type_find_element_getrange):
10387         * gst/elements/gsttypefindelement.h:
10388           Set caps on first outgoing buffer when we've found the type.
10389
10390 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
10391
10392         * docs/gst/gstreamer-docs.sgml:
10393         * docs/gst/gstreamer-sections.txt:
10394         * docs/gst/tmpl/gstscheduler.sgml:
10395         * docs/gst/tmpl/gstschedulerfactory.sgml:
10396           Remove some old cruft from docs.
10397
10398 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
10399
10400         * gst/gstpad.h:
10401           Fix inline docs for GstPadLinkReturn.
10402           
10403         * gst/gststructure.c: (gst_structure_has_name):
10404         * gst/gststructure.h:
10405         * docs/gst/gstreamer-sections.txt:
10406           New API: gst_structure_has_name().
10407
10408 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
10409
10410         * configure.ac:
10411           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
10412           and _LARGEFILE_SOURCE in config.h as required. Do not 
10413           export those flags in our .pc files any longer (#142209).
10414
10415           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
10416
10417         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
10418         (gst_file_sink_do_seek), (gst_file_sink_event),
10419         (gst_file_sink_get_current_offset), (gst_file_sink_render):
10420           Redo seek/tell calls with large file support in mind; add some
10421           debugging messages; add log message that tells us when large
10422           file support is unavailable or not enabled for some reason.
10423
10424         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
10425           Add log message that tells us when large file support 
10426           is unavailable or not enabled for some reason.
10427
10428 2005-07-29  Wim Taymans  <wim@fluendo.com>
10429
10430         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
10431         Added test for removing an element with ghostpad from a bin.
10432         Fixed test as current implementation does the right thing.
10433
10434         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
10435         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
10436         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
10437         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
10438         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
10439         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
10440         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
10441         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10442         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
10443         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
10444         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
10445         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
10446         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10447         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
10448         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
10449         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10450         * gst/gstghostpad.h:
10451         Clean up ghostpads, remove properties for internal stuff.
10452         Make threadsafe.
10453         Fix refcounting.
10454         Prepare for switching targets, not all use cases work yet.
10455
10456 2005-07-29  Wim Taymans  <wim@fluendo.com>
10457
10458         * docs/design/part-gstghostpad.txt:
10459         Small update.
10460
10461         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
10462         (gst_bin_remove_func):
10463         Unlinking pads while holding the bin LOCK is not a good
10464         idea.
10465
10466         * gst/gstpad.c: (gst_pad_class_init),
10467         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
10468         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
10469         No prob setting template after creating the pad.
10470
10471 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
10472
10473         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
10474         (gst_bus_peek), (gst_bus_source_dispatch),
10475         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
10476         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
10477           gst_bus_poll may be called from other threads. Handle
10478           this nicely by not making poll_data disappear off the
10479           stack once gst_bus_poll returns.
10480           gst_bus_peek now increments the refcount on the returned
10481           message.
10482
10483 2005-07-29  Wim Taymans  <wim@fluendo.com>
10484
10485         * docs/design/part-gstghostpad.txt:
10486         Overview of current GhostPad datastructures and use
10487         cases for changing the target.
10488
10489 2005-07-28  Wim Taymans  <wim@fluendo.com>
10490
10491         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10492         Added checks for hierarchy consistency whan adding linked
10493         elements to bins.
10494
10495         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
10496         Added check to test element scheduling without bin/pipeline.
10497
10498         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
10499         First add elements to bin, then link.
10500         
10501         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
10502         (gst_bin_remove_func):
10503         Unlink pads from elements added/removed from bin to maintain
10504         hierarchy consistency.
10505
10506 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10507
10508         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
10509         (gst_base_transform_handle_buffer):
10510         * gst/base/gstbasetransform.h:
10511           Remove broken delay_configure (fixes renegotiation of software
10512           scaling pipelines); remove some leftover printf()s.
10513
10514 2005-07-28  Wim Taymans  <wim@fluendo.com>
10515
10516         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
10517         Added some more tests for wrong hierarchy
10518
10519         * docs/design/part-overview.txt:
10520         Some updates.
10521
10522         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
10523         Cleanups.
10524
10525         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
10526         (gst_element_dispose):
10527         Some more cleanups.
10528
10529         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10530         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
10531         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
10532         (gst_pad_set_caps), (gst_pad_send_event):
10533         Check for correct hierarchy when linking pads. Moving to
10534         strict requirement for ghostpads when linking elements in
10535         different bins.
10536
10537         * gst/gstpad.h:
10538         Clean ups. Added WRONG_HIERARCHY return value.
10539
10540 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10541
10542         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
10543           Better debug if no transform is possible.
10544
10545 2005-07-27  Wim Taymans  <wim@fluendo.com>
10546
10547         * docs/random/wtay/network-transp:
10548         Some old doc I had.
10549
10550 2005-07-27  Wim Taymans  <wim@fluendo.com>
10551
10552         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10553         (gst_dp_event_from_packet):
10554         Fix serialization of seek events.
10555
10556 2005-07-27  Wim Taymans  <wim@fluendo.com>
10557
10558         * check/gst-libs/gdp.c: (GST_START_TEST):
10559         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10560         Fix compilation and fix event serialization.
10561
10562 2005-07-27  Wim Taymans  <wim@fluendo.com>
10563
10564         * CHANGES-0.9:
10565         * docs/design/part-TODO.txt:
10566         * docs/design/part-events.txt:
10567         Some docs updates
10568
10569         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10570         (gst_base_sink_event), (gst_base_sink_do_sync),
10571         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
10572         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
10573         (gst_base_src_do_seek), (gst_base_src_event_handler),
10574         (gst_base_src_loop):
10575         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
10576         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
10577         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
10578         (gst_base_transform_event), (gst_base_transform_handle_buffer),
10579         (gst_base_transform_set_passthrough),
10580         (gst_base_transform_is_passthrough):
10581         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10582         * gst/elements/gstfilesink.c: (gst_file_sink_event):
10583         Event updates.
10584
10585         * gst/gstbuffer.h:
10586         Use faster casts.
10587
10588         * gst/gstelement.c: (gst_element_seek):
10589         * gst/gstelement.h:
10590         Update gst_element_seek.
10591
10592         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
10593         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
10594         (gst_event_new_flush_start), (gst_event_new_flush_stop),
10595         (gst_event_new_eos), (gst_event_new_newsegment),
10596         (gst_event_parse_newsegment), (gst_event_new_tag),
10597         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
10598         (gst_event_parse_qos), (gst_event_new_seek),
10599         (gst_event_parse_seek), (gst_event_new_navigation):
10600         * gst/gstevent.h:
10601         Make GstEvent use GstStructure. Add parsing code, make sure the
10602         API is sufficiently generic.
10603         Mark possible directions of events and serialization.
10604
10605         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
10606         (_gst_message_copy), (gst_message_new_segment_start),
10607         (gst_message_new_segment_done), (gst_message_new_custom),
10608         (gst_message_parse_segment_start),
10609         (gst_message_parse_segment_done):
10610         Small cleanups.
10611
10612         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
10613         (gst_pad_set_caps), (gst_pad_send_event):
10614         Update for new events. 
10615         Catch events sent in wrong directions.
10616
10617         * gst/gstqueue.c: (gst_queue_link_src),
10618         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10619         (gst_queue_handle_src_query):
10620         Event updates.
10621
10622         * gst/gsttag.c:
10623         * gst/gsttag.h:
10624         Remove event code from this file.
10625
10626         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10627         (gst_dp_event_from_packet):
10628         Event updates.
10629
10630 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10631
10632         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
10633         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
10634         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
10635           Make debugging actually useful.
10636
10637 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10638
10639         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
10640         (gst_pad_fixate_caps):
10641           Implement default fixation once again, so that gst_pad_fixate()
10642           actually does anything at all. This probably needs to be some
10643           sort of a last resort, and use profile-based fixation first, but
10644           since that doesn't exist yet, this is the best we have. Fixes
10645           visualization in Totem.
10646
10647 2005-07-22  Wim Taymans  <wim@fluendo.com>
10648
10649         * docs/design/part-events.txt:
10650         Small update.
10651
10652         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10653         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
10654         (gst_base_sink_activate_pull):
10655         Some more comments.
10656
10657         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
10658         (gst_fake_src_create):
10659         Fix handoff marshall.
10660
10661         * gst/elements/gstidentity.c: (gst_identity_class_init),
10662         (gst_identity_transform_ip):
10663         We're a real inplace element.
10664
10665         * gst/gstbus.c: (gst_bus_post):
10666         Added some comments.
10667
10668         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
10669         * tests/muxing/case1.c: (main):
10670         * tests/sched/dynamic-pipeline.c: (main):
10671         * tests/sched/interrupt1.c: (main):
10672         * tests/sched/interrupt2.c: (main):
10673         * tests/sched/interrupt3.c: (main):
10674         * tests/sched/runxml.c: (main):
10675         * tests/sched/sched-stress.c: (main):
10676         * tests/seeking/seeking1.c: (event_received), (main):
10677         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
10678         (main):
10679         * tests/threadstate/threadstate3.c: (main):
10680         * tests/threadstate/threadstate4.c: (main):
10681         * tests/threadstate/threadstate5.c: (main):
10682         Fix the tests.
10683
10684 2005-07-21  Wim Taymans  <wim@fluendo.com>
10685
10686         * docs/design/part-seeking.txt:
10687         Some small additions.
10688
10689         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10690         (gst_base_sink_get_times), (gst_base_sink_do_sync),
10691         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
10692         * gst/base/gstbasesink.h:
10693         discont values are gint64, handle the math correctly.
10694
10695         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10696         Make the basesrc report error if the source pad is not linked.
10697
10698         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10699         (gst_queue_loop), (gst_queue_handle_src_query),
10700         (gst_queue_src_activate_push):
10701         Make queue collect data even if the srcpad is not linked.
10702         Start pushing out data as soon as it is linked.
10703
10704         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
10705         * gst/gstutils.h:
10706         Added gst_flow_get_name() to ease error reporting.
10707
10708 2005-07-20  Wim Taymans  <wim@fluendo.com>
10709
10710         * gst/gstmessage.c: (gst_message_new_segment_start),
10711         (gst_message_new_segment_done), (gst_message_parse_segment_start),
10712         (gst_message_parse_segment_done):
10713         * gst/gstmessage.h:
10714         Added a bunch of messages for advanced seeking.
10715
10716         * gst/parse/grammar.y:
10717         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
10718         (gst_dpman_state_changed):
10719         Fix some new-pad -> pad-added signals
10720
10721 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10722
10723         * docs/manual/appendix-porting.xml:
10724         * docs/pwg/appendix-porting.xml:
10725           Document new-pad/state-change signal renames and the FixedList
10726           type rename.
10727
10728 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10729
10730         * docs/manual/advanced-autoplugging.xml:
10731         * docs/manual/basics-helloworld.xml:
10732         * docs/manual/basics-pads.xml:
10733         * docs/random/ds/0.9-suggested-changes:
10734         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
10735         * gst/gstelement.h:
10736         * gst/gstevent.h:
10737         * gst/gstformat.h:
10738         * gst/gstquery.h:
10739         * gst/gststructure.c: (gst_structure_value_get_generic_type),
10740         (gst_structure_parse_array), (gst_structure_parse_value):
10741         * gst/gstvalue.c: (gst_type_is_fixed),
10742         (gst_value_list_prepend_value), (gst_value_list_append_value),
10743         (gst_value_list_get_size), (gst_value_list_get_value),
10744         (gst_value_transform_array_string), (gst_value_serialize_array),
10745         (gst_value_deserialize_array), (gst_value_intersect_array),
10746         (gst_value_is_fixed), (_gst_value_initialize):
10747         * gst/gstvalue.h:
10748           GstElement::new-pad -> pad-added, GstElement::state-change ->
10749           state-changed, GstValueFixedList -> GstValueArray, add format and
10750           flags as their own arguments in gst_element_seek() (should improve
10751           "bindeability"), remove function generators since they don't work
10752           under a whole bunch of compilers (they were deprecated already
10753           anyway).
10754
10755 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10756
10757         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
10758         (_gst_debug_register_funcptr):
10759         * gst/gstinfo.h:
10760           Fix illegal cast on some platforms (#309253).
10761
10762 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10763
10764         * gst/gstmessage.c: (gst_message_new_custom):
10765         * gst/gstmessage.h:
10766           Add _new_custom, make _new_application a macro to _new_custom.
10767
10768 2005-07-20  Wim Taymans  <wim@fluendo.com>
10769
10770         * gst/base/gstbasesrc.c: (gst_base_src_init),
10771         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10772         * gst/base/gstbasesrc.h:
10773         Add a gboolean to decide when to push out a discont.
10774
10775         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10776         (gst_queue_loop), (gst_queue_handle_src_query),
10777         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
10778         (gst_queue_set_property), (gst_queue_get_property):
10779         Some cleanups.
10780
10781         * tests/threadstate/threadstate1.c: (main):
10782         Make a thread test compile and run... very silly..
10783
10784
10785 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10786
10787         * docs/manual/appendix-porting.xml:
10788           Mention removal of libgstgconf-0.9.la and existence of gconf
10789           elements.
10790
10791 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10792
10793         * docs/pwg/advanced-clock.xml:
10794         * docs/pwg/appendix-porting.xml:
10795         * docs/pwg/intro-preface.xml:
10796         * docs/pwg/other-base.xml:
10797         * docs/pwg/other-manager.xml:
10798         * docs/pwg/other-nton.xml:
10799         * docs/pwg/other-ntoone.xml:
10800         * docs/pwg/other-oneton.xml:
10801         * docs/pwg/pwg.xml:
10802           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
10803           demuxer), remove n-to-n (was never written), fix some code examples
10804           and links and update the porting section to include all this.
10805
10806 2005-07-19  Wim Taymans  <wim@fluendo.com>
10807
10808         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
10809         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
10810         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
10811         (gst_queue_src_activate_push), (gst_queue_change_state),
10812         (gst_queue_get_property):
10813         * gst/gstqueue.h:
10814         Propagate GstFlowReturn more intelligently upstream and output
10815         an ERROR/EOS when streaming stopped due to fatal error.
10816
10817 2005-07-19  Wim Taymans  <wim@fluendo.com>
10818
10819         * tools/gst-launch.c: (check_intr), (event_loop), (main):
10820         Don't block forever for the state change to complete, the
10821         pipeline already did with a sensible timeout.
10822
10823 2005-07-19  Wim Taymans  <wim@fluendo.com>
10824
10825         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10826         Make sure we never call the create function is we
10827         got deactivated.
10828
10829 2005-07-19  Andy Wingo  <wingo@pobox.com>
10830
10831         * gst/parse/parse.l: Attempt to solve bug #172815.
10832
10833 2005-07-19  Wim Taymans  <wim@fluendo.com>
10834
10835         * docs/design/part-clocks.txt:
10836         * docs/design/part-events.txt:
10837         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
10838         Small docs updates.
10839         Only update the seeking values when we are not
10840         busy streaming.
10841
10842 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
10843
10844         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10845           Oops, ignore the result of gst_pad_push_event here.
10846
10847 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
10848
10849         * gst/base/gstbasesrc.c: (gst_base_src_loop),
10850         (gst_base_src_activate_push):
10851           Send discont event from the loop function, as pads
10852           aren't activated yet in the activate_push handler.
10853
10854         * gst/gstbin.c: (bin_bus_handler):
10855           Don't leak element name.
10856
10857 2005-07-18  Andy Wingo  <wingo@pobox.com>
10858
10859         * configure.ac: Use AS_LIBTOOL_TAGS.
10860
10861 2005-07-18  Wim Taymans  <wim@fluendo.com>
10862
10863         * docs/gst/gstreamer.types:
10864         Remove deleted types.
10865
10866 2005-07-18  Wim Taymans  <wim@fluendo.com>
10867
10868         * check/elements/gstfakesrc.c: (GST_START_TEST):
10869         * configure.ac:
10870         * gst/Makefile.am:
10871         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
10872         (init_popt_callback):
10873         * gst/gst.h:
10874         * gst/gst_private.h:
10875         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
10876         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
10877         * gst/gstbin.h:
10878         * gst/gstbus.h:
10879         * gst/gstconfig.h.in:
10880         * gst/gstelement.c: (gst_element_class_init),
10881         (gst_element_set_base_time), (gst_element_get_base_time),
10882         (iterator_fold_with_resync), (gst_element_change_state),
10883         (gst_element_dispose), (gst_element_get_bus):
10884         * gst/gstelement.h:
10885         * gst/gstelementfactory.h:
10886         * gst/gsterror.c: (_gst_core_errors_init):
10887         * gst/gsterror.h:
10888         * gst/gstevent.h:
10889         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
10890         * gst/gstindex.c:
10891         * gst/gstinfo.c: (_gst_debug_init):
10892         * gst/gstmessage.c: (_gst_message_copy):
10893         * gst/gstmessage.h:
10894         * gst/gstminiobject.h:
10895         * gst/gstobject.c:
10896         * gst/gstobject.h:
10897         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
10898         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
10899         * gst/gstpad.h:
10900         * gst/gstparse.h:
10901         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
10902         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
10903         (gst_pipeline_get_last_stream_time):
10904         * gst/gstpipeline.h:
10905         * gst/gstpluginfeature.h:
10906         * gst/gstquery.h:
10907         * gst/gstscheduler.c:
10908         * gst/gstscheduler.h:
10909         * gst/gststructure.h:
10910         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10911         (gst_task_finalize), (gst_task_func), (gst_task_create),
10912         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
10913         (gst_task_stop), (gst_task_pause):
10914         * gst/gsttask.h:
10915         * gst/gsttypefind.h:
10916         * gst/gsttypes.h:
10917         * gst/registries/gstlibxmlregistry.c: (load_feature),
10918         (gst_xml_registry_load), (gst_xml_registry_save_feature):
10919         * gst/registries/gstxmlregistry.c:
10920         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
10921         * gst/schedulers/threadscheduler.c:
10922         * libs/gst/control/dparammanager.h:
10923         * tools/gst-inspect.c: (print_element_list),
10924         (print_plugin_features), (print_element_features):
10925         * tools/gst-xmlinspect.c: (print_element_list),
10926         (print_plugin_info), (main):
10927         Removed plugable schedulers.
10928         Removed Scheduler/Manager from elements.
10929         Removed gsttypes.h, rearranged includes.
10930         Removed dependency pad<->element, element<>pipeline, and
10931         various others,  fix includes.
10932         implement gst_pad_get_parent() with gst_object_get_parent()
10933         Make GstTask sefcontained.
10934         Fix _get_state() on GstBin, it did not return ASYNC with a 0
10935         timeout.
10936         Fix endless loop in iterator_fold_with_resync.
10937
10938
10939 2005-07-18  Wim Taymans  <wim@fluendo.com>
10940
10941         * gst/Makefile.am:
10942         * gst/gstarch.h:
10943         Remove old file.
10944
10945 2005-07-18  Wim Taymans  <wim@fluendo.com>
10946
10947         * gst/Makefile.am:
10948         No more cothreads.h
10949
10950 2005-07-18  Wim Taymans  <wim@fluendo.com>
10951
10952         * gst/cothreads.c:
10953         * gst/cothreads.h:
10954         Let's remove these.
10955
10956 2005-07-18  Wim Taymans  <wim@fluendo.com>
10957
10958         * docs/design/part-dynamic.txt:
10959         * docs/design/part-events.txt:
10960         * docs/design/part-seeking.txt:
10961         Some more docs in the works.
10962
10963         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
10964         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
10965         (gst_base_transform_setcaps), (gst_base_transform_get_size),
10966         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
10967         (gst_base_transform_handle_buffer),
10968         (gst_base_transform_sink_activate_push),
10969         (gst_base_transform_src_activate_pull),
10970         (gst_base_transform_set_passthrough),
10971         (gst_base_transform_is_passthrough):
10972         Refcounting fixes.
10973
10974         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
10975         Cleanups.
10976
10977         * gst/gstevent.c: (gst_event_finalize):
10978         Set SRC to NULL.
10979
10980         * gst/gstutils.c: (gst_element_unlink),
10981         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
10982         (gst_pad_proxy_setcaps):
10983         * gst/gstutils.h:
10984         Add _get_parent_element() to get a pads parent as an element.
10985
10986 2005-07-18  Wim Taymans  <wim@fluendo.com>
10987
10988         * check/gst/gstbin.c: (GST_START_TEST):
10989         Remove bogus test.
10990
10991 2005-07-18  Wim Taymans  <wim@fluendo.com>
10992
10993         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
10994         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
10995         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10996         (gst_base_sink_event), (gst_base_sink_do_sync),
10997         (gst_base_sink_chain), (gst_base_sink_loop),
10998         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
10999         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
11000         Refcounting fixes.
11001         Fix logic for returning ASYNC when not prerolled.
11002
11003 2005-07-18  Wim Taymans  <wim@fluendo.com>
11004
11005         * gst/gstqueue.c: (gst_queue_handle_sink_event):
11006         Fix nasty refcount bug.
11007
11008 2005-07-16 Philippe Khalaf <burger@speedy.org>
11009
11010         * gst/elements/gstfdsrc.c:
11011         * gst/elements/gstfdsrc.h:
11012         * gst/elements/gstelements.c:
11013         * gst/elements/Makefile.am:
11014         Ported fdsrc to 0.9.
11015
11016 2005-07-16  Wim Taymans  <wim@fluendo.com>
11017
11018         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11019         (gst_base_sink_do_sync):
11020         Fix compile error.
11021
11022 2005-07-16  Wim Taymans  <wim@fluendo.com>
11023
11024         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11025         (gst_base_sink_event), (gst_base_sink_get_times),
11026         (gst_base_sink_do_sync), (gst_base_sink_change_state):
11027         * gst/base/gstbasesink.h:
11028         Store and use discont values when syncing buffers as described
11029         in design docs.
11030         
11031         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
11032         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
11033         (gst_base_src_activate_push):
11034         Push discont event when starting.
11035
11036         * gst/elements/gstidentity.c: (gst_identity_transform):
11037         Small cleanups.
11038
11039         * gst/gstbin.c: (gst_bin_change_state):
11040         Small cleanups in base_time  distribution.
11041
11042         * gst/gstelement.c: (gst_element_set_base_time),
11043         (gst_element_get_base_time), (gst_element_change_state):
11044         * gst/gstelement.h:
11045         Added methods for the base_time of the element.
11046         Some MT fixes.
11047
11048         * gst/gstpipeline.c: (gst_pipeline_send_event),
11049         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
11050         (gst_pipeline_get_last_stream_time):
11051         * gst/gstpipeline.h:
11052         MT fixes.
11053         Handle seeking as described in design doc, remove stream_time
11054         hack.
11055         Cleanups clock and stream_time selection code. Added accessors
11056         for the stream_time.
11057         
11058
11059 2005-07-16  Andy Wingo  <wingo@pobox.com>
11060
11061         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
11062         (#305291).
11063
11064 2005-07-16  Wim Taymans  <wim@fluendo.com>
11065
11066         * check/gst/gstbin.c: (GST_START_TEST):
11067         Make elements silent as the deep_notify refs the
11068         parent, which might make the test fail.
11069
11070         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
11071         Don't hold the lock for too long.
11072
11073 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
11074
11075         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11076           Don't unref the caps we passed to gst_caps_make_writable() after
11077           passing them. gst_caps_make_writable() will do that for us.
11078
11079 2005-07-15  Andy Wingo  <wingo@pobox.com>
11080
11081         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
11082         (#157311).
11083
11084         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
11085         own marshalling function for the handoff signal. Properly type the
11086         buffer as a buffer. Fixes some warnings. Should do a more general
11087         solution.
11088         (gst_identity_class_init): Plug into the right marshaller.
11089
11090 2005-07-15  Wim Taymans  <wim@fluendo.com>
11091
11092         * docs/design/part-TODO.txt:
11093         * docs/design/part-clocks.txt:
11094         * docs/design/part-element-sink.txt:
11095         * docs/design/part-events.txt:
11096         * docs/design/part-gstpipeline.txt:
11097         Updated docs, mostly DISCONT related.
11098
11099 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
11100
11101         * docs/pwg/building-pads.xml:
11102           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
11103
11104 2005-07-15  Andy Wingo  <wingo@pobox.com>
11105
11106         * tools/gst-typefind.c: Update, add copyright block.
11107
11108         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
11109         Normalize and truncate caps before fixation.
11110
11111         * gst/gstcaps.h:
11112         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
11113         discards all but the first structure from its argument.
11114
11115 2005-07-15  Wim Taymans  <wim@fluendo.com>
11116
11117         * gst/base/gstbasetransform.c: (gst_base_transform_init),
11118         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
11119         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11120         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
11121         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
11122         (gst_base_transform_chain), (gst_base_transform_change_state),
11123         (gst_base_transform_set_passthrough),
11124         (gst_base_transform_is_passthrough):
11125         * gst/base/gstbasetransform.h:
11126         Make passthrough work using the bufferpools.
11127         Changed API a bit, subclasses have to write into a buffer
11128         provided by the base class.
11129         More debug info in nego functions.
11130         
11131         * gst/elements/gstidentity.c: (gst_identity_init),
11132         (gst_identity_transform):
11133         Port to new base class.
11134
11135 2005-07-15  Wim Taymans  <wim@fluendo.com>
11136
11137         * gst/gstmessage.c: (gst_message_new_state_changed):
11138         * tools/gst-launch.c: (event_loop), (main):
11139         Totally dump messages in -launch with the -m option.
11140         Fix message name for State messages,
11141
11142 2005-07-14  Wim Taymans  <wim@fluendo.com>
11143
11144         * gst/base/gstbasesrc.c: (gst_base_src_loop):
11145         Post error messages on errors.
11146
11147 2005-07-14  Wim Taymans  <wim@fluendo.com>
11148
11149         * gst/gstcaps.c: (gst_caps_do_simplify):
11150         Remove debug info.
11151
11152         * gst/gsterror.h:
11153         Define error for stream stopped.
11154
11155         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
11156         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
11157         Do proper return values.
11158
11159         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
11160         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
11161         (gst_pad_get_range):
11162         Better return values.
11163
11164         * gst/gstpad.h:
11165         Reorganise return values, add macro to check for fatal errors.
11166
11167         * gst/gstqueue.c: (gst_queue_chain):
11168         Return proper GstFlowReturn values,
11169
11170 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
11171
11172         * docs/gst/gstreamer-sections.txt:
11173         * docs/gst/gstreamer.types:
11174         * docs/gst/tmpl/gst.sgml:
11175         * docs/gst/tmpl/gstbasesink.sgml:
11176         * docs/gst/tmpl/gstbasesrc.sgml:
11177         * docs/gst/tmpl/gstbasetransform.sgml:
11178         * docs/gst/tmpl/gstbin.sgml:
11179         * docs/gst/tmpl/gstbuffer.sgml:
11180         * docs/gst/tmpl/gstcaps.sgml:
11181         * docs/gst/tmpl/gstclock.sgml:
11182         * docs/gst/tmpl/gstcompat.sgml:
11183         * docs/gst/tmpl/gstconfig.sgml:
11184         * docs/gst/tmpl/gstelement.sgml:
11185         * docs/gst/tmpl/gstelementdetails.sgml:
11186         * docs/gst/tmpl/gstelementfactory.sgml:
11187         * docs/gst/tmpl/gstenumtypes.sgml:
11188         * docs/gst/tmpl/gsterror.sgml:
11189         * docs/gst/tmpl/gstevent.sgml:
11190         * docs/gst/tmpl/gstfakesink.sgml:
11191         * docs/gst/tmpl/gstfakesrc.sgml:
11192         * docs/gst/tmpl/gstfilesink.sgml:
11193         * docs/gst/tmpl/gstfilesrc.sgml:
11194         * docs/gst/tmpl/gstfilter.sgml:
11195         * docs/gst/tmpl/gstformat.sgml:
11196         * docs/gst/tmpl/gstghostpad.sgml:
11197         * docs/gst/tmpl/gstimplementsinterface.sgml:
11198         * docs/gst/tmpl/gstindex.sgml:
11199         * docs/gst/tmpl/gstindexfactory.sgml:
11200         * docs/gst/tmpl/gstinfo.sgml:
11201         * docs/gst/tmpl/gstiterator.sgml:
11202         * docs/gst/tmpl/gstmacros.sgml:
11203         * docs/gst/tmpl/gstmemchunk.sgml:
11204         * docs/gst/tmpl/gstminiobject.sgml:
11205         * docs/gst/tmpl/gstobject.sgml:
11206         * docs/gst/tmpl/gstpad.sgml:
11207         * docs/gst/tmpl/gstpadtemplate.sgml:
11208         * docs/gst/tmpl/gstparse.sgml:
11209         * docs/gst/tmpl/gstpipeline.sgml:
11210         * docs/gst/tmpl/gstplugin.sgml:
11211         * docs/gst/tmpl/gstpluginfeature.sgml:
11212         * docs/gst/tmpl/gstquery.sgml:
11213         * docs/gst/tmpl/gstqueue.sgml:
11214         * docs/gst/tmpl/gstregistry.sgml:
11215         * docs/gst/tmpl/gstregistrypool.sgml:
11216         * docs/gst/tmpl/gstscheduler.sgml:
11217         * docs/gst/tmpl/gstschedulerfactory.sgml:
11218         * docs/gst/tmpl/gststructure.sgml:
11219         * docs/gst/tmpl/gstsystemclock.sgml:
11220         * docs/gst/tmpl/gsttaglist.sgml:
11221         * docs/gst/tmpl/gsttagsetter.sgml:
11222         * docs/gst/tmpl/gsttrace.sgml:
11223         * docs/gst/tmpl/gsttrashstack.sgml:
11224         * docs/gst/tmpl/gsttypefind.sgml:
11225         * docs/gst/tmpl/gsttypefindfactory.sgml:
11226         * docs/gst/tmpl/gsttypes.sgml:
11227         * docs/gst/tmpl/gsturihandler.sgml:
11228         * docs/gst/tmpl/gsturitype.sgml:
11229         * docs/gst/tmpl/gstutils.sgml:
11230         * docs/gst/tmpl/gstvalue.sgml:
11231         * docs/gst/tmpl/gstversion.sgml:
11232         * docs/gst/tmpl/gstxml.sgml:
11233         * docs/libs/tmpl/gstcontrol.sgml:
11234         * docs/libs/tmpl/gstdataprotocol.sgml:
11235         * docs/libs/tmpl/gstdparam.sgml:
11236         * docs/libs/tmpl/gstdplinint.sgml:
11237         * docs/libs/tmpl/gstdpman.sgml:
11238         * docs/libs/tmpl/gstdpsmooth.sgml:
11239         * docs/libs/tmpl/gstgetbits.sgml:
11240         * docs/libs/tmpl/gstunitconvert.sgml:
11241         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
11242         (gst_push_src_base_init), (gst_push_src_class_init),
11243         (gst_push_src_init), (gst_push_src_create):
11244         * gst/base/gstpushsrc.h:
11245         * gst/elements/gstelements.c:
11246         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
11247         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
11248         (gst_fake_sink_init), (gst_fake_sink_set_property),
11249         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
11250         (gst_fake_sink_event), (gst_fake_sink_preroll),
11251         (gst_fake_sink_render), (gst_fake_sink_change_state):
11252         * gst/elements/gstfakesink.h:
11253         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11254         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11255         (gst_fake_src_base_init), (gst_fake_src_class_init),
11256         (gst_fake_src_init), (gst_fake_src_event_handler),
11257         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
11258         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
11259         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
11260         (gst_fake_src_create_buffer), (gst_fake_src_create),
11261         (gst_fake_src_start), (gst_fake_src_stop):
11262         * gst/elements/gstfakesrc.h:
11263         * gst/elements/gstfilesink.c: (_do_init),
11264         (gst_file_sink_base_init), (gst_file_sink_class_init),
11265         (gst_file_sink_init), (gst_file_sink_dispose),
11266         (gst_file_sink_set_location), (gst_file_sink_set_property),
11267         (gst_file_sink_get_property), (gst_file_sink_open_file),
11268         (gst_file_sink_close_file), (gst_file_sink_query),
11269         (gst_file_sink_event), (gst_file_sink_render),
11270         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
11271         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
11272         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
11273         * gst/elements/gstfilesink.h:
11274         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
11275         (gst_file_src_class_init), (gst_file_src_init),
11276         (gst_file_src_finalize), (gst_file_src_set_location),
11277         (gst_file_src_set_property), (gst_file_src_get_property),
11278         (gst_file_src_map_region), (gst_file_src_map_small_region),
11279         (gst_file_src_create_mmap), (gst_file_src_create_read),
11280         (gst_file_src_create), (gst_file_src_is_seekable),
11281         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
11282         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
11283         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
11284         (gst_file_src_uri_handler_init):
11285         * gst/elements/gstfilesrc.h:
11286           more autistic cleanliness in functions/names/defines
11287
11288 2005-07-13  Andy Wingo  <wingo@pobox.com>
11289
11290         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
11291         source couldn't negotiate.
11292
11293         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
11294         connections again.
11295
11296         * gst/gstutils.h:
11297         * gst/gstutils.c (gst_element_link_pads_filtered): New old
11298         function. I am channeling Hades. Put your boots on suckers!!!
11299
11300 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11301
11302         * testsuite/caps/Makefile.am:
11303         * testsuite/caps/value_compare.c:
11304         * testsuite/caps/value_intersect.c:
11305         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11306           move two testsuite apps over to the check dir
11307
11308 2005-07-12  Wim Taymans  <wim@fluendo.com>
11309
11310         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11311         Added more debug info in the negotiate process.
11312
11313         * gst/gstmessage.h:
11314         Prepare for segment playback.
11315
11316         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
11317         Better debugging.
11318
11319         * gst/gstutils.c:
11320         Some more docs.
11321
11322         * tools/gst-launch.c: (main):
11323         NULL pipeline on errors.
11324
11325 2005-07-12  Andy Wingo  <wingo@pobox.com>
11326
11327         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
11328         not it comes from a malloc region. Make sure our copy gets freed.
11329
11330 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11331
11332         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11333         * check/gst/gstmessage.c: (GST_START_TEST):
11334         * check/gst/gststructure.c: (GST_START_TEST),
11335         (gst_structure_suite), (main):
11336           more testing
11337         * gst/gstelement.c: (gst_element_message_full):
11338           clean up GError and debug string now that they get copied
11339         * gst/gstmessage.c: (gst_message_new_error),
11340         (gst_message_new_warning), (gst_message_parse_error),
11341         (gst_message_parse_warning):
11342           use GST_TYPE_G_ERROR for structure_new, and take copies of
11343           arguments, so that we don't mess up refcounting
11344
11345 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11346
11347         * check/Makefile.am:
11348           add per-test valgrind targets
11349         * check/gst-libs/gdp.c: (GST_START_TEST),
11350         (gst_data_protocol_suite), (main):
11351           clean up
11352
11353 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11354
11355         * check/Makefile.am:
11356           instate more valgrindable tests
11357         * check/elements/gstfakesrc.c: (chain_func), (event_func),
11358         (GST_START_TEST), (fakesrc_suite):
11359         * check/gst/gstpad.c: (GST_START_TEST):
11360         * check/gst/gststructure.c: (GST_START_TEST):
11361           fix test leaks
11362         * docs/gst/tmpl/gstminiobject.sgml:
11363         * gst/gstpad.c: (gst_pad_finalize):
11364           fix the static mutex leak
11365
11366 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11367
11368         * check/Makefile.am:
11369           add two more tests for valgrinding
11370         * check/gst/gstvalue.c: (GST_START_TEST):
11371           test refcount of deserialized buffer, found a leak
11372         * docs/gst/gstreamer-docs.sgml:
11373         * docs/gst/gstreamer-sections.txt:
11374         * docs/gst/gstreamer.types:
11375         * docs/gst/tmpl/gstminiobject.sgml:
11376           add miniobject to docs
11377         * gst/gstminiobject.c:
11378           add some docs
11379         * gst/gstvalue.c: (gst_value_deserialize_buffer),
11380         (gst_string_unwrap):
11381           fix a hard-to-find invalid write for one of the tests
11382           fix a leak for deserialized buffers
11383
11384 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11385
11386         * docs/pwg/advanced-events.xml:
11387         * docs/pwg/advanced-request.xml:
11388         * docs/pwg/advanced-scheduling.xml:
11389         * docs/pwg/appendix-porting.xml:
11390         * docs/pwg/building-boiler.xml:
11391         * docs/pwg/intro-preface.xml:
11392         * docs/pwg/other-ntoone.xml:
11393           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
11394           of example code and explanation for pad activation, loop() and
11395           getrange() functions and a bit more. Remove old comments pointing
11396           to loop-functions.
11397         * examples/pwg/Makefile.am:
11398           Add loop/getrange examples.
11399
11400 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11401
11402         * configure.ac:
11403           check for valgrind binary + some fixes
11404         * check/gst.supp:
11405           valgrind suppressions for the tests
11406         * check/Makefile.am:
11407           add a valgrind: target that valgrinds the unit tests
11408         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
11409         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
11410         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11411         * check/gst/gstghostpad.c:
11412           added some cleanup
11413         * check/gst/gstdata.c:
11414           removed
11415         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
11416         (thread_unref), (gst_mini_object_suite), (main):
11417           added
11418         * gst/gst.c: (gst_deinit):
11419         * gst/gst.h:
11420           add a method to clean up.
11421         * gst/gstsystemclock.c: (gst_system_clock_dispose),
11422         (gst_system_clock_obtain):
11423           allow for disposing the system clock.
11424         * tools/gst-launch.c: (main):
11425           deinit
11426
11427 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11428
11429         * docs/gst/tmpl/gstbasesrc.sgml:
11430         * docs/gst/tmpl/gstfakesrc.sgml:
11431         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11432         (gst_base_src_init), (gst_base_src_set_property),
11433         (gst_base_src_get_property), (gst_base_src_get_range),
11434         (gst_base_src_start):
11435         * gst/base/gstbasesrc.h:
11436           add num-buffers property
11437         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11438         (gst_fakesrc_init), (gst_fakesrc_set_property),
11439         (gst_fakesrc_get_property), (gst_fakesrc_create),
11440         (gst_fakesrc_start):
11441           remove num-buffers property
11442
11443 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11444
11445         * docs/gst/gstreamer-sections.txt:
11446         * docs/gst/tmpl/gstbasesink.sgml:
11447         * docs/gst/tmpl/gstbasesrc.sgml:
11448         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
11449         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
11450         (gst_base_sink_finalize), (gst_base_sink_set_clock),
11451         (gst_base_sink_set_property), (gst_base_sink_get_property),
11452         (gst_base_sink_handle_object), (gst_base_sink_event),
11453         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11454         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
11455         (gst_base_sink_loop), (gst_base_sink_deactivate),
11456         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
11457         (gst_base_sink_change_state):
11458         * gst/base/gstbasesink.h:
11459         * gst/base/gstbasesrc.h:
11460         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
11461         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11462         (gst_filesink_init):
11463           more macro splitting
11464
11465 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11466
11467         * gst/gstelement.c: (gst_element_get_bus):
11468           add debug
11469         * tools/gst-launch.c: (check_intr), (event_loop):
11470           fix bus leaks
11471
11472 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11473
11474         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11475           fix a caps leak
11476
11477 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11478
11479         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11480         (gst_base_src_finalize):
11481           add finalize method and clean up properly
11482         * gst/gstpipeline.c: (gst_pipeline_dispose):
11483           add debug
11484
11485 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11486
11487         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
11488         (gst_bin_suite):
11489           add more things to check
11490         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
11491         * gst/gstelement.c:
11492           more debug
11493
11494 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11495
11496         * check/elements/gstfakesrc.c: (chain_func), (event_func),
11497         (GST_START_TEST), (fakesrc_suite):
11498         * check/gst-libs/gdp.c: (GST_START_TEST):
11499         * check/gst/gst.c: (GST_START_TEST):
11500         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11501         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11502         * check/gst/gstbus.c: (GST_START_TEST):
11503         * check/gst/gstcaps.c: (GST_START_TEST):
11504         * check/gst/gstdata.c: (GST_START_TEST):
11505         * check/gst/gstelement.c: (GST_START_TEST):
11506         * check/gst/gstghostpad.c: (GST_START_TEST):
11507         * check/gst/gstiterator.c: (GST_START_TEST):
11508         * check/gst/gstmessage.c: (GST_START_TEST):
11509         * check/gst/gstobject.c: (GST_START_TEST):
11510         * check/gst/gstpad.c: (GST_START_TEST):
11511         * check/gst/gststructure.c: (GST_START_TEST):
11512         * check/gst/gstsystemclock.c: (GST_START_TEST),
11513         (gst_systemclock_suite):
11514         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11515         * check/gst/gstvalue.c: (GST_START_TEST):
11516         * check/pipelines/cleanup.c: (GST_START_TEST):
11517         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11518         * check/states/sinks.c: (GST_START_TEST):
11519         * check/gstcheck.c: (gst_check_init):
11520         * check/gstcheck.h:
11521           add debugging category
11522           use GST_START_TEST now, so we add a debug line
11523
11524 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11525
11526         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
11527           add test for state change message on a bin
11528         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
11529           add another test
11530         * gst/gstbin.c: (gst_bin_init):
11531         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
11532         * gst/gstelement.c: (gst_element_post_message),
11533         (gst_element_set_state):
11534         * gst/gstelementfactory.c: (gst_element_factory_create):
11535         * gst/gstmessage.c: (gst_message_new):
11536         * gst/gstscheduler.c:
11537           various debugging additions and cleanups
11538
11539 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11540
11541         * check/Makefile.am:
11542         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
11543         (main):
11544           adding tests for elements
11545         * gst/gstelement.c: (gst_element_dispose):
11546
11547 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11548
11549         * gst/registries/gstlibxmlregistry.c: (load_feature):
11550           plug more leaks.  A simple gst_init() now is leakfree, yay.
11551
11552 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11553
11554         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
11555         (gst_xml_registry_load):
11556           plug another memleak
11557
11558 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11559
11560         * configure.ac:
11561           use GST_SET_ERROR_CFLAGS
11562         * docs/faq/cvs.xml:
11563           change to ERROR_CFLAGS
11564
11565 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11566
11567         * configure.ac:
11568           make GST_ERROR_CFLAGS overridable and re-enable Werror
11569         * docs/faq/cvs.xml:
11570           add a note about error CFLAGS
11571         * docs/gst/tmpl/gstfakesrc.sgml:
11572         * gst/elements/gstfakesrc.c:
11573           comment out some unused code
11574         * gst/gst.c: (split_and_iterate):
11575         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
11576         (load_feature):
11577           plug some memleaks
11578
11579 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11580
11581         * common/Makefile.am:
11582         * common/gtk-doc.mak:
11583         * docs/gst/Makefile.am:
11584           factor out gtk-doc.mak
11585
11586 2005-07-07  Wim Taymans  <wim@fluendo.com>
11587
11588         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
11589         (gst_thread_scheduler_dispose):
11590         Unlock the STREAM_LOCK completely.
11591
11592 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11593
11594         * check/Makefile.am:
11595         * check/elements/.cvsignore:
11596         * check/elements/gstfakesrc.c: (chain_func), (event_func),
11597         (START_TEST), (fakesrc_suite), (main):
11598         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11599         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11600         (gst_fakesrc_create), (gst_fakesrc_start):
11601         * gst/elements/gstfakesrc.h:
11602           adding a first element test
11603
11604 2005-07-07  Andy Wingo  <wingo@pobox.com>
11605
11606         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
11607         debug message.
11608
11609 2005-07-07  Wim Taymans  <wim@fluendo.com>
11610
11611         * gst/gstquery.c:
11612         * gst/gstquery.h:
11613         Remove old types
11614
11615 2005-07-07  Wim Taymans  <wim@fluendo.com>
11616
11617         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
11618         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
11619         Allow subclasses to implement their own negotiation.
11620
11621 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
11622
11623         * docs/design/part-gstbin.txt:
11624         * docs/design/part-gstpipeline.txt:
11625           Update design notes to reflect the movement of
11626           responsibility for bus handling from GstPipeline to
11627           GstBin
11628
11629 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
11630
11631         * configure.ac:
11632           Remove unnecessary queue2/3/4 examples.
11633
11634 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
11635
11636         * examples/Makefile.am:
11637         * examples/helloworld/helloworld.c: (event_loop), (main):
11638         * examples/queue/queue.c: (event_loop), (main):
11639         * examples/queue2/queue2.c: (main):
11640           Update a couple of the examples to work again.
11641
11642         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
11643         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
11644          Spelling corrections and extra debug.
11645         
11646         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
11647         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
11648         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
11649         * gst/gstbin.h:
11650         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
11651         (gst_pipeline_change_state):
11652         * gst/gstpipeline.h:
11653           Move the bus handler for children to the GstBin, and create a
11654           separate bus for receiving messages from children to the one the
11655           bus sends 'upwards' on.
11656
11657 2005-07-06  Wim Taymans  <wim@fluendo.com>
11658
11659         * gst/base/README:
11660         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
11661         (gst_base_sink_handle_object), (gst_base_sink_loop),
11662         (gst_base_sink_change_state):
11663         * gst/base/gstbasesink.h:
11664         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11665         (gst_base_src_init), (gst_base_src_setcaps),
11666         (gst_base_src_getcaps), (gst_base_src_loop),
11667         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
11668         (gst_base_src_start), (gst_base_src_change_state):
11669         * gst/base/gstbasesrc.h:
11670         Make basesrc negotiate.
11671         Handle the case where preroll fails in basesink.
11672         Update README.
11673
11674 2005-07-06  Wim Taymans  <wim@fluendo.com>
11675
11676         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
11677         Implement the fixate function.
11678         Clean up acceptcaps.
11679
11680 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11681
11682         * docs/pwg/building-filterfactory.xml:
11683         * docs/pwg/pwg.xml:
11684           Remove never-written filter-factory chapter; I'll add the various
11685           base classes to part 4 ("other element types") later on.
11686
11687 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11688
11689         * docs/pwg/advanced-negotiation.xml:
11690         * docs/pwg/building-boiler.xml:
11691         * docs/pwg/building-pads.xml:
11692         * docs/pwg/pwg.xml:
11693         * examples/pwg/Makefile.am:
11694           Add a chapter on caps negotiation, simplify the original code
11695           samples a bit w.r.t. caps negotiation, add link to the advanced
11696           section. Add a bunch of examples showing different use cases of
11697           different types of caps negotiation. Upstream renegotiation isn't
11698           fully documented yet since nobody knows how that works.
11699
11700 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11701
11702         * check/gst/gstpad.c:
11703         * check/gstcheck.c:
11704         * gst/gstpad.c: (gst_pad_get_internal_links_default):
11705           if pad has no parent, return NULL as list of internal links
11706
11707 2005-07-05  Andy Wingo  <wingo@pobox.com>
11708
11709         * gst/elements/gstfilesrc.c:
11710         * gst/elements/gstfakesrc.c: 
11711         * gst/base/gstpushsrc.c:
11712         * gst/base/gstbasesrc.h: 
11713         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
11714         
11715 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
11716
11717         * Makefile.am:
11718           better report generation target (lcov needs a patch)
11719
11720 2005-07-05  Andy Wingo  <wingo@pobox.com>
11721
11722         * gst/elements, testsuite: Null if we got it...
11723
11724 2005-07-05  Wim Taymans  <wim@fluendo.com>
11725
11726         * configure.ac:
11727         * libs/gst/dataprotocol/Makefile.am:
11728         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
11729         * libs/gst/dataprotocol/dataprotocol.h:
11730         * pkgconfig/Makefile.am:
11731         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
11732         * pkgconfig/gstreamer-dataprotocol.pc.in:
11733         Ported dataprotol to 0.9. 
11734         Added pkgconfig files.
11735
11736 2005-07-05  Andy Wingo  <wingo@pobox.com>
11737
11738         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
11739         Default to returning TRUE for the case when tranform_caps returns
11740         a fixed caps, like for identity or volume.
11741
11742         * check/gst/gstbus.c (pound_bus_with_messages): 
11743         * check/gst/gstmessage.c (START_TEST): 
11744         * check/pipelines/simple_launch_lines.c (got_handoff): Application
11745         message API change.
11746
11747         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
11748         logic weaks here: always run transform_caps, trying passthrough
11749         operation only if the original caps intersects with the transform.
11750
11751         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
11752         source and sink caps.
11753
11754         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
11755         Intersect the peer caps with the pad template before going into
11756         transform_caps.
11757         (gst_base_transform_transform_caps): More debugging.
11758
11759         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
11760         src argument.
11761
11762 2005-07-04  Edward Hervey  <edward@fluendo.com>
11763
11764         * gst/gstutils.c:
11765         * gst/gstutils.h:
11766         (gst_pad_add_*_probe): now returns the signal id for better wrapping
11767         in bindings.
11768
11769 2005-07-04  Andy Wingo  <wingo@pobox.com>
11770
11771         * check/gst/gstpad.c: Only set explicit caps on pads.
11772
11773 2005-07-01  Andy Wingo  <wingo@pobox.com>
11774
11775         * tests/network-clock.scm: Commentary update.
11776
11777         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
11778         Didn't really make sense, not implementable with basetransform,
11779         etc.
11780         (gst_identity_transform): Unref inbuf via make_writable. Feeble
11781         attempt at implementing the sync property, needs an unlock method.
11782
11783         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
11784         New func, by default returns the same caps (the identity
11785         transformation).
11786         (gst_base_transform_getcaps): Uses transform_caps to return
11787         something sensible.
11788         (gst_base_transform_setcaps): Complicated logic to get caps on
11789         both pads, even if they are different, and to call set_caps once
11790         for every time both pads get their caps set.
11791         (gst_base_transform_handle_buffer): Give the ref to the transform
11792         function. Allows in-place modification of the buffer.
11793
11794         * gst/base/gstbasetransform.h (transform_caps): New class method.
11795         Given caps on one side, what can I do on the other.
11796         (set_caps): Take two caps, one for each side of the element.
11797
11798         * gst/gstpad.h:
11799         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
11800         caps in place. This is safe because we can check the mutability of
11801         the caps, and a good idea because fixate functions are just called
11802         as a matter of last resort. (Not actually implemented.)
11803         (gst_pad_set_caps): If the caps we're setting is actually the same
11804         as the existing pad caps, just update the pointer without calling
11805         setcaps. Assert that caps is either NULL or fixed, as per the
11806         docs.
11807
11808         * gst/gstghostpad.c: Update for fixate changes.
11809
11810 2005-07-02  Andy Wingo  <wingo@pobox.com>
11811
11812         * gst/gstcaps.c:
11813         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
11814         two refcounts makes it immutable, which is enough. Doc more.
11815
11816 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
11817
11818         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
11819           Put the mini_object into GValue as a mini_object,
11820           not a gpointer, since that's how we declared
11821           the signal.
11822
11823 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11824
11825         * examples/pwg/Makefile.am:
11826           Fix buildbot again.
11827
11828 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11829
11830         * docs/pwg/building-testapp.xml:
11831           Add extra check.
11832         * examples/pwg/Makefile.am:
11833           Fix buildbot.
11834
11835 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11836
11837         * configure.ac:
11838         * examples/Makefile.am:
11839         * examples/pwg/Makefile.am:
11840         * examples/pwg/extract.pl:
11841           Enable building the PWG examples.
11842         * docs/pwg/advanced-interfaces.xml:
11843           Add URI interface stub.
11844         * docs/pwg/advanced-types.xml:
11845         * docs/pwg/other-autoplugger.xml:
11846         * docs/pwg/appendix-porting.xml:
11847         * docs/pwg/pwg.xml:
11848           Add porting guide (mostly stubs), remove autoplugging (see ADM).
11849         * docs/pwg/building-boiler.xml:
11850         * docs/pwg/building-chainfn.xml:
11851         * docs/pwg/building-pads.xml:
11852         * docs/pwg/building-props.xml:
11853         * docs/pwg/building-state.xml:
11854         * docs/pwg/building-testapp.xml:
11855           Update the building-*.xml parts for 0.9 changes. All examples
11856           code blocks compile in examples/pwg/*.
11857
11858 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11859
11860         * docs/manual/advanced-autoplugging.xml:
11861         * docs/manual/appendix-checklist.xml:
11862         * docs/manual/appendix-integration.xml:
11863         * docs/manual/highlevel-components.xml:
11864           Fix playbin/decodebin examples, update docs a bit, mention bus
11865           instead of signals in various places, mention kmplayer and
11866           kaffeine since they have a working GStreamer backend in the KDE
11867           section.
11868
11869 2005-06-30  Wim Taymans  <wim@fluendo.com>
11870
11871         * CHANGES-0.9:
11872         * docs/design/draft-ghostpads.txt:
11873         * docs/design/draft-push-pull.txt:
11874         * docs/design/draft-query.txt:
11875         * docs/design/part-TODO.txt:
11876         * docs/design/part-query.txt:
11877         Added CHANGES-0.9 doc, updated status of other docs.
11878         
11879         * gst/gstquery.h:
11880         Remove "hmm" macro
11881
11882 2005-06-30  Wim Taymans  <wim@fluendo.com>
11883
11884         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
11885         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
11886         (gst_base_sink_change_state):
11887         * gst/base/gstbasesink.h:
11888         Some tweaks, only EOS and a buffer complete a preroll.
11889
11890 2005-06-30  Andy Wingo  <wingo@pobox.com>
11891
11892         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
11893         activate_push down to the internal pad as well.
11894
11895 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
11896
11897         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11898
11899         * gst/gsttaginterface.c:
11900           Some documentation fixes (#307394 and #307397).
11901
11902 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
11903
11904         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11905
11906         * gst/gstvalue.c: (gst_value_intersect_list):
11907           Fix memleak (#309125).
11908
11909 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11910
11911         * docs/manual/advanced-dataaccess.xml:
11912           Fix fakesrc example to compile; doesn't work, bug somewhere...?
11913         * docs/manual/basics-pads.xml:
11914           Add reference for filtered caps to above chapter.
11915
11916 2005-06-30  Wim Taymans  <wim@fluendo.com>
11917
11918         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
11919         (gst_bin_change_state):
11920         Probes are gone.
11921         Lame attempt at making the state change function a bit
11922         more readable.
11923
11924 2005-06-30  Wim Taymans  <wim@fluendo.com>
11925
11926         * docs/design/part-clocks.txt:
11927         * docs/design/part-element-sink.txt:
11928         * docs/design/part-events.txt:
11929         * docs/design/part-preroll.txt:
11930         * docs/design/part-states.txt:
11931         Some more tweeks and additions to the docs.
11932
11933 2005-06-30  Wim Taymans  <wim@fluendo.com>
11934
11935         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
11936         (default_have_data), (gst_pad_class_init), (gst_pad_init),
11937         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
11938         (gst_pad_check_pull_range), (gst_pad_get_range),
11939         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
11940         * gst/gstpad.h:
11941         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
11942         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11943         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11944         (gst_pad_remove_buffer_probe):
11945         Removed atomic operations, use existing LOCK.
11946         Move exception handling out of main code path.
11947
11948 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11949
11950         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
11951         (silly_return_true_function), (gst_pad_class_init),
11952         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
11953         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
11954         (gst_pad_send_event):
11955           Fix accumulator, add default value by using _emitv() instead
11956           of _emit() for signal emission.
11957
11958 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11959
11960         * docs/manual/advanced-dataaccess.xml:
11961         * examples/manual/Makefile.am:
11962           Add probe example.
11963         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
11964           Make work (??).
11965
11966 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
11967
11968         * gst/elements/gstfilesink.c: (gst_filesink_render):
11969           Simplify code so that we don't have to handle short
11970           writes and return GST_FLOW_ERROR if an error occured.
11971
11972 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11973
11974         * docs/gst/gstreamer-docs.sgml:
11975           Remove probes more.
11976
11977 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11978
11979         * docs/gst/gstreamer-sections.txt:
11980         * docs/gst/tmpl/gstpad.sgml:
11981         * docs/gst/tmpl/gstprobe.sgml:
11982         * gst/Makefile.am:
11983         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
11984         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
11985         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11986         (gst_pad_push_event), (gst_pad_send_event):
11987         * gst/gstpad.h:
11988         * gst/gstutils.c: (gst_pad_add_data_probe),
11989         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11990         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11991         (gst_pad_remove_buffer_probe):
11992         * gst/gstutils.h:
11993           Remove old probes, add new g-signal-based probes and some utility
11994           functions.
11995
11996 2005-06-29  Edward Hervey  <edward@fluendo.com>
11997
11998         * gst/gstelementfactory.c:
11999         * gst/gstutils.h:
12000         * gst/gstutils.c:
12001         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
12002         the definition to the header file.
12003
12004 2005-06-29  Andy Wingo  <wingo@pobox.com>
12005
12006         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
12007         plugins from the source directory.
12008
12009 2005-06-29  Wim Taymans  <wim@fluendo.com>
12010
12011         * docs/gst/tmpl/gstbuffer.sgml:
12012         * docs/gst/tmpl/gstclock.sgml:
12013         Some fixings for blantently wrong text.
12014
12015 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12016
12017         * check/Makefile.am:
12018         * gst/gst.c: (add_path_func), (init_pre):
12019         * gst/gstregistry.c: (gst_registry_add_path):
12020           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
12021           only scan the GST_PLUGIN_PATH locations, and not add
12022           system locations
12023
12024 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12025
12026         * docs/gst/gstreamer-sections.txt:
12027         * docs/gst/tmpl/gstbasesrc.sgml:
12028         * gst/gstelement.c:
12029         * gst/gstelement.h:
12030         * gst/gstevent.c:
12031         * gst/gstutils.c:
12032           doc fixes
12033
12034 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12035
12036         * docs/manual/advanced-autoplugging.xml:
12037           Fix autoplugging example.
12038
12039 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12040
12041         * docs/manual/advanced-autoplugging.xml:
12042         * docs/manual/mime-world.fig:
12043           Try to get autoplugging working, fix type detection. Fix text
12044           in hello-world image.
12045
12046 2005-06-29  Wim Taymans  <wim@fluendo.com>
12047
12048         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12049         (gst_base_sink_change_state):
12050         Small debug line.
12051
12052         * gst/gstclock.h:
12053         map SIGNAL and BROADCAST to the right function.
12054
12055         * gst/gstobject.h:
12056         Remove redundant braces.
12057
12058         * gst/gstpad.c: (gst_pad_set_caps):
12059         Don't call setcaps function when reseting caps to NULL.
12060
12061         * gst/gstsystemclock.c: (gst_system_clock_dispose),
12062         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
12063         (gst_system_clock_id_unschedule):
12064         Use BROADCAST as this is what we do.
12065
12066 2005-06-29  Wim Taymans  <wim@fluendo.com>
12067
12068         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12069         We are actually prerolling before commiting the state
12070         change. 
12071
12072 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12073
12074         * docs/manual/advanced-clocks.xml:
12075         * docs/manual/advanced-interfaces.xml:
12076         * docs/manual/advanced-metadata.xml:
12077         * docs/manual/advanced-position.xml:
12078         * docs/manual/advanced-schedulers.xml:
12079         * docs/manual/advanced-threads.xml:
12080         * docs/manual/appendix-porting.xml:
12081         * docs/manual/basics-bins.xml:
12082         * docs/manual/basics-bus.xml:
12083         * docs/manual/basics-elements.xml:
12084         * docs/manual/basics-helloworld.xml:
12085         * docs/manual/basics-pads.xml:
12086         * docs/manual/highlevel-components.xml:
12087         * docs/manual/manual.xml:
12088         * docs/manual/thread.fig:
12089           Update (until threads/scheduling) Application Development Manual;
12090           remove GstThread, add GstBus, add simple porting checklist, add
12091           documentation for tag writing, clocks, make all examples until this
12092           part compile and run.
12093         * examples/manual/Makefile.am:
12094           Update from changes to Application Development Manual; add bus
12095           example, remove thread example.
12096
12097 2005-06-28  Wim Taymans  <wim@fluendo.com>
12098
12099         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
12100         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
12101         (gst_bus_source_dispatch):
12102         Add debugging messages.
12103         Make internal methods static.
12104         Handle the case where the bus is flushed in the handler.
12105         
12106         * gst/gstelement.c: (gst_element_get_bus):
12107         Fix refcount in _get_bus();
12108
12109         * gst/gstpipeline.c: (gst_pipeline_change_state),
12110         (gst_pipeline_get_clock_func):
12111         Clock refcounting fixes.
12112         Handle the case where preroll timed out more gracefully.
12113         
12114         * gst/gstsystemclock.c: (gst_system_clock_dispose):
12115         Clean up the internal thread in dispose. This is needed
12116         for subclasses that actually get disposed.
12117         
12118         * gst/schedulers/threadscheduler.c:
12119         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12120         (gst_thread_scheduler_dispose):
12121         Free thread pool in dispose.
12122
12123 2005-06-28  Andy Wingo  <wingo@pobox.com>
12124
12125         * tests/network-clock-utils.scm (debug, print-event): New utils.
12126
12127         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
12128         (*packet-loss*): Unified loss probability.
12129         (network-time): Report out-of-band events.
12130
12131         * tests/plot-data: Add support for out-of-band events. Hack it
12132         into this script instead of passing it down the pipe; should fix
12133         this later.
12134
12135 2005-06-28  Wim Taymans  <wim@fluendo.com>
12136
12137         * docs/gst/gstreamer.types:
12138         * docs/gst/tmpl/gstbasesrc.sgml:
12139         * docs/gst/tmpl/gstpad.sgml:
12140         Docs fixes.
12141
12142 2005-06-28  Wim Taymans  <wim@fluendo.com>
12143
12144         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
12145         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
12146         (gst_proxy_pad_do_fixatecaps):
12147         Correctly proxy the check_pull_range function.
12148
12149 2005-06-28  Andy Wingo  <wingo@pobox.com>
12150
12151         * tests/network-clock.scm: Removed need for slib.
12152         
12153 2005-06-28  Wim Taymans  <wim@fluendo.com>
12154
12155         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
12156         (gst_basesink_preroll_queue_flush):
12157         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
12158         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
12159         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
12160         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12161         (gst_proxy_pad_set_property):
12162         * gst/gstpad.c:
12163         * gst/gstpad.h:
12164         * gst/gstqueue.c: (gst_queue_init):
12165         The deprecated pad loop function is removed now.
12166
12167 2005-06-28  Andy Wingo  <wingo@pobox.com>
12168
12169         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
12170         New parameters, simulate network packet loss.
12171
12172         * tests/network-clock-utils.scm: Initialize the RNG.
12173
12174 2005-06-28  Wim Taymans  <wim@fluendo.com>
12175
12176         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
12177         (gst_basesink_event), (gst_basesink_deactivate):
12178         Flushing the preroll queue always needs to unlock the waiters.
12179
12180 2005-06-28  Edward Hervey  <edward@fluendo.com>
12181
12182         * gst/gstpipeline.c: (gst_pipeline_send_event): 
12183         Wheen a seek was successful on a pipeline, set the stream_time to the
12184         seek offset in order to have a synchronized stream_time.
12185
12186 2005-06-28  Wim Taymans  <wim@fluendo.com>
12187
12188         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
12189         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12190         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
12191         (gst_proxy_pad_do_fixatecaps):
12192         Call wrapper function instead of just calling the function
12193         pointers. This takes care of any locking and whatmore.
12194
12195 2005-06-28  Wim Taymans  <wim@fluendo.com>
12196
12197         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
12198         (gst_pad_pull_range):
12199         * gst/gstpad.h:
12200         CONNECTED -> LINKED.
12201
12202 2005-06-28  Andy Wingo  <wingo@pobox.com>
12203
12204         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
12205         source-munging commit!!!
12206
12207         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
12208         (gst_object_sink): Take gpointer arguments, not GstObject --
12209         avoids casts. Like GLib.
12210
12211         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
12212         activate.
12213
12214 2005-06-27  Andy Wingo  <wingo@pobox.com>
12215
12216         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
12217         remaining buffer.
12218
12219         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
12220         returns a sorted copy of the trace list.
12221         (gst_alloc_trace_print_live): New API, only prints traces with
12222         live objects. Sort the list.
12223         (gst_alloc_trace_print_all): Sort the list.
12224         (gst_alloc_trace_print): Align columns.
12225
12226         * gst/elements/gstttypefindelement.c:
12227         * gst/elements/gsttee.c:
12228         * gst/base/gstbasesrc.c:
12229         * gst/base/gstbasesink.c:
12230         * gst/base/gstbasetransform.c:
12231         * gst/gstqueue.c: Adapt for pad activation changes.
12232
12233         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
12234         sched.
12235         (gst_pipeline_dispose): Drop ref on sched.
12236
12237         * gst/gstpad.c (gst_pad_init): Set the default activate func.
12238         (gst_pad_activate_default): Push mode by default.
12239         (pre_activate_switch, post_activate_switch): New stubs, things to
12240         do before and after switching activation modes on pads.
12241         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
12242         the pad's activate function to choose which mode to activate.
12243         Shortcut on deactivation and call the right function directly.
12244         (gst_pad_activate_pull): New API, (de)activates a pad in pull
12245         mode.
12246         (gst_pad_activate_push): New API, same for push mode.
12247         (gst_pad_set_activate_function) 
12248         (gst_pad_set_activatepull_function) 
12249         (gst_pad_set_activatepush_function): Setters for new API.
12250
12251         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
12252         Trace all miniobjects.
12253         (gst_mini_object_make_writable): Unref the arg if we copy, like
12254         gst_caps_make_writable.
12255
12256         * gst/gstmessage.c (_gst_message_initialize): No trace init.
12257
12258         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
12259         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
12260         Adapt for new pad API.
12261
12262         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
12263
12264         * gst/gstelement.h:
12265         * gst/gstelement.c (gst_element_iterate_src_pads) 
12266         (gst_element_iterate_sink_pads): New API functions.
12267         
12268         * gst/gstelement.c (iterator_fold_with_resync): New utility,
12269         should fold into gstiterator.c in some form.
12270         (gst_element_pads_activate): Simplified via use of fold and
12271         delegation of decisions to gstpad->activate.
12272
12273         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
12274         help in debugging.
12275
12276         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
12277         class once in init, like gstmessage. Didn't run into this issue
12278         but it seems correct. Don't initialize a trace, gstminiobject does
12279         that.
12280
12281         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
12282         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
12283         to the bus.
12284         (assert_live_count): New util function, uses alloc traces to check
12285         cleanup.
12286
12287         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
12288         To be modified when unlink drops the internal pad.
12289
12290 2005-06-27  Wim Taymans  <wim@fluendo.com>
12291
12292         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
12293         (gst_bin_change_state):
12294         Cleanup the get_state() function a little, make sure it
12295         iterates the same set of elements.
12296         Added stub iterate_state_order().
12297
12298 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12299
12300         * docs/gst/gstreamer-docs.sgml:
12301         * docs/gst/gstreamer-sections.txt:
12302         * docs/gst/gstreamer.types:
12303         * docs/gst/tmpl/gstbasesink.sgml:
12304         * docs/gst/tmpl/gstbasesrc.sgml:
12305         * docs/gst/tmpl/gstbasetransform.sgml:
12306         * docs/gst/tmpl/gstelement.sgml:
12307         * docs/gst/tmpl/gstiterator.sgml:
12308         * gst/base/gstbasesrc.c:
12309         * gst/base/gstbasesrc.h:
12310         * gst/base/gstbasetransform.h:
12311         * gst/gstelement.c:
12312         * gst/gstiterator.h:
12313           adding basetransform and iterator docs
12314
12315 2005-06-27  Andy Wingo  <wingo@pobox.com>
12316
12317         * docs/design/part-activation.txt: Notes on how activation should
12318         work -- not quite implemented yet.
12319
12320 2005-06-25  Wim Taymans  <wim@fluendo.com>
12321
12322         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
12323         At least get the chain function correct, needs more
12324         fixing.
12325
12326 2005-06-25  Wim Taymans  <wim@fluendo.com>
12327
12328         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12329         (gst_basesink_handle_object), (gst_basesink_event),
12330         (gst_basesink_do_sync), (gst_basesink_handle_event),
12331         (gst_basesink_change_state):
12332         * gst/gsttask.h:
12333         Right, two problems here: ghostpads don't take locks and
12334         glib _rec_mutex_lock_full() with depth==0 still locks.
12335         Catch illegal locking and g_warn them.
12336
12337 2005-06-25  Wim Taymans  <wim@fluendo.com>
12338
12339         * check/states/sinks.c: (START_TEST), (gst_object_suite):
12340         Have to check for completion now...
12341
12342 2005-06-25  Wim Taymans  <wim@fluendo.com>
12343
12344         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12345         (gst_basesink_handle_object), (gst_basesink_event),
12346         (gst_basesink_do_sync), (gst_basesink_handle_event),
12347         (gst_basesink_change_state):
12348         * gst/gstpad.h:
12349         Unlock STREAM_LOCK whatever the recursion was.
12350
12351 2005-06-25  Wim Taymans  <wim@fluendo.com>
12352
12353         * gst/base/gstbasesink.c: (gst_basesink_set_property),
12354         (gst_basesink_preroll_queue_empty),
12355         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
12356         (gst_basesink_event), (gst_basesink_do_sync),
12357         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
12358         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
12359         (gst_basesink_change_state):
12360         Reworked the base sink, handle event and buffer serialisation
12361         correctly and removed possible deadlock.
12362         Handle EOS correctly.
12363
12364 2005-06-25  Wim Taymans  <wim@fluendo.com>
12365
12366         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
12367         (gst_pipeline_change_state):
12368         * tools/gst-launch.c: (check_intr), (event_loop), (main):
12369         Allow elements to post EOS in the state change function.
12370         Fix up -launch, make it exit the poll loop when the
12371         pipeline actually changed state.
12372         Fix up warning parsing in -launch.
12373
12374 2005-06-25  Wim Taymans  <wim@fluendo.com>
12375
12376         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
12377         (gst_tee_sink_activate):
12378         Core takes STREAM_LOCK for us now.
12379
12380 2005-06-25  Wim Taymans  <wim@fluendo.com>
12381
12382         * gst/gstelement.c: (gst_element_get_state_func),
12383         (gst_element_set_state):
12384         * gst/gstelement.h:
12385         * gst/gstmessage.c: (gst_message_parse_error),
12386         (gst_message_parse_warning):
12387         Keep track of current target state while performing a state
12388         change so that subclasses can do something interesting.
12389         Fix parsing of warning/error messages when GError is NULL.
12390
12391 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12392
12393         * docs/gst/Makefile.am:
12394         * docs/gst/gstreamer-docs.sgml:
12395         * docs/gst/gstreamer-sections.txt:
12396         * docs/gst/gstreamer.types:
12397         * docs/gst/tmpl/gstbasesink.sgml:
12398         * docs/gst/tmpl/gstbasesrc.sgml:
12399         * docs/gst/tmpl/gstbin.sgml:
12400         * docs/gst/tmpl/gstcompat.sgml:
12401         * docs/gst/tmpl/gstfakesink.sgml:
12402         * docs/gst/tmpl/gstfakesrc.sgml:
12403         * docs/gst/tmpl/gstfilesink.sgml:
12404         * docs/gst/tmpl/gstfilesrc.sgml:
12405         * docs/gst/tmpl/gstindex.sgml:
12406         * docs/manual/appendix-quotes.xml:
12407         * gst/base/gstbasesrc.h:
12408         * gst/elements/gstfakesrc.h:
12409         * gst/gstmessage.h:
12410           start pulling in base classes and elements in our docs
12411
12412 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
12413
12414         * docs/gst/Makefile.am:
12415         * docs/libs/Makefile.am:
12416           fixed make distcheck with gtk-doc 1.3
12417
12418 2005-06-23  Wim Taymans  <wim@fluendo.com>
12419
12420         * gst/gstelement.c: (gst_element_get_state_func),
12421         (gst_element_set_state), (gst_element_change_state):
12422         When the state did not change, also report NO_PREROLL
12423         when it matters.
12424
12425 2005-06-23  Wim Taymans  <wim@fluendo.com>
12426
12427         * gst/gstpad.c: (gst_pad_event_default):
12428         * gst/gstqueue.c: (gst_queue_loop):
12429         No unsafe task pausing please.
12430
12431 2005-06-23  Wim Taymans  <wim@fluendo.com>
12432
12433         * gst/schedulers/threadscheduler.c:
12434         (gst_thread_scheduler_task_start),
12435         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
12436         Ref the task before pushing it on the threadpool. This
12437         makes sure that we have a ref when the threadfunction is
12438         actually called.
12439
12440 2005-06-23  Andy Wingo  <wingo@pobox.com>
12441
12442         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
12443         offset is greater than the file's size.
12444
12445         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
12446         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
12447         * gst/gstobject.c (gst_object_class_init): Make the class lock
12448         recursive. Wim won't let me drop deep_notify. Decodebin works
12449         again, whoopdy doo.
12450
12451         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
12452         internal pad, and hacks accordingly. Doesn't do it on the target
12453         pad because we change its caps. Probably catches all cases of
12454         interest tho.
12455         (gst_ghost_pad_set_property): Connect to notify::caps as
12456         appropritate.
12457
12458         * tests/network-clock.scm (plot-simulation): Pipe data to the
12459         elite python skript.
12460
12461         * tests/network-clock-utils.scm (define-parameter): New macro,
12462         defines a parameter that can be set via the command line.
12463         (set-parameter!, parse-parameter-arguments): Command line args
12464         parser.
12465
12466         * tests/plot-data: Simple matplotlib-based plotter, takes input on
12467         stdin.
12468
12469 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
12470
12471         * gst/elements/gsttypefindelement.c:
12472         (gst_type_find_element_handle_event):
12473           Don't restart typefinding on a discont.
12474         * gst/gstelement.c: (gst_element_set_state):
12475           Debug spelling fix.
12476         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
12477           Allow changing mode of an active pad.
12478           Debug output fixes.
12479         * gst/registries/gstlibxmlregistry.c: (load_feature):
12480           Don't cast a static pad template to a normal pad template.
12481
12482 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12483
12484         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
12485         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
12486           remove gst_strtoll completely, since it didn't actually do
12487           anything more than what g_ascii_strtoull already does.
12488           check for range errors when deserializing
12489           do a cast for the unsigned cases; but further fixing needs
12490           a decision on what the interpretation of "(int)" and
12491           deserialization should be for values that fall outside the
12492           type's boundaries (ie, refuse, or interpret as casting)
12493
12494 2005-06-23  Wim Taymans  <wim@fluendo.com>
12495
12496         * check/Makefile.am:
12497         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
12498         * docs/design/part-live-source.txt:
12499         * docs/design/part-states.txt:
12500         * gst/base/gstbasesrc.c: (gst_basesrc_init),
12501         (gst_basesrc_set_live), (gst_basesrc_is_live),
12502         (gst_basesrc_get_range), (gst_basesrc_activate),
12503         (gst_basesrc_change_state):
12504         * gst/base/gstbasesrc.h:
12505         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12506         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12507         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
12508         * gst/gstelement.c: (gst_element_get_state_func),
12509         (gst_element_set_state):
12510         * gst/gstelement.h:
12511         * gst/gsttypes.h:
12512         * tools/gst-launch.c: (event_loop), (main):
12513         Added support for live sources and other elements that
12514         cannot do preroll.
12515         Updated design docs, added live-source design doc.
12516         Implemented live source functionality in basesrc
12517         Fix error condition in _bin_get_state()
12518         Implement live source handling in -launch.
12519         Added check for live sources.
12520         Fixed case in GstBin where elements were changed state
12521         multiple times.
12522
12523
12524 2005-06-23  Andy Wingo  <wingo@pobox.com>
12525
12526         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
12527         borken refcounting.
12528
12529         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
12530         gst_caps_replace takes care of this for us.
12531
12532         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
12533         gst_pad_set_caps on the target, not just its setcaps() function.
12534
12535         * tests/network-clock.scm: 
12536         * tests/network-clock-utils.scm: A network clock simulator.
12537         Something of an algorithmic testbed before doing something in C.
12538
12539 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12540
12541         * check/Makefile.am:
12542         * check/gst/capslist.h:
12543           copy over from 0.8, and add two with bitmasks specified with
12544           (int) 0xFF...
12545         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
12546           add test to parse everything from capslist.h
12547         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
12548         (main):
12549           add test for structure deserialization
12550         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
12551           add tests for deserialization of strings to int types
12552         * gst/gststructure.c: (gst_structure_nth_field_name):
12553         * gst/gststructure.h:
12554           add a way to get the name of a field referenced by index
12555         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
12556           instead of checking if the resulting long long lies between
12557           min and max, we check if the long long would fit into
12558           a number of bytes for the final type.
12559           This fixes cases where a string represents 2^32 - 1, which
12560           when cast to int would be the (valid) -1, but is bigger than
12561           G_MAXINT
12562
12563 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12564
12565         * gst/parse/grammar.y:
12566           add a log line for type deserialization
12567
12568 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12569
12570         * check/gst/gstvalue.c: (START_TEST):
12571         * gst/gstvalue.c: (gst_value_deserialize):
12572           return long long, not int, so gint64 deserialization actually
12573           works.  Is there any flag that makes the compiler check this ?
12574           Fixes #308559
12575
12576 2005-06-22  Wim Taymans  <wim@fluendo.com>
12577
12578         * gst/gstbuffer.h:
12579         Added convenience macros for setting buffers in GValue.
12580
12581 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12582
12583         * check/gst/.cvsignore:
12584         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
12585           add a test deserializing int64, and comment part out because
12586           it fails, yay !
12587
12588 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12589
12590         * check/Makefile.am:
12591         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
12592         * testsuite/Makefile.am:
12593         * testsuite/caps/Makefile.am:
12594         * testsuite/caps/value_serialize.c:
12595         * testsuite/test_gst_init.c:
12596           move a value_serialize test over
12597
12598 2005-06-20  Wim Taymans  <wim@fluendo.com>
12599
12600         * gst/gstpad.c:
12601         Small doc updates.
12602         
12603         * gst/gstvalue.c: (gst_value_compare_buffer),
12604         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
12605         (gst_value_compare_flags), (gst_value_serialize_flags),
12606         (gst_value_deserialize_flags), (_gst_value_initialize):
12607         Fix serialisation of buffers, they are not boxed types anymore
12608
12609 2005-06-20  Wim Taymans  <wim@fluendo.com>
12610
12611         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
12612         Testcase to show error in buffer-on-caps serialisation.
12613
12614 2005-06-20  Andy Wingo  <wingo@pobox.com>
12615
12616         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
12617         will be adding to later.
12618
12619         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
12620         if its socks fill with rocks.
12621         (gst_system_clock_obtain): Set the name on object construction.
12622         Avoid double-checked locking.
12623
12624 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
12625
12626         * gst/gsturi.c: (gst_element_make_from_uri):
12627           Fix potential endless loop.
12628
12629 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12630
12631         * check/Makefile.am:
12632           add gsttag
12633         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
12634         (main):
12635           move over from testsuite dir and clean up
12636         * configure.ac:
12637         * gst/gsttag.c:
12638         * testsuite/Makefile.am:
12639         * testsuite/tags/.cvsignore:
12640         * testsuite/tags/Makefile.am:
12641         * testsuite/tags/merge.c:
12642           remove testsuite/tags
12643
12644 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12645
12646         * docs/gst/gstreamer-sections.txt:
12647         * docs/gst/tmpl/gstenumtypes.sgml:
12648         * win32/gstenumtypes.c:
12649           clean up documentation build a little
12650
12651 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12652
12653         * check/gstcheck.h:
12654           add macros for checking refcounts on objects and caps
12655         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
12656           add some more unit tests
12657         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12658         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
12659           fix leaked refcounts (I hope :)) so unittest works
12660         * gst/gstpad.h:
12661           whitespace removal
12662
12663 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12664
12665         * configure.ac: back to HEAD
12666
12667 === release 0.9.1 ===
12668
12669 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
12670
12671         * NEWS:
12672         * RELEASE:
12673           updated
12674
12675 2005-06-17  Andy Wingo  <wingo@pobox.com>
12676
12677         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
12678         assert; it's always possible that the pad gets deactivated in
12679         between the checks in gstpad.c and the implementation. Rely on
12680         finish_preroll() to return a FLUSHING or similar instead of on the
12681         assert.
12682         
12683         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
12684         clock and post an EOS message if we come out of finish_preroll in
12685         the playing state.
12686
12687 2005-06-16  David Schleef  <ds@schleef.org>
12688
12689         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
12690         (gst_capsfilter_set_property): Allow NULL as possible value
12691         for filter_caps property, indicating GST_CAPS_ANY.
12692
12693 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12694
12695         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
12696           fix debug output
12697         * gst/schedulers/Makefile.am:
12698           use libgst prefix
12699         * gstreamer.spec.in:
12700           fix spec for it
12701
12702 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12703
12704         * gstreamer.spec.in:
12705           clean up
12706
12707 2005-06-08  Andy Wingo  <wingo@pobox.com>
12708
12709         * gst/gstutils.c: RPAD fixes all around.
12710         (gst_element_link_pads): Refcounting fixes.
12711
12712         * tools/gst-inspect.c:
12713         * tools/gst-xmlinspect.c:
12714         * parse/grammar.y:
12715         * gst/base/gsttypefindhelper.c:
12716         * gst/base/gstbasesink.c:
12717         * gst/gstqueue.c: RPAD fixes.
12718
12719         * gst/gstghostpad.h:
12720         * gst/gstghostpad.c: New ghost pad implementation as full proxy
12721         pads. The tricky thing is they provide both source and sink
12722         interfaces, since they proxy the internal pad for the external
12723         pad, and vice versa. Implement with lower-level ProxyPad objects,
12724         with the interior proxy pad as a child of the exterior ghost pad.
12725         Should write a doc on this.
12726         
12727         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
12728         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
12729         gst_object API.
12730         
12731         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
12732         pads are real pads. No ghost pads in this file. Not documenting
12733         the myriad s/RPAD/PAD/ and REALIZE fixes.
12734         (gst_pad_class_init): Add properties for "direction" and
12735         "template". Both are construct-only, so they can't change during
12736         the life of the pad. Fixes properly deriving from GstPad.
12737         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
12738         derived objects, just set properties when creating the objects via
12739         g_object_new.
12740         (gst_pad_get_parent): Implement as a function, return NULL if the
12741         parent is not an element.
12742         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
12743         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
12744         
12745         * gst/gstobject.c (gst_object_class_init): Make name a construct
12746         property. Don't set it in the object init.
12747
12748         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
12749         with UNKNOWN direction.
12750         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
12751         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
12752         (gst_element_remove_pad): Remove ghost-pad special cases.
12753         (gst_element_pads_activate): Remove rpad cruft.
12754
12755         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
12756         catch the pad's-parent-not-an-element case.
12757
12758         * gst/gst.h: Include gstghostpad.h.
12759
12760         * gst/gst.c (init_post): No more real, ghost pads.
12761
12762         * gst/Makefile.am: Add gstghostpad.[ch].
12763
12764         * check/Makefile.am:
12765         * check/gst/gstbin.c:
12766         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
12767         into a bin creates ghost pads, and that the refcounts are right.
12768         Partly moved from gstbin.c.
12769
12770 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12771
12772         * check/gst-libs/.cvsignore:
12773         * check/gst/.cvsignore:
12774         * check/pipelines/.cvsignore:
12775           ignore more
12776         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
12777         (START_TEST), (cleanup_suite), (main):
12778           add some tests related to cleanup after running pipelines
12779
12780 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12781
12782         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
12783           add a testsuite for GstBuffer
12784
12785 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12786
12787         * gst/gstminiobject.h:
12788           add defines for accessing the refcount
12789
12790 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
12791
12792         * Makefile.am: added support for html unit test coverage reports
12793
12794 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
12795
12796         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
12797           Free existing caps if the capsfilter changes. Add a FIXME about
12798           setting those caps on the pads.
12799
12800         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
12801           Before adding a ghost pad to a parent bin, check that there isn't
12802           already one for the element on the bin. Prevents infinite recursion
12803           when using decodebin in parse pipelines. Andy says he'll rewrite the
12804           way this works anyway, so ignore the hack.
12805
12806 2005-06-02  Andy Wingo  <wingo@pobox.com>
12807
12808         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
12809         file size, pass it on to the type find helper.
12810
12811         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
12812         segment_start and segment_end properly according to the seek
12813         method. Segment_end is still a bit flaky because offset can be
12814         negative for CUR and END cases, but it takes -1 as an "unset"
12815         value.
12816
12817 2005-06-02  Wim Taymans  <wim@fluendo.com>
12818
12819         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
12820         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
12821         (gst_basesink_activate):
12822         * gst/base/gstbasesink.h:
12823         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
12824         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
12825         (gst_pad_query), (gst_pad_start_task):
12826         * gst/gstpad.h:
12827         * gst/gstqueue.c: (gst_queue_bufferalloc),
12828         (gst_queue_handle_sink_event), (gst_queue_chain):
12829         Bufferalloc: return GstFlowReturn to more accuratly report
12830         why allocation failed.
12831
12832 2005-06-02  Wim Taymans  <wim@fluendo.com>
12833
12834         * gst/gstpipeline.c: (gst_pipeline_send_event):
12835         Take snapshot of state without blocking.
12836
12837 2005-06-02  Wim Taymans  <wim@fluendo.com>
12838
12839         * docs/design/part-TODO.txt:
12840         * docs/design/part-caps.txt:
12841         * docs/design/part-clocks.txt:
12842         * docs/design/part-negotiation.txt:
12843         * docs/design/part-preroll.txt:
12844         Small doc updates 
12845
12846 2005-05-30  Wim Taymans  <wim@fluendo.com>
12847
12848         * gst/elements/gstidentity.c: (gst_identity_event),
12849         (gst_identity_transform), (gst_identity_get_property):
12850         Protect last_message property as it is accessed from
12851         multiple threads.
12852
12853 2005-05-30  Wim Taymans  <wim@fluendo.com>
12854
12855         * gst/gstelement.c: (gst_element_init),
12856         (gst_element_pads_activate), (gst_element_change_state):
12857         Slicker pad activation code.
12858
12859 2005-05-30  Wim Taymans  <wim@fluendo.com>
12860
12861         * gst/Makefile.am:
12862         * gst/gstelement.h:
12863         * gst/gstelementfactory.h:
12864         * gst/gsttypes.h:
12865         Move elementfactory methods to separate .h file.
12866
12867 2005-05-30  Wim Taymans  <wim@fluendo.com>
12868
12869         * docs/design/part-overview.txt:
12870         * gst/gstsystemclock.h:
12871         Small typo fixes, doc updates.
12872
12873 2005-05-30  Wim Taymans  <wim@fluendo.com>
12874
12875         * gst/gst.c: (gst_init_get_popt_table), (init_post),
12876         (init_popt_callback):
12877         Remove cpu-opt flag.
12878
12879 2005-05-30  Wim Taymans  <wim@fluendo.com>
12880
12881         * gst/gstbuffer.c: (gst_subbuffer_finalize),
12882         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
12883         * gst/gstbuffer.h:
12884         Avoid typechecking in places where not needed.
12885         Added accessor for malloc_data.
12886
12887 2005-05-30  Wim Taymans  <wim@fluendo.com>
12888
12889         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
12890         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
12891         (gst_pad_configure_sink), (gst_pad_configure_src),
12892         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
12893         (gst_pad_start_task):
12894         Propagate errors from _set_caps() in configure_src/sink
12895         functions instead of returning TRUE.
12896         FLUSH events can travel up and downstream
12897
12898
12899 2005-05-30  Wim Taymans  <wim@fluendo.com>
12900
12901         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
12902         (gst_basesink_activate):
12903         Handle EOS in preroll.
12904
12905 2005-05-30  Wim Taymans  <wim@fluendo.com>
12906
12907         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
12908         (gst_queue_loop), (gst_queue_handle_src_event):
12909         Remove old pieces of code
12910         Flushing the queue in an upstream event is a very bad idea.
12911
12912 2005-05-26  Andy Wingo  <wingo@pobox.com>
12913
12914         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
12915         gst_value_set_mini_object so as to add a ref on the object (which
12916         will be removed when the value is unset).
12917
12918         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
12919         arg type in ::handoff.
12920
12921         * gst/gstelement.c (gst_element_change_state): Also deactivate
12922         pads in READY->NULL, just in case the element didn't make it to
12923         PAUSED. Wingo tested, Wim approved.
12924
12925 2005-05-26  Wim Taymans  <wim@fluendo.com>
12926
12927         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
12928         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
12929         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
12930         A flushing pad cannot be used to alloc_buffer from.
12931
12932 2005-05-26  Wim Taymans  <wim@fluendo.com>
12933
12934         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
12935         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
12936         (gst_bus_source_dispatch), (gst_bus_source_finalize),
12937         (gst_bus_create_watch), (gst_bus_add_watch_full):
12938         * gst/gstbus.h:
12939         Implement a real GSource and use g_main_context_wakeup() to
12940         signal new messages instead of the socketpair.
12941
12942 2005-05-25  Wim Taymans  <wim@fluendo.com>
12943
12944         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
12945         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
12946         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
12947         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
12948         (gst_pad_send_event), (gst_pad_start_task):
12949         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
12950         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
12951         (gst_queue_sink_activate), (gst_queue_src_activate),
12952         (gst_queue_change_state):
12953         * gst/gstqueue.h:
12954         Fix state changes for non sinks. We now change sinks, then elements
12955         with unconnected srcpads, then the rest.
12956         More efficient queue unlocking in flush and state changes.
12957         Set the pad activate mode even if it does not have an activate
12958         function.
12959
12960 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12961
12962         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
12963           Don't go in pull mode for non-seekable sources.
12964         * gst/elements/gsttypefindelement.h:
12965         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
12966         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
12967         (free_entry), (stop_typefinding),
12968         (gst_type_find_element_handle_event), (find_peek),
12969         (gst_type_find_element_chain), (do_pull_typefind),
12970         (gst_type_find_element_change_state):
12971           Allow typefinding (w/o seeking) in push-mode, simplified version
12972           of what was in 0.8.
12973         * gst/gstutils.c: (gst_buffer_join):
12974         * gst/gstutils.h:
12975           gst_buffer_join() from 0.8.
12976
12977 2005-05-25  Wim Taymans  <wim@fluendo.com>
12978
12979         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
12980         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
12981         (gst_pad_send_event), (gst_pad_start_task):
12982         Disable attempt at mode switching until it is figured out.
12983
12984 2005-05-25  Wim Taymans  <wim@fluendo.com>
12985
12986         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
12987         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
12988         (gst_basesink_finish_preroll), (gst_basesink_chain),
12989         (gst_basesink_loop), (gst_basesink_activate),
12990         (gst_basesink_change_state):
12991         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
12992         (gst_basesrc_get_range), (gst_basesrc_loop),
12993         (gst_basesrc_activate):
12994         * gst/elements/gsttee.c: (gst_tee_sink_activate):
12995         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12996         (gst_real_pad_init), (gst_real_pad_set_property),
12997         (gst_real_pad_get_property), (gst_pad_set_active),
12998         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
12999         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
13000         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
13001         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
13002         (gst_pad_event_default_dispatch), (gst_pad_event_default),
13003         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
13004         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
13005         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
13006         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
13007         (gst_pad_stop_task):
13008         * gst/gstpad.h:
13009         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13010         (gst_queue_loop), (gst_queue_src_activate):
13011         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
13012         (gst_task_get_state):
13013         * gst/gsttask.h:
13014         * gst/schedulers/threadscheduler.c:
13015         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
13016         Implement gst_pad_pause/start/stop_task(), take STREAM lock
13017         in task function.
13018         Remove ACTIVE pad flag, use FLUSHING everywhere
13019         Added _pad_chain(), _pad_get_range() to call chain/getrange 
13020         functions.
13021         Add locks around IS_FLUSHING when reading.
13022         Take STREAM lock in chain(), get_range() functions so plugins
13023         don't need to take it anymore.
13024         
13025
13026
13027 2005-05-25  Wim Taymans  <wim@fluendo.com>
13028
13029         * tools/gst-launch.c: (event_loop):
13030         Unref message after using its contents instead of
13031         before.
13032
13033 2005-05-24  Wim Taymans  <wim@fluendo.com>
13034
13035         * docs/design/draft-ghostpads.txt:
13036         * docs/design/draft-push-pull.txt:
13037         * docs/design/draft-query.txt:
13038         * docs/design/part-overview.txt:
13039         Docs updates, added general overview doc.
13040
13041 2005-05-21  David Schleef  <ds@schleef.org>
13042
13043         * docs/gst/tmpl/old/GstBin.sgml:
13044         * docs/gst/tmpl/old/GstBuffer.sgml:
13045         * docs/gst/tmpl/old/GstCaps.sgml:
13046         * docs/gst/tmpl/old/GstClock.sgml:
13047         * docs/gst/tmpl/old/GstCompat.sgml:
13048         * docs/gst/tmpl/old/GstData.sgml:
13049         * docs/gst/tmpl/old/GstElement.sgml:
13050         * docs/gst/tmpl/old/GstEvent.sgml:
13051         * docs/gst/tmpl/old/GstIndex.sgml:
13052         * docs/gst/tmpl/old/GstStructure.sgml:
13053         * docs/gst/tmpl/old/GstTag.sgml:
13054         * docs/gst/tmpl/old/cothreads.sgml:
13055         * docs/gst/tmpl/old/cothreads_compat.sgml:
13056         * docs/gst/tmpl/old/gettext.sgml:
13057         * docs/gst/tmpl/old/gobject2gtk.sgml:
13058         * docs/gst/tmpl/old/grammar.tab.sgml:
13059         * docs/gst/tmpl/old/gst-i18n-app.sgml:
13060         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
13061         * docs/gst/tmpl/old/gst_private.sgml:
13062         * docs/gst/tmpl/old/gstaggregator.sgml:
13063         * docs/gst/tmpl/old/gstarch.sgml:
13064         * docs/gst/tmpl/old/gstatomic_impl.sgml:
13065         * docs/gst/tmpl/old/gstbufferstore.sgml:
13066         * docs/gst/tmpl/old/gstdata_private.sgml:
13067         * docs/gst/tmpl/old/gstdisksink.sgml:
13068         * docs/gst/tmpl/old/gstdisksrc.sgml:
13069         * docs/gst/tmpl/old/gstelementfactory.sgml:
13070         * docs/gst/tmpl/old/gstextratypes.sgml:
13071         * docs/gst/tmpl/old/gstfakesink.sgml:
13072         * docs/gst/tmpl/old/gstfakesrc.sgml:
13073         * docs/gst/tmpl/old/gstfdsink.sgml:
13074         * docs/gst/tmpl/old/gstfdsrc.sgml:
13075         * docs/gst/tmpl/old/gstfilesink.sgml:
13076         * docs/gst/tmpl/old/gstfilesrc.sgml:
13077         * docs/gst/tmpl/old/gsthttpsrc.sgml:
13078         * docs/gst/tmpl/old/gstidentity.sgml:
13079         * docs/gst/tmpl/old/gstindexfactory.sgml:
13080         * docs/gst/tmpl/old/gstmarshal.sgml:
13081         * docs/gst/tmpl/old/gstmd5sink.sgml:
13082         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
13083         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
13084         * docs/gst/tmpl/old/gstpadtemplate.sgml:
13085         * docs/gst/tmpl/old/gstpipefilter.sgml:
13086         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
13087         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
13088         * docs/gst/tmpl/old/gstshaper.sgml:
13089         * docs/gst/tmpl/old/gstspider.sgml:
13090         * docs/gst/tmpl/old/gstspideridentity.sgml:
13091         * docs/gst/tmpl/old/gststatistics.sgml:
13092         * docs/gst/tmpl/old/gsttee.sgml:
13093         * docs/gst/tmpl/old/gsttimecache.sgml:
13094         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
13095         * docs/gst/tmpl/old/gstxmlregistry.sgml:
13096         * docs/gst/tmpl/old/gthread-cothreads.sgml:
13097         * docs/gst/tmpl/old/types.sgml:
13098           I didn't intend to add these or check them in.
13099
13100 2005-05-19  David Schleef  <ds@schleef.org>
13101
13102         * configure.ac: Use -no-common everywhere.  In a sane world, it
13103           would be the default in libtool, because without it, you can't
13104           build DLLs on Windows.
13105         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
13106         * docs/gst/gstreamer-sections.txt:
13107         * docs/gst/tmpl/gstcpu.sgml:
13108         * docs/gst/tmpl/gstdata.sgml:
13109         * docs/gst/tmpl/gstthread.sgml:
13110
13111 2005-05-19  David Schleef  <ds@schleef.org>
13112
13113         * gst/gstminiobject.c: (gst_value_set_mini_object),
13114         (gst_value_take_mini_object), (gst_value_get_mini_object):
13115         * gst/gstminiobject.h: Add GValue set/get functions.
13116
13117 2005-05-19  Wim Taymans  <wim@fluendo.com>
13118
13119         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
13120         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
13121         (gst_subbuffer_init), (gst_buffer_is_span_fast):
13122         * gst/gstbuffer.h:
13123         * gst/gstbus.c: (gst_bus_post):
13124         * gst/gstelement.c: (gst_element_get_random_pad):
13125         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
13126         Make subbufer unref the parent in finalize.
13127         some more debugging info.
13128
13129
13130 2005-05-19  Wim Taymans  <wim@fluendo.com>
13131
13132         * gst/base/gstbasesink.c: (gst_basesink_class_init),
13133         (gst_basesink_init), (gst_basesink_finalize),
13134         (gst_basesink_activate), (gst_basesink_change_state):
13135         Don't free preroll queue too early.
13136
13137 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13138
13139         * gst/Makefile.am:
13140         * gst/ROADMAP:
13141           Hi, I'm outdated. Please shoot me.
13142
13143 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13144
13145         * gst/gstpipeline.c: (gst_pipeline_send_event):
13146           Do not access variables after they have been deleted.
13147
13148 2005-05-19  Wim Taymans  <wim@fluendo.com>
13149
13150         * tools/gst-inspect.c: (print_plugin_features):
13151         A plugin feature does unfortunatly not use the
13152         object name yet...
13153
13154 2005-05-18  Wim Taymans  <wim@fluendo.com>
13155
13156         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
13157         Port _span() functions to new subbuffers.
13158
13159 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13160
13161         * gst/gstbin.c: (gst_bin_add_func):
13162           Fix clock settery in bins when adding kids after the clock has
13163           been selected.
13164
13165 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13166
13167         * gst/elements/gstidentity.c: (gst_identity_class_init):
13168           Workaround until signals support GstMiniObject.
13169
13170 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
13171
13172         * gst/gstbuffer.c:
13173         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
13174
13175 2005-05-18  Wim Taymans  <wim@fluendo.com>
13176
13177         * gst/base/Makefile.am:
13178         * gst/base/gstadapter.c: (gst_adapter_base_init),
13179         (gst_adapter_class_init), (gst_adapter_init),
13180         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
13181         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
13182         (gst_adapter_flush), (gst_adapter_available),
13183         (gst_adapter_available_fast):
13184         * gst/base/gstadapter.h:
13185         Ported and added adapter to the base classes.
13186
13187 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13188
13189         * gst/gst.c:
13190         * gst/gstmessage.c:
13191           Make sure the class is reffed/unreffed once before threads can be
13192           used.  Fixes #304551.
13193
13194 2005-05-17  Wim Taymans  <wim@fluendo.com>
13195
13196         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
13197         (gst_basesink_chain_unlocked), (gst_basesink_activate):
13198         * gst/gstminiobject.c: (gst_mini_object_get_type),
13199         (gst_mini_object_free):
13200         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
13201         (gst_pad_push), (gst_pad_push_event):
13202         * gst/gstqueue.c: (gst_queue_change_state):
13203         Don't queue buffers in basesink when we are flushing.
13204         Unref buffer when flushing in basesink.
13205         Flush queue when going to READY
13206         Unref buffer when _push() returns an error.
13207         Don't free MiniObject instance when refcount is incremented
13208         in _finalize() so that we can recover objects.
13209
13210 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
13211
13212         * docs/manual/advanced-schedulers.xml:
13213         * docs/manual/appendix-checklist.xml:
13214         * docs/pwg/advanced-clock.xml:
13215         * docs/pwg/advanced-interfaces.xml:
13216         * docs/pwg/advanced-request.xml:
13217         * docs/pwg/advanced-types.xml:
13218         * docs/pwg/intro-preface.xml:
13219         * examples/plugins/example.c: (gst_example_get_type),
13220         (gst_example_class_init), (gst_example_chain),
13221         (gst_example_set_property), (gst_example_get_property),
13222         (gst_example_change_state), (plugin_init):
13223         * examples/plugins/example.h:
13224           small doc fixes
13225
13226 2005-05-17  Wim Taymans  <wim@fluendo.com>
13227
13228         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
13229         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
13230         * gst/gstqueue.c: (gst_queue_change_state):
13231         Clear queue when going to READY.
13232         Remove IN_SETCAPS flag too.
13233
13234 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
13235
13236         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
13237           Remove implicit cast from gboolean to GstElementStateReturn;
13238           make sure we still return failure in paused => ready case if
13239           the parent class fails to change state and our own stop 
13240           vfunc succeeds.
13241
13242 2005-05-17  Wim Taymans  <wim@fluendo.com>
13243
13244         * tools/gst-launch.c: (event_loop):
13245         Message was unreffed too soon.
13246
13247 2005-05-16  Andy Wingo  <wingo@pobox.com>
13248
13249         * gst/gstbin.c (sink_iterator_filter): Err... um...
13250
13251         * check/gst/gstbin.c (test_ghost_pads): New test for the
13252         ghosting-if-elements-not-in-same-bin behavior.
13253
13254 2005-05-16  David Schleef  <ds@schleef.org>
13255
13256         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
13257         accessing refcount directly.
13258
13259 2005-05-15  David Schleef  <ds@schleef.org>
13260
13261         * check/Makefile.am: remove GstData checks
13262         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
13263         * gst/Makefile.am: add miniobject, remove data
13264         * gst/gst.h: add miniobject, remove data
13265         * gst/gstdata.c: remove
13266         * gst/gstdata.h: remove
13267         * gst/gstdata_private.h: remove
13268         * gst/gsttypes.h: remove GstEvent and GstMessage
13269         * gst/gstelement.c: (gst_element_post_message): fix for API changes
13270         * gst/gstmarshal.list: change BOXED -> OBJECT
13271
13272         Implement GstMiniObject.
13273         * gst/gstminiobject.c:
13274         * gst/gstminiobject.h:
13275
13276         Modify to be subclasses of GstMiniObject.
13277         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
13278         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
13279         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
13280         (gst_subbuffer_get_type), (gst_subbuffer_init),
13281         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
13282         (gst_buffer_span):
13283         * gst/gstbuffer.h:
13284         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
13285         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
13286         (_gst_event_copy), (gst_event_new):
13287         * gst/gstevent.h:
13288         * gst/gstmessage.c: (_gst_message_initialize),
13289         (gst_message_get_type), (gst_message_class_init),
13290         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
13291         (gst_message_new), (gst_message_new_error),
13292         (gst_message_new_warning), (gst_message_new_tag),
13293         (gst_message_new_state_changed), (gst_message_new_application):
13294         * gst/gstmessage.h:
13295         * gst/gstprobe.c: (gst_probe_perform),
13296         (gst_probe_dispatcher_dispatch):
13297         * gst/gstprobe.h:
13298         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
13299         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
13300         (_gst_query_copy), (gst_query_new):
13301
13302         Update elements for GstData -> GstMiniObject changes
13303         * gst/gstquery.h:
13304         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
13305         (gst_queue_chain), (gst_queue_loop):
13306         * gst/elements/gstbufferstore.c:
13307         (gst_buffer_store_add_buffer_func),
13308         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
13309         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
13310         (gst_fakesink_render):
13311         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13312         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
13313         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
13314         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
13315         (gst_filesrc_create_read):
13316         * gst/elements/gstidentity.c: (gst_identity_class_init):
13317         * gst/elements/gsttypefindelement.c:
13318         (gst_type_find_element_src_event), (free_entry_buffers),
13319         (gst_type_find_element_handle_event):
13320         * libs/gst/dataprotocol/dataprotocol.c:
13321         (gst_dp_header_from_buffer):
13322         * libs/gst/dataprotocol/dataprotocol.h:
13323         * libs/gst/dataprotocol/dp-private.h:
13324
13325 2005-05-15  David Schleef  <ds@schleef.org>
13326
13327         * gst/elements/gstelements.c: Don't include headers that were
13328         just removed.
13329
13330 2005-05-15  David Schleef  <ds@schleef.org>
13331
13332         * gst/elements/Makefile.am: Remove some elements that don't
13333         need to be in the core (or even exist at all).
13334         * gst/elements/gstaggregator.c:
13335         * gst/elements/gstaggregator.h:
13336         * gst/elements/gstmd5sink.c:
13337         * gst/elements/gstmd5sink.h:
13338         * gst/elements/gstmultifilesrc.c:
13339         * gst/elements/gstmultifilesrc.h:
13340         * gst/elements/gstpipefilter.c:
13341         * gst/elements/gstpipefilter.h:
13342         * gst/elements/gstshaper.c:
13343         * gst/elements/gstshaper.h:
13344         * gst/elements/gststatistics.c:
13345         * gst/elements/gststatistics.h:
13346         * po/POTFILES.in: Remove above files.
13347
13348 2005-05-14  Andy Wingo  <wingo@pobox.com>
13349
13350         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
13351         so as to get the refs right.
13352         (sink_iterator_filter): New function, wraps bin_element_is_sink,
13353         unreffing objects that don't pass the filter.
13354
13355         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
13356         gst_element_set_bus.
13357         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
13358         normal cases, this will destroy the bus.
13359
13360         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
13361         object.
13362
13363         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
13364         has no sinks.
13365
13366 2005-05-13  Andy Wingo  <wingo@pobox.com>
13367
13368         * gst/gstutils.c (gst_element_link_pads): Instead of calling
13369         gst_pad_link, call pad_link_maybe_ghosting,
13370         (pad_link_maybe_ghosting): Links pads, making sure that the
13371         elements being linked are in the same bin.
13372         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
13373         Helpers for pad_link_maybe_ghosting.
13374
13375 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13376
13377         * configure.ac:
13378           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
13379
13380 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13381
13382         * docs/design/part-element-source.txt:
13383           Mention GstPushSrc
13384
13385 2005-05-12  Wim Taymans  <wim@fluendo.com>
13386
13387         * gst/base/gstbasesink.c: (gst_basesink_init),
13388         (gst_basesink_activate):
13389         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
13390         (gst_basesrc_is_seekable):
13391         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
13392         (bin_element_is_sink), (gst_bin_change_state):
13393         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
13394         * gst/gstelement.h:
13395         Identify sinks by their flag to avoid overly complicated
13396         checks (fow now).
13397         Do state changes even for elements not reachable from the
13398         sinks.
13399         BaseSink is a sink now :)
13400         Some more debugging info in the basesrc.
13401
13402
13403 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13404
13405         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
13406           Implement _query on a bin, similar to _send_event.
13407
13408 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13409
13410         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
13411           Discont event offset format should be GST_FORMAT_BYTES,
13412           not GST_FORMAT_TIME.
13413
13414 2005-05-12  Wim Taymans  <wim@fluendo.com>
13415
13416         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
13417         Same fix as Ronald's but without the signal. 
13418
13419 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13420
13421         * gst/gstutils.c: (gst_element_query_position):
13422           No, an element is not a pad.
13423
13424 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13425
13426         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
13427         (gst_bin_get_state):
13428           If a child is removed from a bin while we remove the child from
13429           the bin and while we're retrieving its state, signal this to the
13430           get_state function so we abort the wait (instead of waiting for
13431           a timeout) and can immediately re-iterate over all other elements.
13432
13433 2005-05-12  Wim Taymans  <wim@fluendo.com>
13434
13435         * gst/base/Makefile.am:
13436         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
13437         (gst_basesrc_start):
13438         * gst/base/gstbasesrc.h:
13439         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
13440         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
13441         (gst_pushsrc_init), (gst_pushsrc_create):
13442         * gst/base/gstpushsrc.h:
13443         Added is_seekable to BaseSrc
13444         Added simple PushSrc.
13445
13446 2005-05-11  Wim Taymans  <wim@fluendo.com>
13447
13448         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
13449         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13450         (gst_element_link_pads), (gst_element_query_position),
13451         (gst_element_query_convert), (intersect_caps_func),
13452         (gst_pad_query_position), (gst_pad_query_convert):
13453         Fix refcounting in utils function.
13454         No point in trying to activate a pad when it's added, it could
13455         be added from the state change function and then we deadlock, the
13456         element has to decide what to do.
13457
13458 2005-05-10  Andy Wingo  <wingo@pobox.com>
13459
13460         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
13461         *all* the arguments.
13462
13463         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
13464         stream lock if it's a FLUSH_DONE; normal flushes don't get the
13465         lock (according to the docs -- if this is wrong change the docs).
13466
13467         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
13468         flush messages in the NULL state.
13469
13470         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
13471         message immediately and return.
13472         (gst_bus_set_flushing): New function. If a bus is flushing, it
13473         flushes out any queued messages and immediately unrefs new
13474         messages. This is so when an element goes to NULL, all of the
13475         unhandled messages coming from it can be freed, and their
13476         references to the element dropped. In other words: message source
13477         ref considered harmful :P
13478
13479         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
13480         we're finished with it.
13481
13482         * gst/gstmessage.c (gst_message_new_state_changed): 
13483
13484 2005-05-10  Wim Taymans  <wim@fluendo.com>
13485
13486         * gst/gstvalue.c: (gst_value_compare_flags),
13487         (gst_value_serialize_flags), (gst_value_deserialize_flags),
13488         (_gst_value_initialize):
13489         Added flags serialize/deserialize/compare code.
13490
13491 2005-05-09  Andy Wingo  <wingo@pobox.com>
13492
13493         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
13494         Intersect the peer's caps with our caps.
13495
13496 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13497
13498         * gst/base/gsttypefindhelper.c: (helper_find_peek):
13499         * gst/elements/gsttypefindelement.c: (find_peek):
13500           Handle negative offsets better. Fixes decodebin.
13501
13502 2005-05-09  Wim Taymans  <wim@fluendo.com>
13503
13504         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
13505         (gst_base_transform_event):
13506         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
13507         Implement accept_caps.
13508         Fix silly lock/unlock mismatch in base class.
13509
13510 2005-05-09  Wim Taymans  <wim@fluendo.com>
13511
13512         * docs/design/draft-push-pull.txt:
13513         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
13514         * gst/elements/gstfilesink.c: (gst_filesink_init),
13515         (gst_filesink_query):
13516         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
13517         (gst_type_find_handle_src_query), (find_element_get_length):
13518         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
13519         * gst/gstelement.h:
13520         * gst/gstmessage.c:
13521         * gst/gstmessage.h:
13522         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
13523         (gst_real_pad_get_caps_unlocked),
13524         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
13525         (gst_pad_event_default_dispatch), (gst_pad_event_default),
13526         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
13527         (gst_real_pad_dispose), (gst_real_pad_finalize),
13528         (gst_pad_load_and_link), (gst_pad_save_thyself),
13529         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
13530         (gst_pad_check_pull_range), (gst_pad_pull_range),
13531         (gst_pad_template_get_type), (gst_pad_template_class_init),
13532         (gst_pad_template_init), (gst_pad_template_dispose),
13533         (name_is_valid), (gst_static_pad_template_get),
13534         (gst_pad_template_new), (gst_static_pad_template_get_caps),
13535         (gst_pad_template_get_caps), (gst_pad_set_element_private),
13536         (gst_pad_get_element_private), (gst_pad_start_task),
13537         (gst_pad_pause_task), (gst_pad_stop_task),
13538         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
13539         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
13540         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
13541         (gst_ghost_pad_new):
13542         * gst/gstpad.h:
13543         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
13544         (gst_query_new_position), (gst_query_set_position),
13545         (gst_query_parse_position), (gst_query_new_convert),
13546         (gst_query_set_convert), (gst_query_parse_convert):
13547         * gst/gstquery.h:
13548         * gst/gstqueryutils.c:
13549         * gst/gstqueryutils.h:
13550         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
13551         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
13552         (gst_queue_handle_src_query):
13553         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13554         (gst_element_query_position), (gst_element_query_convert),
13555         (intersect_caps_func), (gst_pad_query_position),
13556         (gst_pad_query_convert):
13557         * gst/gstutils.h:
13558         * tools/gst-inspect.c: (print_pad_info):
13559         * tools/gst-xmlinspect.c: (print_element_info):
13560         Remove old query functions. Ported old code.
13561         Added position/convert helper functions to gstutils.
13562         Reordered gstpad.c code, grouping relevant things.
13563         Remove gst_message_new(), always need to speficy a specific
13564         message.
13565
13566
13567 2005-05-09  Andy Wingo  <wingo@pobox.com>
13568
13569         * gst/gstiterator.h: Add some includes.
13570
13571         * gst/gstqueryutils.h: Include more headers.
13572
13573         * gst/gstpad.h:
13574         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
13575         some uses of gst_pad_query.
13576
13577         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
13578         NULL out parameters.
13579         (gst_query_new_position): New proc, allocates a new position
13580         query.
13581
13582         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
13583         gstqueryutils.c to the build.
13584
13585         * gst/gststructure.c (gst_structure_set_valist): Implement with
13586         the generic G_VALUE_COLLECT.
13587         
13588 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
13589
13590         * gst/Makefile.am: (gst_headers):
13591         Added gstqueryutils.h to the list of headers to install, that was
13592         a 'nachty' move wingo :)
13593
13594 2005-05-06  Andy Wingo  <wingo@pobox.com>
13595
13596         * gst/gstquery.h
13597         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
13598         GstData, init a memchunk.
13599         (standard_definitions): Add a few query types, deprecate a few.
13600         (gst_query_get_type): New proc.
13601         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
13602         implementation.
13603         (gst_query_new_application, gst_query_get_structure): New public
13604         procs.
13605
13606         * docs/design/draft-query.txt: Removed LINKS from the query types,
13607         because all the rest can be dispatched to other pads -- seemed
13608         ugly to have a query that couldn't be dispatched. internal_links
13609         is fine as a pad method.
13610
13611         * gst/gstpad.h: Add query2 as a pad method, add the new functions
13612         in gstpad.c, but maintain binary compatibility for the moment.
13613         Will fix before 0.9 is out.
13614
13615         * gst/gstqueryutils.c: 
13616         * gst/gstqueryutils.h: New files, implement 3 methods for each
13617         query type: parse_query, parse_response, and set. Probably need an
13618         allocator as well.
13619
13620         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
13621
13622         * gst/elements/gstfilesink.c (gst_filesink_query2):
13623         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
13624         query_types, and formats methods.
13625
13626         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
13627         (gst_pad_set_query2_function): New functions.
13628         (gst_real_pad_init): Set query2_default as the default query2
13629         function. Basically just dispatches to internally linked pads.
13630
13631         Needs review!
13632         
13633         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
13634         without using the atomic operations. Only one thread can possibly
13635         be accessing the data at this point. Changed so as to avoid
13636         gst_atomic operations.
13637
13638 2005-05-06  Wim Taymans  <wim@fluendo.com>
13639
13640         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
13641         Also set caps if we use the fallback buffer alloc.
13642
13643 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
13644
13645         * docs/gst/Makefile.am:
13646         * docs/gst/gstreamer-docs.sgml:
13647         * docs/gst/gstreamer-sections.txt:
13648         * docs/gst/tmpl/gstatomic.sgml:
13649         * docs/gst/tmpl/gstmemchunk.sgml:
13650         * testsuite/elements/struct_i386.h:
13651         * win32/GStreamer.vcproj:
13652         * win32/Makefile:
13653           Purge GstAtomic stuff from docs and win32 makefiles as well
13654
13655 2005-05-06  Wim Taymans  <wim@fluendo.com>
13656
13657         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
13658         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
13659         * gst/gstpad.c: (gst_pad_peer_get_caps):
13660         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
13661         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
13662         (gst_queue_src_activate), (gst_queue_change_state):
13663         * gst/gstqueue.h:
13664         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13665         (intersect_caps_func):
13666         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
13667         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
13668         Some fixes for the peer_get_caps() change.
13669
13670 2005-05-06  Wim Taymans  <wim@fluendo.com>
13671
13672         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
13673         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
13674         (gst_basesink_activate):
13675         Actually do something with error codes returned from the push
13676         functions.
13677
13678 2005-05-06  Wim Taymans  <wim@fluendo.com>
13679
13680         * docs/design/part-element-sink.txt:
13681         * docs/design/part-element-source.txt:
13682         * gst/base/gstbasesink.c: (gst_basesink_class_init),
13683         (gst_basesink_event), (gst_basesink_activate):
13684         * gst/base/gstbasesink.h:
13685         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
13686         (gst_basesrc_activate):
13687         * gst/base/gstbasesrc.h:
13688         * gst/gstelement.c: (gst_element_pads_activate):
13689         Some more documentation.
13690         Fixed scheduling decision in _pads_activate().
13691
13692 2005-05-05  Andy Wingo  <wingo@pobox.com>
13693
13694         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
13695         the test suite.
13696
13697 2005-05-05  Wim Taymans  <wim@fluendo.com>
13698
13699         * gst/base/Makefile.am:
13700         * gst/base/gstbasesink.h:
13701         * gst/base/gstbasesrc.c: (gst_basesrc_init),
13702         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
13703         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
13704         (gst_collectpads_class_init), (gst_collectpads_init),
13705         (gst_collectpads_finalize), (gst_collectpads_new),
13706         (gst_collectpads_set_function), (gst_collectpads_add_pad),
13707         (find_pad), (gst_collectpads_remove_pad),
13708         (gst_collectpads_is_active), (gst_collectpads_collect),
13709         (gst_collectpads_collect_range), (gst_collectpads_start),
13710         (gst_collectpads_stop), (gst_collectpads_peek),
13711         (gst_collectpads_pop), (gst_collectpads_available),
13712         (gst_collectpads_read), (gst_collectpads_flush),
13713         (gst_collectpads_chain):
13714         * gst/base/gstcollectpads.h:
13715         * gst/elements/Makefile.am:
13716         * gst/elements/gstelements.c:
13717         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
13718         (gst_fakesink_get_times), (gst_fakesink_event),
13719         (gst_fakesink_preroll), (gst_fakesink_render):
13720         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
13721         (gst_filesink_init), (gst_filesink_set_location),
13722         (gst_filesink_open_file), (gst_filesink_close_file),
13723         (gst_filesink_pad_query), (gst_filesink_event),
13724         (gst_filesink_render), (gst_filesink_change_state):
13725         * gst/elements/gstfilesink.h:
13726         Added object to help in making collect pad based elements.
13727         Ported filesink.
13728         Make event function in sink baseclass return gboolean.
13729
13730 2005-05-05  Wim Taymans  <wim@fluendo.com>
13731
13732         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
13733         (gst_bin_get_by_name):
13734         * gst/gstbuffer.h:
13735         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
13736         (gst_clock_finalize):
13737         * gst/gstdata.c: (gst_data_replace):
13738         * gst/gstdata.h:
13739         * gst/gstelement.c: (gst_element_request_pad),
13740         (gst_element_pads_activate):
13741         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13742         (gst_object_unref):
13743         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
13744         (gst_pad_set_checkgetrange_function),
13745         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
13746         (gst_pad_check_pull_range), (gst_pad_pull_range),
13747         (gst_static_pad_template_get_caps), (gst_pad_start_task),
13748         (gst_pad_pause_task), (gst_pad_stop_task):
13749         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13750         (gst_element_request_pad), (gst_pad_proxy_getcaps):
13751         Fix name lookup in GstBin.
13752         Added _data_replace() function and _buffer_replace()
13753         Use finalize method to clean up clock.
13754         Fix refcounting on request pads.
13755         Fix pad schedule mode error.
13756         Some more object refcounting debug info,
13757
13758
13759 2005-05-04  Andy Wingo <wingo@pobox.com>
13760
13761         * check/Makefile.am:
13762         * docs/gst/tmpl/gstatomic.sgml:
13763         * docs/gst/tmpl/gstplugin.sgml:
13764         * gst/base/gstbasesink.c: (gst_basesink_activate):
13765         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
13766         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
13767         (gst_basesrc_query), (gst_basesrc_set_property),
13768         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
13769         (gst_basesrc_activate):
13770         * gst/base/gstbasesrc.h:
13771         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
13772         (gst_base_transform_src_activate):
13773         * gst/elements/gstelements.c:
13774         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13775         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
13776         * gst/elements/gsttee.c: (gst_tee_sink_activate):
13777         * gst/elements/gsttypefindelement.c: (find_element_get_length),
13778         (gst_type_find_element_checkgetrange),
13779         (gst_type_find_element_activate):
13780         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
13781         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
13782         (gst_caps_load_thyself):
13783         * gst/gstelement.c: (gst_element_pads_activate),
13784         (gst_element_save_thyself), (gst_element_restore_thyself):
13785         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
13786         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
13787         * gst/gstpad.h:
13788         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
13789         (gst_xml_parse_file), (gst_xml_parse_memory),
13790         (gst_xml_get_element), (gst_xml_make_element):
13791         * gst/indexers/gstfileindex.c: (gst_file_index_load),
13792         (_file_index_id_save_xml), (gst_file_index_commit):
13793         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
13794         (read_enum), (load_pad_template), (load_feature), (load_plugin),
13795         (load_paths):
13796         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
13797         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
13798         * tools/gst-complete.c: (main):
13799         * tools/gst-compprep.c: (main):
13800         * tools/gst-inspect.c: (print_element_properties_info):
13801         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13802         * tools/gst-xmlinspect.c: (print_element_properties):
13803         GCC 4 fixen.
13804         
13805 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13806
13807         * gst/gstplugin.c: (gst_plugin_check_module),
13808         (gst_plugin_check_file), (gst_plugin_load_file):
13809             apply patch from #172526 to make register work on MacOSX
13810
13811 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13812
13813         * docs/gst/tmpl/gstconfig.sgml:
13814         * gst/gstconfig.h.in:
13815           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
13816         * testsuite/debug/printf_extension.c: (main):
13817           Do not use GST_PTR_FORMAT on pointers to types with
13818           sizeof < sizeof(gpointer).  Fixes test on 64-bit
13819         * testsuite/elements/property.h:
13820           use correct printf format
13821
13822 2005-05-02  Wim Taymans  <wim@fluendo.com>
13823
13824         * docs/design/draft-push-pull.txt:
13825         * docs/design/draft-query.txt:
13826         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
13827         (gst_basesrc_start):
13828         Added draft for new query API.
13829         Added draft for better selecting scheduling methods.
13830         Make basesrc ignore length if the subclass does not support
13831         it.
13832
13833 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13834
13835         * gst/Makefile.am:
13836           possible fixes for automake-1.5 - _LIBADD is reserved
13837
13838 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13839
13840         * docs/faq/Makefile.am:
13841         * docs/manual/Makefile.am:
13842         * docs/manuals.mak:
13843         * docs/pwg/Makefile.am:
13844         * gst/Makefile.am:
13845           possible fixes for automake-1.5
13846
13847 2005-04-28  Wim Taymans  <wim@fluendo.com>
13848
13849         * gst/base/gstbasesink.c: (gst_basesink_base_init),
13850         (gst_basesink_pad_getcaps), (gst_basesink_init),
13851         (gst_basesink_do_sync):
13852         * gst/gstclock.c: (gst_clock_entry_new):
13853         * gst/gstevent.c: (gst_event_discont_get_value):
13854         * gst/gstpipeline.c: (pipeline_bus_handler),
13855         (gst_pipeline_change_state):
13856         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13857         Better debugging of clocking info.
13858         Allow NULL values when getting discont values.
13859
13860 2005-04-27  Wim Taymans  <wim@fluendo.com>
13861
13862         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13863         * check/gst/gstpad.c: (gst_pad_suite):
13864         Increase timeout for checks.
13865
13866 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13867
13868         * check/Makefile.am:
13869           fix the broken rule for cleanup.  Apparently this rule is
13870           only needed on FC2, so maybe this warrants further autotool
13871           inspection.
13872
13873 2005-04-26  Wim Taymans  <wim@fluendo.com>
13874
13875         * gst/gsttrashstack.h:
13876         Ooohh. a nasty one! After having a failed pop() from the stack,
13877         it's possible that the stack is empty. In that case, don't
13878         follow the NULL pointer.
13879
13880 2005-04-25  Wim Taymans  <wim@fluendo.com>
13881
13882         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
13883         (gst_pad_set_checkgetrange_function),
13884         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
13885         (gst_pad_check_pull_range), (gst_pad_pull_range),
13886         (gst_static_pad_template_get_caps), (gst_pad_start_task),
13887         (gst_pad_pause_task), (gst_pad_stop_task):
13888         * gst/gstplugin.c: (gst_plugin_load):
13889         * gst/gstplugin.h:
13890         Remove gst_library_load as it does more harm than good with
13891         the new g_module flags.
13892         Revert bogus caps template check in pad linking, pad caps
13893         are important when linking not the template, which is more
13894         general than the current caps.
13895
13896 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13897
13898         * gst/autoplug/.cvsignore:
13899         * gst/autoplug/Makefile.am:
13900         * gst/autoplug/gstsearchfuncs.c:
13901         * gst/autoplug/gstsearchfuncs.h:
13902         * gst/autoplug/gstspider.c:
13903         * gst/autoplug/gstspider.h:
13904         * gst/autoplug/gstspideridentity.c:
13905         * gst/autoplug/gstspideridentity.h:
13906         * gst/autoplug/spidertest.c:
13907           Die, spider, die.
13908
13909 2005-04-25  Wim Taymans  <wim@fluendo.com>
13910
13911         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
13912         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
13913         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
13914         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
13915         * gst/gstpad.h:
13916         Added stubs for unimplemented functions. 
13917
13918 2005-04-24  David Schleef  <ds@schleef.org>
13919
13920         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
13921         please fix.
13922
13923 2005-04-24  David Schleef  <ds@schleef.org>
13924
13925         Convert everything from GstAtomicInt to g_atomic_int_*, and
13926         remove gstatomic.
13927         * gst/Makefile.am:
13928         * gst/gstatomic.c:
13929         * gst/gstatomic.h:
13930         * gst/gstatomic_impl.h:
13931         * gst/gstbuffer.c:
13932         * gst/gstcaps.c:
13933         * gst/gstcaps.h:
13934         * gst/gstclock.c:
13935         * gst/gstclock.h:
13936         * gst/gstdata.c:
13937         * gst/gstdata.h:
13938         * gst/gstdata_private.h:
13939         * gst/gstevent.c:
13940         * gst/gstinfo.c:
13941         * gst/gstinfo.h:
13942         * gst/gstmessage.c:
13943         * gst/gstobject.c:
13944         * gst/gstobject.h:
13945         * gst/gststructure.c:
13946         * gst/gststructure.h:
13947         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
13948         * gst/gstutils.h:
13949
13950 2005-04-24  David Schleef  <ds@schleef.org>
13951
13952         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
13953         make the regressions tests work.  Remove some code that is no
13954         longer true.
13955         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
13956         Disable warning for pads without templates.
13957
13958 2005-04-24  David Schleef  <ds@schleef.org>
13959
13960         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
13961         functions that handle filtered links.
13962         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
13963         removed functions.
13964         * gst/gstutils.c: Fix/remove utility functions that handle
13965         filtered caps.
13966         * gst/gstutils.h:
13967         * gst/gstvalue.c: Add serialization/deserialization of caps
13968         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
13969         requires fixing so that the filter caps notation creates
13970         a capsfilter element and sets the filter_caps property.  I
13971         think everyone probably wants to keep the shorthand notation.
13972         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
13973         * docs/gst/tmpl/gstpad.sgml:
13974
13975         * gst/elements/gstelements.c: Register capsfilter element.
13976         * gst/Makefile.am: fix spacing
13977         * docs/random/ds/0.9-suggested-changes: random
13978
13979 2005-04-23  David Schleef  <ds@schleef.org>
13980
13981         * gst/elements/Makefile.am:
13982         * gst/elements/gstcapsfilter.c: New element that acts like an
13983         identity, but filters caps.  Will eventually replace filtered
13984         caps in pad linking.
13985         * gst/gstutils.c: (gst_element_create_all_pads): New function
13986         to create all the ALWAYS pads that are registered with an
13987         element class.  This functionality should eventually be
13988         merged in with GstElement initialization.
13989         * gst/gstutils.h:
13990         * testsuite/trigger/README: part of trigger test code that should
13991         have been checked in a long time ago.
13992
13993 2005-04-23  David Schleef  <ds@schleef.org>
13994
13995         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
13996         needed with new versions of libtool (nobody will confirm this),
13997         and hard to carry around.
13998         * gst/autoplug/Makefile.am:
13999         * gst/base/Makefile.am:
14000         * gst/elements/Makefile.am:
14001         * gst/indexers/Makefile.am:
14002         * gst/schedulers/Makefile.am:
14003         * libs/gst/bytestream/Makefile.am:
14004         * libs/gst/control/Makefile.am:
14005         * libs/gst/dataprotocol/Makefile.am:
14006         * libs/gst/getbits/Makefile.am:
14007
14008 2005-04-21  Wim Taymans  <wim@fluendo.com>
14009
14010         * docs/design/draft-push-pull.txt:
14011         * docs/design/part-MT-refcounting.txt:
14012         * docs/design/part-TODO.txt:
14013         * docs/design/part-caps.txt:
14014         * docs/design/part-events.txt:
14015         * docs/design/part-gstbus.txt:
14016         * docs/design/part-gstpipeline.txt:
14017         * docs/design/part-messages.txt:
14018         * docs/design/part-push-pull.txt:
14019         * docs/design/part-query.txt:
14020         Some more docs.
14021
14022 2005-04-21  Wim Taymans  <wim@fluendo.com>
14023
14024         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
14025         (gst_message_new), (gst_message_new_error),
14026         (gst_message_new_warning), (gst_message_new_tag),
14027         (gst_message_new_state_changed), (gst_message_new_application),
14028         (gst_message_get_structure):
14029         * gst/gstmessage.h:
14030         * gst/gststructure.c: (gst_structure_set_parent_refcount),
14031         (gst_structure_copy_conditional):
14032         Use parent refcount in GstMessage to ensure GstStructure
14033         consistency.
14034         Cleaned up headers a bit.
14035         
14036
14037 2005-04-20  Wim Taymans  <wim@fluendo.com>
14038
14039         * gst/base/gstbasesink.c: (gst_basesink_base_init),
14040         (gst_basesink_pad_getcaps), (gst_basesink_init),
14041         (gst_basesink_chain_unlocked):
14042         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
14043         (gst_type_find_helper):
14044         * gst/elements/gsttypefindelement.c:
14045         (gst_type_find_element_have_type), (gst_type_find_element_init),
14046         (stop_typefinding), (gst_type_find_element_handle_event),
14047         (find_suggest), (gst_type_find_element_chain),
14048         (gst_type_find_element_checkgetrange),
14049         (gst_type_find_element_getrange), (do_typefind),
14050         (gst_type_find_element_activate):
14051         * gst/gstbuffer.c: (_gst_buffer_sub_free),
14052         (gst_buffer_default_free), (gst_buffer_default_copy),
14053         (gst_buffer_set_caps):
14054         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
14055         (gst_caps_replace):
14056         * gst/gstmessage.c: (gst_message_new),
14057         (gst_message_new_state_changed):
14058         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
14059         (gst_pad_set_checkgetrange_function),
14060         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
14061         (gst_pad_set_caps), (gst_pad_check_pull_range),
14062         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
14063         * gst/gstpad.h:
14064         * gst/gsttypefind.c: (gst_type_find_register):
14065         Make gst_caps_replace() work like other _replace() functions.
14066         Use _caps_replace() where possible.
14067         Make sure _message_new() initialises its field.
14068         Add gst_static_pad_template_get_caps()
14069
14070
14071 2005-04-18  Andy Wingo  <wingo@pobox.com>
14072
14073         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
14074         on the peer, not the pad. I think that was a typo. Pass an extra
14075         arg to see if random access is possible. Activate the pads as
14076         PULL_RANGE if possible.
14077
14078         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
14079
14080         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
14081         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
14082         to PROP_....
14083
14084 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14085
14086         * docs/faq/using.xml:
14087           Add note on gstreamer-properties (#154996).
14088
14089 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14090
14091         * docs/random/bbb/optional-properties:
14092           Some analysis on optional properties.
14093
14094 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14095
14096         * docs/gst/tmpl/gstelementfactory.sgml:
14097         * gst/gstelement.h:
14098         * gst/gstelementfactory.c: (gst_element_factory_init),
14099         (gst_element_factory_cleanup), (gst_element_register),
14100         (__gst_element_factory_add_static_pad_template),
14101         (gst_element_factory_get_static_pad_templates),
14102         (gst_element_factory_can_src_caps),
14103         (gst_element_factory_can_sink_caps):
14104         * gst/registries/Makefile.am:
14105         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
14106         (gst_xml_registry_class_init), (gst_xml_registry_init),
14107         (gst_xml_registry_new), (gst_xml_registry_set_property),
14108         (gst_xml_registry_get_property), (get_time), (make_dir),
14109         (gst_xml_registry_get_perms_func),
14110         (plugin_times_older_than_recurse), (plugin_times_older_than),
14111         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
14112         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
14113         (add_to_char_array), (read_string), (read_uint), (read_enum),
14114         (load_pad_template), (load_feature), (load_plugin), (load_paths),
14115         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
14116         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
14117         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
14118         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
14119         (gst_xml_registry_rebuild):
14120         * gst/registries/gstlibxmlregistry.h:
14121         * tools/gst-compprep.c: (main):
14122         * tools/gst-inspect.c: (print_pad_templates_info):
14123         * tools/gst-xmlinspect.c: (print_element_info):
14124           Use libxml2 for registry parsing, use staticpadtemplates in
14125           elementfactories. Makes gst_init() +/- 10x faster.
14126
14127 2005-04-12  Wim Taymans  <wim@fluendo.com>
14128
14129         * gst/base/Makefile.am:
14130         * gst/base/gstbasesink.c: (gst_basesink_base_init),
14131         (gst_basesink_pad_getcaps), (gst_basesink_init),
14132         (gst_basesink_event), (gst_basesink_change_state):
14133         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
14134         (gst_basesrc_init), (gst_basesrc_query),
14135         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
14136         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
14137         (gst_basesrc_check_get_range), (gst_basesrc_loop),
14138         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
14139         (gst_basesrc_stop), (gst_basesrc_activate),
14140         (gst_basesrc_change_state):
14141         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14142         (helper_find_suggest), (gst_type_find_helper):
14143         * gst/base/gsttypefindhelper.h:
14144         * gst/elements/Makefile.am:
14145         * gst/elements/gstelements.c:
14146         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
14147         (gst_fakesink_get_times), (gst_fakesink_event),
14148         (gst_fakesink_preroll), (gst_fakesink_render):
14149         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14150         (gst_fakesrc_init), (gst_fakesrc_event_handler),
14151         (gst_fakesrc_get_property), (gst_fakesrc_create),
14152         (gst_fakesrc_start), (gst_fakesrc_stop):
14153         * gst/elements/gstfakesrc.h:
14154         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
14155         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
14156         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
14157         (gst_filesrc_create_read), (gst_filesrc_create),
14158         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
14159         (gst_filesrc_start):
14160         * gst/elements/gsttypefindelement.c:
14161         (gst_type_find_element_have_type), (gst_type_find_element_init),
14162         (start_typefinding), (stop_typefinding), (push_buffer_store),
14163         (gst_type_find_element_handle_event),
14164         (gst_type_find_element_chain),
14165         (gst_type_find_element_checkgetrange),
14166         (gst_type_find_element_getrange), (do_typefind),
14167         (gst_type_find_element_activate),
14168         (gst_type_find_element_change_state):
14169         * gst/elements/gsttypefindelement.h:
14170         * gst/gstpipeline.c: (pipeline_bus_handler):
14171         Added typefind helper.
14172         Small preroll fix in the base sink.
14173         Disable typefind code in basesrc.
14174         Crude port of typefindelement.
14175         Fakesrc cleanups.
14176
14177
14178 2005-04-11  Wim Taymans  <wim@fluendo.com>
14179
14180         * check/gst/gstbus.c: (gstbus_suite):
14181         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
14182         * check/gstcheck.h:
14183           Fix up the timeout so that the test does not fail.
14184
14185 2005-04-06  Wim Taymans  <wim@fluendo.com>
14186
14187         * gst/base/README:
14188         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
14189         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
14190         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
14191         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
14192         (gst_basesrc_check_get_range), (gst_basesrc_loop),
14193         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
14194         (gst_basesrc_stop), (gst_basesrc_activate),
14195         (gst_basesrc_change_state), (basesrc_find_peek),
14196         (basesrc_find_suggest), (gst_basesrc_type_find):
14197         * gst/base/gstbasesrc.h:
14198         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
14199         (gst_filesrc_class_init), (gst_filesrc_init),
14200         (gst_filesrc_finalize), (gst_filesrc_set_location),
14201         (gst_filesrc_set_property), (gst_filesrc_get_property),
14202         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
14203         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
14204         (gst_filesrc_create_read), (gst_filesrc_create),
14205         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
14206         * gst/elements/gstfilesrc.h:
14207         * gst/gstelement.c: (gst_element_get_state_func),
14208         (gst_element_lost_state), (gst_element_pads_activate):
14209         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
14210         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
14211         (gst_pad_pull_range):
14212         * gst/gstpad.h:
14213         More work on the generic source base class, implement seeking,
14214         query.
14215         Make filesrc extend the base source class.
14216         Added gst_pad_set_checkgetrange_function to GstPad.
14217
14218 2005-04-06  Andy Wingo  <wingo@pobox.com>
14219
14220         * pkgconfig/gstreamer-base.pc.in:
14221         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
14222
14223         * pkgconfig/Makefile.am:
14224         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
14225
14226 2005-04-04  Wim Taymans  <wim@fluendo.com>
14227
14228         * gst/base/Makefile.am:
14229         * gst/base/README:
14230         * gst/base/gstbasesink.c: (gst_basesink_base_init),
14231         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
14232         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
14233         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
14234         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
14235         (gst_basesrc_base_init), (gst_basesrc_class_init),
14236         (gst_basesrc_init), (gst_basesrc_get_formats),
14237         (gst_basesrc_get_query_types), (gst_basesrc_query),
14238         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
14239         (gst_basesrc_set_property), (gst_basesrc_get_property),
14240         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
14241         (gst_basesrc_loop), (gst_basesrc_activate),
14242         (gst_basesrc_change_state):
14243         * gst/base/gstbasesrc.h:
14244         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
14245         (gst_fakesrc_class_init), (gst_fakesrc_init),
14246         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
14247         (gst_fakesrc_get_property), (gst_fakesrc_create):
14248         * gst/elements/gstfakesrc.h:
14249         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
14250         (gst_filesrc_open_file), (gst_filesrc_loop),
14251         (gst_filesrc_activate), (filesrc_find_peek),
14252         (gst_filesrc_type_find):
14253         Made base source class, make fakesrc extend it.
14254         Add comments to basesink class.
14255         Some filesrc cleanup.
14256
14257 2005-03-31  David Schleef  <ds@schleef.org>
14258
14259         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
14260         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
14261         expected to link against libgstreamer.
14262         * gst/base/Makefile.am: link against libgstreamer
14263         * gst/elements/Makefile.am: same
14264
14265 2005-03-31  Andy Wingo  <wingo@pobox.com>
14266
14267         * tests/instantiate/Makefile.am:
14268         * tests/instantiate/caps.c: Add test to test speed of caps copy
14269         and free.
14270
14271         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
14272         GMemChunk to be fair.
14273
14274         * gst/gsttrashstack.h: Remove warning about using the fallback
14275         trash stack implementation, it's still faster than malloc.
14276
14277 2005-03-30  Andy Wingo  <wingo@pobox.com>
14278
14279         * tests/complexity.c: Add a copyright.
14280
14281 2005-03-31  Wim Taymans  <wim@fluendo.com>
14282
14283         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
14284         (gst_base_transform_class_init), (gst_base_transform_init),
14285         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14286         (gst_base_transform_get_property),
14287         (gst_base_transform_sink_activate),
14288         (gst_base_transform_src_activate),
14289         (gst_base_transform_change_state):
14290         * gst/base/gstbasetransform.h:
14291         * gst/elements/gstidentity.c: (gst_identity_class_init),
14292         (gst_identity_event), (gst_identity_check_perfect),
14293         (gst_identity_transform), (gst_identity_start),
14294         (gst_identity_stop):
14295         Added start/stop methods to transform base class so subclasses 
14296         don't need to deal with state changes even.
14297
14298 2005-03-31  Wim Taymans  <wim@fluendo.com>
14299
14300         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
14301         (gst_event_new_discontinuous), (gst_event_discont_get_value):
14302         * gst/gstevent.h:
14303         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
14304         (gst_pad_pull_range):
14305         Added rate to the discont event to prepare for variable speed
14306         and reverse playback.
14307
14308 2005-03-29  David Schleef  <ds@schleef.org>
14309
14310         * configure.ac:
14311         * testsuite/trigger/Makefile.am:
14312         * testsuite/trigger/trigger.c: A little example program to show
14313         how trigger-based elements can work.
14314
14315 2005-03-29  Wim Taymans  <wim@fluendo.com>
14316
14317         * gst/base/Makefile.am:
14318         * gst/base/README:
14319         * gst/base/gstbasesink.c: (gst_basesink_get_type),
14320         (gst_basesink_base_init), (gst_basesink_class_init),
14321         (gst_basesink_pad_getcaps), (gst_basesink_init),
14322         (gst_basesink_activate), (gst_basesink_change_state):
14323         * gst/base/gstbasesink.h:
14324         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
14325         (gst_base_transform_base_init), (gst_base_transform_finalize),
14326         (gst_base_transform_class_init), (gst_base_transform_init),
14327         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
14328         (gst_base_transform_event), (gst_base_transform_getrange),
14329         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
14330         (gst_base_transform_set_property),
14331         (gst_base_transform_get_property),
14332         (gst_base_transform_sink_activate),
14333         (gst_base_transform_src_activate),
14334         (gst_base_transform_change_state):
14335         * gst/base/gstbasetransform.h:
14336         * gst/elements/gstidentity.c: (gst_identity_finalize),
14337         (gst_identity_class_init), (gst_identity_init),
14338         (gst_identity_event), (gst_identity_check_perfect),
14339         (gst_identity_transform), (gst_identity_set_property),
14340         (gst_identity_get_property), (gst_identity_change_state):
14341         * gst/elements/gstidentity.h:
14342         * gst/gstelement.c: (gst_element_get_state_func),
14343         (gst_element_lost_state), (gst_element_pads_activate):
14344         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
14345         (gst_pad_check_pull_range), (gst_pad_pull_range):
14346         * gst/gstpad.h:
14347         Simplify pad activation.
14348         Added function to check if pull_range can be performed.
14349         Error out when pulling inactive or flushing pads.
14350         Removed const from refcounted types as it does not make sense.
14351         Simplify pad templates in basesink
14352         Added base class for simple 1-to-1 transforms.
14353         Make identity subclass the base transform.
14354
14355 2005-03-29  Andy Wingo  <wingo@pobox.com>
14356
14357         * docs/libs/gstreamer-libs-overrides.txt: 
14358         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
14359         really don't understand what's going on, but like whatever. I want
14360         green buildbot!
14361
14362         * docs/gst/Makefile.am:
14363         * docs/libs/Makefile.am: Dist the overrides files.
14364
14365         * check/Makefile.am (clean-local): Remove .libs directories.
14366
14367         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
14368         elements to EXTRA_DIST, so po/ files are happy.
14369
14370         * po/POTFILES.in: Er, remove it here.
14371
14372         * po/POTFILES: Remove gstspider.c.
14373
14374         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
14375
14376         * docs/libs/gstreamer-libs-docs.sgml: 
14377         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
14378         bytestream.
14379
14380         * tests/complexity.c (main): Set the length of the preroll queue
14381         on the sinks to prevent a lockup.
14382
14383         * libs/gst/dataprotocol/Makefile.am: 
14384         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
14385         the same as the one in check/gst-libs/gdp.c.
14386
14387         * po/, docs/gst/: Commit automatic changes to docs and po files.
14388
14389         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
14390         the versioned libgstbase.
14391
14392         * check/Makefile.am: Depend on an unversioned gst-register, seems
14393         to make autoconf happier.
14394
14395         * gst/base/Makefile.am: Make libgstbase a versioned lib.
14396
14397 2005-03-28  Wim Taymans  <wim@fluendo.com>
14398
14399         * configure.ac:
14400         * docs/design/part-gstelement.txt:
14401         * docs/design/part-negotiation.txt:
14402         * docs/design/part-preroll.txt:
14403         * docs/design/part-scheduling.txt:
14404         * docs/design/part-states.txt:
14405         * gst/Makefile.am:
14406         * gst/base/Makefile.am:
14407         * gst/base/README:
14408         * gst/base/gstbasesink.c: (gst_basesink_get_template),
14409         (gst_basesink_base_init), (gst_basesink_class_init),
14410         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
14411         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
14412         (gst_basesink_set_pad_functions),
14413         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
14414         (gst_basesink_set_property), (gst_basesink_get_property),
14415         (gst_base_sink_get_template), (gst_base_sink_get_caps),
14416         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
14417         (gst_basesink_preroll_queue_push),
14418         (gst_basesink_preroll_queue_empty),
14419         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
14420         (gst_basesink_event), (gst_basesink_get_times),
14421         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
14422         (gst_basesink_chain_unlocked), (gst_basesink_chain),
14423         (gst_basesink_loop), (gst_basesink_activate),
14424         (gst_basesink_change_state):
14425         * gst/base/gstbasesink.h:
14426         * gst/elements/Makefile.am:
14427         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
14428         (gst_fakesink_class_init), (gst_fakesink_init),
14429         (gst_fakesink_set_property), (gst_fakesink_get_property),
14430         (gst_fakesink_get_times), (gst_fakesink_event),
14431         (gst_fakesink_preroll), (gst_fakesink_render),
14432         (gst_fakesink_change_state):
14433         * gst/elements/gstfakesink.h:
14434         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
14435         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
14436         * gst/gstelement.c: (gst_element_add_pad),
14437         (gst_element_get_state_func), (gst_element_abort_state),
14438         (gst_element_commit_state), (gst_element_lost_state),
14439         (gst_element_set_state), (gst_element_pads_activate):
14440         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
14441         * gst/gstpipeline.c: (gst_pipeline_send_event),
14442         (gst_pipeline_change_state):
14443         Added state change code.
14444         Added/updated docs.
14445         Added sink base class, make fakesink extend the base class.
14446         Small cleanups in GstPipeline.
14447
14448 2005-03-26  David Schleef  <ds@schleef.org>
14449
14450         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
14451         is broken and should be implemented in a different library.
14452         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
14453         * gst/gst.h: remove gstcpu.h
14454         * gst/gstcpu.c: remove
14455         * gst/gstcpu.h: remove
14456         * gst/Makefile.am.future: Remove this file.  It's ancient.
14457
14458 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14459
14460         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
14461         (gst_bin_send_event):
14462           Add default event/set_manager handlers. The set_manager handler
14463           takes care that the manager is distributed over kids that were
14464           already in the bin before the manager was set. The event handler
14465           is a utility virtual function that sends the event over all sinks,
14466           so that gst_element_send_event (bin, event); has the expected
14467           behaviour.
14468         * gst/gstpad.c: (gst_pad_event_default):
14469           Re-install default event handling for discontinuities, so that
14470           seeking works without requiring hacks in applications or extra
14471           code in sinks.
14472         * gst/gstpipeline.c: (gst_pipeline_class_init),
14473         (gst_pipeline_send_event):
14474           Half hack, half utility: set a pipeline to PAUSED for seek events,
14475           since that is the only way we can guarantee a/v sync. Means that
14476           you can do gst_element_seek (pipeline, method, pos); on a pipeline
14477           and it "just works".
14478
14479 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14480
14481         * gst/gstpipeline.c: (gst_pipeline_use_clock):
14482           Lock/unlock mismatch.
14483
14484 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14485
14486         * docs/faq/gst-uninstalled:
14487           add gst-plugins-base
14488         * docs/gst/Makefile.am:
14489           don't error out until docs are fixed
14490         * docs/gst/gstreamer.types:
14491           remove thread
14492
14493 2005-03-22  Wim Taymans  <wim@fluendo.com>
14494
14495         * check/Makefile.am:
14496         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
14497         * gst/gststructure.c: (gst_structure_set_valist),
14498         (gst_structure_copy_conditional):
14499         Activated more tests.
14500         Added message test.
14501         Added G_TYPE_POINTER to GstStructure.
14502         
14503
14504 2005-03-22  Wim Taymans  <wim@fluendo.com>
14505
14506         * docs/design/part-TODO.txt:
14507         * docs/design/part-events.txt:
14508         * docs/design/part-gstbin.txt:
14509         * docs/design/part-gstbus.txt:
14510         * docs/design/part-gstpipeline.txt:
14511         * docs/design/part-messages.txt:
14512         * gst/gstbus.c:
14513         * gst/gstmessage.c:
14514         Docs updates
14515
14516 2005-03-21  Wim Taymans  <wim@fluendo.com>
14517
14518         * gst/gstbus.c: (gst_bus_post):
14519         Fix copy-and-paste error.
14520
14521 2005-03-21  Wim Taymans  <wim@fluendo.com>
14522
14523         * check/Makefile.am:
14524         * gst/Makefile.am:
14525         * gst/elements/Makefile.am:
14526         * gst/elements/gstelements.c:
14527         * gst/elements/gstfakesink.c: (gst_fakesink_init),
14528         (gst_fakesink_event), (gst_fakesink_chain):
14529         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14530         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
14531         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
14532         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
14533         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
14534         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
14535         (gst_fakesrc_loop), (gst_fakesrc_activate),
14536         (gst_fakesrc_change_state):
14537         * gst/elements/gstfakesrc.h:
14538         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
14539         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
14540         (gst_filesrc_open_file), (gst_filesrc_loop),
14541         (gst_filesrc_activate), (gst_filesrc_change_state),
14542         (filesrc_find_peek), (filesrc_find_suggest),
14543         (gst_filesrc_type_find):
14544         * gst/elements/gstidentity.c: (gst_identity_finalize),
14545         (gst_identity_class_init), (gst_identity_init),
14546         (gst_identity_proxy_getcaps), (identity_queue_push),
14547         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
14548         (gst_identity_getrange), (gst_identity_chain),
14549         (gst_identity_sink_loop), (gst_identity_src_loop),
14550         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
14551         (gst_identity_set_property), (gst_identity_get_property),
14552         (gst_identity_change_state):
14553         * gst/elements/gstidentity.h:
14554         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
14555         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
14556         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
14557         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
14558         (gst_tee_sink_activate):
14559         * gst/elements/gsttee.h:
14560         * gst/gst.c: (gst_register_core_elements), (init_post):
14561         * gst/gst.h:
14562         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
14563         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
14564         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
14565         (gst_bin_change_state):
14566         * gst/gstbin.h:
14567         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
14568         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
14569         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
14570         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
14571         (gst_bus_set_sync_handler), (gst_bus_create_watch),
14572         (bus_watch_callback), (bus_watch_destroy),
14573         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
14574         (poll_timeout), (gst_bus_poll):
14575         * gst/gstbus.h:
14576         * gst/gstcaps.h:
14577         * gst/gstdata.h:
14578         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
14579         (gst_element_post_message), (gst_element_message_full),
14580         (gst_element_get_state_func), (gst_element_get_state),
14581         (gst_element_abort_state), (gst_element_commit_state),
14582         (gst_element_lost_state), (gst_element_set_state),
14583         (gst_element_pads_activate), (gst_element_change_state),
14584         (gst_element_dispose), (gst_element_set_manager_func),
14585         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
14586         (gst_element_set_manager), (gst_element_get_manager),
14587         (gst_element_set_bus), (gst_element_get_bus),
14588         (gst_element_set_scheduler), (gst_element_get_scheduler):
14589         * gst/gstelement.h:
14590         * gst/gstevent.c: (gst_event_new_segment_seek),
14591         (gst_event_new_flush):
14592         * gst/gstevent.h:
14593         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
14594         (_gst_message_free), (gst_message_get_type), (gst_message_new),
14595         (gst_message_new_eos), (gst_message_new_error),
14596         (gst_message_new_warning), (gst_message_new_tag),
14597         (gst_message_new_state_changed), (gst_message_new_application),
14598         (gst_message_get_structure), (gst_message_parse_tag),
14599         (gst_message_parse_state_changed), (gst_message_parse_error),
14600         (gst_message_parse_warning):
14601         * gst/gstmessage.h:
14602         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
14603         (gst_real_pad_set_property), (gst_pad_set_active),
14604         (gst_pad_is_active), (gst_pad_set_blocked_async),
14605         (gst_pad_set_blocked), (gst_pad_is_blocked),
14606         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
14607         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
14608         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
14609         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
14610         (gst_pad_link_filtered), (gst_pad_relink_filtered),
14611         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
14612         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
14613         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
14614         (gst_pad_set_caps), (gst_pad_configure_sink),
14615         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
14616         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
14617         (gst_real_pad_dispose), (gst_real_pad_finalize),
14618         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
14619         (gst_pad_event_default_dispatch), (gst_pad_event_default),
14620         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
14621         * gst/gstpad.h:
14622         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
14623         (pipeline_bus_handler), (gst_pipeline_change_state),
14624         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
14625         * gst/gstpipeline.h:
14626         * gst/gstprobe.h:
14627         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14628         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
14629         (gst_queue_link_src), (gst_queue_bufferalloc),
14630         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14631         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
14632         (gst_queue_loop), (gst_queue_handle_src_event),
14633         (gst_queue_handle_src_query), (gst_queue_src_activate),
14634         (gst_queue_change_state):
14635         * gst/gstqueue.h:
14636         * gst/gstscheduler.c: (gst_scheduler_init),
14637         (gst_scheduler_dispose), (gst_scheduler_create_task),
14638         (gst_scheduler_factory_create):
14639         * gst/gstscheduler.h:
14640         * gst/gststructure.c: (gst_structure_get_type),
14641         (gst_structure_copy_conditional):
14642         * gst/gststructure.h:
14643         * gst/gsttaginterface.h:
14644         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
14645         (gst_task_init), (gst_task_dispose), (gst_task_create),
14646         (gst_task_get_state), (gst_task_start), (gst_task_stop),
14647         (gst_task_pause):
14648         * gst/gsttask.h:
14649         * gst/gstthread.c:
14650         * gst/gstthread.h:
14651         * gst/gsttypes.h:
14652         * gst/schedulers/Makefile.am:
14653         * gst/schedulers/cothreads_compat.h:
14654         * gst/schedulers/entryscheduler.c:
14655         * gst/schedulers/faircothreads.c:
14656         * gst/schedulers/faircothreads.h:
14657         * gst/schedulers/fairscheduler.c:
14658         * gst/schedulers/gstbasicscheduler.c:
14659         * gst/schedulers/gstoptimalscheduler.c:
14660         * gst/schedulers/gthread-cothreads.h:
14661         * gst/schedulers/threadscheduler.c:
14662         (gst_thread_scheduler_task_get_type),
14663         (gst_thread_scheduler_task_class_init),
14664         (gst_thread_scheduler_task_init),
14665         (gst_thread_scheduler_task_start),
14666         (gst_thread_scheduler_task_stop),
14667         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
14668         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
14669         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
14670         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
14671         (plugin_init):
14672         * libs/gst/Makefile.am:
14673         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
14674         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
14675         (gst_file_pad_parent_set):
14676         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14677         (gst_dp_event_from_packet):
14678         * tests/complexity.c: (main):
14679         * tests/mass_elements.c: (main):
14680         * testsuite/states/locked.c: (message_received), (main):
14681         * testsuite/states/parent.c: (main):
14682         * tools/gst-inspect.c: (print_element_flag_info),
14683         (print_implementation_info), (print_pad_info):
14684         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
14685         (main):
14686         * tools/gst-md5sum.c: (event_loop), (main):
14687         * tools/gst-typefind.c: (main):
14688         * tools/gst-xmlinspect.c: (print_element_info):
14689         Next big merge.
14690         Added GstBus for mainloop integration.
14691         Added GstMessage for sending notifications on the bus.
14692         Added GstTask as an abstraction for pipeline entry points.
14693         Removed GstThread.
14694         Removed Schedulers.
14695         Simplified GstQueue for multithreaded core.
14696         Made _link threadsafe, removed old capsnego.
14697         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
14698         Added pad blocking functions.
14699         Reworked scheduling functions in GstPad to prepare for
14700         scheduling updates soon.
14701         Moved events out of data stream.
14702         Simplified GstEvent types.
14703         Added return values to push/pull.
14704         Removed clocking from GstElement.
14705         Added prototypes for state change function for next merge.
14706         Removed iterate from bins and state change management.
14707         Fixed some elements, disabled others for now.
14708         Fixed -inspect and -launch.
14709         Added check for GstBus.
14710
14711 2005-03-10  Wim Taymans  <wim@fluendo.com>
14712
14713         * docs/design/part-MT-refcounting.txt:
14714         * docs/design/part-clocks.txt:
14715         * docs/design/part-gstelement.txt:
14716         * docs/design/part-gstobject.txt:
14717         * docs/design/part-standards.txt:
14718         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
14719         (gst_bin_remove_func), (gst_bin_remove):
14720         * gst/gstbin.h:
14721         * gst/gstbuffer.c:
14722         * gst/gstcaps.h:
14723         * testsuite/clock/clock1.c: (main):
14724         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
14725         (main):
14726         * testsuite/dlopen/loadgst.c: (do_test):
14727         * testsuite/refcounting/bin.c: (add_remove_test1),
14728         (add_remove_test2), (main):
14729         * testsuite/refcounting/element.c: (main):
14730         * testsuite/refcounting/element_pad.c: (main):
14731         * testsuite/refcounting/pad.c: (main):
14732         * tools/gst-launch.c: (sigint_handler_sighandler):
14733         * tools/gst-typefind.c: (main):
14734         Doc updates.
14735         Added doc about clock.
14736         removed gst_bin_iterate_recurse_up(), marked methods
14737         for removal.
14738         Fix more testsuites.
14739
14740 2005-03-09  Wim Taymans  <wim@fluendo.com>
14741
14742         * gst/gstpad.c: (gst_pad_get_direction),
14743         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
14744         (gst_pad_collect_valist):
14745         * testsuite/bins/interface.c: (main):
14746         * testsuite/caps/audioscale.c: (test_caps):
14747         * testsuite/caps/caps.c: (test1), (test2), (test3):
14748         * testsuite/caps/deserialize.c: (main):
14749         * testsuite/caps/enumcaps.c: (main):
14750         * testsuite/caps/filtercaps.c: (main):
14751         * testsuite/caps/intersect2.c: (main):
14752         * testsuite/caps/random.c: (main):
14753         * testsuite/caps/renegotiate.c: (my_fixate), (main):
14754         * testsuite/caps/sets.c: (check_caps):
14755         * testsuite/caps/simplify.c: (check_caps), (main):
14756         * testsuite/caps/subtract.c: (check_caps):
14757         Fix _pad_get_direction wrt ghostpads.
14758         Fix caps testsuite.
14759
14760 2005-03-09  Wim Taymans  <wim@fluendo.com>
14761
14762         * check/Makefile.am:
14763         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
14764         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
14765         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
14766         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
14767         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
14768         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
14769         (gst_bin_remove), (gst_bin_iterate_recurse_up),
14770         (bin_element_is_sink), (gst_bin_iterate_sinks),
14771         (gst_bin_iterate_all_by_interface):
14772         * gst/gstbin.h:
14773         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
14774         (gst_element_change_state), (gst_element_dispose),
14775         (gst_element_finalize), (gst_element_set_loop_function):
14776         * gst/gstelement.h:
14777         * gst/gstiterator.c: (find_custom_fold_func):
14778         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
14779         (gst_pad_collectv), (gst_pad_collect_valist),
14780         (gst_pad_template_new):
14781         * gst/gstpipeline.c: (gst_pipeline_class_init),
14782         (gst_pipeline_dispose), (gst_pipeline_set_property),
14783         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
14784         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
14785         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
14786         * gst/gstutils.h:
14787         * gst/schedulers/entryscheduler.c:
14788         * gst/schedulers/gstbasicscheduler.c:
14789         (gst_basic_scheduler_cothreaded_chain),
14790         (gst_basic_scheduler_chain_add_element):
14791         * testsuite/bins/interface.c: (main):
14792         Added GstBin test.
14793         Added GstSystemClock test.
14794         Implemented clock distribution code in GstBin.
14795         Implemented iterate sinks method for future use.
14796         Rearranged gstelement.h
14797         Fix GstIterator comparison bug.
14798         Moved some code to GstPipeline, mostly clocking related.
14799
14800 2005-03-09  Wim Taymans  <wim@fluendo.com>
14801
14802         * configure.ac:
14803         * gst/gst_private.h:
14804         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
14805         (gst_bin_remove_func), (gst_bin_remove),
14806         (gst_bin_get_by_name_recurse_up):
14807         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
14808         (gst_clock_id_compare_func), (gst_clock_id_wait),
14809         (gst_clock_id_wait_async), (gst_clock_init),
14810         (gst_clock_adjust_unlocked), (gst_clock_get_time):
14811         * gst/gstelement.h:
14812         * gst/gstinfo.c: (_gst_debug_init):
14813         * gst/gstobject.h:
14814         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
14815         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
14816         * gst/gstpad.h:
14817         Bump version number, we're now 0.9.0
14818         Add future debugging category.
14819         Fix NULL _unref() in _get_by_name_recurse_up
14820         Rearrange gstpad.h.
14821         Update some docs.
14822
14823 2005-03-08  Wim Taymans  <wim@fluendo.com>
14824
14825         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
14826         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
14827         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
14828         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
14829         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
14830         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
14831         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
14832         * gst/elements/gstidentity.c: (gst_identity_class_init):
14833         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
14834         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
14835         * gst/elements/gstshaper.c: (gst_shaper_class_init):
14836         * gst/elements/gststatistics.c: (gst_statistics_class_init):
14837         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
14838         (gst_tee_link):
14839         * gst/gstelement.c: (gst_element_class_init),
14840         (gst_element_base_class_init), (gst_element_init),
14841         (gst_element_get_random_pad), (gst_element_wait_state_change),
14842         (gst_element_change_state), (gst_element_dispose),
14843         (gst_element_finalize), (gst_element_set_loop_function):
14844         * gst/gstelement.h:
14845         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
14846         * gst/gstthread.c: (gst_thread_class_init),
14847         (gst_thread_release_children_locks), (gst_thread_change_state):
14848         * gst/schedulers/gstbasicscheduler.c:
14849         (gst_basic_scheduler_loopfunc_wrapper),
14850         (gst_basic_scheduler_chain_wrapper),
14851         (gst_basic_scheduler_src_wrapper),
14852         (gst_basic_scheduler_remove_element):
14853         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
14854         Remove threadsafe properties. Fix elements because GObject
14855         complains when installing a property before declaring a
14856         set/get_property handler.
14857         Rearrange gstelement.h file, use STATE macros for state locks.
14858         Free mutexes in the finalize method instead of dispose.
14859
14860 2005-03-08  Wim Taymans  <wim@fluendo.com>
14861
14862         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
14863         * gst/gstthread.c: (gst_thread_release_children_locks):
14864         Added parentage check.
14865         Fix build og GstThread again.
14866
14867 2005-03-08  Wim Taymans  <wim@fluendo.com>
14868
14869         * docs/design/part-MT-refcounting.txt:
14870         * docs/design/part-conventions.txt:
14871         * docs/design/part-gstobject.txt:
14872         * docs/design/part-relations.txt:
14873         * docs/design/part-standards.txt:
14874         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
14875         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
14876         (gst_bin_get_by_name), (gst_bin_get_by_interface),
14877         (gst_bin_iterate_all_by_interface):
14878         * gst/gstbuffer.h:
14879         * gst/gstclock.h:
14880         * gst/gstelement.c: (gst_element_class_init),
14881         (gst_element_change_state), (gst_element_set_loop_function):
14882         * gst/gstelement.h:
14883         * gst/gstiterator.c:
14884         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
14885         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
14886         (gst_object_dispatch_properties_changed), (gst_object_set_name),
14887         (gst_object_set_parent), (gst_object_unparent),
14888         (gst_object_check_uniqueness):
14889         * gst/gstobject.h:
14890         Docs updates, clean up some headers.
14891
14892 2005-03-07  Wim Taymans  <wim@fluendo.com>
14893
14894         * check/.cvsignore:
14895         * check/Makefile.am:
14896         * check/gst-libs/.cvsignore:
14897         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
14898         * check/gst/.cvsignore:
14899         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
14900         (START_TEST), (gstbus_suite), (main):
14901         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
14902         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
14903         (gst_data_suite), (main):
14904         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
14905         (add_fold_func), (gstiterator_suite), (main):
14906         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
14907         (thread_name_object), (thread_name_object_default),
14908         (gst_object_name_compare), (gst_object_suite), (main):
14909         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
14910         (gst_pad_suite), (main):
14911         * check/gstcheck.c: (gst_check_log_message_func),
14912         (gst_check_log_critical_func), (gst_check_init):
14913         * check/gstcheck.h:
14914         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14915         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
14916         Added checks.
14917
14918 2005-03-07  Wim Taymans  <wim@fluendo.com>
14919
14920         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14921         (gst_list_iterator_next), (gst_list_iterator_resync),
14922         (gst_list_iterator_free), (gst_iterator_new_list),
14923         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
14924         (gst_iterator_free), (gst_iterator_push), (filter_next),
14925         (filter_resync), (filter_uninit), (filter_free),
14926         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
14927         (gst_iterator_foreach), (find_custom_fold_func),
14928         (gst_iterator_find_custom):
14929         * gst/gstiterator.h:
14930         Added missing files.
14931
14932 2005-03-07  Wim Taymans  <wim@fluendo.com>
14933
14934         * Makefile.am:
14935         * configure.ac:
14936         * docs/design/part-MT-refcounting.txt:
14937         * docs/design/part-conventions.txt:
14938         * docs/design/part-gstobject.txt:
14939         * docs/design/part-relations.txt:
14940         * examples/mixer/mixer.c: (main):
14941         * examples/thread/thread.c: (eos), (main):
14942         * gst/Makefile.am:
14943         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
14944         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
14945         (gst_spider_plug_from_srcpad):
14946         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
14947         (gst_spider_identity_change_state),
14948         (gst_spider_identity_sink_loop_type_finding):
14949         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
14950         * gst/elements/gstidentity.c: (gst_identity_init):
14951         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
14952         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
14953         * gst/elements/gsttypefindelement.c: (free_entry):
14954         * gst/gst.c:
14955         * gst/gst.h:
14956         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
14957         (gst_bin_set_clock_func), (gst_bin_auto_clock),
14958         (gst_bin_set_index), (gst_bin_set_element_sched),
14959         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
14960         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
14961         (gst_bin_iterate_elements), (iterate_child_recurse),
14962         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
14963         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
14964         (compare_interface), (gst_bin_get_by_interface),
14965         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
14966         * gst/gstbin.h:
14967         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
14968         (gst_buffer_default_free), (gst_buffer_default_copy),
14969         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
14970         (gst_buffer_create_sub):
14971         * gst/gstbuffer.h:
14972         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
14973         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
14974         (gst_caps_unref), (gst_static_caps_get),
14975         (gst_caps_remove_and_get_structure), (gst_caps_append),
14976         (gst_caps_append_structure), (gst_caps_remove_structure),
14977         (gst_caps_copy_nth), (gst_caps_set_simple),
14978         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
14979         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
14980         (gst_caps_structure_intersect_field), (gst_caps_intersect),
14981         (gst_caps_structure_subtract_field), (gst_caps_subtract),
14982         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
14983         (gst_caps_structure_figure_out_union),
14984         (gst_caps_switch_structures), (gst_caps_do_simplify),
14985         (gst_caps_replace), (gst_caps_from_string),
14986         (gst_caps_copy_conditional):
14987         * gst/gstcaps.h:
14988         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
14989         (_gst_clock_id_free), (gst_clock_id_unref),
14990         (gst_clock_id_compare_func), (gst_clock_id_wait),
14991         (gst_clock_id_wait_async), (gst_clock_class_init),
14992         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
14993         (gst_clock_get_time), (gst_clock_set_time_adjust),
14994         (gst_clock_set_property), (gst_clock_get_property):
14995         * gst/gstclock.h:
14996         * gst/gstcompat.h:
14997         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
14998         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
14999         * gst/gstdata.h:
15000         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
15001         (gst_element_requires_clock), (gst_element_provides_clock),
15002         (gst_element_set_clock), (gst_element_clock_wait),
15003         (gst_element_wait), (gst_element_set_time_delay),
15004         (gst_element_is_indexable), (gst_element_add_pad),
15005         (gst_element_add_ghost_pad), (gst_element_remove_pad),
15006         (pad_compare_name), (gst_element_get_static_pad),
15007         (gst_element_request_pad), (gst_element_get_request_pad),
15008         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
15009         (gst_element_class_get_pad_template_list),
15010         (gst_element_class_get_pad_template), (gst_element_error_func),
15011         (gst_element_get_random_pad), (gst_element_get_event_masks),
15012         (gst_element_send_event), (gst_element_seek),
15013         (gst_element_get_query_types), (gst_element_query),
15014         (gst_element_get_formats), (gst_element_convert),
15015         (gst_element_is_locked_state), (gst_element_set_locked_state),
15016         (gst_element_sync_state_with_parent), (gst_element_change_state),
15017         (gst_element_finalize), (gst_element_yield),
15018         (gst_element_interrupt), (gst_element_set_scheduler),
15019         (gst_element_get_scheduler), (gst_element_set_loop_function):
15020         * gst/gstelement.h:
15021         * gst/gstevent.h:
15022         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
15023         (gst_format_get_by_nick), (gst_format_get_details),
15024         (gst_format_iterate_definitions):
15025         * gst/gstformat.h:
15026         * gst/gstindex.c: (gst_index_gtype_resolver):
15027         * gst/gstinfo.c:
15028         * gst/gstinfo.h:
15029         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
15030         (gst_mem_chunk_free):
15031         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15032         (gst_object_ref), (gst_object_unref), (gst_object_sink),
15033         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
15034         (gst_object_dispatch_properties_changed),
15035         (gst_object_set_name_default), (gst_object_set_name),
15036         (gst_object_get_name), (gst_object_set_name_prefix),
15037         (gst_object_get_name_prefix), (gst_object_set_parent),
15038         (gst_object_get_parent), (gst_object_unparent),
15039         (gst_object_check_uniqueness), (gst_object_save_thyself),
15040         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
15041         (gst_object_set_property), (gst_object_get_property),
15042         (gst_object_get_path_string):
15043         * gst/gstobject.h:
15044         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
15045         (gst_real_pad_init), (gst_real_pad_get_property),
15046         (gst_pad_custom_new), (gst_pad_get_direction),
15047         (gst_pad_set_active), (gst_pad_is_active),
15048         (gst_pad_set_event_function), (gst_pad_is_linked),
15049         (gst_pad_link_free), (gst_pad_link_intersect),
15050         (gst_pad_link_fixate), (gst_pad_set_caps),
15051         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
15052         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
15053         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
15054         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
15055         (gst_pad_get_caps), (gst_pad_peer_get_caps),
15056         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
15057         (gst_pad_realize), (gst_pad_get_allowed_caps),
15058         (gst_real_pad_dispose), (gst_real_pad_finalize),
15059         (gst_pad_collectv), (gst_pad_collect_valist),
15060         (gst_pad_template_dispose), (gst_pad_template_new),
15061         (gst_pad_get_internal_links):
15062         * gst/gstpad.h:
15063         * gst/gstpipeline.c: (gst_pipeline_dispose),
15064         (gst_pipeline_change_state):
15065         * gst/gstpipeline.h:
15066         * gst/gstplugin.c:
15067         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
15068         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
15069         * gst/gstpluginfeature.h:
15070         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
15071         * gst/gstquery.c: (_gst_query_type_initialize),
15072         (gst_query_type_register), (gst_query_type_get_by_nick),
15073         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
15074         * gst/gstquery.h:
15075         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
15076         * gst/gstscheduler.c: (gst_scheduler_add_element),
15077         (gst_scheduler_factory_create):
15078         * gst/gststructure.c: (gst_structure_set_parent_refcount),
15079         (gst_structure_free), (gst_structure_set_name),
15080         (gst_structure_id_set_value), (gst_structure_set_value),
15081         (gst_structure_set_valist), (gst_structure_remove_field),
15082         (gst_structure_remove_fields),
15083         (gst_structure_remove_fields_valist),
15084         (gst_structure_remove_all_fields), (gst_structure_foreach),
15085         (gst_structure_map_in_place),
15086         (gst_caps_structure_fixate_field_nearest_int),
15087         (gst_caps_structure_fixate_field_nearest_double):
15088         * gst/gststructure.h:
15089         * gst/gstsystemclock.c: (gst_system_clock_class_init),
15090         (gst_system_clock_init), (gst_system_clock_dispose),
15091         (gst_system_clock_async_thread),
15092         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
15093         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
15094         * gst/gstsystemclock.h:
15095         * gst/gsttag.c: (gst_tag_list_add_value_internal),
15096         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
15097         * gst/gsttaginterface.c:
15098         * gst/gstthread.c: (gst_thread_dispose),
15099         (gst_thread_release_children_locks), (gst_thread_change_state),
15100         (gst_thread_main_loop):
15101         * gst/gsttrashstack.h:
15102         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
15103         * gst/gsttypes.h:
15104         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15105         (gst_element_request_pad), (gst_element_get_pad_from_template),
15106         (gst_element_request_compatible_pad),
15107         (gst_element_get_compatible_pad_filtered),
15108         (gst_element_get_compatible_pad), (gst_element_state_get_name),
15109         (gst_element_link_pads_filtered), (gst_element_link_filtered),
15110         (gst_element_link_many), (gst_element_link),
15111         (gst_element_link_pads), (gst_element_unlink_pads),
15112         (gst_element_unlink_many), (gst_element_unlink),
15113         (gst_pad_can_link_filtered), (gst_pad_can_link),
15114         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
15115         (gst_object_default_error), (gst_bin_add_many),
15116         (gst_bin_remove_many), (gst_element_populate_std_props),
15117         (gst_element_class_install_std_props), (gst_buffer_merge),
15118         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
15119         (link_fold_func), (gst_pad_proxy_setcaps):
15120         * gst/gstutils.h:
15121         * gst/gstvalue.c: (gst_value_deserialize_string):
15122         * gst/parse/grammar.y:
15123         * gst/schedulers/gstbasicscheduler.c:
15124         (gst_basic_scheduler_cothreaded_chain),
15125         (gst_basic_scheduler_chain_recursive_add),
15126         (gst_basic_scheduler_pad_link):
15127         * gst/schedulers/gstoptimalscheduler.c:
15128         (get_group_schedule_function),
15129         (gst_opt_scheduler_state_transition),
15130         (gst_opt_scheduler_add_element), (element_get_reachables_func):
15131         * libs/gst/bytestream/bytestream.c:
15132         * libs/gst/dataprotocol/dataprotocol.c:
15133         (gst_dp_header_from_buffer):
15134         * po/nb.po:
15135         * po/ru.po:
15136         * tests/threadstate/threadstate2.c: (eos):
15137         * tools/gst-compprep.c: (main):
15138         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
15139         (print_pad_info), (print_children_info):
15140         * tools/gst-launch.c: (idle_func), (main):
15141         * tools/gst-md5sum.c: (idle_func), (main):
15142         * tools/gst-xmlinspect.c: (print_element_info):
15143         First THREADED backport attempt, focusing on adding locks and
15144         making sure the API is threadsafe. Needs more work. More docs
15145         follow this week.
15146
15147 2005-02-24  Andy Wingo  <wingo@pobox.com>
15148
15149         * tests/bench-complexity.scm:
15150         * tests/complexity.gnuplot: New files, good for running complexity
15151         benchmarks.
15152
15153         * tests/Makefile.am:
15154         * tests/complexity.c: New test, sets up N elements, at each level
15155         teeing into M streams per element. Eeeenteresting.
15156
15157         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
15158         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
15159         running bench-mass_elements.scm.
15160
15161         * tests/bench-mass_elements.scm: New script, runs mass_elements
15162         for various numbers of identities, outputting the results to a
15163         file. Requires guile 1.6. Just for testing.
15164
15165 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15166
15167         * gst/schedulers/fairscheduler.c:
15168           compile with debug disabled
15169
15170 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15171
15172         * configure.ac:
15173           hunting season on 0.9 is now OPEN