]> granicus.if.org Git - libexpat/log
libexpat
7 years agowatcom: Drop Open Watcom build system (issue #14)
Sebastian Pipping [Tue, 25 Apr 2017 21:10:21 +0000 (23:10 +0200)]
watcom: Drop Open Watcom build system (issue #14)

7 years agovms: Drop OpenVMS build system (issue #14)
Sebastian Pipping [Tue, 25 Apr 2017 21:09:59 +0000 (23:09 +0200)]
vms: Drop OpenVMS build system (issue #14)

7 years agobcb5: Drop Borland build system (issue #14)
Sebastian Pipping [Tue, 25 Apr 2017 21:08:58 +0000 (23:08 +0200)]
bcb5: Drop Borland build system (issue #14)

7 years agoamiga: Drop AmigaOS 4.x code (issue #14)
Sebastian Pipping [Tue, 25 Apr 2017 21:08:30 +0000 (23:08 +0200)]
amiga: Drop AmigaOS 4.x code (issue #14)

7 years agoconfigure.ac: Add --(en|dis)able-xml-context
Sebastian Pipping [Wed, 12 Apr 2017 21:41:44 +0000 (23:41 +0200)]
configure.ac: Add --(en|dis)able-xml-context

7 years agoutf8_toUtf8: Cut off partial characters in case of sufficient space, too (closes...
Sebastian Pipping [Wed, 29 Mar 2017 17:11:16 +0000 (19:11 +0200)]
utf8_toUtf8: Cut off partial characters in case of sufficient space, too (closes #16)

Also, report XML_CONVERT_INPUT_INCOMPLETE properly.

7 years agoAddress 64bit MinGW compile warning (fixes #15)
Sebastian Pipping [Thu, 16 Mar 2017 14:51:33 +0000 (15:51 +0100)]
Address 64bit MinGW compile warning (fixes #15)

../../../xmlparse.c: In function â€˜generate_hash_secret_salt’:
../../../xmlparse.c:725:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       gather_time_entropy() ^ getpid() ^ (unsigned long)parser;
                                          ^

Thanks to Viktor Szakats.

7 years ago"make run-xmltest" order instability once more (issue #13)
Sebastian Pipping [Mon, 13 Mar 2017 20:20:56 +0000 (21:20 +0100)]
"make run-xmltest" order instability once more (issue #13)

7 years agoMakefile: Turn xmlts.zip download to https
Sebastian Pipping [Mon, 13 Mar 2017 17:59:01 +0000 (18:59 +0100)]
Makefile: Turn xmlts.zip download to https

7 years agoTravis: Have xmlts.zip bypass git clean -X
Sebastian Pipping [Mon, 13 Mar 2017 17:52:09 +0000 (18:52 +0100)]
Travis: Have xmlts.zip bypass git clean -X

7 years agoTravis: Inline .travis.sh for better integration
Sebastian Pipping [Mon, 13 Mar 2017 17:43:19 +0000 (18:43 +0100)]
Travis: Inline .travis.sh for better integration

7 years agoTravis: Pull xmlts.zip download out of script section
Sebastian Pipping [Mon, 13 Mar 2017 17:27:11 +0000 (18:27 +0100)]
Travis: Pull xmlts.zip download out of script section

.. so that temporary download issues count for setup issues,
not script execution

7 years agoTravis: Move from sudo to apt addon
Sebastian Pipping [Mon, 13 Mar 2017 17:23:54 +0000 (18:23 +0100)]
Travis: Move from sudo to apt addon

7 years agoCheck that version information is consistent
Rhodri James [Wed, 8 Feb 2017 15:16:19 +0000 (15:16 +0000)]
Check that version information is consistent

7 years agoTest XML_ErrorString range checking
Rhodri James [Wed, 8 Feb 2017 14:40:37 +0000 (14:40 +0000)]
Test XML_ErrorString range checking

7 years agoTests: Make dealing with global parser instance more robust
Sebastian Pipping [Mon, 13 Mar 2017 17:04:04 +0000 (18:04 +0100)]
Tests: Make dealing with global parser instance more robust

7 years agoFree the content model when used
Rhodri James [Wed, 8 Feb 2017 14:27:44 +0000 (14:27 +0000)]
Free the content model when used

7 years agoAdd test coverage of XML_GetInputContext()
Rhodri James [Wed, 8 Feb 2017 14:15:21 +0000 (14:15 +0000)]
Add test coverage of XML_GetInputContext()

7 years agoTests: Address wildcard expansion order variance (fixes #13)
Sebastian Pipping [Mon, 13 Mar 2017 16:39:14 +0000 (17:39 +0100)]
Tests: Address wildcard expansion order variance (fixes #13)

7 years agoCheck byte information behaviour in handlers
Rhodri James [Wed, 8 Feb 2017 14:03:31 +0000 (14:03 +0000)]
Check byte information behaviour in handlers

7 years agoExtend coverage of byte information function tests
Rhodri James [Wed, 8 Feb 2017 13:54:59 +0000 (13:54 +0000)]
Extend coverage of byte information function tests

7 years agoTest byte information functions
Rhodri James [Wed, 8 Feb 2017 13:31:42 +0000 (13:31 +0000)]
Test byte information functions

7 years agoImprove test coverage of XML_ResumeParser
Rhodri James [Wed, 8 Feb 2017 13:06:32 +0000 (13:06 +0000)]
Improve test coverage of XML_ResumeParser

7 years agoExtend test coverage of XML_ResumeParser
Rhodri James [Wed, 8 Feb 2017 12:54:51 +0000 (12:54 +0000)]
Extend test coverage of XML_ResumeParser

7 years agoExtend test coverage of XML_ResumeParser()
Rhodri James [Wed, 8 Feb 2017 12:06:30 +0000 (12:06 +0000)]
Extend test coverage of XML_ResumeParser()

7 years agoTest XML_StopParser() in external entity parsing
Rhodri James [Wed, 8 Feb 2017 11:59:45 +0000 (11:59 +0000)]
Test XML_StopParser() in external entity parsing

7 years agoIncrease test coverage of XML_StopParser
Rhodri James [Tue, 7 Feb 2017 19:43:44 +0000 (19:43 +0000)]
Increase test coverage of XML_StopParser

7 years agoFix __func__ for -std=c89 with GCC 5.4.0 (fixes #12)
Sebastian Pipping [Wed, 8 Mar 2017 21:20:42 +0000 (22:20 +0100)]
Fix __func__ for -std=c89 with GCC 5.4.0 (fixes #12)

GCC 5.4.0 does not define __STDC_VERSION__ when -std=c89 is passed.

7 years agoconfigure.ac: Fix const correctness in check for __func__
Sebastian Pipping [Wed, 8 Mar 2017 21:12:26 +0000 (22:12 +0100)]
configure.ac: Fix const correctness in check for __func__

7 years agoExtend tests of XML_GetBuffer for still more coverage
Rhodri James [Tue, 7 Feb 2017 18:27:01 +0000 (18:27 +0000)]
Extend tests of XML_GetBuffer for still more coverage

7 years agoExtend XML_GetBuffer testing coverage
Rhodri James [Tue, 7 Feb 2017 18:05:55 +0000 (18:05 +0000)]
Extend XML_GetBuffer testing coverage

7 years agoFurther test coverage of XML_GetBuffer
Rhodri James [Tue, 7 Feb 2017 17:23:11 +0000 (17:23 +0000)]
Further test coverage of XML_GetBuffer

7 years agoExtend tests to XML_GetBuffer in various circumstances
Rhodri James [Tue, 7 Feb 2017 15:12:55 +0000 (15:12 +0000)]
Extend tests to XML_GetBuffer in various circumstances

7 years agoTest XML_ParseBuffer API in various parse states
Rhodri James [Tue, 7 Feb 2017 15:00:25 +0000 (15:00 +0000)]
Test XML_ParseBuffer API in various parse states

7 years agoExtend empty string parse tests
Rhodri James [Tue, 7 Feb 2017 12:49:13 +0000 (12:49 +0000)]
Extend empty string parse tests

7 years agoTest parsing a zero-length string
Rhodri James [Tue, 7 Feb 2017 11:55:51 +0000 (11:55 +0000)]
Test parsing a zero-length string

7 years agoCheck parsing is faulted once parser is FINISHED
Rhodri James [Tue, 7 Feb 2017 11:46:55 +0000 (11:46 +0000)]
Check parsing is faulted once parser is FINISHED

7 years agoCheck XML_Parse faults parsing while suspended
Rhodri James [Mon, 6 Feb 2017 18:58:59 +0000 (18:58 +0000)]
Check XML_Parse faults parsing while suspended

7 years agoCheck manual setting of hash salt
Rhodri James [Mon, 6 Feb 2017 18:53:01 +0000 (18:53 +0000)]
Check manual setting of hash salt

7 years agoCheck entity parsing policy can't be changed mid-parse
Rhodri James [Mon, 6 Feb 2017 18:30:36 +0000 (18:30 +0000)]
Check entity parsing policy can't be changed mid-parse

7 years agoTest XML declaration handler
Rhodri James [Tue, 21 Feb 2017 12:47:28 +0000 (12:47 +0000)]
Test XML declaration handler

7 years agoCheck skipped entity handler
Rhodri James [Tue, 21 Feb 2017 12:43:22 +0000 (12:43 +0000)]
Check skipped entity handler

7 years agoCheck clearing of external entity handler parameter
Rhodri James [Tue, 21 Feb 2017 12:37:43 +0000 (12:37 +0000)]
Check clearing of external entity handler parameter

7 years agoTest NotStandalone handlers
Rhodri James [Mon, 6 Feb 2017 17:11:52 +0000 (17:11 +0000)]
Test NotStandalone handlers

7 years agoCall namespace declaration start and end handlers
Rhodri James [Mon, 6 Feb 2017 16:55:29 +0000 (16:55 +0000)]
Call namespace declaration start and end handlers

7 years agoEnsure unparsed entity handler gets set
Rhodri James [Mon, 6 Feb 2017 16:35:04 +0000 (16:35 +0000)]
Ensure unparsed entity handler gets set

This adds test coverage for an obsolete handler that is supported
only for backwards compatibility.  While it is supported, we should
test it.

7 years agoExtend coverage to XML_{Start|End}DoctypeDeclHandler
Rhodri James [Mon, 6 Feb 2017 16:27:09 +0000 (16:27 +0000)]
Extend coverage to XML_{Start|End}DoctypeDeclHandler

7 years agoExtend test_return_ns_triplet() to improve code coverage
Rhodri James [Mon, 6 Feb 2017 15:49:43 +0000 (15:49 +0000)]
Extend test_return_ns_triplet() to improve code coverage

7 years agoTest non-NULL external entity ref handler parameter
Rhodri James [Tue, 21 Feb 2017 12:10:20 +0000 (12:10 +0000)]
Test non-NULL external entity ref handler parameter

7 years agoExtend test of passing parser as userData
Rhodri James [Tue, 21 Feb 2017 11:46:52 +0000 (11:46 +0000)]
Extend test of passing parser as userData

7 years agoConfigure Travis CI (issue #2)
Sebastian Pipping [Sun, 19 Feb 2017 20:31:02 +0000 (21:31 +0100)]
Configure Travis CI (issue #2)

7 years agoTest XML_SetEncoding against memory allocation failures
Rhodri James [Fri, 3 Feb 2017 18:19:56 +0000 (18:19 +0000)]
Test XML_SetEncoding against memory allocation failures

7 years agoTest XML_SetBase against failing memory allocations
Rhodri James [Fri, 3 Feb 2017 18:37:42 +0000 (18:37 +0000)]
Test XML_SetBase against failing memory allocations

7 years agoTest XML_SetEncoding against memory allocation failures
Rhodri James [Fri, 3 Feb 2017 18:19:56 +0000 (18:19 +0000)]
Test XML_SetEncoding against memory allocation failures

7 years agoIncrease test coverage of XML_SetEncoding()
Rhodri James [Fri, 3 Feb 2017 18:13:00 +0000 (18:13 +0000)]
Increase test coverage of XML_SetEncoding()

7 years agoTest freeing a non-existent parser
Rhodri James [Fri, 3 Feb 2017 18:00:20 +0000 (18:00 +0000)]
Test freeing a non-existent parser

7 years agoAdd some coverage of CDATA section handlers
Rhodri James [Fri, 3 Feb 2017 17:50:02 +0000 (17:50 +0000)]
Add some coverage of CDATA section handlers

7 years agoTest XML_ParserReset in external entity parsing is ignored
Rhodri James [Fri, 3 Feb 2017 16:43:11 +0000 (16:43 +0000)]
Test XML_ParserReset in external entity parsing is ignored

7 years agoTest XML_ParserReset in internal entity expansion
Rhodri James [Fri, 3 Feb 2017 16:42:14 +0000 (16:42 +0000)]
Test XML_ParserReset in internal entity expansion

7 years agoTest that XML_ParserReset() does reset the parse state
Rhodri James [Fri, 3 Feb 2017 14:25:41 +0000 (14:25 +0000)]
Test that XML_ParserReset() does reset the parse state

7 years agoTest allocation failures when creating parser with encoding
Rhodri James [Fri, 3 Feb 2017 13:58:11 +0000 (13:58 +0000)]
Test allocation failures when creating parser with encoding

7 years agoTest ID attribute indexing
Rhodri James [Fri, 3 Feb 2017 13:41:24 +0000 (13:41 +0000)]
Test ID attribute indexing

7 years agoTest attribute reporting to start element handler
Rhodri James [Fri, 3 Feb 2017 12:54:37 +0000 (12:54 +0000)]
Test attribute reporting to start element handler

7 years agoTest XML_SetBase() and XML_GetBase() return consistent results
Rhodri James [Thu, 2 Feb 2017 18:38:33 +0000 (18:38 +0000)]
Test XML_SetBase() and XML_GetBase() return consistent results

7 years agoTest XML_UseForeignDTD()
Rhodri James [Thu, 2 Feb 2017 18:06:45 +0000 (18:06 +0000)]
Test XML_UseForeignDTD()

7 years agoAdd coverage test for DTD element declarations with contents
Rhodri James [Thu, 2 Feb 2017 16:13:19 +0000 (16:13 +0000)]
Add coverage test for DTD element declarations with contents

7 years agoTest XML_DefaultCurrent() passes on handling correctly
Rhodri James [Thu, 2 Feb 2017 14:22:57 +0000 (14:22 +0000)]
Test XML_DefaultCurrent() passes on handling correctly

7 years agoTest memory allocation functions
Rhodri James [Wed, 1 Feb 2017 19:06:19 +0000 (19:06 +0000)]
Test memory allocation functions

7 years agoRefactor allocation tests to reduce boilerplate
Rhodri James [Wed, 1 Feb 2017 18:11:44 +0000 (18:11 +0000)]
Refactor allocation tests to reduce boilerplate

7 years agoTest allocation failure handling in DTD elements
Rhodri James [Wed, 1 Feb 2017 17:49:23 +0000 (17:49 +0000)]
Test allocation failure handling in DTD elements

7 years agoExtend test coverage of external entity allocation failures
Rhodri James [Wed, 1 Feb 2017 16:15:39 +0000 (16:15 +0000)]
Extend test coverage of external entity allocation failures

7 years agoTest that unrecognised encodings are rejected
Rhodri James [Wed, 1 Feb 2017 14:51:23 +0000 (14:51 +0000)]
Test that unrecognised encodings are rejected

7 years agoAdd test for allocation failures in internal entity encoding handler
Rhodri James [Wed, 1 Feb 2017 14:33:07 +0000 (14:33 +0000)]
Add test for allocation failures in internal entity encoding handler

7 years agoTweak tests to catch more allocation failure branches
Rhodri James [Wed, 1 Feb 2017 12:27:15 +0000 (12:27 +0000)]
Tweak tests to catch more allocation failure branches

7 years agoTest namespace parsing with allocation failures
Rhodri James [Tue, 31 Jan 2017 19:36:15 +0000 (19:36 +0000)]
Test namespace parsing with allocation failures

7 years agoTest allocation failures during external entity parsing
Rhodri James [Tue, 31 Jan 2017 19:06:33 +0000 (19:06 +0000)]
Test allocation failures during external entity parsing

7 years agoChanges: Add Rhodri James to special thanks
Sebastian Pipping [Tue, 14 Feb 2017 22:56:25 +0000 (23:56 +0100)]
Changes: Add Rhodri James to special thanks

7 years agoChanges: Document fix to issue #3
Sebastian Pipping [Tue, 14 Feb 2017 22:53:48 +0000 (23:53 +0100)]
Changes: Document fix to issue #3

7 years agoRemove unused variable and fix comment. No functional changes.
Rhodri James [Tue, 31 Jan 2017 18:06:50 +0000 (18:06 +0000)]
Remove unused variable and fix comment.  No functional changes.

7 years agoDon't free a partially allocated element type twice (issue #3)
Rhodri James [Tue, 31 Jan 2017 15:37:36 +0000 (15:37 +0000)]
Don't free a partially allocated element type twice (issue #3)

If memory allocation fails for default attributes of an element type
while copying a DTD, the element type itself was being freed.
Unfortunately it's already stored in the DTD by this point, so is
freed again when the DTD is destroyed.

7 years agoAdd a test for DTD duplication allocation failure
Rhodri James [Tue, 31 Jan 2017 15:34:30 +0000 (15:34 +0000)]
Add a test for DTD duplication allocation failure

7 years agoAdd a test case for external entity parser allocation failures.
Rhodri James [Mon, 30 Jan 2017 17:51:50 +0000 (17:51 +0000)]
Add a test case for external entity parser allocation failures.

7 years agoAdd a test case to cover allocation failures in parserCreate()
Rhodri James [Mon, 30 Jan 2017 16:03:23 +0000 (16:03 +0000)]
Add a test case to cover allocation failures in parserCreate()

7 years agoAdd qa.sh modes for library and application coverage stats
Rhodri James [Mon, 30 Jan 2017 15:27:54 +0000 (15:27 +0000)]
Add qa.sh modes for library and application coverage stats

7 years agoCHANGES: Extend special thanks
Sebastian Pipping [Sun, 20 Nov 2016 17:16:27 +0000 (18:16 +0100)]
CHANGES: Extend special thanks

7 years agoChanges: Document pull request #2
Sebastian Pipping [Sun, 20 Nov 2016 17:12:35 +0000 (18:12 +0100)]
Changes: Document pull request #2

7 years agoCMakeLists.txt: Resolve trailing whitespace
Sebastian Pipping [Sun, 20 Nov 2016 17:10:01 +0000 (18:10 +0100)]
CMakeLists.txt: Resolve trailing whitespace

7 years agoCMakeLists.txt: Rename BUILD_install to INSTALL
Sebastian Pipping [Sun, 20 Nov 2016 17:09:13 +0000 (18:09 +0100)]
CMakeLists.txt: Rename BUILD_install to INSTALL

8 years agoCMake: Add BUILD_install to make install optional
Tobias Taschner [Wed, 26 Oct 2016 19:48:34 +0000 (21:48 +0200)]
CMake: Add BUILD_install to make install optional

For easier integration in other projects via add_subdirectory() make the install() calls optional.

8 years agoCMake: Do not try building docs if MSVC (bug #534)
Sebastian Pipping [Mon, 15 Aug 2016 16:57:06 +0000 (18:57 +0200)]
CMake: Do not try building docs if MSVC (bug #534)

8 years agoExtend change log (issue #534)
Sebastian Pipping [Mon, 15 Aug 2016 16:48:14 +0000 (18:48 +0200)]
Extend change log (issue #534)

8 years agoCMake: Fix ninja support
Sebastian Pipping [Mon, 15 Aug 2016 16:39:28 +0000 (18:39 +0200)]
CMake: Fix ninja support

8 years agoCMake: Symptom-fix out-of-source builds
Sebastian Pipping [Mon, 15 Aug 2016 16:13:03 +0000 (18:13 +0200)]
CMake: Symptom-fix out-of-source builds

8 years agofix for #534
Sergei Nikulov [Mon, 15 Aug 2016 16:07:34 +0000 (18:07 +0200)]
fix for #534

8 years agoExtend change log
Sebastian Pipping [Fri, 12 Aug 2016 21:43:56 +0000 (23:43 +0200)]
Extend change log

8 years agoFix utf8_toUtf16 (bug #539)
Don Lewis [Fri, 12 Aug 2016 21:40:42 +0000 (23:40 +0200)]
Fix utf8_toUtf16 (bug #539)

8 years agoStart using -fno-strict-aliasing (bug #538)
Sebastian Pipping [Fri, 12 Aug 2016 13:45:05 +0000 (15:45 +0200)]
Start using -fno-strict-aliasing (bug #538)

8 years agoExtend change log for issue #540
Sebastian Pipping [Sat, 30 Jul 2016 14:54:50 +0000 (16:54 +0200)]
Extend change log for issue #540

8 years agoAddress -Wunused-parameter and -Wunused-function
Sebastian Pipping [Sat, 30 Jul 2016 14:50:32 +0000 (16:50 +0200)]
Address -Wunused-parameter and -Wunused-function

8 years agoMake Expat build on CloudABI
Ed Schouten [Sat, 30 Jul 2016 14:42:24 +0000 (16:42 +0200)]
Make Expat build on CloudABI