]> granicus.if.org Git - libexpat/log
libexpat
7 years agoFix test_utf16_second_attr() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:59:32 +0000 (17:59 +0100)]
Fix test_utf16_second_attr() to work in UTF-16 builds

7 years agoFix test_utf16_attribute() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:58:41 +0000 (17:58 +0100)]
Fix test_utf16_attribute() to work in UTF-16 builds

7 years agoFix test_trailing_spaces_in_elements() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:57:43 +0000 (17:57 +0100)]
Fix test_trailing_spaces_in_elements() to work in UTF-16 builds

7 years agoFix record_element_end_handler() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:56:40 +0000 (17:56 +0100)]
Fix record_element_end_handler() to work for UTF-16 builds

7 years agoFix test_utf8_in_cdata_section_2() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:49:32 +0000 (17:49 +0100)]
Fix test_utf8_in_cdata_section_2() to work in UTF-16 builds

7 years agoFix test_long_ascii_attribute() to work in UTF-16 builds
Rhodri James [Thu, 24 Aug 2017 12:01:14 +0000 (13:01 +0100)]
Fix test_long_ascii_attribute() to work in UTF-16 builds

7 years agoFix test_long_latin1_attribute() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:47:06 +0000 (17:47 +0100)]
Fix test_long_latin1_attribute() to work in UTF-16 builds

7 years agoFix test_utf8_in_cdata_section() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:12:58 +0000 (17:12 +0100)]
Fix test_utf8_in_cdata_section() to work in UTF-16 builds

7 years agoFix test_ext_entity_utf8_non_bom() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:07:10 +0000 (17:07 +0100)]
Fix test_ext_entity_utf8_non_bom() to work in UTF-16 builds

7 years agoFix test_ext_entity_utf16_le() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:04:03 +0000 (17:04 +0100)]
Fix test_ext_entity_utf16_le() to work in UTF-16 builds

7 years agoFix test_ext_entity_utf16_be() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:02:13 +0000 (17:02 +0100)]
Fix test_ext_entity_utf16_be() to work for UTF-16 builds

7 years agoFix test_ext_entity_latin1_utf16be_bom2() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:59:55 +0000 (16:59 +0100)]
Fix test_ext_entity_latin1_utf16be_bom2() to work in UTF-16 builds

7 years agoFix test_ext_entity_latin1_utf16le_bom2() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:57:03 +0000 (16:57 +0100)]
Fix test_ext_entity_latin1_utf16le_bom2() to work in UTF-16 builds

7 years agoFix test_ext_entity_latin1_utf16be_bom() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:55:16 +0000 (16:55 +0100)]
Fix test_ext_entity_latin1_utf16be_bom() to work in UTF-16 builds

7 years agoFix test_ext_entity_latin1_utf16le_bom() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:53:19 +0000 (16:53 +0100)]
Fix test_ext_entity_latin1_utf16le_bom() to work in UTF-16 builds

7 years agoFix test_unknown_ascii_encoding_ok() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:35:37 +0000 (16:35 +0100)]
Fix test_unknown_ascii_encoding_ok() to work in UTF-16 builds

7 years agoFix test_unknown_encoding_long_name_2() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:34:36 +0000 (16:34 +0100)]
Fix test_unknown_encoding_long_name_2() to work in UTF-16 builds

7 years agoFix test_unknown_encoding_long_name_1() to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 15:33:51 +0000 (16:33 +0100)]
Fix test_unknown_encoding_long_name_1() to work for UTF-16

7 years agoFix MiscEncodingHandler() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:32:03 +0000 (16:32 +0100)]
Fix MiscEncodingHandler() to work in UTF-16 builds

7 years agoFix up UTF-16 comment tests to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:26:02 +0000 (16:26 +0100)]
Fix up UTF-16 comment tests to work in UTF-16 builds

7 years agoFix up accumulate_pi_characters() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:24:40 +0000 (16:24 +0100)]
Fix up accumulate_pi_characters() to work for UTF-16 builds

7 years agoFix test_comment_handled_in_default() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:14:40 +0000 (16:14 +0100)]
Fix test_comment_handled_in_default() to work for UTF-16 builds

