111 Commits

Author SHA1 Message Date
ritt cfce5afcc9 Fixed compiler warnings 2024-07-26 15:46:36 +02:00
ritt d50251ec12 Added mxml_write_tree to mxml.h 2024-02-15 15:46:45 +01:00
ritt 726495c1e5 Replaced sprintf by snprintf 2023-02-06 13:22:54 +01:00
ritt 15cd4bd1e0 Fixed incorrect buffer handling 2022-08-05 18:53:55 +02:00
ritt a97f18a2c0 Removed wrong xml element 2022-08-05 08:26:16 +02:00
ritt fce873bbef Removed strlcpy.* since mxml uses mxml_strlcpy 2022-08-04 19:32:22 +02:00
Konstantin Olchanski aef5c8b5c0 mxml use mxml_strlcpy() 2022-08-04 10:23:44 -07:00
ritt 4f0a8b6815 Added missing include file 2022-08-04 19:11:07 +02:00
ritt d29b1093ed Fixed typo 2022-08-04 16:05:29 +02:00
ritt ed60694e4c Implemented mxml_print_tree 2022-08-04 12:24:10 +02:00
ritt 4d4b4cf17b Changed assert to real test 2022-02-15 13:42:08 +01:00
Konstantin Olchanski 5e10343edb remove CMakeLists.txt 2021-07-09 18:22:47 -07:00
ritt a5a33ad29c Reduced max number of entities because of stack problems 2021-06-18 12:21:55 +02:00
Konstantin Olchanski d64f9605df add .gitignore 2021-05-27 15:45:05 -07:00
Konstantin Olchanski 1132d0260a cmake - dummy library 2021-05-27 15:36:16 -07:00
Konstantin Olchanski e6e2e64548 Remove more strcpy() 2020-05-22 14:06:34 -07:00
Konstantin Olchanski f09643b9fc Fix incorrect string resize 2020-05-22 13:52:26 -07:00
Konstantin Olchanski 5609cf96d0 Remove most strcpy() 2020-05-22 13:46:27 -07:00
Konstantin Olchanski 732f3040b3 Replace all sprintf() with std::string 2020-05-22 13:36:48 -07:00
Konstantin Olchanski 6b96d7aa9c Remove sprintf() 2020-05-22 12:55:44 -07:00
Ben Smith f6fc49d9aa Remove premature free() which can cause segfaults. It is anyway freed later when freeing writer->stack[writer->level]. 2019-08-01 15:34:10 -07:00
ritt 7ca9a5a425 Fixed correct free 2019-07-10 16:59:08 +02:00
ritt 0ebf750197 Fixed double free 2019-07-10 16:55:35 +02:00
Konstantin Olchanski 2e48b71244 mxml.cxx no longer uses strlcpy. strlcat() relaced with std::string, strlcpy() for now uses private copy mxml_strlcpy() 2019-06-17 18:11:43 -07:00
Konstantin Olchanski 2c3833710a Remove "extern C", use C++ linking 2019-06-17 17:34:16 -07:00
ritt d38f63e76d Put back KO's modifications 2019-06-10 16:05:49 +02:00
ritt e658c27302 Removed .c files 2019-06-10 15:59:42 +02:00
ritt 5d8f4a273a Changed .c files to .cxx files 2019-06-06 18:27:38 +02:00
ritt 5f9886be00 Create dummy routine to fix linker errors on empty library 2019-05-29 10:42:32 +02:00
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