Commit Graph

36 Commits

Author SHA1 Message Date
Michael R Sweet
3b4a9a6f4f Save changes to mxmldoc.c (debug stuff)
Update svn:ignore properties.
2006-05-07 18:07:39 +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
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
Michael R Sweet
cc95be7bed Add mxmlNewCDATA() and mxmlSetCDATA() functions.
Bump version to 2.2.3.

Update docos.
2005-08-05 14:17:19 +00:00
Michael R Sweet
35b7bc18e3 Fix typedef handling bug in mxmldoc.
Don't use valgrind in dotest.sh...
2005-06-14 02:53:52 +00:00
Michael R Sweet
19b8ed648f Add MXML_IGNORE and MXML_IGNORE_CB to allow whitespace to be
ignored in element-only XML files.
2005-06-07 23:43:45 +00:00
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.
2005-04-24 23:23:59 +00:00
Michael R Sweet
6712bf6914 Update for 2.2 release. 2005-02-26 05:27:25 +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
0591ee2e19 Added support for custom data nodes (STR #6) 2004-10-28 02:58:01 +00:00
Michael R Sweet
3cc3f8a63d Add new mxmlLoadFd() and mxmlSaveFd() functions. 2004-07-11 13:14:07 +00:00
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.
2004-06-01 20:19:34 +00:00
Michael R Sweet
56d571d240 Implement index sorting internally to avoid multithreading issues
with qsort().
2004-05-16 13:45:56 +00:00
Michael R Sweet
e6c90615c6 Optimize mxmlIndexFind().
Doco updates.
2004-05-16 13:09:44 +00:00
Michael R Sweet
46085f9327 Index and entity callback support. 2004-05-16 05:25:38 +00:00
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.
2004-05-02 22:02:36 +00:00
Michael R Sweet
465d3e7231 Change whitespace callback to return a string. 2004-05-01 15:20:05 +00:00
Michael R Sweet
9011f087c8 Add first half of entity support and decoding code. 2003-12-18 04:16:37 +00:00
Michael R Sweet
52c8493cdb Add valgrind target.
More mxmldoc cleanup.
2003-12-03 22:17:57 +00:00
Michael R Sweet
6bc3523143 Prelim changes to mxmldoc; think I'll be revamping the code parser
completely...
2003-12-03 04:26:30 +00:00
Michael R Sweet
466072f832 More debug stuff.
Fix sort_node() bug in mxmldoc.
2003-12-03 03:59:04 +00:00
Michael R Sweet
17200e8cfe Move "set" methods in a separate file.
Add standard callback methods in a separate file.

Fix some bugs in mxmldoc...
2003-09-28 21:09:04 +00:00
Michael R Sweet
337baeddb5 New "set" and formatted string methods.
Prep for new "standard" opaque, integer, etc. callbacks.

Add new vsnprintf check.

Drop old string function checks for functions we don't actually use.
2003-09-28 12:44:39 +00:00
Michael R Sweet
d18b4626fd doco updates 2003-07-26 17:24:14 +00:00
Michael R Sweet
cc71dd6baf Add mxmlSaveAllocString() function. 2003-07-22 10:29:19 +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
596ca0f10d Drop int/real arrays. 2003-06-19 03:39:23 +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
bcc99b153a Fix some more documentation generator bugs.
Add detailed docos to the file.
2003-06-14 23:56:47 +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
70040fe9d2 More changes to documentation generator...
Cleanup library header file.
2003-06-07 21:27:05 +00:00
Michael R Sweet
57847b02c1 Update mxmldoc program to handle function arguments/variables. 2003-06-06 03:09:31 +00:00
Michael R Sweet
cbbef5124f Prep for 0.93 release. 2003-06-05 13:49:14 +00:00