7 years agoFix test_pi_handled_in_default() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:13:31 +0000 (16:13 +0100)]
Fix test_pi_handled_in_default() to work in UTF-16 builds

7 years agoFix test_param_entity_with_trailing_cr() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:11:17 +0000 (16:11 +0100)]
Fix test_param_entity_with_trailing_cr() to work for UTF-16 builds

7 years agoFix test_suspend_resume_parameter_entity() to work in UTF-16
Rhodri James [Tue, 22 Aug 2017 15:03:35 +0000 (16:03 +0100)]
Fix test_suspend_resume_parameter_entity() to work in UTF-16

7 years agoFix test_suspend_resume_internal_entity() to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 14:59:45 +0000 (15:59 +0100)]
Fix test_suspend_resume_internal_entity() to work for UTF-16

7 years agoFix start_element_suspender() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:57:58 +0000 (15:57 +0100)]
Fix start_element_suspender() to work for UTF-16 builds

7 years agoFix up selective_aborting_default_handler() for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:54:49 +0000 (15:54 +0100)]
Fix up selective_aborting_default_handler() for UTF-16 builds

7 years agoFix external_entity_devaluer() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:50:10 +0000 (15:50 +0100)]
Fix external_entity_devaluer() to work for UTF-16 builds

7 years agoFix external_entity_public() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:48:21 +0000 (15:48 +0100)]
Fix external_entity_public() to work for UTF-16 builds

7 years agoFix test_nested_groups() to work with UTF-16
Rhodri James [Tue, 22 Aug 2017 14:42:52 +0000 (15:42 +0100)]
Fix test_nested_groups() to work with UTF-16

7 years agoFix record_element_start_handler() to use XML_Char correctly
Rhodri James [Tue, 22 Aug 2017 14:41:15 +0000 (15:41 +0100)]
Fix record_element_start_handler() to use XML_Char correctly

7 years agoFix test_predefined_entity_redefinition() to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 14:35:41 +0000 (15:35 +0100)]
Fix test_predefined_entity_redefinition() to work for UTF-16

7 years agoFix test_attribute_enum_value() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:31:46 +0000 (15:31 +0100)]
Fix test_attribute_enum_value() to work for UTF-16 builds

7 years agoFix external_entity_value_aborter() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:26:03 +0000 (15:26 +0100)]
Fix external_entity_value_aborter() to work for UTF-16 builds

7 years agoFix external_entity_not_standalone() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:24:45 +0000 (15:24 +0100)]
Fix external_entity_not_standalone() to work for UTF-16 builds

7 years agoFix external_entity_valuer() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:19:36 +0000 (15:19 +0100)]
Fix external_entity_valuer() to work for UTF-16 builds

7 years agoFix external_entity_param() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:18:22 +0000 (15:18 +0100)]
Fix external_entity_param() to work for UTF-16 builds

7 years agoFix test_ignore_section_utf16_be() for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:14:33 +0000 (15:14 +0100)]
Fix test_ignore_section_utf16_be() for UTF-16 builds

7 years agoFix test_ignore_section_utf16() for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:13:26 +0000 (15:13 +0100)]
Fix test_ignore_section_utf16() for UTF-16 builds

7 years agoFix test_ignore_section() to work correctly for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:12:13 +0000 (15:12 +0100)]
Fix test_ignore_section() to work correctly for UTF-16 builds

7 years agoFix test_predefined_entities() to work correctly with UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:06:18 +0000 (15:06 +0100)]
Fix test_predefined_entities() to work correctly with UTF-16 builds

7 years agoRemove speculative test from byte_character_handler().
Rhodri James [Tue, 22 Aug 2017 13:59:01 +0000 (14:59 +0100)]
Remove speculative test from byte_character_handler().

byte_character_handler() used to test that the string pointer `s`
passed to it was at the correct offset ino the input buffer.  This
is not guaranteed to be the case, and definitely won't be the case
if the input encoding has a different minimum bytes-per-character
to the internal encoding.

7 years agoFix external_entity_good_cdata_ascii() to work with UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:53:04 +0000 (14:53 +0100)]
Fix external_entity_good_cdata_ascii() to work with UTF-16 builds

