Michael R Sweet
bf73da6782
Save work on documentation.
...
Add SAX load APIs.
Add man page output for mxmldoc.
Add types for various callback functions.
18 years ago
Michael R Sweet
0f8052e766
Add mxmlNewXML() function and use it.
...
More updates to the manual.
18 years ago
Michael R Sweet
6d33fb1163
Add mxmlElementSetAttrf function (STR #43 )
18 years ago
Michael R Sweet
9fb36b4a2f
Added snprintf() emulation function for test program (STR #32 )
18 years ago
Michael R Sweet
c27692f2d0
Add the _CRT_SECURE_NO_DEPRECATE definition when building on VC++
...
2005 (STR #36 )
18 years ago
Michael R Sweet
d5abcc44b3
Fix detection of bad elements.
18 years ago
Michael R Sweet
40a4dd5242
Fix detection of missing close tags at the end of a document (STR #45 )
18 years ago
Michael R Sweet
4636114c5b
Really Mini-XML 2.3, update documentation.
18 years ago
Michael R Sweet
cb7c6c2311
Add user_data and ref_count members to mxml_node_t structure.
...
Add mxmlRelease() and mxmlRetain() for reference-counted node management.
Add mxmlSetWrapMargin() to control wrapping of XML output.
18 years ago
Michael R Sweet
fe9a9b251c
Conditionally check for EINTR (STR #33 )
19 years ago
Michael R Sweet
cc5890089d
Documentation updates.
...
Add --section option.
19 years ago
Michael R Sweet
dee5ea6bc7
Final changes to make mxmldoc generate valid HTML 4.0 with no errors.
19 years ago
Michael R Sweet
45b9200fc6
Ammend the Mini-XML license agreement to allow static linking.
19 years ago
Michael R Sweet
a5ea819842
Bump version to 2.3.
...
Add @since ...@ comments.
Fix parsing of @...@ comments.
Add comments to end of each list item.
Use "-Os -g" as the default optimization with GCC.
Change string functions to use _mxml prefix instead.
19 years ago
Michael R Sweet
55177569a9
Fix XML schema for mxmldoc.
...
Fix function and enumeration type processing in mxmldoc.
Add function type test file.
Add stub for new XML schema validation program.
19 years ago
Michael R Sweet
d9276fe08f
Add --intro and --title options to mxmldoc, and treat names starting
...
with "_" as private.
19 years ago
Michael R Sweet
74e7d69032
Fix memory leak in mxmlLoad*() functions (STR #27 )
...
Fix default implementation of mxml_error() to properly format the
error message.
19 years ago
Michael R Sweet
4ecca8b1bd
Whoops, no 2.2.3 release...
19 years ago
Michael R Sweet
b11473f8f3
Fix potential infinite loop in snprintf() emulation code (STR #25 )
19 years ago
Michael R Sweet
cc95be7bed
Add mxmlNewCDATA() and mxmlSetCDATA() functions.
...
Bump version to 2.2.3.
Update docos.
19 years ago
Michael R Sweet
19b8ed648f
Add MXML_IGNORE and MXML_IGNORE_CB to allow whitespace to be
...
ignored in element-only XML files.
20 years ago
Michael R Sweet
e0262e0099
Fix segfault in mxmlLoad*() with invalid XML.
20 years ago
Michael R Sweet
63cd5de2a0
Fix bug in custom data with whitespace.
...
Prep for 2.2.2 release.
20 years ago
Michael R Sweet
ad02a0255f
Fix STR #21 : load methods didn't return NULL on error.
...
Update docos for 2.2.1.
20 years ago
Michael R Sweet
35a7797e2c
mxmlNewInteger(), mxmlNewOpaque(), mxmlNewReal(), mxmlNewText(),
...
and mxmlNewTextf() incorrectly required a parent node (STR #22 )
20 years ago
Michael R Sweet
523aa629b8
Fixed a MingW/Cygwin compilation problem (STR #18 )
20 years ago
Michael R Sweet
d05a2f8d52
Fixed an XML output bug in mxmldoc.
...
The "make install" target now uses the install command to set the
proper permissions on UNIX/Linux/OSX.
20 years ago
Michael R Sweet
7232c88dad
Add shared library support.
20 years ago
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.
20 years ago
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.
20 years ago
Michael R Sweet
40adb027dd
Add docos for custom data handlers.
20 years ago
Michael R Sweet
0591ee2e19
Added support for custom data nodes (STR #6 )
20 years ago
Michael R Sweet
c0878b3f9a
Treat UTF-8 sequences that are longer than needed as an error (STR #4 )
20 years ago
Michael R Sweet
3625039424
Fixed entity number support (STR #8 )
...
Fixed mxmlLoadString() bug with UTF-8 (STR #7 )
Fixed entity lookup bug (STR #5 )
20 years ago
Michael R Sweet
243e9c1556
Add FD test.
21 years ago
Michael R Sweet
3cc3f8a63d
Add new mxmlLoadFd() and mxmlSaveFd() functions.
21 years ago
Michael R Sweet
7cc8c6c1a6
Prep for 2.0.
21 years ago
Michael R Sweet
725aaec2d8
Doco updates.
21 years ago
Michael R Sweet
3aded463be
Doco updates.
...
Prep for 2.0 release.
21 years ago
Michael R Sweet
0fd3bd7f33
Optimizations and bug fixes from STR #2 :
...
- mxmlIndexNew() sort algorithm update to eliminate unnecessary
right-hand recursion.
- Combine printf() and puts() calls in mxmldoc to reduce the number
of calls and code size.
- mxmlSaveFile() now writes Unicode chars with fwrite for potential
speedup and modest size savings.
- mxmlEntityAddCallback() now returns an integer status so an app
knows when it was not possible to add an entity callback.
21 years ago
Michael R Sweet
acab636423
UTF-16 input support.
21 years ago
Michael R Sweet
46085f9327
Index and entity callback support.
21 years ago
Michael R Sweet
08896f33e5
pkg-config support.
...
Update mxmldoc to produce XML conforming to the schema.
Update the schema so that it works.
Add version number to XML output.
21 years ago
Michael R Sweet
537afc37da
More documentation fun.
...
Move version definition to configure script.
Add XML schema for the mxmldoc output.
21 years ago
Michael R Sweet
465d3e7231
Change whitespace callback to return a string.
21 years ago
Michael R Sweet
c00d7f55a2
Fix C++ class/struct handling.
...
Move and separate test files for mxmldoc.
21 years ago
Michael R Sweet
015de5d08a
TODO updates.
...
Planning for 2.0 version.
21 years ago
Michael R Sweet
885cf929af
Update mxmldoc to produce HTMLDOC-friendly HTML files.
21 years ago
Michael R Sweet
2b3e3f2b0e
Fix BUILDROOT problem.
21 years ago
Michael R Sweet
f08b4a7f7d
More character entity fun, along with a reworking of UTF-8 support.
21 years ago