Skip to content

Releases: Juniper/libxo

libxo-0.4.1

22 Aug 07:21
Compare
Choose a tag to compare

Incorporate #46

libxo-0.4.0

21 Aug 19:16
Compare
Choose a tag to compare

Big features:

  • syslog: xo_syslog makes syslog-ng (SD-Params) content using xo_emit format strings
  • i18n: {G:}, {g:} and {p:} add support for gettext() to libxo formats
  • custom encoded API allows external encoders to be created; a CBOR example is provided
  • new _p variants of libxo functions enable printf-like warnings

Minor notes:

  • xo_simplify_format() generates simplified messages (for .po files)
  • Add "%m" (prep for syslog)
  • fix issue when mbrtowc() fails
  • Add "add.man"
  • Add xo_encoder_op_name and xo_encoder_setup
  • Add xo_finish_atexit
  • make {p:} work without requiring {g:}
  • Add --disable-gettext
  • Add check for __isthreaded
  • Add checks for sysctlbyname, getprogname, and sun_len
  • Add code for testing thread-local variable support (THREAD_LOCAL)
  • Add xopo utility (for manging .po files)
  • Add {G:}, {g:}, and {p:}. Need to invent a .man backend for oxtradoc so this isn't manual.
  • Fail gracefully if oxtradoc (from libslax) is not installed)
  • Force copy of non-value-role fields; not a great solution, but best available
  • Incorporate Markus Kuhn's wcwidth() (as xo_wcwidth)
  • Linux hates (void)ing writev with -Werror=unused-result
  • Make PRINTFLIKE versions of all printf-like functions.
  • Make gettext checks smarter
  • Move internal flags from XOF_* into libxo.c (XOIF_*)
  • Move to XOF_SET() etc;
  • Add field number parsing
  • New XOF_UTF8 flag forces UTF-8
  • Nuke iswprint() test; many fancy unicode characters are marking !print but they are
  • add --with-gettext option to configure
  • add unistd.h for unlink(2)
  • add xo_wcwidth.h; move xo_humanize.h to noinst_HEADERS
  • add {{escaping}} braces info
  • document {G:} {g:} {p:}. Add howtos.
  • fix silly bug w/ end-of-sd-params handling; add BOM since we're UTF-8; use UTF-8 flag to force UTF-8
  • fix truncated output (gettext); use "__warning" consistently
  • move xo_message to it's own man page
  • no c99 in-for declarations. Sigh....
  • pull xo_buf* code into xo_buf.h
  • remove xo_version.h
  • rename xo_.h to xo__.h for conssitency
  • use XO_INFO_NULL to end arrays
  • xo_destroy now calls xo_flush

libxo-0.3.5

21 May 20:42
Compare
Choose a tag to compare
  • Delete install.sh
  • Add "humanize" modifier, which run humanize_number(3) on numeric fields

libxo-0.3.4

