configure.ac: Add detection for HAVE_PRINTF_EXTENSION and
authorDavid Schleef <ds@schleef.org>
Thu, 29 Jan 2004 01:20:23 +0000 (01:20 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 29 Jan 2004 01:20:23 +0000 (01:20 +0000)
commit6a096813d4e931610fbebb21e782c35eb53071c1
tree55b7d53e3c4904ac9412ef321b189542cf98aba7
parent0d25cd2aa476ad0de734b91aa9d2d85ec3a716f3
configure.ac: Add detection for HAVE_PRINTF_EXTENSION and

Original commit message from CVS:
* configure.ac: Add detection for HAVE_PRINTF_EXTENSION and
GST_PRINTF_EXTENSION_FORMAT_DEFINE.
* docs/random/ds/0.9-suggested-changes: Notes from Company.
* gst/gstcaps.c: (gst_caps_to_string): Add comment.
* gst/gstconfig.h.in: Add define for GST_PTR_FORMAT
* gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_object),
(gst_debug_log_default), (_gst_info_printf_extension),
(_gst_info_printf_extension_arginfo):  Add printf extension.
* gst/gstinfo.h: remove G_GNUC_PRINTF, because it doesn't work with %P
* gst/gststructure.c: (gst_structure_to_string),
(_gst_structure_parse_value): Use gst_value_deserialize() and
remove old code.
* gst/gstvalue.c: (gst_value_deserialize_fourcc),
(gst_value_deserialize_boolean), (gst_strtoi),
(gst_value_deserialize_int), (gst_value_deserialize_double),
(gst_value_deserialize_string), (gst_value_deserialize): Implement
a bunch of deserialize functions and gst_value_deserialize.
* gst/gstvalue.h: er, _de_serialize, not unserialize
* testsuite/caps/string-conversions.c: (main): We don't currently
handle (float) in caps, so convert these to (double).
* testsuite/debug/Makefile.am: Add new test for the printf extension
* testsuite/debug/printf_extension.c: (main): same
17 files changed:
ChangeLog
common
configure.ac
docs/random/ds/0.9-suggested-changes
gst/gstcaps.c
gst/gstconfig.h.in
gst/gstinfo.c
gst/gstinfo.h
gst/gststructure.c
gst/gstvalue.c
gst/gstvalue.h
tests/old/testsuite/caps/string-conversions.c
tests/old/testsuite/debug/Makefile.am
tests/old/testsuite/debug/printf_extension.c [new file with mode: 0644]
testsuite/caps/string-conversions.c
testsuite/debug/Makefile.am
testsuite/debug/printf_extension.c [new file with mode: 0644]