]> granicus.if.org Git - libexpat/log
libexpat
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

7 years agoappveyor.yml: Apply detailed license header
Sebastian Pipping [Thu, 24 Aug 2017 20:45:00 +0000 (22:45 +0200)]
appveyor.yml: Apply detailed license header

7 years agoAdd Windows CI with Appveyor Fixes issue #53
Jose [Thu, 24 Aug 2017 18:31:15 +0000 (20:31 +0200)]
Add Windows CI with Appveyor Fixes issue #53

7 years agoChanges: Add missing accents
Sebastian Pipping [Wed, 23 Aug 2017 20:10:03 +0000 (22:10 +0200)]
Changes: Add missing accents

7 years agoChanges: Fix typo
Sebastian Pipping [Wed, 23 Aug 2017 16:06:46 +0000 (18:06 +0200)]
Changes: Fix typo

7 years agoMerge branch 'visual-studio-2012' (pull request #127)
Sebastian Pipping [Wed, 23 Aug 2017 15:55:59 +0000 (17:55 +0200)]
Merge branch 'visual-studio-2012' (pull request #127)

7 years agoChanges: Document #126
Sebastian Pipping [Wed, 23 Aug 2017 14:06:46 +0000 (16:06 +0200)]
Changes: Document #126

7 years agoAdd version comment to _INTERNAL_trim_to_complete_utf8_characters
Sebastian Pipping [Wed, 23 Aug 2017 15:35:26 +0000 (17:35 +0200)]
Add version comment to _INTERNAL_trim_to_complete_utf8_characters

7 years agoLeave no doubt about align_limit_to_full_utf8_characters being internal
Sebastian Pipping [Wed, 23 Aug 2017 15:33:39 +0000 (17:33 +0200)]
Leave no doubt about align_limit_to_full_utf8_characters being internal

7 years agoFix missing export symbol required by testsuite
Jose [Wed, 23 Aug 2017 11:56:13 +0000 (13:56 +0200)]
Fix missing export symbol required by testsuite

Need to export the symbol align_limit_to_full_utf8_characters
to build the test suite on Windows.

7 years agoxmlwf/readfilemap.c: Address lack of ssize_t for Visual Studio
Sebastian Pipping [Wed, 23 Aug 2017 14:23:33 +0000 (16:23 +0200)]
xmlwf/readfilemap.c: Address lack of ssize_t for Visual Studio

7 years agoqa.sh: Stay closer to c89 (still requires c99)
Sebastian Pipping [Wed, 23 Aug 2017 14:03:19 +0000 (16:03 +0200)]
qa.sh: Stay closer to c89 (still requires c99)

7 years agoxmlparse.c|xmltok.c: Turn some comments to c89 style
Sebastian Pipping [Wed, 23 Aug 2017 14:02:40 +0000 (16:02 +0200)]
xmlparse.c|xmltok.c: Turn some comments to c89 style

7 years agoFix compile error with Visual Studio 2012
Jose [Wed, 23 Aug 2017 09:33:12 +0000 (11:33 +0200)]
Fix compile error with Visual Studio 2012

The standard header stdbool.h is not available
with old Visual Studio compilers

7 years agoAdd artificial scopes in xmltok.c utf8_toUtf8() to fix c89 compilation.
Benbuck Nason [Mon, 21 Aug 2017 22:02:01 +0000 (15:02 -0700)]
Add artificial scopes in xmltok.c utf8_toUtf8() to fix c89 compilation.

7 years agoREADME.md: Show Travis CI build status
Sebastian Pipping [Tue, 22 Aug 2017 23:02:21 +0000 (01:02 +0200)]
README.md: Show Travis CI build status

7 years agoMerge branch 'RMJ10-issue-11-fix' (pull request #110)
Sebastian Pipping [Tue, 22 Aug 2017 22:37:49 +0000 (00:37 +0200)]
Merge branch 'RMJ10-issue-11-fix' (pull request #110)

7 years agoChanges: Document fix to #11
Sebastian Pipping [Tue, 22 Aug 2017 22:37:08 +0000 (00:37 +0200)]
Changes: Document fix to #11

7 years agoDon't suppress default handler unnecessarily (Issue #11)
Rhodri James [Thu, 3 Aug 2017 10:25:04 +0000 (11:25 +0100)]
Don't suppress default handler unnecessarily (Issue #11)

The roles XML_ROLE_DOCTYPE_PUBLIC_ID and XML_ROLE_DOCTYPE_SYSTEM_ID
fall through to XML_ROLE_ENTITY_PUBLIC_ID and XML_ROLE_ENTITY_SYSTEM_ID
respectively.  This lead to the default handler getting suppressed if
there was no start doctype declaration handler but there was an entity
declaration handler.

7 years agoTest for incorrectly suppressed default handler (issue #11)
Rhodri James [Thu, 3 Aug 2017 10:24:20 +0000 (11:24 +0100)]
Test for incorrectly suppressed default handler (issue #11)

7 years agoMerge branch 'RMJ10-issue-8-fix' (pull request #108)
Sebastian Pipping [Tue, 22 Aug 2017 22:22:49 +0000 (00:22 +0200)]
Merge branch 'RMJ10-issue-8-fix' (pull request #108)

7 years agoChanges: Document fix to #8
Sebastian Pipping [Tue, 22 Aug 2017 22:21:29 +0000 (00:21 +0200)]
Changes: Document fix to #8

7 years agoKeep allocDefaultAtts consistent if allocating defaultAtts fails.
Rhodri James [Wed, 2 Aug 2017 16:35:25 +0000 (17:35 +0100)]
Keep allocDefaultAtts consistent if allocating defaultAtts fails.

See issue #8

7 years agoMerge branch 'RMJ10-xmlwf-doctype-fix' (pull request #106)
Sebastian Pipping [Tue, 22 Aug 2017 21:21:37 +0000 (23:21 +0200)]
Merge branch 'RMJ10-xmlwf-doctype-fix' (pull request #106)

7 years agoChanges: Document #106
Sebastian Pipping [Tue, 22 Aug 2017 21:00:04 +0000 (23:00 +0200)]
Changes: Document #106

7 years agoxmlwf.c: Address unused parameter warning
Sebastian Pipping [Tue, 22 Aug 2017 21:14:14 +0000 (23:14 +0200)]
xmlwf.c: Address unused parameter warning

7 years agoUpdate expected test log to match changes to xmlwf
Rhodri James [Wed, 5 Jul 2017 13:22:30 +0000 (14:22 +0100)]
Update expected test log to match changes to xmlwf

7 years agoPlug memory leak in xmlwf's end of doctype declaration handler
Rhodri James [Tue, 22 Aug 2017 10:54:52 +0000 (11:54 +0100)]
Plug memory leak in xmlwf's end of doctype declaration handler

7 years agoFix formatting and message re-use
Rhodri James [Mon, 21 Aug 2017 17:16:41 +0000 (18:16 +0100)]
Fix formatting and message re-use

7 years agoRename xmlCharDup to xcsdup and tighten up the code
Rhodri James [Mon, 21 Aug 2017 16:53:10 +0000 (17:53 +0100)]
Rename xmlCharDup to xcsdup and tighten up the code

7 years agoMove static variables into a userdata structure
Rhodri James [Mon, 21 Aug 2017 16:21:22 +0000 (17:21 +0100)]
Move static variables into a userdata structure

7 years agoAdd command-line arg "-N" to xmlwf to add notations to test output
Rhodri James [Wed, 2 Aug 2017 15:09:13 +0000 (16:09 +0100)]
Add command-line arg "-N" to xmlwf to add notations to test output

...and use it in xmltest.sh

7 years agoSort notations by name in xmlwf for conformance tests
Rhodri James [Wed, 5 Jul 2017 14:56:10 +0000 (15:56 +0100)]
Sort notations by name in xmlwf for conformance tests

7 years agoAdd doctype and notation handlers to xmlwf for conformance tests
Rhodri James [Wed, 5 Jul 2017 13:18:00 +0000 (14:18 +0100)]
Add doctype and notation handlers to xmlwf for conformance tests

7 years agoMerge branch 'bluhm-memcpy-cast' (pull request #125)
Sebastian Pipping [Tue, 22 Aug 2017 18:35:28 +0000 (20:35 +0200)]
Merge branch 'bluhm-memcpy-cast' (pull request #125)

7 years agoDo not cast arguments of memcpy(3).
Alexander Bluhm [Mon, 21 Aug 2017 17:33:08 +0000 (19:33 +0200)]
Do not cast arguments of memcpy(3).

With an explicit cast, the C compiler does not check whether the
function's arguments are compatible and will just convert anything.
So removing the cast makes the code safer as the compiler will
complain in more cases.  The implicit cast does the correct thing.

7 years agoREADME.md|Makefile.am: Fix sed pattern for libexpatw.la
Sebastian Pipping [Sun, 20 Aug 2017 18:21:44 +0000 (20:21 +0200)]
README.md|Makefile.am: Fix sed pattern for libexpatw.la

7 years agoTravis CI: Build RPM package, too R_2_2_4
Sebastian Pipping [Sat, 19 Aug 2017 14:46:41 +0000 (16:46 +0200)]
Travis CI: Build RPM package, too

7 years agoPrepare release version 2.2.4 (#123)
Sebastian Pipping [Sat, 19 Aug 2017 14:08:00 +0000 (16:08 +0200)]
Prepare release version 2.2.4 (#123)

7 years agoBump version info bumped from 7:5:6 to 7:6:6 (#123)
Sebastian Pipping [Sat, 19 Aug 2017 14:23:09 +0000 (16:23 +0200)]
Bump version info bumped from 7:5:6 to 7:6:6 (#123)

7 years agoexpat.spec: Fix list of doc filenames
Sebastian Pipping [Sat, 19 Aug 2017 13:58:00 +0000 (15:58 +0200)]
expat.spec: Fix list of doc filenames

Related commits:
- AUTHORS, Changes, changelog:
  - 2cb09ae4da6c89f35be55a54f1b59f0327d9dbb3
  - 2cb09ae4da6c89f35be55a54f1b59f0327d9dbb3
- MANIFEST: d4390f34f3890e969137605adcbac4ed571e00e4
- README: da70f7af4daad5a410dac3cc4db5e1796ac5a2d8

7 years agoexpat.spec: Fix source URL
Sebastian Pipping [Sat, 19 Aug 2017 14:36:12 +0000 (16:36 +0200)]
expat.spec: Fix source URL

7 years agoconftools/mkinstalldirs: Removed generated file (#65)
Sebastian Pipping [Sat, 19 Aug 2017 14:27:00 +0000 (16:27 +0200)]
conftools/mkinstalldirs: Removed generated file (#65)

7 years agobuildconf.sh: Make sure that configure has latest version (#65)
Sebastian Pipping [Sat, 19 Aug 2017 14:19:44 +0000 (16:19 +0200)]
buildconf.sh: Make sure that configure has latest version (#65)

Regression from d4390f34f3890e969137605adcbac4ed571e00e4

7 years agolib/Makefile.am: Install files AUTHORS and Changes, too
Sebastian Pipping [Tue, 15 Aug 2017 19:46:29 +0000 (21:46 +0200)]
lib/Makefile.am: Install files AUTHORS and Changes, too

7 years agoChanges: Remove "potential" as we known better now (#115)
Sebastian Pipping [Sun, 13 Aug 2017 14:33:48 +0000 (16:33 +0200)]
Changes: Remove "potential" as we known better now (#115)

7 years agoloadlibrary.c: Mention license name and modifications (#116)
Sebastian Pipping [Sat, 12 Aug 2017 19:30:10 +0000 (21:30 +0200)]
loadlibrary.c: Mention license name and modifications (#116)

7 years agoREADME.md: Fix and improve ordered list syntax
Sebastian Pipping [Sat, 12 Aug 2017 19:15:22 +0000 (21:15 +0200)]
README.md: Fix and improve ordered list syntax

7 years agoREADME.md: Resolve pre-Automake INSTALL_ROOT leftover (#65)
Sebastian Pipping [Sat, 12 Aug 2017 19:13:37 +0000 (21:13 +0200)]
README.md: Resolve pre-Automake INSTALL_ROOT leftover (#65)

7 years agoInline copyright headers with C/C++ code where missing (#116)
Sebastian Pipping [Sat, 12 Aug 2017 18:56:14 +0000 (20:56 +0200)]
Inline copyright headers with C/C++ code where missing (#116)

7 years agoMerge branch 'source-tarball-windows'
Sebastian Pipping [Sat, 12 Aug 2017 17:23:14 +0000 (19:23 +0200)]
Merge branch 'source-tarball-windows'

7 years agoMakefile.am: Include Visual Studio 2013 files in source tarball (#117)
Sebastian Pipping [Sat, 12 Aug 2017 17:19:56 +0000 (19:19 +0200)]
Makefile.am: Include Visual Studio 2013 files in source tarball (#117)

7 years agoMakefile.am: Extract variables for CMake and Windows files
Sebastian Pipping [Sat, 12 Aug 2017 17:16:14 +0000 (19:16 +0200)]
Makefile.am: Extract variables for CMake and Windows files

7 years agoInclude file tests/xmltest.log.expected in source tarball (#117)
Sebastian Pipping [Sat, 12 Aug 2017 17:10:43 +0000 (19:10 +0200)]
Include file tests/xmltest.log.expected in source tarball (#117)