Commit Graph

39 Commits

Author SHA1 Message Date
Michael R Sweet
6f51c8ece5 Fix compile issues on Linux (Issue #200) 2017-06-27 13:06:25 -04:00
Michael R Sweet
4813db0209 Fix builds on Windows. 2017-03-29 20:20:00 -04:00
Michael Sweet
26a33621ca Add some debug hooks to check for memory leaks, etc. 2017-03-29 19:10:59 -04:00
Michael Sweet
6ac1fb23f4 Use vasprintf when available.
Use strlcpy when available.

Add xcode project.
2017-03-29 19:04:41 -04:00
Michael Sweet
89a9742c0e Bump version to 2.11.
Update copyrights and web site addresses.

New logo image following msweet.org template.
2017-03-22 14:51:16 -04:00
Michael R Sweet
ff7486f265 mxmlLoad* and mxmlSAXLoad* did not properly create text nodes when
MXML_TEXT_CALLBACK was specified (Bug #531)
2016-06-13 00:27:11 +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
4351cf060c Prep for 2.8 release... 2014-01-04 21:50:06 +00:00
Michael R Sweet
f5b0b9270d Clean share libraries, and fix SAX unit test to look for the right number of data nodes.
Add --version option to mxmldoc.
2011-04-13 15:43:32 +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
159e54f5d2 Add mxmlFindValue API (STR #110) 2010-11-08 16:07:05 +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
9643c13183 Fix VC++ compile failures 2009-02-05 06:06:11 +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
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
bf73da6782 Save work on documentation.
Add SAX load APIs.

Add man page output for mxmldoc.

Add types for various callback functions.
2007-04-23 21:48:03 +00:00
Michael R Sweet
0f8052e766 Add mxmlNewXML() function and use it.
More updates to the manual.
2007-04-19 21:12:08 +00:00
Michael R Sweet
523aa629b8 Fixed a MingW/Cygwin compilation problem (STR #18) 2005-04-24 23:33:13 +00:00
Michael R Sweet
8fc90a57d6 CHANGES:
- Changelog update.

mxml-file.c:
    - Check for invalid control chars (STR #10)
    - Don't allow elements to contain duplicate attributes (STR
      #16)

textmxml.c:
    - Add whitespace handling for CDATA elements.

test.xml:
    - Add CDATA and comment data to test file.
2005-01-29 17:03:33 +00:00
Michael R Sweet
886a707ad7 Update copyright to 2005. 2005-01-29 07:21:44 +00:00
Michael R Sweet
f5971df74b Added support for CDATA (STR #14, STR #15)
Updated comment and processing instruction handling - no entity
support per XML specification.

Added checking for invalid comment termination ("--->" is not
allowed)

Fixed test program to work with new ?xml handling.
2005-01-29 07:19:38 +00:00
Michael R Sweet
3cc3f8a63d Add new mxmlLoadFd() and mxmlSaveFd() functions. 2004-07-11 13:14:07 +00:00
Michael R Sweet
934a9aeab3 Cleanup quicksort code to preserve the original order of nodes when they
are equal.

Fix mxmlIndexFind() implementation.

Add tests.
2004-05-16 18:25:20 +00:00
Michael R Sweet
537afc37da More documentation fun.
Move version definition to configure script.

Add XML schema for the mxmldoc output.
2004-05-02 16:04:40 +00:00
Michael R Sweet
465d3e7231 Change whitespace callback to return a string. 2004-05-01 15:20:05 +00:00
Michael R Sweet
e28ebd001c Copyright updates. 2004-04-06 01:47:20 +00:00
Michael R Sweet
ad9728c731 Fix LoadString/File bug with parent and non-conforming XML data. 2003-12-13 16:32:42 +00:00
Michael R Sweet
6531fd7d8f Add --with-ansi configure option to avoid using non-ANSI strdup() function. 2003-07-27 23:11:40 +00:00
Michael R Sweet
64f6f21711 Add mxmlSaveString tests. 2003-07-20 13:49:09 +00:00
Michael R Sweet
54428c284f Add strdup emulation as needed.
Bump version to 1.1.
2003-07-20 13:41:17 +00:00
Michael R Sweet
dd903644a5 Add prototype and definitions for string functions and array types. 2003-06-19 03:20:41 +00:00
Michael R Sweet
0cc4b9e665 Fix mxmldoc handling of comments, now getting quite usable documentation.
Add additional tests to testmxml.

Bump to v1.0.
2003-06-14 22:14:17 +00:00
Michael R Sweet
8cfa3005e5 Bug fixes in mxmlWalkNext().
Break whitespace processing into separate function and add "where" values
for before/after the open/close tags.

Major progress on mxmldoc example program.

Update test program to use new whitespace callback.

Clean up header file.

Add rating link to home page.
2003-06-04 21:19:00 +00:00
Michael R Sweet
f830ffd6a5 Add mxmlAdd() and mxmlRemove() functions.
Documentation updates.

General cleanup.
2003-06-04 17:37:23 +00:00
Michael R Sweet
438ded6568 Whitespace handling issues.
Unicode output issues.

Comment/declaration handling fixes.

Add mxmldoc to build.
2003-06-04 16:30:40 +00:00
Michael R Sweet
0855089dcd Support comments. 2003-06-04 01:23:21 +00:00
Michael R Sweet
7de19b18af Fix mxmlWalkNext().
Add changelog file.
2003-06-03 20:40:01 +00:00
Michael R Sweet
de2f0a281c Clean up home page, README file, header file, and test program. 2003-06-03 20:24:28 +00:00
Michael R Sweet
7a51d3c414 Initial revision 2003-06-03 19:46:29 +00:00