Commit Graph

69 Commits

Author SHA1 Message Date
Michael Sweet
2f1e57787d Save work - some more validation fixes. 2017-03-31 22:46:05 -04:00
Michael Sweet
6b1309a1bf Clean up documentation/HTML errors. 2017-03-31 13:37:26 -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
5f74dc2124 mxmlWrite* used a recursive algorithm which could require large amounts of
stack space depending on the file (Bug #549, CVE-2016-4571)
2016-06-12 21:12: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
6471e5ccd4 Fixed a memory leak when loading invalid XML (Bug #496) 2014-01-05 03:21:00 +00:00
Michael R Sweet
ee923fa82c Make mxmlSet* work like mxmlGet*. 2011-12-09 23:49:00 +00:00
Michael R Sweet
3899cb0aa5 Fix some HTML and CSS validation issues. 2011-01-14 18:36:09 +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
ccd0f5e225 Doco updates. 2010-09-19 08:50:54 +00:00
Michael R Sweet
2e9f4022bf Fix some typos and the clang target. 2010-09-19 07:28:06 +00:00
Michael R Sweet
83dc8f4932 Update web site versions. 2010-09-19 05:31:54 +00:00
Michael R Sweet
474d6da1b4 Fix mxmlEntityAddCallback and mxmlEntityRemoveCallback docos (STR #91) 2009-03-19 05:38:52 +00:00
Michael R Sweet
fcdfa5a09d Fix two potential NULL dereferences caught by Clang. 2009-03-17 05:51:59 +00:00
Michael R Sweet
0dbf99da69 Update to HTML 4.01 doctype. 2009-02-02 19:24:26 +00:00
Michael R Sweet
4e75d3579f Fix Nodes.xml generation. 2008-12-08 17:51:44 +00:00
Michael R Sweet
fd57e148c5 Fix docset generation. 2008-12-06 04:20:38 +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
62b697c229 Fix framed output. 2008-07-17 16:36:21 +00:00
Michael R Sweet
d7fcf13ff8 Fix mxml.pc typo (STR #79) 2008-03-21 04:31:07 +00:00
Michael R Sweet
29ab62983c write_element() was writing to stdout. 2008-01-29 01:00:40 +00:00
Michael R Sweet
fe77bb9f69 More style tweaking. 2008-01-28 00:35:41 +00:00
Michael R Sweet
3c890fa238 Scan intro file for headings, add to table-of-contents.
Consistently use classes for all headings.

Always use <div class="body"> for the body of the docs.

Cleanup stylesheet to avoid stylesheet conflicts.
2008-01-27 23:54:03 +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
1e2bbbc851 Save work on mxmldoc; add --css option, start of --framed, add discussion
text, new classes for HTML output customization.
2008-01-26 07:24:53 +00:00
Michael R Sweet
346be509a3 Update mxmldoc output to use a more modern format similar to Apple's
reference format.
2008-01-25 07:50:40 +00:00
Michael R Sweet
237a4ad90e Fix output of function argument descriptions.
Use minixml.org for schema.
2007-09-26 01:32:57 +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
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
6fb1d1b5e5 Install chapter images.
Uncomment typedef comment handling.
2007-04-27 00:49:03 +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
6d33fb1163 Add mxmlElementSetAttrf function (STR #43) 2007-04-18 14:55:08 +00:00
Michael R Sweet
c27692f2d0 Add the _CRT_SECURE_NO_DEPRECATE definition when building on VC++
2005 (STR #36)
2007-04-18 12:58:36 +00:00
Michael R Sweet
d5abcc44b3 Fix detection of bad elements. 2007-04-18 02:45:47 +00:00
Michael R Sweet
4636114c5b Really Mini-XML 2.3, update documentation. 2007-04-18 01:55:03 +00:00
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.
2007-04-18 01:08:58 +00:00
Michael R Sweet
2e7bc89ddd Clean up stylesheet. 2005-11-30 16:16:56 +00:00
Michael R Sweet
4ddc06eeab Move comment info before text in headings. 2005-11-30 16:14:07 +00:00
Michael R Sweet
defaeae1df Use "title" class to add underline to titles instead of HR element afterwards. 2005-11-30 16:04:34 +00:00
Michael R Sweet
dee5ea6bc7 Final changes to make mxmldoc generate valid HTML 4.0 with no errors. 2005-11-30 15:54:16 +00:00
Michael R Sweet
d3598ab24c Don't use XHTML in HTML. 2005-11-30 15:42:35 +00:00
Michael R Sweet
f7fdbeb2c9 Fix support for @private@, and make it universal for all things.
mxmldoc.c:
    - find_public(): Added
    - scan_file(): Revert previous @private@ changes, clear
      typedefnode after we assign a comment, and remove
      unnecessary @private@ comment check.
    - write_documentation(): Use find_public() instead of
      mxmlFindElement() when enumerating public types, structs,
      etc.

test/dotest.sh:
    - Run "make mxmldoc-static" so that the test uses a current
      executable.

test/function.cxx:
    - Add @private@ function.

test/struct.cxx:
    - Add @private@ struct.

test/type.cxx:
    - Added (simple typedef types)
2005-11-30 15:31:58 +00:00
Michael R Sweet
735989840c Save work on adding @private@ comment support...
mxml-file.c:
    - Change comment from @private to @private@.

mxmldoc.c:
    - scan_file(): Changes to support @private@.
    - update_comment(): Remove node if the comment contains @private@.
2005-11-29 20:43:30 +00:00
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.
2005-10-13 18:27:00 +00:00
Michael R Sweet
62376c5156 Fix comment processing. 2005-10-13 12:46:54 +00:00
Michael R Sweet
2fc73455b2 Add support for @deprecated@ and @since version@ comments (still needs some
work)
2005-10-13 06:18:51 +00:00
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.
2005-09-29 02:20:19 +00:00