]> granicus.if.org Git - libexpat/log
libexpat
5 years agoCMake: Rename USE_GETRANDOM to EXPAT_WITH_GETRANDOM
Sebastian Pipping [Fri, 30 Aug 2019 19:22:17 +0000 (21:22 +0200)]
CMake: Rename USE_GETRANDOM to EXPAT_WITH_GETRANDOM

5 years agoCMake: Rename WARNINGS_AS_ERRORS to EXPAT_WARNINGS_AS_ERRORS
Sebastian Pipping [Fri, 30 Aug 2019 19:20:55 +0000 (21:20 +0200)]
CMake: Rename WARNINGS_AS_ERRORS to EXPAT_WARNINGS_AS_ERRORS

5 years agoCMake: Rename USE_libbsd to EXPAT_WITH_LIBBSD
Sebastian Pipping [Fri, 30 Aug 2019 19:18:19 +0000 (21:18 +0200)]
CMake: Rename USE_libbsd to EXPAT_WITH_LIBBSD

5 years agoCMake: Rename BUILD_fuzzers to EXPAT_BUILD_FUZZERS
Sebastian Pipping [Fri, 30 Aug 2019 19:13:41 +0000 (21:13 +0200)]
CMake: Rename BUILD_fuzzers to EXPAT_BUILD_FUZZERS

5 years agoCMake: Rename BUILD_doc to EXPAT_BUILD_DOCS
Sebastian Pipping [Fri, 30 Aug 2019 19:12:42 +0000 (21:12 +0200)]
CMake: Rename BUILD_doc to EXPAT_BUILD_DOCS

5 years agoCMake: Rename BUILD_doc_default to _EXPAT_BUILD_DOCS_DEFAULT
Sebastian Pipping [Fri, 30 Aug 2019 19:10:18 +0000 (21:10 +0200)]
CMake: Rename BUILD_doc_default to _EXPAT_BUILD_DOCS_DEFAULT

5 years agoCMake: Rename BUILD_tests to EXPAT_BUILD_TESTS
Sebastian Pipping [Fri, 30 Aug 2019 19:08:35 +0000 (21:08 +0200)]
CMake: Rename BUILD_tests to EXPAT_BUILD_TESTS

5 years agoCMake: Rename BUILD_examples to EXPAT_BUILD_EXAMPLES
Sebastian Pipping [Fri, 30 Aug 2019 19:07:48 +0000 (21:07 +0200)]
CMake: Rename BUILD_examples to EXPAT_BUILD_EXAMPLES

5 years agoCMake: Rename BUILD_tools to EXPAT_BUILD_TOOLS
Sebastian Pipping [Fri, 30 Aug 2019 19:00:48 +0000 (21:00 +0200)]
CMake: Rename BUILD_tools to EXPAT_BUILD_TOOLS

5 years agoCMake: Rename BUILD_tools_default to _EXPAT_BUILD_TOOLS_DEFAULT
Sebastian Pipping [Fri, 30 Aug 2019 18:59:41 +0000 (20:59 +0200)]
CMake: Rename BUILD_tools_default to _EXPAT_BUILD_TOOLS_DEFAULT

5 years agoMerge pull request #328 from libexpat/cmake-xml-min-size
Sebastian Pipping [Fri, 30 Aug 2019 17:38:53 +0000 (19:38 +0200)]
Merge pull request #328 from libexpat/cmake-xml-min-size

Expose XML_MIN_SIZE build option in CMake

5 years agoCMake: Add option -DXML_MIN_SIZE=(ON|OFF), default OFF
Sebastian Pipping [Fri, 30 Aug 2019 13:55:38 +0000 (15:55 +0200)]
CMake: Add option -DXML_MIN_SIZE=(ON|OFF), default OFF

5 years agoChanges: Pull entry on XML_LARGE_SIZE up next to XML_ATTR_INFO
Sebastian Pipping [Fri, 30 Aug 2019 13:53:11 +0000 (15:53 +0200)]
Changes: Pull entry on XML_LARGE_SIZE up next to XML_ATTR_INFO

5 years agoMerge pull request #326 from libexpat/cmake-improvements
Sebastian Pipping [Fri, 30 Aug 2019 13:49:01 +0000 (15:49 +0200)]
Merge pull request #326 from libexpat/cmake-improvements

CMake improvements

5 years agoChanges: Enrich CMake related entries
Sebastian Pipping [Thu, 29 Aug 2019 23:44:29 +0000 (01:44 +0200)]
Changes: Enrich CMake related entries

5 years agoCMake: Provide files for config-mode find_package
Sebastian Pipping [Thu, 29 Aug 2019 21:47:01 +0000 (23:47 +0200)]
CMake: Provide files for config-mode find_package

5 years agoCMake: Add argument -DXML_LARGE_SIZE=ON
Sebastian Pipping [Thu, 29 Aug 2019 22:47:54 +0000 (00:47 +0200)]
CMake: Add argument -DXML_LARGE_SIZE=ON

5 years agoCMake: Extract macro expat_bool_to_int to reduce code duplication
Sebastian Pipping [Thu, 29 Aug 2019 22:23:39 +0000 (00:23 +0200)]
CMake: Extract macro expat_bool_to_int to reduce code duplication

5 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

5 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

5 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

5 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

5 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

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

5 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

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

5 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

5 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

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

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

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

5 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

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

5 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

5 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

5 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

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

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

5 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

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

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