Commit Graph

217 Commits

Author SHA1 Message Date
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
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
8d1ff5128d Update --tokens to support a file path and always add a newline at the end of
each token.
2009-05-05 13:38:00 +00:00
Michael R Sweet
58712ee6fc Add --tokens option. 2009-05-05 05:08:43 +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
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
16c5e31280 Don't embed links or other markup in title attributes.
Update copyright/license stuff.
2009-01-13 08:13:46 +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
96564158e1 Fix some typos. 2008-11-28 11:07:49 +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
8aff906d87 Fix man page output.
Prep for 2.5 release.
2008-01-29 05:28:31 +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
1fed22b03c Add --footer, rename --heading to --header.
Update man page for mxmldoc.
2008-01-26 21:04:57 +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
5f263362a9 Use \- instead of - in man pages (STR #68) 2008-01-13 01:51:16 +00:00
Michael R Sweet
fdd1764429 Remove old .cvsignore files.
Don't distribute print-version images in the regular source tarball.
2007-11-23 06:51:57 +00:00
Michael R Sweet
6057e7ee02 Prep for 2.4 release.
Update documentation.
2007-11-23 02:15:07 +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
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
e9a1907adf Changelog. 2007-09-09 08:28:50 +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
Michael R Sweet
3fcd4256a7 More updates to the cover. 2007-05-23 21:38:42 +00:00
Michael R Sweet
d66b477da8 Convert background for cover to CMYK for better printing. 2007-05-23 20:40:39 +00:00
Michael R Sweet
bb942fc21e Fix superscript text size for TM's. 2007-05-18 19:31:18 +00:00
Michael R Sweet
857757257e Add background image to book cover. 2007-05-17 03:28:47 +00:00
Michael R Sweet
42cdf96241 Resize cover page. 2007-04-27 01:29:20 +00:00
Michael R Sweet
7d8801c7dd Update docos. 2007-04-27 01:10:20 +00:00
Michael R Sweet
92abe20fb4 Update cover image. 2007-04-27 01:05:38 +00:00
Michael R Sweet
6fb1d1b5e5 Install chapter images.
Uncomment typedef comment handling.
2007-04-27 00:49:03 +00:00
Michael R Sweet
463a190a55 Don't install or create formatted man pages.
New logo.

Documentation updates.
2007-04-26 22:21:37 +00:00
Michael R Sweet
0a79a46ac3 Save work on manual. 2007-04-24 02:48:40 +00:00
Michael R Sweet
8ed535457f Add cover image. 2007-04-23 22:01:24 +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
94ad843d35 Formatting changes. 2007-04-19 03:31:10 +00:00
Michael R Sweet
b4eca043a0 Save documentation updates. 2007-04-18 19:25:26 +00:00
Michael R Sweet
6d33fb1163 Add mxmlElementSetAttrf function (STR #43) 2007-04-18 14:55:08 +00:00
Michael R Sweet
9fb36b4a2f Added snprintf() emulation function for test program (STR #32) 2007-04-18 13:14:10 +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
40a4dd5242 Fix detection of missing close tags at the end of a document (STR #45) 2007-04-18 02:37:01 +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
fe9a9b251c Conditionally check for EINTR (STR #33) 2005-12-07 15:01:08 +00:00
Michael R Sweet
cc5890089d Documentation updates.
Add --section option.
2005-12-03 03:32:32 +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
45b9200fc6 Ammend the Mini-XML license agreement to allow static linking. 2005-10-18 19:26:08 +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
Michael R Sweet
539f042f3d Clean up tables. 2005-09-22 02:11:24 +00:00
Michael R Sweet
d9276fe08f Add --intro and --title options to mxmldoc, and treat names starting
with "_" as private.
2005-09-22 00:29:55 +00:00
Michael R Sweet
74e7d69032 Fix memory leak in mxmlLoad*() functions (STR #27)
Fix default implementation of mxml_error() to properly format the
error message.
2005-08-16 14:46:18 +00:00
Michael R Sweet
4ecca8b1bd Whoops, no 2.2.3 release... 2005-08-10 19:28:15 +00:00
Michael R Sweet
b11473f8f3 Fix potential infinite loop in snprintf() emulation code (STR #25) 2005-08-10 18:51:31 +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
87410f7b09 Add debug stuff. 2005-06-09 13:20:57 +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
e0262e0099 Fix segfault in mxmlLoad*() with invalid XML. 2005-05-30 13:00:54 +00:00
Michael R Sweet
63cd5de2a0 Fix bug in custom data with whitespace.
Prep for 2.2.2 release.
2005-05-19 14:56:05 +00:00
Michael R Sweet
ad02a0255f Fix STR #21: load methods didn't return NULL on error.
Update docos for 2.2.1.
2005-05-18 01:45:20 +00:00
Michael R Sweet
c075136310 Update documentation with release notes.
Use new logo.

Add favicon stuff.

Prep for 2.2.1 release.
2005-05-17 00:54:44 +00:00
Michael R Sweet
a3900d8d0f Add new logo. 2005-05-16 12:35:28 +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
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
7ec9c5924f Update PCL driver to set PJL page size for DesignJet 1050C (PR #5219) 2004-11-18 17:04:17 +00:00
Michael R Sweet
40adb027dd Add docos for custom data handlers. 2004-11-13 16:51:21 +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
c0878b3f9a Treat UTF-8 sequences that are longer than needed as an error (STR #4) 2004-10-28 01:07:00 +00:00
Michael R Sweet
243e9c1556 Add FD test. 2004-07-11 13:26:25 +00:00
Michael R Sweet
3cc3f8a63d Add new mxmlLoadFd() and mxmlSaveFd() functions. 2004-07-11 13:14:07 +00:00
Michael R Sweet
ee2eb12e07 Add VC++.NET project.
Update doco files for VC++ build instructions.
2004-06-21 11:17:52 +00:00
Michael R Sweet
8ace1524af Rebuild doco files, update web site. 2004-06-21 11:00:28 +00:00
Michael R Sweet
725aaec2d8 Doco updates. 2004-06-21 10:58:27 +00:00
Michael R Sweet
3aded463be Doco updates.
Prep for 2.0 release.
2004-06-21 01:39:20 +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
e5d503184f Revise line-of-code count for libxml2. 2004-05-21 12:34:26 +00:00
Michael R Sweet
4184668da3 Remove generated PDF from here; don't include with source distro. 2004-05-21 12:17:27 +00:00
Michael R Sweet
541ac7648b Update lines-of-code count in intro. 2004-05-21 12:13:23 +00:00
Michael R Sweet
9f78683a90 Prep for 2.0rc1. 2004-05-21 02:59:52 +00:00
Michael R Sweet
7f9aeeae1e Forgot to commit... 2004-05-21 02:06:04 +00:00
Michael R Sweet
cf3827d52a Poll stuff. 2004-05-20 03:38:42 +00:00
Michael R Sweet
acab636423 UTF-16 input support. 2004-05-16 21:54:47 +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
40db9196f3 Documentation updates. 2004-05-03 03:21:16 +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
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
03930e80cb Forgot these files... 2004-05-01 23:43:26 +00:00
Michael R Sweet
dfe9cdb044 Start with new docos. 2004-05-01 23:41:52 +00:00