Commit Graph

  • cfce5afcc9 Fixed compiler warnings master origin/master origin/HEAD ritt 2024-07-26 15:46:36 +02:00
  • d50251ec12 Added mxml_write_tree to mxml.h ritt 2024-02-15 15:46:45 +01:00
  • 726495c1e5 Replaced sprintf by snprintf ritt 2023-02-06 13:22:54 +01:00
  • 15cd4bd1e0 Fixed incorrect buffer handling ritt 2022-08-05 18:53:55 +02:00
  • a97f18a2c0 Removed wrong xml element ritt 2022-08-05 08:26:16 +02:00
  • fce873bbef Removed strlcpy.* since mxml uses mxml_strlcpy ritt 2022-08-04 19:32:22 +02:00
  • aef5c8b5c0 mxml use mxml_strlcpy() Konstantin Olchanski 2022-08-04 10:23:44 -07:00
  • 4f0a8b6815 Added missing include file ritt 2022-08-04 19:11:07 +02:00
  • d29b1093ed Fixed typo ritt 2022-08-04 16:05:29 +02:00
  • ed60694e4c Implemented mxml_print_tree ritt 2022-08-04 12:24:10 +02:00
  • 4d4b4cf17b Changed assert to real test ritt 2022-02-15 13:42:08 +01:00
  • 5e10343edb remove CMakeLists.txt Konstantin Olchanski 2021-07-09 18:22:47 -07:00
  • a5a33ad29c Reduced max number of entities because of stack problems ritt 2021-06-18 12:21:55 +02:00
  • d64f9605df add .gitignore Konstantin Olchanski 2021-05-27 15:45:05 -07:00
  • 1132d0260a cmake - dummy library Konstantin Olchanski 2021-05-27 15:36:16 -07:00
  • e6e2e64548 Remove more strcpy() Konstantin Olchanski 2020-05-22 14:06:34 -07:00
  • f09643b9fc Fix incorrect string resize Konstantin Olchanski 2020-05-22 13:52:26 -07:00
  • 5609cf96d0 Remove most strcpy() Konstantin Olchanski 2020-05-22 13:46:27 -07:00
  • 732f3040b3 Replace all sprintf() with std::string Konstantin Olchanski 2020-05-22 13:36:48 -07:00
  • 6b96d7aa9c Remove sprintf() Konstantin Olchanski 2020-05-22 12:55:44 -07:00
  • f6fc49d9aa Remove premature free() which can cause segfaults. It is anyway freed later when freeing writer->stack[writer->level]. Ben Smith 2019-08-01 15:34:10 -07:00
  • 7ca9a5a425 Fixed correct free ritt 2019-07-10 16:59:08 +02:00
  • 0ebf750197 Fixed double free ritt 2019-07-10 16:55:35 +02:00
  • 2e48b71244 mxml.cxx no longer uses strlcpy. strlcat() relaced with std::string, strlcpy() for now uses private copy mxml_strlcpy() Konstantin Olchanski 2019-06-17 18:11:43 -07:00
  • 2c3833710a Remove "extern C", use C++ linking Konstantin Olchanski 2019-06-17 17:34:16 -07:00
  • d38f63e76d Put back KO's modifications ritt 2019-06-10 16:05:49 +02:00
  • e658c27302 Removed .c files ritt 2019-06-10 15:59:42 +02:00
  • 5d8f4a273a Changed .c files to .cxx files ritt 2019-06-06 18:27:38 +02:00
  • 5f9886be00 Create dummy routine to fix linker errors on empty library ritt 2019-05-29 10:42:32 +02:00
  • cb34fe499c Fixed debugger warning ritt 2019-04-12 14:26:10 +02:00
  • 75ebe0caee Fixed memory leak ritt 2019-04-12 14:19:57 +02:00
  • 6eb60b1f25 fixed c++ compiler error mxml-2019-03-a origin/feature/midas-2019-03 Konstantin Olchanski 2019-03-21 11:57:52 -07:00
  • 869d98081c Removed global data buffers to make xml_encode() & co thread-safe, marked some place where the xml encoder truncates data. Konstantin Olchanski 2018-12-18 10:45:28 -08:00
  • 9c763a0e87 Switched back to GPLv2 by request from KO ritt 2017-11-02 21:57:04 +01:00
  • c1800348bd fix memory corruption - mxml_write_line() did not allocate sufficient buffer space for the given string length Konstantin Olchanski 2017-11-02 11:44:55 -07:00
  • 20b4610931 README.md edited online with Bitbucket ritt 2016-12-01 09:37:23 +00:00
  • 15c5f5c676 Added GPL v3 according to Debian Policy Manual, thanks to Roger Kalt ritt 2014-05-04 21:04:18 +02:00
  • 6be847204e Do not include our strlcpy.h if we are using the system strlcpy() from string.h - controlled by HAVE_STRLCPY Konstantin Olchanski 2013-11-16 16:50:51 -08:00
  • 6531dc4ae2 Check for predefined strlcpy (as in newer gcc versions) ritt 2013-11-06 09:29:55 +01:00
  • 19a939ec26 Removed $Id$ ritt 2013-07-16 17:50:50 -07:00
  • 00c89750bb KO - remove "executable" permission Konstantin Olchanski 2013-07-16 16:50:23 -07:00
  • 409578642d Added mxml_get_parent() ritt 2012-02-10 14:54:14 +00:00
  • d8cffaed40 Check error pointer ritt 2012-02-03 15:50:14 +00:00
  • 9fe5b85a7f Return error line in parsing functions, abort on missing external ENTITY ritt 2012-02-03 12:57:34 +00:00
  • 0309a3c6fb Added prototypes ritt 2011-09-14 11:46:24 +00:00
  • 7c597e7f45 Removed dead code ritt 2011-07-18 12:52:02 +00:00
  • 55c55d04e8 Added start and end line numbers ritt 2011-06-10 23:19:38 +00:00
  • 0f285bc343 Fixed compiler warnings under OSX ritt 2011-06-03 22:39:20 +00:00
  • 4c40c6c98f Test submission ritt 2010-06-23 10:01:58 +00:00
  • 7d2f3c5bd2 Test submision ritt 2010-06-23 09:48:53 +00:00
  • 11888c6aa7 Use own malloc/free, added freeing of some local buffers at exit ritt 2009-06-10 14:37:16 +00:00
  • 344c6a6667 Added pragma to disable "deprecated" warning ritt 2008-08-12 08:30:04 +00:00
  • 67b0ca3113 protection for double include of mxml.h or strlcpy.h Ryu Sawada 2007-10-23 17:53:45 +00:00
  • 1704e5bf1c Fixed wrong decoding of attribute names and values containg '&' ritt 2007-10-22 13:39:10 +00:00
  • 457fe775b5 Renamed 'index' to 'idx' to avoid shadow warnings ritt 2007-07-30 13:26:54 +00:00
  • ecf3274100 fixed functions without argument types. Ryu Sawada 2007-07-28 20:37:54 +00:00
  • 3a94fa165f Performance improvement in writing long XML files ritt 2007-07-26 15:20:05 +00:00
  • 59d13fe1f4 added format and parameters consistency check. aded 'const' keyword for string format of 'read_error'. Ryu Sawada 2007-06-27 00:36:47 +00:00
  • 395839404a fixed an error from the previous commit. Ryu Sawada 2007-05-22 13:41:35 +00:00
  • 2ea15334a1 fixed a potential error by 'strcpy', which depends on libc implementation. Ryu Sawada 2007-05-22 08:42:20 +00:00
  • 7947f08b0e Fixed bug with wrong interpretation of empty element such as <TEXT></TEXT> ritt 2007-05-10 08:59:44 +00:00
  • 7bce4afd0a fixed local variables shadow other local variables or functions. A variable 'index' shadowed a function 'index' in string.h. Ryu Sawada 2007-04-30 08:25:59 +00:00
  • 641d48e06a code cleanup Ryu Sawada 2007-04-25 22:37:39 +00:00
  • fdfe3d2413 Fixed endless loop in mxml_decode if a comment contained an entity like &XYZ; ritt 2007-04-04 13:32:24 +00:00
  • dabfe6db7c merged with mxml in ROME. * increased size of a string buffer. (ROME rev.1341) * performance improvement of parse_entity (ROME rev.1609) Ryu Sawada 2007-02-26 13:49:17 +00:00
  • c4fd52f513 Added back mxml_write_element() ritt 2007-02-15 12:43:53 +00:00
  • dd5481e113 added mxml_suppress_date and mxml_write_empty_line. fixed a bug in mxml_add_tree Matthias Schneebeli 2007-02-15 12:37:08 +00:00
  • 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. Matthias Schneebeli 2007-02-15 11:59:54 +00:00
  • d8db729ef2 Added mxml_write_element() ritt 2007-02-15 07:54:03 +00:00
  • 2c3793990f synchronized mxml and rome fixed bug in mxml_add_special_node_at Matthias Schneebeli 2006-11-20 08:55:30 +00:00
  • 17ef5507af wrong parent pointer correction in mxml_add_special_node_at Matthias Schneebeli 2006-11-17 21:44:34 +00:00
  • 169e848290 Fixed compiler warnings ritt 2006-09-18 11:52:18 +00:00
  • d29a3a0604 correct handle of attribute in XPATH. Ryu Sawada 2006-07-18 09:27:07 +00:00
  • f656cfb5aa Applied patch from Sergio Ballestrero ritt 2006-05-17 15:23:57 +00:00
  • ad197c34d9 - OS_VXWORKS condition on sys/time - Change // to /* Pierre Amaudruz 2006-03-30 22:48:42 +00:00
  • 94890c59f6 don't remove &quot Matthias Schneebeli 2006-03-07 16:19:54 +00:00
  • 29adc0b8f9 mxml_find_nodes1 able to analyze e.g. [name='XX'][2] Matthias Schneebeli 2006-03-07 15:06:59 +00:00
  • 0ca44a6d92 Applied patch from Achim Gsell to fix compiler warning under 64bit OS ritt 2006-02-21 13:07:16 +00:00
  • a1111c83d0 Decode strings in quotes correctly ritt 2005-12-20 07:09:34 +00:00
  • 2bd4d06829 handle several conditions like /AAA[x=1][y=2][@aa=3]/BBB Matthias Schneebeli 2005-11-22 09:48:58 +00:00
  • d51de8ab4b Fixed bug where XML data was written to file instead of buffer ritt 2005-10-25 12:31:05 +00:00
  • d4de46a3d8 Added C++ support ritt 2005-10-24 07:56:51 +00:00
  • e7e0170dab ritt 2005-10-20 10:36:49 +00:00
  • d100f5f5a7 Fixed compiler warning related to %08X and (size_t) ritt 2005-10-10 07:00:44 +00:00
  • dbbbec4d07 Removed stripping of \" in mxml_decode. ritt 2005-10-10 06:53:16 +00:00
  • cc52e6327f Fixed compiler warning under Windows ritt 2005-10-10 06:40:18 +00:00
  • ee558d0032 check if absolute path when follow entity. Ryu Sawada 2005-10-09 23:06:41 +00:00
  • e5baf9cb9d directory separator for windows. Ryu Sawada 2005-10-09 15:57:36 +00:00
  • ac982aa77f fixed another memory leak. Ryu Sawada 2005-10-09 15:40:20 +00:00
  • 4b7bbae2fc fixed memory leaks. comments in !DOCTYPE Ryu Sawada 2005-10-09 14:38:14 +00:00
  • 83e8ff05be bug fix. Ryu Sawada 2005-10-08 09:37:24 +00:00
  • 7abaa9daeb added mxml_dirname,mxml_basename Ryu Sawada 2005-10-08 09:33:26 +00:00
  • 6e9bd4a774 Changed '*p++' to 'p++' ritt 2005-10-08 07:29:15 +00:00
  • 2f3edffda0 relative path to follow external entity. Ryu Sawada 2005-10-07 22:34:13 +00:00
  • 7a51782672 ENTITY is always inside DOCTYPE. Ryu Sawada 2005-10-07 19:54:31 +00:00
  • 3e3b113ec0 bug fix. Ryu Sawada 2005-10-07 19:04:32 +00:00
  • 9d17b1f869 bug fix. Ryu Sawada 2005-10-07 16:39:31 +00:00
  • ed284311fb parse ENTITY Ryu Sawada 2005-10-07 14:13:01 +00:00
  • 20d924d98e Replaced $Log$ by $Id:$ ritt 2005-10-07 13:05:38 +00:00
  • 88f8fac150 Clear error ritt 2005-05-09 18:43:52 +00:00