Skip to content

Releases: Juniper/libxo

libxo-0.1.4

23 Oct 16:21
Compare
Choose a tag to compare

Changes for freebsd-11:

  • nuke streq
  • make 'opts' static
  • remove most of the libslax logic; we need SLAX_BINDIR and SLAX_OXTRADOCDIR to make docs
  • remove silly cast

libxo-0.1.3

21 Oct 01:37
Compare
Choose a tag to compare
  • Add -I option to generate info data (xolint)
  • Add release info to docs
  • add -D and -I options for xolint
  • add .Xr entries for all functions
  • add docs link
  • add man pages
  • add xolint
  • better decl of -I table
  • catch mo' bugs (xolint)
  • fix options
  • update copyright
  • update patch (keys)

libxo-0.1.2

30 Aug 03:02
Compare
Choose a tag to compare

Big features:

  • xo_parse_args looks for "--libxo=" options and alters behavior
  • support for clang
  • runs under freebsd; patches directory has patches for select apps
  • more regression test cases
  • xolint is a new "lint"-like utility for xo_emit format strings
  • xohtml is a wrapper for turning libxo=html output into html files (for testing/debugging)
  • complete documentation
  • new flags:
    • XOF_UNDERSCORE -- turns hyphens into underscores in field names for JSON
    • XOF_COLUMNS -- xo_emit returns the number of columns emitted
    • XOF_FLUSH -- flush output after each xo_emit call (when possible)

Minor changes:

  • Add xo_set_options()
  • make depth check failure return
  • Add underscore flag (XOF_UNDERSCORE)
  • Delete configure
  • Detect gcc (vs clang) HAVE_GCC
  • Update documentation
  • add 8k limit for anchors
  • add ADB_PATH
  • add anchors
  • add libxo/xoconfig.h
  • add missing tag when the caller forgets
  • add more error messages
  • add unescape flag to trailing strings
  • add xo-html
  • add xo_get_style() and xo_get_flags()
  • add xo_message functions
  • allow backslashes to escape inside format strings;
  • walk format code for labels and titles even in xml/json mode to allow fields to be popped off xo_vap
  • allow encoding of empty tags for XML and JSON
  • dont '(null)' on missing option
  • fix references
  • fix warnings under freebsd10
  • fix {N:x/y} related bug
  • fix {d:tag/%s} bug for xml and json
  • get 'xolint -D' output for docs
  • make -fno-inline-functions-called-once gcc-specific
  • make more errors fatal
  • fix xo_format_data returning short data
  • make real types for flags
  • make xo_write, a function for calling xop->xo_write; add the {U:} units role
  • need ":" in front of old style options
  • new 'note' role
  • new XOF_COLUMNS and XOF_FLUSH flags
  • new version strings
  • new {W:warning} and {E:error} field types
  • create xo_parse_args, which extracts --libxo arguments from argv before main() passes it to getopt.
  • only care about max width/columns for display output
  • only show keys if XOF_KEYS; call xo_format_data even if text and encode-only
  • progress for xolint
  • rename div[1-5] to meaningful names; allows keys on display fields; encode them correctly, esp with keys
  • make XOF_KEYS add data-key="key" for HTML
  • rename libxo.h to xo.h
  • rename libxo/libxo-config.h to libxo/xoconfig.h
  • rename xo-html to xohtml
  • s/opt_text/opt_print/, now "-p" option (xolint)
  • show keys in red (xohtml)
  • teach {L:} and {P:} to handle empty contents
  • update docs
  • update test cases
  • use xo_errx; fix a couple of error messages; give usage message when there is nothing to do
  • use xo_format_content for warnings, errors, labels, and notes
  • xolint docs

libxo-0.1.1

08 Aug 23:02
Compare
Choose a tag to compare
  • Add support for UTF-8, locale, and wide strings
  • Make %width.prec work for all strings
  • add xo_set_style_name()
  • make xo_* equivalent of warn/err functions
  • rename warning function to "xo_failure"

libxo-0.1.0

30 Jul 18:56
Compare
Choose a tag to compare

Initial release.