11 May 18:20
Compare
Choose a tag to compare
  • Delete generated files (xoconfig.h.in and m4/*)
  • Fix all the check for "rc >= left", not just the first one (pull/38)
  • add <stdarg.h> (libxo/pull/39.diff)

libxo-0.3.3

28 Apr 04:58
Compare
Choose a tag to compare
  • add recipe for running the clang analyzer
  • add doc fixes
  • fix issues found by clang static analyzer
  • missed bit of post-xo_effect_off_codes clean up

libxo-0.3.2

26 Apr 22:02
Compare
Choose a tag to compare
  • Teach xohtml to notice when stdin is a terminal; show help message
  • Add __printflike to xo.h prototypes.

libxo-0.3.0

26 Apr 06:15
Compare
Choose a tag to compare
  • Add --enable-text-only flag for small footprint scenarios
  • Add docs for leaf flag
  • Add some Sinhalese test cases; don't really work, but one day when I understand i18n more, this will help.
  • Fix for issue #24; ship man pages
  • Fix pretty printing of leaf nodes in a list
  • Merge branch 'patch-1' of https://github.com/allanjude/libxo into develop
  • Merge branch 'patch-2' of https://github.com/allanjude/libxo into develop
  • Merge branch 'patch-2' of https://github.com/shamrin/libxo into develop
  • Merge branch 'pretty_leaf' of https://github.com/allanjude/libxo into develop
  • Merge pull request #27 from olevole/master
  • Update xo_format.5
  • add ability to parse command line commands
  • add xolint checks for color/effect fields
  • add docs for xo_set_version
  • add man page for xohtml
  • add uninstall hook for xolint
  • add xo_open_marker
  • add xo_set_version
  • add xo_set_version test case
  • add warning for bad state transitions
  • fix xo_has_room bug (bad compare; a stinker!)
  • finish xohtml
  • docs for xohtml
  • add {C:} docs
  • allow whitespace in color/effect values
  • doc: fix html output example (forgotten quotes)
  • encoding modify documentation is incorrect
  • fix incorrect example output, JSON output will contain the value 65, not 6
  • fix release name
  • flag xo_err{,x,c} with __dead2/NORETURN
  • man xo(1): escaping for \n characters
  • s/must/should/ s/to/two
  • show oxtradoc dir in configure output
  • the encoding modify text is wrong, is copy/pasted from the display modifier, and actually does the opposite of what it says,
  • turn xop->xo_style references into accessor xo_style() to enable text-only rendering
  • xo_error.3: mdoc cleanup.

libxo-0.2.0

15 Jan 21:22
Compare
Choose a tag to compare
  • Add FAQ on history of libxo
  • Add XOF_FLUSH_LINE; use __flbf or isatty to set it
  • Add xo_err call
  • Add xo_set_program
  • Don't "autoreconf --install" anymore; Yosemite's autoreconf is too new for other platforms to handle
  • Escape newlines in JSON strings; generate JSON content from xo_error
  • Further libxo.3 cleanup.
  • General cleanup of xo.1.
  • General cleanup of xolint.1.
  • Install xolint to ${DESTDIR}${bindir} to allow staging.
  • Merge branch 'develop' of https://github.com/akabaev/libxo into develop
  • Merge branch 'develop' of https://github.com/cbrueffer/libxo into develop
  • Merge branch 'doc' of https://github.com/cbrueffer/libxo into develop
  • implement markers; add xo_stack_dump
  • Move to XSS_OPEN/CLOSE_XXX state values
  • Pass proper argument to sizeof operator.
  • Required for FreeBSD ports and other modern packaging systems.
  • Update with changes from Christian Brueffer's man page delta (pull #3)
  • add __flbf
  • add docs for leaf-list
  • add docs for title fields
  • add docs for xo_set_program
  • add docs for {l:}
  • add flush_func to xo_set_writer
  • add homebrew file
  • add leaf lists as distinct first-class construct
  • add note for DTRT mode
  • add note re: usage for attributes
  • add test case
  • add test case for {l:}
  • add transitions for XSS_EMIT_LEAF_LIST
  • allow xo_attr to affect containers, instances, and leaf-lists
  • double double quotes (to escape them)
  • expand xo_xof_flags_t to 64 bits; wrap bits in XOF_BIT(); add marker functions
  • fix .Nm/.Nd
  • fix comment
  • fix default format
  • fix packaging; no need for freebsd port files
  • fix xo_err
  • handle nested instances with markers
  • have xo_do_emit call xo_flush if XOF_FLUSH is set
  • init rc in xo_do_close_all (clang didn't detect this)
  • initial version
  • kill xo_open/close_leaf_list
  • libxo.3: fix grammar and punctuation.
  • libxo.3: fix mdoc usage.
  • libxo.3: mdoc style, sentences should start on a new line.
  • make xo_open_list backwards compatible with the pre-xo_open_leaf_list
  • mdoc style: start sentences on new lines.
  • move include of stdio_ext.h after include of xoconfig.h
  • new test cases
  • nuke xo_open/close_leaf_list
  • portable setting of errno
  • remove TODO comment
  • rename xo_push/pop_marker to xo_open/close_marker
  • resurrect xo_open/close_leaf_list
  • set rc to zero (again)
  • set rc to zero for XSS_INIT in xo_do_close
  • start moving to xo_transition
  • update autoconf files
  • update test cases
  • use stdio_ext.h to get __flbf for linux
  • xo needs XOF_NO_CLOSE
  • xo_create.3: fix mdoc usage.
  • xo_create.3: grammar fix.
  • xo_create.3: sentences should start on a new line.
  • xo_emit.3: fix mdoc usage.
  • xo_err.3: fix mdoc usage.
  • xo_finish.3, xo_flush.3: mdoc cleanup.
  • xo_format.3: first cleanup pass for mdoc usage, spelling and grammar.
  • xo_no_setlocale.3, xo_open_container.3: fix mdoc usage, spelling and grammar.
  • xo_open_list.3, xo_parse_args.3: fix mdoc usage, spelling and grammar.
  • xo_set_{allocator, flags, info}.3: fix mdoc usage, spelling and grammar.
  • xo_set_{options, style, writer}.3: fix mdoc usage.

libxo-0.1.6

18 Nov 07:44
Compare
Choose a tag to compare
  • Coverity fixes for freebsd
  • xolint: don't object to {T:title/%14s}
  • fix patches/w.c

libxo-0.1.5

07 Nov 05:14
Compare
Choose a tag to compare
  • Add analytics to github site
  • Fix typo
  • Merge branch 'patch-1' of https://github.com/gahr/libxo into develop
  • do not install test programs
  • need (null) logic before optimising for '%s' in xo_format_string
  • return rc from xo_close_list_h