Commit Graph

82 Commits

Author SHA1 Message Date
ritt cb34fe499c Fixed debugger warning 2019-04-12 14:26:10 +02:00
ritt 75ebe0caee Fixed memory leak 2019-04-12 14:19:57 +02:00
Konstantin Olchanski 6eb60b1f25 fixed c++ compiler error mxml-2019-03-a 2019-03-21 11:57:52 -07:00
Konstantin Olchanski 869d98081c Removed global data buffers to make xml_encode() & co thread-safe, marked some place where the xml encoder truncates data. 2018-12-18 10:45:28 -08:00
ritt 9c763a0e87 Switched back to GPLv2 by request from KO 2017-11-02 21:57:04 +01:00
Konstantin Olchanski c1800348bd fix memory corruption - mxml_write_line() did not allocate sufficient buffer space for the given string length 2017-11-02 11:44:55 -07:00
ritt 20b4610931 README.md edited online with Bitbucket 2016-12-01 09:37:23 +00:00
ritt 15c5f5c676 Added GPL v3 according to Debian Policy Manual, thanks to Roger Kalt 2014-05-04 21:04:18 +02:00
Konstantin Olchanski 6be847204e Do not include our strlcpy.h if we are using the system strlcpy() from string.h - controlled by HAVE_STRLCPY 2013-11-16 16:50:51 -08:00
ritt 6531dc4ae2 Check for predefined strlcpy (as in newer gcc versions) 2013-11-06 09:29:55 +01:00
ritt 19a939ec26 Removed $Id$ 2013-07-16 17:50:50 -07:00
Konstantin Olchanski 00c89750bb KO - remove "executable" permission 2013-07-16 16:50:23 -07:00
ritt 409578642d Added mxml_get_parent() 2012-02-10 14:54:14 +00:00
ritt d8cffaed40 Check error pointer 2012-02-03 15:50:14 +00:00
ritt 9fe5b85a7f Return error line in parsing functions, abort on missing external ENTITY 2012-02-03 12:57:34 +00:00
ritt 0309a3c6fb Added prototypes 2011-09-14 11:46:24 +00:00
ritt 7c597e7f45 Removed dead code 2011-07-18 12:52:02 +00:00
ritt 55c55d04e8 Added start and end line numbers 2011-06-10 23:19:38 +00:00
ritt 0f285bc343 Fixed compiler warnings under OSX 2011-06-03 22:39:20 +00:00
ritt 4c40c6c98f Test submission 2010-06-23 10:01:58 +00:00
ritt 7d2f3c5bd2 Test submision 2010-06-23 09:48:53 +00:00
ritt 11888c6aa7 Use own malloc/free, added freeing of some local buffers at exit 2009-06-10 14:37:16 +00:00
ritt 344c6a6667 Added pragma to disable "deprecated" warning 2008-08-12 08:30:04 +00:00
Ryu Sawada 67b0ca3113 protection for double include of mxml.h or strlcpy.h 2007-10-23 17:53:45 +00:00
ritt 1704e5bf1c Fixed wrong decoding of attribute names and values containg '&' 2007-10-22 13:39:10 +00:00
ritt 457fe775b5 Renamed 'index' to 'idx' to avoid shadow warnings 2007-07-30 13:26:54 +00:00
Ryu Sawada ecf3274100 fixed functions without argument types. 2007-07-28 20:37:54 +00:00
ritt 3a94fa165f Performance improvement in writing long XML files 2007-07-26 15:20:05 +00:00
Ryu Sawada 59d13fe1f4 added format and parameters consistency check.
aded 'const' keyword for string format of 'read_error'.
2007-06-27 00:36:47 +00:00
Ryu Sawada 395839404a fixed an error from the previous commit. 2007-05-22 13:41:35 +00:00
Ryu Sawada 2ea15334a1 fixed a potential error by 'strcpy', which depends on libc implementation. 2007-05-22 08:42:20 +00:00
ritt 7947f08b0e Fixed bug with wrong interpretation of empty element such as <TEXT></TEXT> 2007-05-10 08:59:44 +00:00
Ryu Sawada 7bce4afd0a fixed local variables shadow other local variables or functions.
A variable 'index' shadowed a function 'index' in string.h.
2007-04-30 08:25:59 +00:00
Ryu Sawada 641d48e06a code cleanup 2007-04-25 22:37:39 +00:00
ritt fdfe3d2413 Fixed endless loop in mxml_decode if a comment contained an entity like &XYZ; 2007-04-04 13:32:24 +00:00
Ryu Sawada dabfe6db7c merged with mxml in ROME.
* increased size of a string buffer. (ROME rev.1341)
 * performance improvement of parse_entity (ROME rev.1609)
2007-02-26 13:49:17 +00:00
ritt c4fd52f513 Added back mxml_write_element() 2007-02-15 12:43:53 +00:00
Matthias Schneebeli dd5481e113 added mxml_suppress_date and mxml_write_empty_line.
fixed a bug in mxml_add_tree
2007-02-15 12:37:08 +00:00
Matthias Schneebeli e77b8b1116 Go back to revision 44. The good modifications of rev. 45 and 46 will be added in the following commits. The reason for this is a bad commit in rev. 45. 2007-02-15 11:59:54 +00:00
ritt d8db729ef2 Added mxml_write_element() 2007-02-15 07:54:03 +00:00
Matthias Schneebeli 2c3793990f synchronized mxml and rome
fixed bug in mxml_add_special_node_at
2006-11-20 08:55:30 +00:00
Matthias Schneebeli 17ef5507af wrong parent pointer correction in mxml_add_special_node_at 2006-11-17 21:44:34 +00:00
ritt 169e848290 Fixed compiler warnings 2006-09-18 11:52:18 +00:00
Ryu Sawada d29a3a0604 correct handle of attribute in XPATH. 2006-07-18 09:27:07 +00:00
ritt f656cfb5aa Applied patch from Sergio Ballestrero 2006-05-17 15:23:57 +00:00
Pierre Amaudruz ad197c34d9 - OS_VXWORKS condition on sys/time
- Change // to /*
2006-03-30 22:48:42 +00:00
Matthias Schneebeli 94890c59f6 don't remove &quot 2006-03-07 16:19:54 +00:00
Matthias Schneebeli 29adc0b8f9 mxml_find_nodes1 able to analyze e.g. [name='XX'][2] 2006-03-07 15:06:59 +00:00
ritt 0ca44a6d92 Applied patch from Achim Gsell to fix compiler warning under 64bit OS 2006-02-21 13:07:16 +00:00
ritt a1111c83d0 Decode strings in quotes correctly 2005-12-20 07:09:34 +00:00