Skip to content

@michaelrsweet michaelrsweet released this Aug 29, 2019 · 7 commits to master since this release

Mini-XML 3.1 fixes some installation issues and adds better error reporting. Changes include:

  • The mxmlLoad* functions now print an error when the XML does not start with
    < and no parent node is supplied (Issue #256, Issue #259)
  • Fixed an issue with "make install" trying to install old files (Issue #257)
  • Fixed some DSO installation issues on Linux.

Enjoy!

Assets 4

@michaelrsweet michaelrsweet released this Mar 2, 2019 · 14 commits to master since this release

Mini-XML 3.0 is a major release that changes the license to Apache 2.0 with
exceptions for linking to GPL2-only code, hides the definition of the internal
mxml_node_t structure, removes the "mxmldoc" utility (which is now maintained
in the separate "codedoc" project), and fixes several bugs. Changes include:

  • Changed the license to Apache 2.0 with exceptions (Issue #239)
  • All of the internal node structures are now moved out of the public header
    (Issue #240)
  • Fixed a potential buffer overflow when writing floating point data
    (Issue #233)
  • Moved mxmldoc to a new codedoc project whose focus is on generating
    code documentation (Issue #235, Issue #236, Issue #237)
  • Error messages now include the line number of the error (Issue #230)
  • The mxmlSetCDATA, mxmlSetElement, mxmlSetOpaque, mxmlSetOpaquef,
    mxmlSetText, and mxmlSetTextf functions caused a use-after-free bug if
    the value came from the same node (Issue #241)
  • The mxmlSetOpaquef and mxmlSetTextf functions did not work (Issue #244)
  • The _mxml_strdupf function did not work on Windows (Issue #245)

Enjoy!

Assets 4

@michaelrsweet michaelrsweet released this Oct 2, 2018 · 42 commits to master since this release

Mini-XML 2.12 fixes several bugs, updates the build system on macOS and Windows,
and updates the markdown and EPUB support.

Changes include:

  • Added yet more documentation about using MXML_OPAQUE_CALLBACK when you want
    to get full strings for inline text instead of separated words (Issue #190)
  • No longer build documentation sets on macOS since Xcode no longer supports
    them (Issue #198)
  • Updated the va_copy macro for use with BCC (Issue #211)
  • The mxmlNewCDATA and mxmlSetCDATA functions incorrectly added the XML
    trailer "]]" to the string (Issue #216)
  • Cross-compiling failed on install (Issue #218)
  • Fixed a crash bug in the mxmlWrite functions (Issue #228)
  • The mxmlWrite functions no longer write the siblings of the passed node
    (Issue #228)
  • Updated the markdown and ZIP container libraries used for mxmldoc.

Enjoy!

(Source archive updated Jan 17, 2019 to include mxml-2.12/ subdirectory prefix, sorry folks!)

Assets 4

@michaelrsweet michaelrsweet released this Oct 28, 2017 · 63 commits to master since this release

Mini-XML 2.11 fixes a number of bugs, adds support for reproducible builds, cross-compilation, and enumeration of element attributes, and adds support for generating EPUB documentation using mxmldoc. Changes include:

  • CDATA nodes now omit the trailing "]]" for convenience (Issue #170)
  • Fixed a memory leak in mxmlDelete (Issue #183)
  • mxmlElementSetAttrf did not work with some versions of Visual Studio
    (Issue #184)
  • Added mxmlElementGetAttrByIndex and mxmlELementGetAttrCount functions
    (Issue #185)
  • The configure script now properly supports cross-compilation (Issue #188)
  • The mxmldoc utility now supports generation of EPUB files (Issue #189)
  • The mxmldoc utility now supports the SOURCE_DATE_EPOCH environment
    variable for reproducible builds (Issue #193)
  • The mxmldoc utility now supports Markdown (Issue #194)
  • Fixed writing of custom data values (Issue #201)
  • Added mxmlNewOpaquef and mxmlSetOpaquef functions to add and set formatted
    opaque string values.
  • The mxmldoc utility scanned and loaded descriptive text differently, causing
    the detailed descriptions ("discussion") to be lost in generated
    documentation.
  • The mxmldoc utility now supports @exclude format@ comments to exclude
    documentation based on the output format. The format string can be all to
    exclude documentation for all formats or a comma-delimited list such as
    @exclude man,html@.

Enjoy!

Assets 3

@michaelrsweet michaelrsweet released this Feb 27, 2017 · 142 commits to master since this release

Mini-XML 2.10 fixes some stack overflow, XML, and API issues. Changes include:

  • The version number in mxml.h was wrong (Bug #532)
  • The mxml.spec file was out of date (Bug #521)
  • Mini-XML no longer allows malformed element names (Bug #509)
  • mxmlLoad* and mxmlSAXLoad* did not properly create text nodes when MXML_TEXT_CALLBACK was specified (Bug #531)
  • mxmlDelete used a recursive algorithm which could require large amounts of stack space depending on the file (Bug #549, CVE-2016-4570)
  • mxmlWrite* used a recursive algorithm which could require large amounts of stack space depending on the file (Bug #549, CVE-2016-4571)

Enjoy!

Assets 3

@michaelrsweet michaelrsweet released this Feb 27, 2017 · 151 commits to master since this release

Mini-XML 2.9 fixes a bug in the mxmlLoad* functions when using the default (MXML_NO_CALLBACK or MXML_TEXT_CALLBACK) callback.

Assets 3

@michaelrsweet michaelrsweet released this Feb 27, 2017 · 153 commits to master since this release

Mini-XML 2.8 fixes some minor platform and XML issues. Changes include:

  • Now call docsetutil using xcrun on OS X (Bug #458)
  • mxmldoc did not escape special HTML characters inside @code foo@ comments.
  • Fixed a memory leak in mxmlElementDeleteAttr (Bug #452)
  • Added MXML_MAJOR/MINOR_VERSION definitions to mxml.h (Bug #461)
  • Fixed a bug reading UTF-16 characters from a file (Bug #454)

Enjoy!

Assets 3
Dec 21, 2011
May 17, 2009
Jan 29, 2008
You can’t perform that action at this time.