Sebastian Pipping
d3b78b42a2
Bump version from 2.2.6 to 2.2.7
2019-06-19 18:41:14 +02:00
Sebastian Pipping
39e487da35
Prepare release version 2.2.6 ( #209 )
2018-08-12 21:40:00 +02:00
Sebastian Pipping
12732b9f85
tests/.gitignore: Add .log and .trs
2018-08-12 21:40:00 +02:00
Rhodri James
29bc47d2af
Add regression test for issue #204 , resume failure on empty input
2018-08-03 20:19:05 +02:00
Sebastian Pipping
a04764dcf0
runtests.c: Support Visual Studio <=9.x/2008 w/o stdint.h ( #180 )
...
Same approach as done in `lib/siphash.h`, earlier.
2017-12-27 13:33:46 +01:00
Sebastian Pipping
f5322b01ac
Address 64bit intptr_t loss warning for Visual Studio
...
Message was:
warning C4244: '=' : conversion from 'intptr_t' to 'int', possible loss of data
2017-12-04 00:15:55 +01:00
Sebastian Pipping
850c0922e1
Address 64bit size_t loss warning for Visual Studio
...
Message was:
warning C4267: 'argument' : conversion from 'size_t' to 'int'
2017-12-04 00:15:55 +01:00
Sebastian Pipping
fc9fe8f17c
Address warning about sip_tobin by Visual Studio
...
Message was:
Warning: C4551 function call missing argument
2017-12-03 17:33:35 +01:00
Sebastian Pipping
47135a3cca
Add Visual Studio const correctness compiler warnings
...
Warning was:
warning C4090: 'function' : different 'const' qualifiers
2017-12-03 17:15:02 +01:00
Sebastian Pipping
5f9bc4836f
Prepare release version 2.2.5 ( #133 )
2017-10-31 17:20:31 +01:00
Sebastian Pipping
535047b10c
Tests: Fix CPPFLAGS=-DNDEBUG ourselves ( #160 )
2017-10-24 21:41:18 +02:00
Sebastian Pipping
f75a40cbae
xmlwf|tests: Repeat L string prefix to fix compilation
2017-10-04 22:55:42 +02:00
Sebastian Pipping
3240718240
Fix test suite for --disable-xml-context ( #146 )
...
Regression from bc6468d230
2017-09-11 15:29:57 +02:00
Sebastian Pipping
4bad01f941
udiffer.py: Ship with tarballs
2017-09-09 19:20:40 +02:00
Sebastian Pipping
9f166f82e8
runtests.c: Fix compilation for undefined XML_CONTEXT_BYTES
...
Regression from 70d19d635a
Compile error was:
runtests.c: In function ‘byte_character_handler’:
runtests.c:4195:11: error: ‘s’ undeclared (first use in this function)
(void)s;
2017-09-09 19:13:21 +02:00
Sebastian Pipping
3efafceb60
udiffer.py: Improve overall structure
2017-09-09 18:21:18 +02:00
Sebastian Pipping
7c0f6d71cc
udiffer.py: Extract function to resolve code duplication
2017-09-09 18:21:18 +02:00
Sebastian Pipping
7f768b5068
udiffer.py: Add license header
2017-09-09 18:21:18 +02:00
Rhodri James
fec399291e
Make xmltest.sh script work for UTF-16 builds
2017-09-09 18:21:18 +02:00
Rhodri James
df8c75ee26
Add test for issue #137 : stopping parse doesn't always return an error
...
This catches the case of stopping the parse on a single empty tag.
There may be other cases where the parse status isn't checked properly.
2017-09-02 22:18:53 +02:00
Sebastian Pipping
5c6c28cf40
Streamline preprocessor indentation
2017-08-29 23:21:52 +02:00
Rhodri James
50c355729c
Split long string in test_nsalloc_realloc_long_context_in_dtd()
...
C99 only requires compilers to handle string literals up to 4095
characters long. Split the parse string so that it is below this
limit.
2017-08-29 23:21:52 +02:00
Rhodri James
533b45f94c
Split long string in test_nsalloc_long_namespace()
...
C99 compilers are only obliged to cope with 4095 character strings
literals. Split the parse string so that it is under this limit.
2017-08-29 23:21:52 +02:00
Rhodri James
b627e0e510
Split long string in test_ns_extremely_long_prefix()
...
C99 compilers are only required to cope with 4095 character strings.
Split the parse text in two to keep it under that limit.
2017-08-29 23:21:51 +02:00
Rhodri James
f7eb08ee80
Fix test_default_doctype_handler() to work in UTF-16 builds
2017-08-29 23:21:51 +02:00
Rhodri James
bd12cbc629
Remove CharData_{Append|Check}String functions
...
Mixing XML_Char and char strings is a bad idea, and trying to put
chars into an XML_Char array tends not to work as you might hope.
Removing these functions removes the temptation to break builds.
2017-08-29 23:21:51 +02:00
Rhodri James
e9aebf0a7f
Use correct format for XML_Char in error output
...
Only actually invoked when XML_Char is char, but it keeps the
compiler quiet
2017-08-29 23:19:35 +02:00
Rhodri James
a0fa0f80b8
Fix test_default_current() to work in UTF-16 builds
2017-08-29 23:19:35 +02:00
Rhodri James
0766d6c24c
Fix test_end_element_events() to work in UTF-16 builds
2017-08-29 23:19:35 +02:00
Rhodri James
234a974546
Fix test_line_and_column_numbers_inside_handlers() for UTF-16
...
Use structured data in the event handlers for this test to avoid
problems converting char strings to XML_Char strings.
2017-08-29 23:19:34 +02:00
Rhodri James
8b64146e21
Add support for structured data in test handlers
2017-08-29 23:19:34 +02:00
Rhodri James
38166e1f54
Fix test_alloc_realloc_nested_groups() to work in UTF-16 builds
2017-08-29 23:13:16 +02:00
Rhodri James
4f89cb88ac
Fix test_alloc_nested_groups() to work in UTF-16 builds
2017-08-29 23:13:16 +02:00
Rhodri James
881611c97e
Fix test_nsalloc_long_attr_prefix() to work in UTF-16
2017-08-29 23:13:16 +02:00
Rhodri James
826a0f791c
Fix test_nsalloc_prefixed_element() to work in UTF-16 builds
2017-08-29 23:13:16 +02:00
Rhodri James
ee626f7c80
Fix test_nsalloc_long_systemid_in_ext() to work in UTF-16 builds
2017-08-29 23:13:16 +02:00
Rhodri James
356e9d1c26
Fix test_nsalloc_long_default_in_ext() to work in UTF-16 builds
2017-08-29 23:13:15 +02:00
Rhodri James
77c89db91d
Fix test_nsalloc_realloc_long_context_in_dtd() to work in UTF-16
2017-08-29 23:13:15 +02:00
Rhodri James
51b90a3d54
Fix test_nsalloc_realloc_long_ge_name() to work in UTF-16 builds
2017-08-29 23:13:15 +02:00
Rhodri James
586dcbac54
Fix context_realloc_test() to work in UTF-16 builds
2017-08-29 23:13:15 +02:00
Rhodri James
f4f5413a6d
Fix test_nsalloc_long_context() to work in UTF-16 builds
2017-08-29 23:13:15 +02:00
Rhodri James
d8dd851ecb
Fix test_nsalloc_long_element() to work for UTF-16 builds
2017-08-29 23:13:15 +02:00
Rhodri James
3a1b4a1940
Fix test_alloc_long_notation() to work in UTF-16 builds
2017-08-29 23:13:15 +02:00
Rhodri James
29667dacba
Fix test_alloc_long_base() to work in UTF-16 builds
2017-08-29 23:13:15 +02:00
Rhodri James
0cba195e7c
Fix test_alloc_set_base() to work for UTF-16 builds
2017-08-29 23:13:15 +02:00
Rhodri James
b22dc0b44d
Fix test_alloc_dtd_default_handling() to work in UTF-16 builds
2017-08-29 23:13:15 +02:00
Rhodri James
84c40c5e61
Fix unknown_released_encoding_handler() to work in UTF-16 builds
2017-08-29 23:13:15 +02:00
Rhodri James
de15bfd1dc
Fix test_misc_utf16le() to work in UTF-16 builds
2017-08-29 23:13:15 +02:00
Rhodri James
e1d864007a
Fix test_misc_attribute_leak() to work in UTF-16 builds
2017-08-29 23:13:15 +02:00
Rhodri James
60942737e2
Fix test_misc_version() for various XML_UNICODE issues.
2017-08-29 23:13:15 +02:00