7 years agoFix rsqb_handler() to work correctly in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:47:20 +0000 (14:47 +0100)]
Fix rsqb_handler() to work correctly in UTF-16 builds

7 years agoFix cr_cdata_handler() to work correctly for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:45:37 +0000 (14:45 +0100)]
Fix cr_cdata_handler() to work correctly for UTF-16 builds

7 years agoFix test_cdata_default() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:42:12 +0000 (14:42 +0100)]
Fix test_cdata_default() to work for UTF-16 builds

7 years agoFix test_attributes() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:37:01 +0000 (14:37 +0100)]
Fix test_attributes() to work for UTF-16 builds

7 years agoFix counting_start_element_handler() to use XML_Char correctly
Rhodri James [Tue, 22 Aug 2017 13:33:47 +0000 (14:33 +0100)]
Fix counting_start_element_handler() to use XML_Char correctly

7 years agoFix test_set_base() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:22:11 +0000 (14:22 +0100)]
Fix test_set_base() to work for UTF-16 builds

7 years agoFix test_multichar_cdata_utf16() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:16:56 +0000 (14:16 +0100)]
Fix test_multichar_cdata_utf16() to work for UTF-16 builds

7 years agoFix test_long_cdata_utf16() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:08:05 +0000 (14:08 +0100)]
Fix test_long_cdata_utf16() to work for UTF-16 builds

7 years agoFix test_good_cdata_utf16_le() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:05:10 +0000 (14:05 +0100)]
Fix test_good_cdata_utf16_le() to work for UTF-16 builds

7 years agoFix test_good_cdata_utf16() to work for UTF-16 builds (ironicly)
Rhodri James [Tue, 22 Aug 2017 13:03:08 +0000 (14:03 +0100)]
Fix test_good_cdata_utf16() to work for UTF-16 builds (ironicly)

7 years agoFix test_good_cdata_ascii() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:02:00 +0000 (14:02 +0100)]
Fix test_good_cdata_ascii() to work for UTF-16 builds

7 years agoFix test_dtd_attr_handling() to work with UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 12:47:33 +0000 (13:47 +0100)]
Fix test_dtd_attr_handling() to work with UTF-16 builds

7 years agoFix test_dtd_default_handling() to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 12:39:19 +0000 (13:39 +0100)]
Fix test_dtd_default_handling() to work for UTF-16

7 years agoFix test_not_standalone_handler_accept() to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 12:37:10 +0000 (13:37 +0100)]
Fix test_not_standalone_handler_accept() to work for UTF-16

7 years agoFix test_not_standalone_handler_accept() to work in UTF-16 builds
Rhodri James [Thu, 24 Aug 2017 12:31:55 +0000 (13:31 +0100)]
Fix test_not_standalone_handler_accept() to work in UTF-16 builds

7 years agoFix test_wfc_undeclared_entity_with_external_subset() for UTF-16
Rhodri James [Tue, 22 Aug 2017 12:31:55 +0000 (13:31 +0100)]
Fix test_wfc_undeclared_entity_with_external_subset() for UTF-16

7 years agoFix test_ext_entity_set_bom() to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 12:22:39 +0000 (13:22 +0100)]
Fix test_ext_entity_set_bom() to work for UTF-16

7 years agoFix test_ext_entity_no_handler() to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 12:21:59 +0000 (13:21 +0100)]
Fix test_ext_entity_no_handler() to work for UTF-16

7 years agoFix test_ext_entity_set_encoding to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 12:17:41 +0000 (13:17 +0100)]
Fix test_ext_entity_set_encoding to work for UTF-16

7 years agoFix UnknownEncodingHandler to work with UTF-16
Rhodri James [Tue, 22 Aug 2017 12:04:55 +0000 (13:04 +0100)]
Fix UnknownEncodingHandler to work with UTF-16

7 years agoFix attribute whitespace normalization tests for UTF-16
Rhodri James [Tue, 22 Aug 2017 11:53:40 +0000 (12:53 +0100)]
Fix attribute whitespace normalization tests for UTF-16

