ooxi
93614254a2
Test can be executed via CMake
3 년 전
ooxi
039b0893ec
Fixed typo
4 년 전
Farkasvölgyi
070d0ec22b
XML attributes unit test
* `strtok_r` is not a standard function, and not available wiht std=c11 so I used a public domain implementation of it.
* Added an attribute unit test
5 년 전
Blake Felt
bd11bbb5d3
Added ability to parse attributes.
5 년 전
Siwen Yu
8297961519
Fix possible memory leaks
Fix #18
6 년 전
ooxi
e18c25cebc
Merge pull request #16 from ooxi/issue/14
Added a test case which demonstrates how to search for an element using recursion. Functionality is similar to [getElementsByTagName](https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByTagName ), however only the first found node or null is return.
6 년 전
ooxi
65e582d6d7
Recursive search example for issue #14
6 년 전
ooxi
d76cbfc728
Minor documentation fix
6 년 전
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.
6 년 전
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
10 년 전
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 년 전