]> granicus.if.org Git - libexpat/log
libexpat
4 years agoCMake: Fix PACKAGE_* variables in expat_config.h.cmake
Sebastian Pipping [Thu, 29 Aug 2019 23:12:41 +0000 (01:12 +0200)]
CMake: Fix PACKAGE_* variables in expat_config.h.cmake

4 years agoCMake: Make expat_config.h.cmake match expat_config.h.in variable order
Sebastian Pipping [Thu, 29 Aug 2019 22:13:30 +0000 (00:13 +0200)]
CMake: Make expat_config.h.cmake match expat_config.h.in variable order

4 years agoCMake: Mimic lib/Makefile.am with regard to doc installation
Sebastian Pipping [Thu, 29 Aug 2019 21:19:44 +0000 (23:19 +0200)]
CMake: Mimic lib/Makefile.am with regard to doc installation

4 years agoCMake: Install expat_config.h to include directory
Sebastian Pipping [Thu, 29 Aug 2019 21:09:26 +0000 (23:09 +0200)]
CMake: Install expat_config.h to include directory

4 years agoCMake: Move expat_install up for upcoming use
Sebastian Pipping [Thu, 29 Aug 2019 21:08:35 +0000 (23:08 +0200)]
CMake: Move expat_install up for upcoming use

4 years agoMerge pull request #325 from libexpat/drop-support-msvc-2003
Sebastian Pipping [Thu, 29 Aug 2019 23:18:27 +0000 (01:18 +0200)]
Merge pull request #325 from libexpat/drop-support-msvc-2003