7 years agoFix whitespace normalization tests for UTF-16
Rhodri James [Tue, 22 Aug 2017 11:48:00 +0000 (12:48 +0100)]
Fix whitespace normalization tests for UTF-16

7 years agoEnsure encoding passed to XML_SetEncoding is always const XML_Char*
Rhodri James [Fri, 4 Aug 2017 18:22:46 +0000 (19:22 +0100)]
Ensure encoding passed to XML_SetEncoding is always const XML_Char*

7 years agoFix test_utf16() to work for UTF-16 builds
Rhodri James [Fri, 4 Aug 2017 18:01:55 +0000 (19:01 +0100)]
Fix test_utf16() to work for UTF-16 builds

7 years agoFix test_utf8_false_rejection() to work in UTF-16
Rhodri James [Fri, 4 Aug 2017 17:53:58 +0000 (18:53 +0100)]
Fix test_utf8_false_rejection() to work in UTF-16

7 years agoFix test_french_utf8() to work in UTF-16
Rhodri James [Fri, 4 Aug 2017 17:49:22 +0000 (18:49 +0100)]
Fix test_french_utf8() to work in UTF-16

7 years agoFix test_french_latin1() to work in UTF-16
Rhodri James [Fri, 4 Aug 2017 17:47:19 +0000 (18:47 +0100)]
Fix test_french_latin1() to work in UTF-16

7 years agoFix test_french_charref_decimal() to work for UTF-16
Rhodri James [Fri, 4 Aug 2017 17:44:53 +0000 (18:44 +0100)]
Fix test_french_charref_decimal() to work for UTF-16

7 years agoFix test_french_charref_hexidecimal() to work for UTF-16
Rhodri James [Fri, 4 Aug 2017 17:40:01 +0000 (18:40 +0100)]
Fix test_french_charref_hexidecimal() to work for UTF-16

7 years agoFix test_latin1_umlauts() to work for UTF-16
Rhodri James [Fri, 4 Aug 2017 17:32:50 +0000 (18:32 +0100)]
Fix test_latin1_umlauts() to work for UTF-16

7 years agoFix test_danish_latin1() to handle UTF-16
Rhodri James [Fri, 4 Aug 2017 17:27:10 +0000 (18:27 +0100)]
Fix test_danish_latin1() to handle UTF-16

7 years agoAdd wrapper macro to give string literals the right type for XML_Char*
Rhodri James [Fri, 4 Aug 2017 17:14:30 +0000 (18:14 +0100)]
Add wrapper macro to give string literals the right type for XML_Char*

7 years agoEnsure the _check functions take parse text as char not XML_Char
Rhodri James [Fri, 4 Aug 2017 16:59:04 +0000 (17:59 +0100)]
Ensure the _check functions take parse text as char not XML_Char

_run_character_check() et al pass their parse text to XML_Parse()
via _XML_Parse_SINGLE_BYTES().  Both of these expect the parse text
as "const char *", not "const XML_Char *".

7 years agoFix wide character issues in param_entity_match_handler()
Rhodri James [Fri, 4 Aug 2017 16:50:50 +0000 (17:50 +0100)]
Fix wide character issues in param_entity_match_handler()

7 years agoAdd macros for XML_Char-based strncmp and strlen equivalents
Rhodri James [Fri, 4 Aug 2017 16:49:37 +0000 (17:49 +0100)]
Add macros for XML_Char-based strncmp and strlen equivalents

7 years agoFix wide character comparisons in external_entity_optioner()
Rhodri James [Fri, 4 Aug 2017 16:41:37 +0000 (17:41 +0100)]
Fix wide character comparisons in external_entity_optioner()

7 years agoDefine and use macros for XML_Char and XML_Char* format strings
Rhodri James [Fri, 4 Aug 2017 16:31:44 +0000 (17:31 +0100)]
Define and use macros for XML_Char and XML_Char* format strings

7 years agoPrevent XML_UNICODE being redefined
Rhodri James [Fri, 4 Aug 2017 16:06:44 +0000 (17:06 +0100)]
Prevent XML_UNICODE being redefined

