Commit Graph

57 Commits

Author SHA1 Message Date
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
35a7797e2c mxmlNewInteger(), mxmlNewOpaque(), mxmlNewReal(), mxmlNewText(),
and mxmlNewTextf() incorrectly required a parent node (STR #22)
2005-05-14 12:34:29 +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
7232c88dad Add shared library support. 2005-02-26 03:10:23 +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
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
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
3625039424 Fixed entity number support (STR #8)
Fixed mxmlLoadString() bug with UTF-8 (STR #7)

Fixed entity lookup bug (STR #5)
2004-10-26 21:04:32 +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
7cc8c6c1a6 Prep for 2.0. 2004-06-25 18:57:32 +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
acab636423 UTF-16 input support. 2004-05-16 21:54:47 +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
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
c00d7f55a2 Fix C++ class/struct handling.
Move and separate test files for mxmldoc.
2004-05-01 04:30:43 +00:00
Michael R Sweet
015de5d08a TODO updates.
Planning for 2.0 version.
2004-04-29 12:29:17 +00:00
Michael R Sweet
885cf929af Update mxmldoc to produce HTMLDOC-friendly HTML files. 2004-03-04 21:51:30 +00:00
Michael R Sweet
2b3e3f2b0e Fix BUILDROOT problem. 2004-02-04 21:24:03 +00:00
Michael R Sweet
f08b4a7f7d More character entity fun, along with a reworking of UTF-8 support. 2003-12-21 15:01:15 +00:00
Michael R Sweet
e4491379f8 Tweek mxmldoc.
Add entity support.
2003-12-19 02:56:11 +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
ad9728c731 Fix LoadString/File bug with parent and non-conforming XML data. 2003-12-13 16:32:42 +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
04ce2615b2 Fix handling of quoted element and attribute names.
Update changelog.
2003-12-01 15:27:47 +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
c02f86dd83 Bump to 1.1.3. 2003-07-27 23:14:22 +00:00
Michael R Sweet
9961add0d4 1.1.2 release... 2003-07-25 13:14:53 +00:00
Michael R Sweet
60fefabd53 Fix bugs reported by Robert.
Update man page and packaging files.
2003-07-23 14:47:17 +00:00
Michael R Sweet
cc71dd6baf Add mxmlSaveAllocString() function. 2003-07-22 10:29:19 +00:00
Michael R Sweet
d918e36dc1 Fix mxmlSaveString-related bugs reported by Robert...
Bump version to 1.1.1.
2003-07-21 12:41:47 +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
243f70768f Dynamically allocate element name, attribute name, and attribute value
buffers.

Bump version number to 1.0.1.
2003-06-15 21:31:45 +00:00
Michael R Sweet
cf859f9ee0 Update changelog. 2003-06-15 01:23:43 +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
Michael R Sweet
a9403b21b4 Working mxmldoc core. 2003-06-05 03:06:20 +00:00