Commit Graph

129 Commits

Author SHA1 Message Date
Michael R Sweet
d8c0ba9007 mxmlDelete used a recursive algorithm which could require large amounts of
stack space depending on the file (Bug #549)

Bump version to 2.10.
2016-06-11 20:51:49 +00:00
Michael R Sweet
21f436f36c Fix loading of text values with MXML_NO_CALLBACK or MXML_TEXT_CALLBACK (Bug #502)
Update unit test program to validate fix and cleanup output so that we can get
proper error messages.
2014-10-19 17:21:48 +00:00
Michael R Sweet
f760c840ff Fixed an XML fragment loading problem (Bug #494) 2014-01-05 03:28:03 +00:00
Michael R Sweet
6471e5ccd4 Fixed a memory leak when loading invalid XML (Bug #496) 2014-01-05 03:21:00 +00:00
Michael R Sweet
4351cf060c Prep for 2.8 release... 2014-01-04 21:50:06 +00:00
Michael R Sweet
ace5aa8686 Fix reading of UTF-16 characters from files. 2013-11-12 05:03:47 +00:00
Michael R Sweet
b6c73fe01c Add major/minor version numbers (Bug #461) 2013-11-12 04:35:43 +00:00
Michael R Sweet
129525f2b4 Fix memory leak and macro error (Bug #452) 2013-11-12 04:29:23 +00:00
Michael R Sweet
6338dccaac Escape HTML special characters inside @code foo@.
Use xcrun to run the docsetutil program.
2013-07-03 14:16:22 +00:00
Michael R Sweet
5e785816aa Prep for Mini-XML v2.7 release. 2011-12-21 07:48:59 +00:00
Michael R Sweet
b19d520069 Changelog. 2011-12-09 23:49:31 +00:00
Michael R Sweet
682852c289 Fix memory leak when loading a badly-formed XML file (STR #121) 2011-03-24 05:47:51 +00:00
Michael R Sweet
89545886f4 Changelogs. 2011-01-14 18:39:12 +00:00
Michael R Sweet
aaefc5c07c Rename mxmlFindValue to mxmlFindPath.
Rename mxmlGetPrevious to mxmlGetPrevSibling.

Rename mxmlGetNext to mxmlGetNextSibling.

Update documentation.
2011-01-03 02:03:29 +00:00
Michael R Sweet
a9012172c1 Implemment getters for all of mxml_node_t and mxml_index_t fields (STR #118)
Make mxml_node_s and mxml_index_s private (but still in the public header for
2.x).
2011-01-01 23:42:17 +00:00
Michael R Sweet
159e54f5d2 Add mxmlFindValue API (STR #110) 2010-11-08 16:07:05 +00:00
Michael R Sweet
b9a4a5e22e Building a static version of the library did not work on Windows (STR #112) 2010-11-07 22:55:11 +00:00
Michael R Sweet
dd1e874ae1 Update version numbers and dates. 2010-09-19 15:54:14 +00:00
Michael R Sweet
c0f12e6a79 mxmlSave* no longer write all siblings of the passed node, just that node and
its children.
2010-09-19 07:27:48 +00:00
Michael R Sweet
c42b1892c8 Fix an issue with the _mxml_vstrdupf function (STR #107) 2010-09-19 06:35:03 +00:00
Michael R Sweet
6b83ce881e mxmlLoad* did not error out on XML with multiple root nodes (STR #101) 2010-09-19 06:14:36 +00:00
Michael R Sweet
97ca6dc424 Updated the source headers to reference the Mini-XML license and its exceptions
to the LGPL2 (STR #108)
2010-09-19 05:26:46 +00:00
Michael R Sweet
5144087e36 Fix release notes. 2009-05-17 17:31:51 +00:00
Michael R Sweet
d13e530148 Update documentation. 2009-05-17 06:04:58 +00:00
Michael R Sweet
ec99705731 Fix typedef documentation (STR #72) 2009-05-05 04:43:18 +00:00
Michael R Sweet
9ac6418218 Add long long support for printf-style functions. 2009-04-18 17:05:52 +00:00
Michael R Sweet
fa33165459 Fix UTF-8 output on platforms with an unsigned char. 2009-03-21 05:51:01 +00:00
Michael R Sweet
474d6da1b4 Fix mxmlEntityAddCallback and mxmlEntityRemoveCallback docos (STR #91) 2009-03-19 05:38:52 +00:00
Michael R Sweet
4d81aff146 Fix swapped documentation issue (STR #92) 2009-03-19 05:33:20 +00:00
Michael R Sweet
3f34b234cc Reject UTF-8 XML files that start with a BOM. 2009-03-19 05:27:26 +00:00
Michael R Sweet
59e1bbbb7a Add support for generating Xcode documentation sets.
Fix a few Clang-detected issues.
2008-11-28 10:56:50 +00:00
Michael R Sweet
046d57d917 Add encoding="utf-8" to the ?xml PD. 2008-10-26 18:28:05 +00:00
Michael R Sweet
a38251bc9b Wrapping was not disabled when mxmlSetWrapMargin(0) was called, and
"<?xml ... ?>" was always followed by a newline (STR #76)
2008-03-21 04:59:01 +00:00
Michael R Sweet
d7fcf13ff8 Fix mxml.pc typo (STR #79) 2008-03-21 04:31:07 +00:00
Michael R Sweet
a57b72a556 Fixes for enum typedefs (still working on comments...) 2008-03-19 21:09:21 +00:00
Michael R Sweet
8aff906d87 Fix man page output.
Prep for 2.5 release.
2008-01-29 05:28:31 +00:00
Michael R Sweet
ee8df0fe52 Bump version to 2.5.
Add --heading option to place contact before table-of-contents and intro.

Tweak the mxmldoc test suite.

Use " instead of ' for attribute values.

Quote titles, etc. as needed.

Move TOC and HTML header generation to separate functions in preparation for
frame support.
2008-01-26 20:50:28 +00:00
Michael R Sweet
5f263362a9 Use \- instead of - in man pages (STR #68) 2008-01-13 01:51:16 +00:00
Michael R Sweet
ada7da928c Add debug definition file. 2008-01-13 01:23:22 +00:00
Michael R Sweet
8174485371 Add support for spaces around the "=" in attributes (STR #67)
Fix support for processing instructions and directives that are not
at the top level of a file (STR #67)
2008-01-13 00:42:35 +00:00
Michael R Sweet
6057e7ee02 Prep for 2.4 release.
Update documentation.
2007-11-23 02:15:07 +00:00
Michael R Sweet
b6661a118c Add pthread support. 2007-09-22 21:00:56 +00:00
Michael R Sweet
658c6bd661 mxmlElementSetAttrf() did not work (STR #57) 2007-09-15 20:04:56 +00:00
Michael R Sweet
d6d842e60a Bump version to 2.4.
Added mxmlElementDeleteAttr() function (STR #59).
2007-09-15 20:03:15 +00:00
Michael R Sweet
f5993028ff Don't allow attributes without values. 2007-09-09 08:22:12 +00:00
Michael R Sweet
8395465800 Fix Visual C++ config.h... 2007-09-09 08:13:09 +00:00
Michael R Sweet
207782c809 Propagate element errors (STR #46) 2007-09-09 08:11:25 +00:00
Michael R Sweet
7f26d51318 Add apos character entity (STR #54) 2007-09-09 08:02:52 +00:00
Michael R Sweet
30feac1369 Add mxml_isspace() local Unicode implementation of isspace() with inlining
when possible (STR #48)
2007-09-09 07:27:08 +00:00
Michael R Sweet
b0e38fbcbf Fix mxmlWalkNext() and mxmlWalkPrev() when node == top (STR #53) 2007-09-09 07:16:52 +00:00