7 years agoexamples: Use printf rather than [f]put[w]s (pull request #135)
Rhodri James [Tue, 29 Aug 2017 13:05:38 +0000 (14:05 +0100)]
examples: Use printf rather than [f]put[w]s (pull request #135)

7 years agoxmlparse.c: Resolve superfluous internal malloc/realloc switch (#6)
Sebastian Pipping [Mon, 28 Aug 2017 22:39:58 +0000 (00:39 +0200)]
xmlparse.c: Resolve superfluous internal malloc/realloc switch (#6)

7 years agoxmltok.c: Use memcpy
Sebastian Pipping [Mon, 28 Aug 2017 20:15:11 +0000 (22:15 +0200)]
xmltok.c: Use memcpy

Fixes false positive Clang (4.0.1) Static Analyzer warning (issue #9)
as a side-effect.

7 years agoxmlwf: Address Clang Static Analyzer warning
Sebastian Pipping [Mon, 28 Aug 2017 19:38:44 +0000 (21:38 +0200)]
xmlwf: Address Clang Static Analyzer warning

7 years agoMerge branch 'RMJ10-unicode-benchmark' (pull request #130)
Sebastian Pipping [Sat, 26 Aug 2017 15:19:47 +0000 (17:19 +0200)]
Merge branch 'RMJ10-unicode-benchmark' (pull request #130)

7 years agoChanges: Document #130
Sebastian Pipping [Sat, 26 Aug 2017 15:19:12 +0000 (17:19 +0200)]
Changes: Document #130

7 years agobenchmark: Indent preprocessor code
Sebastian Pipping [Sat, 26 Aug 2017 15:18:10 +0000 (17:18 +0200)]
benchmark: Indent preprocessor code

7 years agoFix benchmark to compile under XML_UNICODE_WCHAR_T
Rhodri James [Thu, 24 Aug 2017 13:19:03 +0000 (14:19 +0100)]
Fix benchmark to compile under XML_UNICODE_WCHAR_T

7 years agoMerge branch 'RMJ10-unicode-examples' (pull request #129)
Sebastian Pipping [Sat, 26 Aug 2017 15:04:13 +0000 (17:04 +0200)]
Merge branch 'RMJ10-unicode-examples' (pull request #129)

7 years agoChanges: Document #129
Sebastian Pipping [Sat, 26 Aug 2017 15:02:30 +0000 (17:02 +0200)]
Changes: Document #129

7 years agoexamples: Indent preprocessor code
Sebastian Pipping [Sat, 26 Aug 2017 15:01:59 +0000 (17:01 +0200)]
examples: Indent preprocessor code

7 years agoFix example programs to compile under XML_UNICODE_WCHAR_T
Rhodri James [Thu, 24 Aug 2017 13:16:16 +0000 (14:16 +0100)]
Fix example programs to compile under XML_UNICODE_WCHAR_T

7 years agoREADME.md: Add AppVeyor status badge
Sebastian Pipping [Thu, 24 Aug 2017 22:10:56 +0000 (00:10 +0200)]
README.md: Add AppVeyor status badge

7 years agoMerge branch 'zeroc-ice-ci' (pull request #128, issue #53)
Sebastian Pipping [Thu, 24 Aug 2017 21:36:08 +0000 (23:36 +0200)]
Merge branch 'zeroc-ice-ci' (pull request #128, issue #53)

7 years agoappveyor.yml: Sync copyright header
Sebastian Pipping [Thu, 24 Aug 2017 21:05:50 +0000 (23:05 +0200)]
appveyor.yml: Sync copyright header

7 years agoappveyor.yml: Convert from ISO-8859 to UTF-8
Sebastian Pipping [Thu, 24 Aug 2017 21:04:57 +0000 (23:04 +0200)]
appveyor.yml: Convert from ISO-8859 to UTF-8

7 years agoappveyor.yml: Add vs2010
Sebastian Pipping [Thu, 24 Aug 2017 20:50:59 +0000 (22:50 +0200)]
appveyor.yml: Add vs2010

7 years agoappveyor.yml: Add links on CMake generators and installed VS versions
Sebastian Pipping [Thu, 24 Aug 2017 20:49:38 +0000 (22:49 +0200)]
appveyor.yml: Add links on CMake generators and installed VS versions