]> granicus.if.org Git - libexpat/log
libexpat
5 years agoxmltok: Add more in-code documentation about byte types
Sebastian Pipping [Tue, 27 Aug 2019 16:46:00 +0000 (18:46 +0200)]
xmltok: Add more in-code documentation about byte types

5 years agoCMake: Windows: Revert "MT" naming postfix bits
Sebastian Pipping [Wed, 21 Aug 2019 16:19:36 +0000 (18:19 +0200)]
CMake: Windows: Revert "MT" naming postfix bits

5 years agoMerge pull request #316 from libexpat/cmake-postfix
Sebastian Pipping [Sun, 18 Aug 2019 18:25:52 +0000 (20:25 +0200)]
Merge pull request #316 from libexpat/cmake-postfix

CMake: Windows: Make binary postfix match MSVC

5 years agoCMake: Add suffix w?d?(MT)? to binaries on Windows
Sebastian Pipping [Thu, 15 Aug 2019 20:33:22 +0000 (22:33 +0200)]
CMake: Add suffix w?d?(MT)? to binaries on Windows

5 years agoCMake: Bump version requirement to CMake 3.1.3
Sebastian Pipping [Sat, 17 Aug 2019 12:49:22 +0000 (14:49 +0200)]
CMake: Bump version requirement to CMake 3.1.3

5 years agoMerge pull request #315 from libexpat/issue-306-configure-ac-style-doc
Sebastian Pipping [Sat, 17 Aug 2019 20:15:39 +0000 (22:15 +0200)]
Merge pull request #315 from libexpat/issue-306-configure-ac-style-doc

