ooxi
591052005b
Rewrote build system to make use of modern CMake features
Now using modern CMake features as discussed by Daniel Pfeifer on C++Now 2017. Moreover a full build environment is defined by the provided [mini-cross](https://github.com/ooxi/mini-cross ) description.
пре 7 година
ooxi
16fc76fe62
Merge pull request #10 from ooxi/patch/fix-test-cpp
malloc/free must be used instead of new/delete
пре 8 година
ooxi
f800fc8354
malloc/free must be used instead of new/delete
Since xml.c is a C library, memory has to be `malloc`ed and `free`d even when using C++. This could be solved by user supplied malloc/free implementations or using `ifdef __cpluspus`.
пре 8 година
ooxi
aa71b65387
Corrected build instructions
Since the test was spit into a C and a C++ version, `run-tests.sh` should be used to execute all tests at once.
пре 8 година
ooxi
e5568290c0
Merge pull request #8 from tweakdeveloper/master
Added C++ compatibility
пре 9 година
Nolan Clark
b98fb3f650
Added C++ test for Travis
пре 9 година
Nolan Clark
6e3df59596
Further C++ compatibility changes
пре 9 година
Nolan Clark
1061a391bd
Fix Travis build errors
пре 9 година
Nolan Clark
fc4e875977
Added C++ compatibility
пре 9 година
ooxi
052f19e572
Plural of child is children, not childrens
пре 11 година
ooxi
207c7548e4
Merge pull request #7 from luksow/easy-content-fix
Fix for xml_easy_content() for nodes with no content
пре 11 година
ooxi
03b2d824b8
Merge pull request #6 from luksow/self-closing-tags-fix
Support for self-closing tags
пре 11 година
Łukasz Sowa
0f9f7089a5
Added length check to prevent wrapping.
пре 11 година
Łukasz Sowa
7b4dd4bace
Fixed braces for patch.
пре 11 година
Łukasz Sowa
e37d916dfc
Fix for xml_easy_content() for nodes with no content.
Instead of crushing xml_easy_content() returns now NULL when there's no content.
пре 11 година
Łukasz Sowa
b0639a0c6d
Support for self-closing tags.
пре 11 година
ooxi
3925b2a848
Fixed small typo
пре 11 година
ooxi
86c7895077
Merge pull request #4 from ooxi/verbose
Fixed xml.c verbosity in debug builds. See [Issue 1](https://github.com/ooxi/xml.c/issues/1 )
пре 12 година
ooxi
10d1ef9a20
Fixed xml.c verbosity in debug builds
Squashed commit of the following:
commit 9ed7fee198
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 18:20:04 2012 +0100
xml.c parser verbosity
commit 97d4cbade8
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 18:19:21 2012 +0100
xml.c parser verbosity
commit 8c5493710b
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 18:17:13 2012 +0100
xml.c parser verbosity
commit 3a793c8c7d
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 18:16:37 2012 +0100
xml parser verbosity
пре 12 година
ooxi
dba018da77
Merge pull request #3 from ooxi/xml-open-document
Added xml_open_document API call to read a XML document from file
пре 12 година
ooxi
d049d16a6d
Added xml_open_document API call to read a XML document from file
Squashed commit of the following:
commit 3501a6d4a4
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 16:10:37 2012 +0100
Open XML document...
commit e4f6335425
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 16:10:04 2012 +0100
Open XML document...
commit cf9b46c260
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 16:09:56 2012 +0100
Open XML document...
commit be3baa3d99
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 16:09:48 2012 +0100
Open XML document...
commit 9be46ba2cf
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 16:07:35 2012 +0100
Open XML document...
commit 081a599747
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 16:06:58 2012 +0100
Open XML document...
commit 4af3334803
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 16:05:24 2012 +0100
Open XML document...
commit f5c3a25541
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 16:04:30 2012 +0100
Open XML document...
commit 81ee66c39e
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 16:02:53 2012 +0100
Open XML document...
commit 1448aa1484
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 16:02:03 2012 +0100
Open XML document...
commit dc767c8d67
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 16:01:14 2012 +0100
Open XML document...
commit ad23dcc127
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 16:00:25 2012 +0100
Open XML document...
commit f7c905130d
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 15:59:31 2012 +0100
Open XML document...
commit 1cce95d462
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 15:57:29 2012 +0100
Open XML document...
commit 1b3fa5f684
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 15:45:03 2012 +0100
Open XML document...
commit 0778105ea2
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 15:41:48 2012 +0100
Open XML document...
commit 64418dcb81
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 15:41:06 2012 +0100
Open XML document...
commit 54061a0e3b
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 15:40:39 2012 +0100
Open XML document...
commit e776734fa2
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 15:39:39 2012 +0100
Open XML document...
commit 81bbf1e0c3
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 15:38:36 2012 +0100
Open XML document...
пре 12 година
ooxi
4a42ec0bc3
Merge pull request #2 from ooxi/easy-interface
New easy xml interface
пре 12 година
ooxi
4ec6006b64
New easy xml interface
Squashed commit of the following:
commit 7300b93a1f
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:51:19 2012 +0100
Easy development...
commit 66b764840d
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:50:11 2012 +0100
Easy development...
commit 62e4801612
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:47:26 2012 +0100
Easy development...
commit d3b67262ff
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:47:08 2012 +0100
Easy development...
commit 65661e2ac0
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:45:05 2012 +0100
Easy development...
commit 3ae765fd82
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:44:58 2012 +0100
Easy development...
commit c6d1a3bb2c
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:44:36 2012 +0100
Easy development...
commit deb9846236
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:44:13 2012 +0100
Easy development...
commit 53cb08c3fc
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:43:41 2012 +0100
Easy development...
commit ce3766de25
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:40:47 2012 +0100
Easy development...
commit 9df056a6a0
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:37:59 2012 +0100
Easy interface...
commit c6b1797f0a
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:37:49 2012 +0100
Easy interface...
commit b72f20c42d
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:37:32 2012 +0100
Easy interface...
commit 9d9e3994a3
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:36:52 2012 +0100
Easy interface...
commit fe43225e7d
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:36:18 2012 +0100
Easy interface...
commit 9881f5516d
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:35:55 2012 +0100
Easy interface...
commit 5a0b4197be
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:35:23 2012 +0100
Easy interface...
commit e4bce00912
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:34:47 2012 +0100
Easy interface...
commit 0872374b18
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:33:56 2012 +0100
Easy interface...
commit fa075c61c6
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:31:58 2012 +0100
Easy interface...
commit 221f9cd044
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:30:12 2012 +0100
Easy interface...
commit ec2b858a82
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:29:32 2012 +0100
Easy interface...
commit 4159c73181
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:29:17 2012 +0100
Easy interface...
commit e040c00436
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:28:35 2012 +0100
Easy interface...
commit a34b05154c
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:27:39 2012 +0100
Easy interface...
commit f9b46f112b
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:26:37 2012 +0100
Easy interface...
commit d049b2f822
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:26:24 2012 +0100
Easy interface...
commit 8ff31ce1f3
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:25:39 2012 +0100
Easy interface...
commit 004a580c6b
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:25:12 2012 +0100
Easy interface...
commit 29d1070b98
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:23:57 2012 +0100
Easy interface...
commit 158f5db904
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:23:40 2012 +0100
Easy interface...
commit 9f761ff51b
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:21:27 2012 +0100
Easy interface...
commit 795c6464ca
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:19:08 2012 +0100
Easy interface...
commit 64f60cddad
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:18:32 2012 +0100
Easy interface...
commit d0c595ea84
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:18:23 2012 +0100
Easy interface...
commit 4a593ce313
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:17:59 2012 +0100
Easy interface...
commit a1552478a0
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:15:54 2012 +0100
Easy interface...
commit ac2184dee3
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:14:57 2012 +0100
Easy interface...
commit 393cbe4bf0
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:14:31 2012 +0100
Easy interface...
commit a56995ac8a
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:13:55 2012 +0100
Easy interface...
commit 921d7d6740
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:07:57 2012 +0100
Easy interface...
commit fe7de39d75
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 14:04:36 2012 +0100
Easy interface...
commit e6e158dd43
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 13:59:29 2012 +0100
Easy interface...
commit 9bb88f95d4
Author: ooxi <85fcd0ef4ec8@f977375cdcd6.anonbox.net>
Date: Thu Nov 1 13:59:01 2012 +0100
Easy interface...
пре 12 година
ooxi
2be4cfa787
xml_string_length and xml_string_copy will now accept 0 as string
пре 12 година
ooxi
aecf9769a0
Travis CI does not provide valgrind by default
пре 12 година
ooxi
a360944ba1
Fixed a couple of possible and fatal bugs
пре 12 година
ooxi
964d05bca4
Travis CI valgrind support
пре 12 година
ooxi
a0f55c7c14
Fixed possible memory corruption caused by off-by-one error in test case
пре 12 година
ooxi
3d2d9b3473
Fixed memory leak
пре 12 година
ooxi
1593b36a4a
Fixed memory corruption caused by off-by-one error
пре 12 година
ooxi
029c514ed8
Replaced manual array copy with memcpy
пре 12 година
ooxi
1e87d75209
Debug builds should include debug symbols
пре 12 година
ooxi
383ff54b93
xml.c is an extraction from gltoolkit
пре 12 година
ooxi
351bbe28d6
Added `Building xml.c` README section
пре 12 година
ooxi
12e866c25f
Referenced release tags and prebuild binaries
пре 12 година
ooxi
bcd8f02973
Cleaned CMakeList.txt, first formal release
пре 12 година
ooxi
8ac0ecf61f
Included Travis CI build status in readme
пре 12 година
ooxi
6aa83347d3
Travis CI configuration
пре 12 година
ooxi
23f628ee4f
Include updated example in README
пре 12 година
ooxi
a78e8db5b1
Use stdbool.h instead of manually specifing true and false :-D
пре 12 година
ooxi
66ce09e097
Added a usage example
пре 12 година
ooxi
0b450e2f30
Updated README.md, added license
пре 12 година
ooxi
6489e62ff9
xml.c -- a tiny xml subset parser
Similar to the GLib Markup parser, which also just parses an xml subset, xml.c is a simple, small and self contained xml parser in one file. Ideal for embedding into other projects without the need for big external dependencies.
пре 12 година
ooxi
a3c8ce16e6
Initial commit
пре 12 година