Drop support for MSVC 2003 (related to #323)

4 years agowin32: Get readme back in sync with CMake
Sebastian Pipping [Thu, 29 Aug 2019 19:20:15 +0000 (21:20 +0200)]
win32: Get readme back in sync with CMake

Related commit: 84cf2fb213d87c266edb469980e4d4ab4cd86750

4 years agoREADME.md: Document supported compilers
Sebastian Pipping [Thu, 29 Aug 2019 17:23:47 +0000 (19:23 +0200)]
README.md: Document supported compilers

4 years agoexpat_external.h: Inline remains of XML_USE_MSC_EXTENSIONS
Sebastian Pipping [Thu, 29 Aug 2019 17:25:51 +0000 (19:25 +0200)]
expat_external.h: Inline remains of XML_USE_MSC_EXTENSIONS

4 years agoDrop support for Visual Studio <=7.1/2003
Sebastian Pipping [Thu, 29 Aug 2019 16:51:03 +0000 (18:51 +0200)]
Drop support for Visual Studio <=7.1/2003

_MSC_VER 1400 is 8.0/2005

4 years agofuzz: Add .gitignore
Sebastian Pipping [Thu, 29 Aug 2019 15:25:28 +0000 (17:25 +0200)]
fuzz: Add .gitignore

4 years agoChanges: Add reference to #322
Sebastian Pipping [Thu, 29 Aug 2019 12:14:33 +0000 (14:14 +0200)]
Changes: Add reference to #322

4 years agoRevert "CMake: Enabled MSVC_USE_STATIC_CRT by default (to match MSVC)"
Sebastian Pipping [Thu, 29 Aug 2019 12:00:17 +0000 (14:00 +0200)]
Revert "CMake: Enabled MSVC_USE_STATIC_CRT by default (to match MSVC)"

This reverts commit f42417b92c4b4440e50968a329acee8bda73dc30.

4 years agoMerge pull request #322 from libexpat/cmake-inno-setup
Sebastian Pipping [Thu, 29 Aug 2019 11:56:22 +0000 (13:56 +0200)]
Merge pull request #322 from libexpat/cmake-inno-setup

Drop MSVC files + build Inno Setup installer using CMake and msbuild

4 years agoreference.html: Fix mismatched tag
Sebastian Pipping [Thu, 29 Aug 2019 11:33:34 +0000 (13:33 +0200)]
reference.html: Fix mismatched tag

4 years agoMerge pull request #321 from libexpat/misc-fuzzing-bits
Sebastian Pipping [Thu, 29 Aug 2019 11:23:05 +0000 (13:23 +0200)]
Merge pull request #321 from libexpat/misc-fuzzing-bits

Misc fuzzing bits… including Travis CI integration

4 years agowin32: Remove MSVC solution and project files
Sebastian Pipping [Wed, 28 Aug 2019 23:28:13 +0000 (01:28 +0200)]
win32: Remove MSVC solution and project files

4 years agodocs: Migrate to generated solution files with CMake and msbuild on Windows
Sebastian Pipping [Wed, 28 Aug 2019 23:36:55 +0000 (01:36 +0200)]
docs: Migrate to generated solution files with CMake and msbuild on Windows

4 years agoCMake: Enabled MSVC_USE_STATIC_CRT by default (to match MSVC)
Sebastian Pipping [Thu, 29 Aug 2019 00:04:25 +0000 (02:04 +0200)]
CMake: Enabled MSVC_USE_STATIC_CRT by default (to match MSVC)

4 years agoCMake: Re-introduce MT/MD postfix for static windows .lib files
Sebastian Pipping [Wed, 28 Aug 2019 23:59:14 +0000 (01:59 +0200)]
CMake: Re-introduce MT/MD postfix for static windows .lib files

4 years agowin32: Implement build_expat_iss.bat
Sebastian Pipping [Wed, 14 Aug 2019 22:18:31 +0000 (00:18 +0200)]
win32: Implement build_expat_iss.bat

4 years agowin32: Add CMake files to Inno Setup
Sebastian Pipping [Wed, 21 Aug 2019 19:50:50 +0000 (21:50 +0200)]
win32: Add CMake files to Inno Setup

4 years agoCMake: Mention CMAKE_BUILD_TYPE in summary
Sebastian Pipping [Sat, 17 Aug 2019 12:31:16 +0000 (14:31 +0200)]
CMake: Mention CMAKE_BUILD_TYPE in summary

4 years agoTravis CI: Make MODE=cmake-oos build fuzzing code as well
Sebastian Pipping [Wed, 28 Aug 2019 23:01:31 +0000 (01:01 +0200)]
Travis CI: Make MODE=cmake-oos build fuzzing code as well

4 years agoCMake: Advertise CXX settings for fuzzer so that C++ tests will link fine
Sebastian Pipping [Wed, 28 Aug 2019 23:00:43 +0000 (01:00 +0200)]
CMake: Advertise CXX settings for fuzzer so that C++ tests will link fine

4 years agoTravis CI: Turn verbosity up for MODE=cmake-oos
Sebastian Pipping [Wed, 28 Aug 2019 21:24:51 +0000 (23:24 +0200)]
Travis CI: Turn verbosity up for MODE=cmake-oos

4 years agoCMake: Get off target_link_options of CMake >=3.13
Sebastian Pipping [Wed, 28 Aug 2019 16:08:44 +0000 (18:08 +0200)]
CMake: Get off target_link_options of CMake >=3.13

4 years agoCMake: Be more helpful with regard to CMAKE_C_COMPILER_ID
Sebastian Pipping [Wed, 28 Aug 2019 22:58:26 +0000 (00:58 +0200)]
CMake: Be more helpful with regard to CMAKE_C_COMPILER_ID

4 years agoCMake: Check C rather than C++ compiler for clang for fuzzing
Sebastian Pipping [Wed, 28 Aug 2019 15:51:31 +0000 (17:51 +0200)]
CMake: Check C rather than C++ compiler for clang for fuzzing

4 years agotests: Cover denying internal entities closing the doctype
Sebastian Pipping [Wed, 28 Aug 2019 13:14:19 +0000 (15:14 +0200)]
tests: Cover denying internal entities closing the doctype

4 years agoChanges: Document doctype closing heap overflow
Sebastian Pipping [Wed, 28 Aug 2019 14:30:27 +0000 (16:30 +0200)]
Changes: Document doctype closing heap overflow

4 years agoCMake: Add BUILD_fuzzers to summary
Sebastian Pipping [Wed, 28 Aug 2019 12:15:54 +0000 (14:15 +0200)]
CMake: Add BUILD_fuzzers to summary

4 years agoxmlparse.c: Deny internal entities closing the doctype
Sebastian Pipping [Tue, 27 Aug 2019 22:24:59 +0000 (00:24 +0200)]
xmlparse.c: Deny internal entities closing the doctype

4 years agoChanges: Document #308
Sebastian Pipping [Wed, 28 Aug 2019 12:12:56 +0000 (14:12 +0200)]
Changes: Document #308

4 years agoMerge pull request #319 from libexpat/byte-type-comments
Sebastian Pipping [Wed, 28 Aug 2019 10:59:48 +0000 (12:59 +0200)]
Merge pull request #319 from libexpat/byte-type-comments

xmltok: Add more in-code documentation about byte types

4 years agoAdd XML fuzzers to libexpat upstream. (#308)
Mitch Phillips [Wed, 28 Aug 2019 10:57:57 +0000 (03:57 -0700)]
Add XML fuzzers to libexpat upstream. (#308)

4 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

4 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

4 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

4 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

4 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

4 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)

4 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)

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

4 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)

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

4 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

4 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)

4 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>
4 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>
4 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.

4 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>
4 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.

4 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.

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

4 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

4 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

4 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

4 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

4 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

4 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

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

4 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

4 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

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

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

4 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)

4 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

4 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'

4 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"

4 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).

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

4 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

4 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"

4 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"

4 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

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

4 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

4 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

4 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)

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

4 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.

4 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)

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

4 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

4 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>
4 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>
4 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)

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

4 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)!

4 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)

4 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)

4 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

4 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

4 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

4 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.

4 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.

4 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

4 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.

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