configure-ac-style.md: Add configure.ac style guide (#306)

5 years agoMerge branch 'david-loffredo-portable-unused-param-fix' (#313)
Sebastian Pipping [Sat, 17 Aug 2019 16:20:49 +0000 (18:20 +0200)]
Merge branch 'david-loffredo-portable-unused-param-fix' (#313)

5 years agoChanges: Document #313
Sebastian Pipping [Sat, 17 Aug 2019 16:19:41 +0000 (18:19 +0200)]
Changes: Document #313

5 years agoMerge branch 'david-loffredo-win64-cast-warnings' (#310)
Sebastian Pipping [Sat, 17 Aug 2019 16:02:26 +0000 (18:02 +0200)]
Merge branch 'david-loffredo-win64-cast-warnings' (#310)

5 years agoChanges: Document #310
Sebastian Pipping [Sat, 17 Aug 2019 16:01:37 +0000 (18:01 +0200)]
Changes: Document #310

5 years agoconfigure-ac-style.md: Add configure.ac style guide
Sebastian Pipping [Sat, 17 Aug 2019 15:35:05 +0000 (17:35 +0200)]
configure-ac-style.md: Add configure.ac style guide

5 years agoMerge pull request #314 from hannob/add_no_common
Sebastian Pipping [Sat, 17 Aug 2019 13:40:15 +0000 (15:40 +0200)]
Merge pull request #314 from hannob/add_no_common

Add -fno-common to ASAN (for global buffer overflows)

5 years agoupdate xmlwf and tests to new UNUSED_P definition
David Loffredo [Fri, 16 Aug 2019 16:20:00 +0000 (12:20 -0400)]
update xmlwf and tests to new UNUSED_P definition

Signed-off-by: David Loffredo <loffredo@steptools.com>
5 years agohandle unused parameters with the usual (void)param; statement rather than gcc-specif...
David Loffredo [Thu, 15 Aug 2019 21:52:44 +0000 (17:52 -0400)]
handle unused parameters with the usual (void)param; statement rather than gcc-specific attribute

Signed-off-by: David Loffredo <loffredo@steptools.com>
5 years agoAdd -fno-common to ASAN tests to make sure global buffer overflows are detected.
Hanno [Fri, 16 Aug 2019 09:45:18 +0000 (11:45 +0200)]
Add -fno-common to ASAN tests to make sure global buffer overflows are detected.

5 years agofix loss of data warnings with vc15 win64 and /W4
David Loffredo [Thu, 15 Aug 2019 19:59:39 +0000 (15:59 -0400)]
fix loss of data warnings with vc15 win64 and /W4

Signed-off-by: David Loffredo <loffredo@steptools.com>
5 years agoMerge pull request #309 from hannob/ubsan_abort
Sebastian Pipping [Thu, 15 Aug 2019 20:29:15 +0000 (22:29 +0200)]
Merge pull request #309 from hannob/ubsan_abort

Make sure UBSAN errors cause a hard abort.

5 years agoMake sure UBSAN errors cause a hard abort.
Hanno [Thu, 15 Aug 2019 18:44:40 +0000 (20:44 +0200)]
Make sure UBSAN errors cause a hard abort.

5 years agoMerge branch 'improve-cmake'
Sebastian Pipping [Mon, 12 Aug 2019 19:26:50 +0000 (21:26 +0200)]
Merge branch 'improve-cmake'

5 years agoCMake: Be fine without C++ compiler when tests are disabled
Sebastian Pipping [Mon, 12 Aug 2019 18:42:06 +0000 (20:42 +0200)]
CMake: Be fine without C++ compiler when tests are disabled

5 years agoCMake: Make use of PROJECT_VERSION
Sebastian Pipping [Mon, 12 Aug 2019 18:41:27 +0000 (20:41 +0200)]
CMake: Make use of PROJECT_VERSION

5 years agoCMake: Require CMake >=3.0.2
Sebastian Pipping [Mon, 12 Aug 2019 18:38:33 +0000 (20:38 +0200)]
CMake: Require CMake >=3.0.2

5 years agoCMake: Make version requirement first statement in file
Sebastian Pipping [Mon, 12 Aug 2019 18:33:16 +0000 (20:33 +0200)]
CMake: Make version requirement first statement in file

5 years agoCMake: Move enable_testing closer to test runner code
Sebastian Pipping [Mon, 12 Aug 2019 18:31:47 +0000 (20:31 +0200)]
CMake: Move enable_testing closer to test runner code

5 years agoCMake: Use SEND_ERROR to report more errors at once
Sebastian Pipping [Mon, 12 Aug 2019 18:29:43 +0000 (20:29 +0200)]
CMake: Use SEND_ERROR to report more errors at once

5 years agoCMake: A more section comments
Sebastian Pipping [Sun, 11 Aug 2019 21:44:09 +0000 (23:44 +0200)]
CMake: A more section comments

5 years agoCMake: Move header installation away from pkg-config file code
Sebastian Pipping [Sun, 11 Aug 2019 21:56:23 +0000 (23:56 +0200)]
CMake: Move header installation away from pkg-config file code

5 years agoCMake: Gather configuration options near the top
Sebastian Pipping [Sun, 11 Aug 2019 21:39:22 +0000 (23:39 +0200)]
CMake: Gather configuration options near the top

5 years agoCMake: Produce configuration summary
Sebastian Pipping [Sun, 11 Aug 2019 21:28:39 +0000 (23:28 +0200)]
CMake: Produce configuration summary

5 years agoCMake: Extract variable test_SRCS
Sebastian Pipping [Sun, 11 Aug 2019 20:46:44 +0000 (22:46 +0200)]
CMake: Extract variable test_SRCS

5 years agoMerge branch 'kkkunche-issue_302' (#307)
Sebastian Pipping [Mon, 12 Aug 2019 19:17:27 +0000 (21:17 +0200)]
Merge branch 'kkkunche-issue_302' (#307)

5 years agoCorrect the indentation for configure.ac
kkkunche [Sun, 11 Aug 2019 14:49:08 +0000 (20:19 +0530)]
Correct the indentation for configure.ac

5 years agoMerge branch 'fix-make-run-xmltest-for-out-of-source-builds'
Sebastian Pipping [Sun, 11 Aug 2019 19:12:49 +0000 (21:12 +0200)]
Merge branch 'fix-make-run-xmltest-for-out-of-source-builds'

5 years agoChanges: Document out-of-source fix to "make run-xmltest"
Sebastian Pipping [Sun, 11 Aug 2019 16:51:46 +0000 (18:51 +0200)]
Changes: Document out-of-source fix to "make run-xmltest"

5 years agoMakefile.am: Make "run-xmltest" more robust
Sebastian Pipping [Sun, 11 Aug 2019 16:08:44 +0000 (18:08 +0200)]
Makefile.am: Make "run-xmltest" more robust

Robust towards existing file $(srcdir)/tests/xmlts.zip
Robust towards existing directory $(srcdir)/tests/xmlconf/

Because if make finds the in $(srcdir) and does not create them in $(builddir).

5 years agoxmltest.sh: Remove dead code
Sebastian Pipping [Sun, 11 Aug 2019 16:15:55 +0000 (18:15 +0200)]
xmltest.sh: Remove dead code

5 years agoxmltest.sh: Fix for out-of-source builds
Sebastian Pipping [Sat, 10 Aug 2019 22:57:18 +0000 (00:57 +0200)]
xmltest.sh: Fix for out-of-source builds

5 years agoMakefile.am: Support direct "./configure && make run-xmltest"
Sebastian Pipping [Sat, 10 Aug 2019 22:48:55 +0000 (00:48 +0200)]
Makefile.am: Support direct "./configure && make run-xmltest"

5 years agoMakefile.am: Use $(srcdir) and $(*builddir) in target "run-xmltest"
Sebastian Pipping [Sat, 10 Aug 2019 22:39:40 +0000 (00:39 +0200)]
Makefile.am: Use $(srcdir) and $(*builddir) in target "run-xmltest"

5 years agoapply-clang-format.sh: Adapt to new expat_config.h.cmake line endings
Sebastian Pipping [Sun, 11 Aug 2019 00:12:18 +0000 (02:12 +0200)]
apply-clang-format.sh: Adapt to new expat_config.h.cmake line endings

5 years agoCMake.README: Remove trailing whitespace
Sebastian Pipping [Sat, 10 Aug 2019 21:53:50 +0000 (23:53 +0200)]
CMake.README: Remove trailing whitespace

5 years agoCMake: Migrate files from Windows to Unix line endings
dos2unix [Sat, 10 Aug 2019 21:50:29 +0000 (23:50 +0200)]
CMake: Migrate files from Windows to Unix line endings

5 years agoChanges: Streamline entries about new CMake arguments
Sebastian Pipping [Sat, 10 Aug 2019 18:33:00 +0000 (20:33 +0200)]
Changes: Streamline entries about new CMake arguments

5 years agoMerge branch 'kkkunche-239_issues' (#301)
Sebastian Pipping [Sat, 10 Aug 2019 18:31:44 +0000 (20:31 +0200)]
Merge branch 'kkkunche-239_issues' (#301)

5 years agoChanges: Document #239 and #301
Sebastian Pipping [Sat, 10 Aug 2019 18:30:27 +0000 (20:30 +0200)]
Changes: Document #239 and #301

5 years agoAutotool new options : --with/--without -getrandom and --with/--without -sysgetrandom.
kkkunche [Tue, 6 Aug 2019 09:11:23 +0000 (14:41 +0530)]
Autotool new options : --with/--without -getrandom and --with/--without -sysgetrandom.

Autodetect works by default for getrandom and sysgetrandom.
With the these options user can use the detected functions or ignore them.

5 years agoMerge branch 'david-loffredo-rand_s-test' (#302, fixes #299)
Sebastian Pipping [Wed, 7 Aug 2019 22:14:21 +0000 (00:14 +0200)]
Merge branch 'david-loffredo-rand_s-test' (#302, fixes #299)

5 years agoChanges: Document #299 and #302
Sebastian Pipping [Wed, 7 Aug 2019 17:48:55 +0000 (19:48 +0200)]
Changes: Document #299 and #302

5 years agoxmlparse.c: Mention rand_s with stdlib include
Sebastian Pipping [Wed, 7 Aug 2019 17:50:24 +0000 (19:50 +0200)]
xmlparse.c: Mention rand_s with stdlib include

5 years agoreplace loadlibrary.c and RtlGenRandom call with rand_s() on windows
David Loffredo [Wed, 7 Aug 2019 17:43:38 +0000 (19:43 +0200)]
replace loadlibrary.c and RtlGenRandom call with rand_s() on windows

Signed-off-by: David Loffredo <loffredo@steptools.com>
5 years agoMake win32 stdlib.h define rand_s(), add writeRandomBytes_rand_s().
David Loffredo [Wed, 7 Aug 2019 03:19:48 +0000 (23:19 -0400)]
Make win32 stdlib.h define rand_s(), add writeRandomBytes_rand_s().

Signed-off-by: David Loffredo <loffredo@steptools.com>
5 years agoMerge pull request #298 from libexpat/issue-240-stopping-parser-from-inside-end-eleme...
Sebastian Pipping [Wed, 7 Aug 2019 13:08:44 +0000 (15:08 +0200)]
Merge pull request #298 from libexpat/issue-240-stopping-parser-from-inside-end-element-handler

Fix stopping parser from inside end element handler (#240)

5 years agoChanges: Document fix to #240
Sebastian Pipping [Wed, 31 Jul 2019 18:50:32 +0000 (20:50 +0200)]
Changes: Document fix to #240

5 years agoruntests.c: Add two test cases for/from issue #240
Sebastian Pipping [Wed, 31 Jul 2019 18:41:24 +0000 (20:41 +0200)]
runtests.c: Add two test cases for/from issue #240

Many thanks to Rolf Ade (@pointsman)!

5 years agoxmlparse.c: Fix effect of XML_StopParser for end element handlers (#240)
Sebastian Pipping [Wed, 31 Jul 2019 18:15:38 +0000 (20:15 +0200)]
xmlparse.c: Fix effect of XML_StopParser for end element handlers (#240)

5 years agoMerge branch 'clang-format-9' (#293, fixes #24)
Sebastian Pipping [Sun, 4 Aug 2019 13:07:36 +0000 (15:07 +0200)]
Merge branch 'clang-format-9' (#293, fixes #24)

5 years agoChanges: Document mass-application of clang-format 9
Sebastian Pipping [Sat, 3 Aug 2019 18:42:43 +0000 (20:42 +0200)]
Changes: Document mass-application of clang-format 9

5 years agoMass-apply clang-format 9 using ./apply-clang-format.sh
clang-format [Sat, 3 Aug 2019 18:34:54 +0000 (20:34 +0200)]
Mass-apply clang-format 9 using ./apply-clang-format.sh

5 years agosiphash.h: Prepare for application of clang-format
Sebastian Pipping [Sun, 28 Jul 2019 15:14:06 +0000 (17:14 +0200)]
siphash.h: Prepare for application of clang-format

5 years agoruntests.c: Mark some sections as to be excluded by clang-format
Sebastian Pipping [Fri, 26 Jul 2019 19:33:14 +0000 (21:33 +0200)]
runtests.c: Mark some sections as to be excluded by clang-format

This will make clang-format 9 produce stable results.

5 years agoxmltok_impl.c: Re-format use of LEAD_CASE macro
Sebastian Pipping [Fri, 26 Jul 2019 19:23:01 +0000 (21:23 +0200)]
xmltok_impl.c: Re-format use of LEAD_CASE macro

This will make clang-format 9 produce stable results.

5 years agoTravis CI: Integrate clang-format 9
Sebastian Pipping [Wed, 24 Jul 2019 18:48:55 +0000 (20:48 +0200)]
Travis CI: Integrate clang-format 9

5 years ago.clang-format: Comment out AlignConsecutiveMacros
Sebastian Pipping [Thu, 25 Jul 2019 19:47:36 +0000 (21:47 +0200)]
.clang-format: Comment out AlignConsecutiveMacros

Because clang-format 9.0.0-svn362770-1~exp1+0~20190607061653.2401~1.gbp2444fc
on Travis does not yet support it.

5 years ago.clang-format: Tune
Sebastian Pipping [Wed, 24 Jul 2019 18:06:22 +0000 (20:06 +0200)]
.clang-format: Tune

5 years ago.clang-format: Update to clang-format 9 default style
Sebastian Pipping [Thu, 25 Jul 2019 18:36:54 +0000 (20:36 +0200)]
.clang-format: Update to clang-format 9 default style

5 years ago.clang-format: Pin clang-format 8 default style
Sebastian Pipping [Wed, 24 Jul 2019 18:00:38 +0000 (20:00 +0200)]
.clang-format: Pin clang-format 8 default style

Trailing whitespace has been removed.

5 years agoMerge branch 'issue-266-make-travis-ci-cover-mingw' (#266)
Sebastian Pipping [Tue, 30 Jul 2019 22:26:23 +0000 (00:26 +0200)]
Merge branch 'issue-266-make-travis-ci-cover-mingw' (#266)

5 years agoTravis CI: Cover MinGW
Sebastian Pipping [Tue, 30 Jul 2019 19:32:41 +0000 (21:32 +0200)]
Travis CI: Cover MinGW

5 years agoTravis CI: Compress some whitespace for upcoming extension
Sebastian Pipping [Tue, 30 Jul 2019 19:31:56 +0000 (21:31 +0200)]
Travis CI: Compress some whitespace for upcoming extension

5 years agoMakefile.am: Make "run-xmltest" robust to wine error output
Sebastian Pipping [Mon, 29 Jul 2019 22:43:44 +0000 (00:43 +0200)]
Makefile.am: Make "run-xmltest" robust to wine error output

5 years agoqa.sh: Add missing DLL symlinks for MinGW
Sebastian Pipping [Sun, 28 Jul 2019 20:32:00 +0000 (22:32 +0200)]
qa.sh: Add missing DLL symlinks for MinGW

5 years agoqa.sh: Show tests/runtests*.log on "make check" failure for MinGW
Sebastian Pipping [Sun, 28 Jul 2019 20:15:58 +0000 (22:15 +0200)]
qa.sh: Show tests/runtests*.log on "make check" failure for MinGW

5 years agoMerge branch 'drop-xmlwf-com-code' (#286)
Sebastian Pipping [Mon, 29 Jul 2019 20:05:04 +0000 (22:05 +0200)]
Merge branch 'drop-xmlwf-com-code' (#286)

5 years agoChanges: Document #286
Sebastian Pipping [Mon, 29 Jul 2019 19:59:44 +0000 (21:59 +0200)]
Changes: Document #286

5 years agoxmlwf: Drop COM code
Sebastian Pipping [Wed, 17 Jul 2019 14:42:27 +0000 (16:42 +0200)]
xmlwf: Drop COM code

5 years agoMerge pull request #296 from libexpat/fix-qa-sh-integration
Sebastian Pipping [Mon, 29 Jul 2019 18:11:13 +0000 (20:11 +0200)]
Merge pull request #296 from libexpat/fix-qa-sh-integration

Fix qa.sh integration

5 years agoTravis CI: Pass ${CONFIGURE_ARGS} to ./qa.sh
Philippe Antoine [Sun, 28 Jul 2019 19:19:05 +0000 (21:19 +0200)]
Travis CI: Pass ${CONFIGURE_ARGS} to ./qa.sh

5 years agoqa.sh: Pass command line arguments to ./configure
Philippe Antoine [Sun, 28 Jul 2019 19:10:36 +0000 (21:10 +0200)]
qa.sh: Pass command line arguments to ./configure

5 years agominicheck.c: Fix volatile variables (#235)
Marco Maggi [Tue, 30 Oct 2018 08:23:34 +0000 (09:23 +0100)]
minicheck.c: Fix volatile variables (#235)

5 years agoTravis CI: Move cppcheck according to alphabetic order
Sebastian Pipping [Sun, 28 Jul 2019 19:09:58 +0000 (21:09 +0200)]
Travis CI: Move cppcheck according to alphabetic order

5 years agoexpat.h: Drop OpenVMS support leftover (#14)
Sebastian Pipping [Sun, 28 Jul 2019 15:08:05 +0000 (17:08 +0200)]
expat.h: Drop OpenVMS support leftover (#14)

5 years agoChanges: Add missing entries
Sebastian Pipping [Sat, 27 Jul 2019 23:59:06 +0000 (01:59 +0200)]
Changes: Add missing entries

5 years agoMerge branch 'clang-static-analyzer'
Sebastian Pipping [Sat, 27 Jul 2019 23:38:47 +0000 (01:38 +0200)]
Merge branch 'clang-static-analyzer'

5 years agoruntests.c: Address null pointer warnings by Clang Static Analyzer
Sebastian Pipping [Sat, 27 Jul 2019 22:48:24 +0000 (00:48 +0200)]
runtests.c: Address null pointer warnings by Clang Static Analyzer

5 years agostructdata.c: Address Clang Static Analyzer warnings (#294)
Sebastian Pipping [Sat, 27 Jul 2019 23:05:24 +0000 (01:05 +0200)]
structdata.c: Address Clang Static Analyzer warnings (#294)

5 years agoxmlparse.c: Address Clang Static Analyzer false positive (#295)
Sebastian Pipping [Sat, 27 Jul 2019 22:07:40 +0000 (00:07 +0200)]
xmlparse.c: Address Clang Static Analyzer false positive (#295)

5 years agoruntests.c: Pull semicolon out of braces
Sebastian Pipping [Fri, 26 Jul 2019 19:44:08 +0000 (21:44 +0200)]
runtests.c: Pull semicolon out of braces

5 years agoruntests.c: Reduce code duplication
Sebastian Pipping [Fri, 26 Jul 2019 19:31:22 +0000 (21:31 +0200)]
runtests.c: Reduce code duplication

5 years agoTravis CI: Drop "sudo: required"
Sebastian Pipping [Wed, 24 Jul 2019 20:31:25 +0000 (22:31 +0200)]
Travis CI: Drop "sudo: required"

5 years agoMerge pull request #290 from manish3kumar/integrate-sa
Sebastian Pipping [Tue, 23 Jul 2019 23:18:43 +0000 (01:18 +0200)]
Merge pull request #290 from manish3kumar/integrate-sa

Integrate cppcheck with travis-ci for libexpat

5 years agoIntegrate cppcheck with travis-ci for libexpat
Manish, Kumar [Mon, 22 Jul 2019 05:43:00 +0000 (11:13 +0530)]
Integrate cppcheck with travis-ci for libexpat

Signed-off-by: Manish, Kumar <manish3.kumar@intel.com>
5 years agoMerge branch 'travis-clang-9'
Sebastian Pipping [Mon, 22 Jul 2019 22:53:53 +0000 (00:53 +0200)]
Merge branch 'travis-clang-9'

5 years agoTravis CI: Use Clang 9 on Linux
Sebastian Pipping [Mon, 22 Jul 2019 21:25:46 +0000 (23:25 +0200)]
Travis CI: Use Clang 9 on Linux

5 years agoqa.sh: Dump compiler version
Sebastian Pipping [Mon, 22 Jul 2019 21:34:08 +0000 (23:34 +0200)]
qa.sh: Dump compiler version

5 years agoAppVeyor|Travis: Re-introduce clone depth
Sebastian Pipping [Mon, 22 Jul 2019 21:36:28 +0000 (23:36 +0200)]
AppVeyor|Travis: Re-introduce clone depth

Depth 1 made surpassed pushed fail so it was dropped.
No depth limit wastes time and hardware resources though, and
has some risk that depth 1 will be re-introduced, by mistake.
So let's try 50 now.

Related commits:
10c235458830fc894a6381cf6267246c68848adf — AppVeyor
88cf657da91ef7a83d705cf7951cfd6c6b7d98fc — Travis

5 years agoMerge branch 'solve-warnings.marcomaggi-2018-10-30' (fixes #235)
Sebastian Pipping [Mon, 22 Jul 2019 21:18:58 +0000 (23:18 +0200)]
Merge branch 'solve-warnings.marcomaggi-2018-10-30' (fixes #235)

5 years agofixed warning about potential null pointer dereference
Marco Maggi [Tue, 30 Oct 2018 08:42:57 +0000 (09:42 +0100)]
fixed warning about potential null pointer dereference

5 years agoruntests.c: Address warnings about variable shadowing
Sebastian Pipping [Mon, 22 Jul 2019 20:39:34 +0000 (22:39 +0200)]
runtests.c: Address warnings about variable shadowing

5 years agoMerge branch 'marcomaggi-cleaner-test-for-mingw.marcomaggi-2018-10-28' (fixes #231)
Sebastian Pipping [Sun, 21 Jul 2019 21:14:03 +0000 (23:14 +0200)]
Merge branch 'marcomaggi-cleaner-test-for-mingw.marcomaggi-2018-10-28' (fixes #231)

5 years agoconfigure.ac: Use curly braces for variable
Sebastian Pipping [Sun, 21 Jul 2019 20:37:00 +0000 (22:37 +0200)]
configure.ac: Use curly braces for variable