From b51d07578967b942e94d6a59fdcabd8e6313713f Mon Sep 17 00:00:00 2001 From: Phil Shafer Date: Thu, 8 Jun 2017 12:58:33 +0000 Subject: Import libxo 0.8.0 --- Makefile.am | 21 + configure.ac | 2 +- doc/libxo-manual.html | 2949 +++++++++++++++++++------------------ doc/libxo.txt | 195 ++- encoder/cbor/enc_cbor.c | 2 +- encoder/test/enc_test.c | 4 +- libxo/libxo.c | 414 ++++-- libxo/xo.h | 2 + libxo/xo_buf.h | 2 +- libxo/xo_encoder.c | 6 +- libxo/xo_encoder.h | 5 +- libxo/xo_syslog.c | 4 +- tests/core/Makefile.am | 18 +- tests/core/saved/test_01.E.out | 278 ++-- tests/core/saved/test_02.E.out | 136 +- tests/core/saved/test_03.E.out | 68 +- tests/core/saved/test_04.E.out | 44 +- tests/core/saved/test_05.E.out | 192 +-- tests/core/saved/test_06.E.out | 44 +- tests/core/saved/test_07.E.out | 152 +- tests/core/saved/test_08.E.out | 372 ++--- tests/core/saved/test_09.E.out | 80 +- tests/core/saved/test_10.E.out | 252 ++-- tests/core/saved/test_11.E.out | 16 +- tests/core/saved/test_11.HIPx.out | 8 +- tests/core/saved/test_12.E.out | 180 +-- tests/core/saved/test_12.H.out | 2 +- tests/core/saved/test_12.HIPx.out | 89 +- tests/core/saved/test_12.HP.out | 89 +- tests/core/saved/test_12.J.out | 2 +- tests/core/saved/test_12.JP.out | 2 + tests/core/saved/test_12.T.out | 42 +- tests/core/saved/test_12.X.out | 2 +- tests/core/saved/test_12.XP.out | 2 + tests/core/test_12.c | 11 + tests/gettext/Makefile.am | 3 +- tests/xo/Makefile.am | 3 +- xo/xo.1 | 87 +- xohtml/xohtml.1 | 15 +- xopo/xopo.1 | 16 +- xopo/xopo.c | 5 +- 41 files changed, 3139 insertions(+), 2677 deletions(-) diff --git a/Makefile.am b/Makefile.am index cb71d522bb51e..25024d11a9ad0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -100,4 +100,25 @@ ANALYZE_DIR = ~/trash/libxo ANALYZE_CMD = scan-build-mp-3.6 analyze: + ${MAKE} clean ${ANALYZE_CMD} -o ${ANALYZE_DIR} ${MAKE} + +SANIFLAGS=-fno-omit-frame-pointer -g -O2 + +sanitize-address: + ${MAKE} clean + ${MAKE} CFLAGS="-fsanitize=address ${SANIFLAGS}" + ${MAKE} install + ${MAKE} test + +sanitize-undefined: + ${MAKE} clean + ${MAKE} CFLAGS="-fsanitize=undefined ${SANIFLAGS}" + ${MAKE} install + ${MAKE} test + +sanitize-memory: + ${MAKE} clean + ${MAKE} CFLAGS="-fsanitize=memory ${SANIFLAGS}" + ${MAKE} install + ${MAKE} test diff --git a/configure.ac b/configure.ac index 26d85b6283d5d..3deb765f357f6 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,7 @@ # AC_PREREQ(2.2) -AC_INIT([libxo], [0.7.2], [phil@juniper.net]) +AC_INIT([libxo], [0.8.0], [phil@juniper.net]) AM_INIT_AUTOMAKE([-Wall -Werror foreign -Wno-portability]) # Support silent build rules. Requires at least automake-1.11. diff --git a/doc/libxo-manual.html b/doc/libxo-manual.html index 34053c98b1f94..e25445543ecb7 100644 --- a/doc/libxo-manual.html +++ b/doc/libxo-manual.html @@ -515,7 +515,7 @@ li.indline1 { } @top-right { - content: "May 2017"; + content: "June 2017"; } @top-center { @@ -21983,15 +21983,17 @@ jQuery(function ($) { - - - - - - - - - + + + + + + + + + + + @@ -22009,7 +22011,7 @@ jQuery(function ($) { -May 15, 2017 +June 3, 2017

libxo: The Easy Way to Generate text, XML, JSON, and HTML output
libxo-manual

@@ -22018,398 +22020,413 @@ jQuery(function ($) {