]> granicus.if.org Git - libexpat/log
libexpat
5 years agoTravis: Move from exclusion to inclusion approach
Sebastian Pipping [Wed, 10 Jul 2019 01:39:53 +0000 (03:39 +0200)]
Travis: Move from exclusion to inclusion approach

5 years agoTravis: Excluding UndefinedBehaviorSanitizer for macOS due to link errors
Sebastian Pipping [Wed, 10 Jul 2019 01:35:29 +0000 (03:35 +0200)]
Travis: Excluding UndefinedBehaviorSanitizer for macOS due to link errors

https://travis-ci.org/libexpat/libexpat/jobs/556567990#L529

5 years agoTravis: Disable gcov mode on macOS for lack of -s argument
Sebastian Pipping [Wed, 10 Jul 2019 01:23:16 +0000 (03:23 +0200)]
Travis: Disable gcov mode on macOS for lack of -s argument

gcov: Unknown command line argument '-s'

5 years agoTravis: Fix MemorySanitizer exclude for macOS
Sebastian Pipping [Tue, 9 Jul 2019 22:22:24 +0000 (00:22 +0200)]
Travis: Fix MemorySanitizer exclude for macOS

5 years agoqa.sh: Pass -fsanitize=undefined to linker as well
Sebastian Pipping [Tue, 9 Jul 2019 21:56:22 +0000 (23:56 +0200)]
qa.sh: Pass -fsanitize=undefined to linker as well

5 years agoqa.sh: Use clang++ to link (for ubsan)
Sebastian Pipping [Tue, 9 Jul 2019 21:55:05 +0000 (23:55 +0200)]
qa.sh: Use clang++ to link (for ubsan)

5 years agoqa.sh: Support GCC coverage reporting with Apple GCC as well
Sebastian Pipping [Tue, 9 Jul 2019 21:51:31 +0000 (23:51 +0200)]
qa.sh: Support GCC coverage reporting with Apple GCC as well

5 years agoTravis: Cover MemorySanitizer and UndefinedBehaviorSanitizer
Sebastian Pipping [Mon, 8 Jul 2019 22:35:41 +0000 (00:35 +0200)]
Travis: Cover MemorySanitizer and UndefinedBehaviorSanitizer

5 years agoqa.sh: Re-write
Sebastian Pipping [Mon, 8 Jul 2019 22:03:45 +0000 (00:03 +0200)]
qa.sh: Re-write

- A bit more flexible and high level
- Drop support for ncc
- Fix coverage rendering, drop split mode

5 years agoMerge branch 'kkkunche-issue_239' (#239, #277)
Sebastian Pipping [Tue, 9 Jul 2019 21:25:27 +0000 (23:25 +0200)]
Merge branch 'kkkunche-issue_239' (#239, #277)

5 years agoChanges: Document #239 and #277
Sebastian Pipping [Tue, 9 Jul 2019 21:18:21 +0000 (23:18 +0200)]
Changes: Document #239 and #277

5 years agoCMake: Write expat_config.h as late as needed
Sebastian Pipping [Tue, 9 Jul 2019 21:10:07 +0000 (23:10 +0200)]
CMake: Write expat_config.h as late as needed

Previously, our post-processing of HAVE_GETRANDOM did
was not applied to expat_config.h.

5 years agoCMake: Resolve code duplication by use of a macro
Sebastian Pipping [Tue, 9 Jul 2019 21:09:51 +0000 (23:09 +0200)]
CMake: Resolve code duplication by use of a macro

5 years agoCMake: Support bypassing auto-detection of syscall SYS_getrandom
Sebastian Pipping [Tue, 9 Jul 2019 20:53:04 +0000 (22:53 +0200)]
CMake: Support bypassing auto-detection of syscall SYS_getrandom

5 years agoCMake: Turn getrandom build flag into a tribool
Sebastian Pipping [Tue, 9 Jul 2019 20:46:58 +0000 (22:46 +0200)]
CMake: Turn getrandom build flag into a tribool

5 years agoCMake: Move reset of HAVE_GETRANDOM after ConfigureChecks.cmake
Sebastian Pipping [Tue, 9 Jul 2019 20:46:46 +0000 (22:46 +0200)]
CMake: Move reset of HAVE_GETRANDOM after ConfigureChecks.cmake

5 years agoCMake: Option to Disable the usuage of getrandom after autodetect
kkkunche [Mon, 8 Jul 2019 10:39:17 +0000 (16:09 +0530)]
CMake: Option to Disable the usuage of getrandom after autodetect

5 years agoMerge branch 'issue-268-address-variable-shadowing' (#270, fixes #268)
Sebastian Pipping [Sat, 6 Jul 2019 17:17:52 +0000 (19:17 +0200)]
Merge branch 'issue-268-address-variable-shadowing' (#270, fixes #268)

5 years agoChanges: Mention #268 and #270
Sebastian Pipping [Sat, 6 Jul 2019 17:17:05 +0000 (19:17 +0200)]
Changes: Mention #268 and #270

5 years agoChanges: Mention #244
Sebastian Pipping [Wed, 3 Jul 2019 20:58:49 +0000 (22:58 +0200)]
Changes: Mention #244

5 years agoMerge branch 'MohammedKhajapasha-master' (#264)
Sebastian Pipping [Wed, 3 Jul 2019 20:53:12 +0000 (22:53 +0200)]
Merge branch 'MohammedKhajapasha-master' (#264)

5 years agoChanges: Document #264
Sebastian Pipping [Wed, 3 Jul 2019 20:52:32 +0000 (22:52 +0200)]
Changes: Document #264

5 years agocoverage.sh: Simplify if statement
Sebastian Pipping [Wed, 3 Jul 2019 20:50:44 +0000 (22:50 +0200)]
coverage.sh: Simplify if statement

Conistent with unicode_enabled check above

5 years agocoverage.sh: Make xml_attr_info_enabled match unicode_enabled
Sebastian Pipping [Wed, 3 Jul 2019 20:39:50 +0000 (22:39 +0200)]
coverage.sh: Make xml_attr_info_enabled match unicode_enabled

5 years agoconfigure: Make --enable-xml-attr-info help match --enable-static
Sebastian Pipping [Wed, 3 Jul 2019 20:35:38 +0000 (22:35 +0200)]
configure: Make --enable-xml-attr-info help match --enable-static

5 years agoEnable XML_ATTR_INFO in build
Mohammed Khajapasha [Wed, 19 Jun 2019 09:30:47 +0000 (09:30 +0000)]
Enable XML_ATTR_INFO in build

enable XML_ATTR_INFO in build to cover XML_ATTR_INFO in CI

Signed-off-by: Mohammed Khajapasha <mohammed.khajapasha@intel.com>
5 years agoxmlparse.c: Limit scope of new_connector to save sizeof(char*) on the stack
Sebastian Pipping [Mon, 1 Jul 2019 18:15:11 +0000 (20:15 +0200)]
xmlparse.c: Limit scope of new_connector to save sizeof(char*) on the stack

5 years agoxmlparse.c: Drop needless re-calculation of keep (#268)
Sebastian Pipping [Sat, 29 Jun 2019 20:41:54 +0000 (22:41 +0200)]
xmlparse.c: Drop needless re-calculation of keep (#268)

Fixes variable shadowing as a side effect.

5 years agoxmlparse.c: Resolve temp variable shadow (#268)
Sebastian Pipping [Sat, 29 Jun 2019 20:40:04 +0000 (22:40 +0200)]
xmlparse.c: Resolve temp variable shadow (#268)

Also add const.

5 years agoChanges: Attach CVE-2018-20843 to #186 and #262
Sebastian Pipping [Mon, 24 Jun 2019 18:08:29 +0000 (20:08 +0200)]
Changes: Attach CVE-2018-20843 to #186 and #262

5 years agoChanges: Document #265
Sebastian Pipping [Thu, 20 Jun 2019 19:59:28 +0000 (21:59 +0200)]
Changes: Document #265

5 years agoMerge pull request #265 from xantares/patch-1
Sebastian Pipping [Thu, 20 Jun 2019 18:40:56 +0000 (20:40 +0200)]
Merge pull request #265 from xantares/patch-1

Fix link step on MinGW for CMake

5 years agoFix link step on MinGW
xantares [Thu, 20 Jun 2019 17:01:30 +0000 (19:01 +0200)]
Fix link step on MinGW

.def files are handled differently on MinGW than MSVC for the WIN32 target:

```
[ 14%] Linking C shared library libexpat.dll
/usr/lib/gcc/x86_64-w64-mingw32/9.1.0/../../../../x86_64-w64-mingw32/bin/ld: ../lib/libexpat.def:4: syntax error
/usr/lib/gcc/x86_64-w64-mingw32/9.1.0/../../../../x86_64-w64-mingw32/bin/ld:../lib/libexpat.def: file format not recognized; treating as linker script
/usr/lib/gcc/x86_64-w64-mingw32/9.1.0/../../../../x86_64-w64-mingw32/bin/ld:../lib/libexpat.def:1: syntax error
collect2: error: ld returned 1 exit status
```

5 years agoBump version from 2.2.6 to 2.2.7 R_2_2_7
Sebastian Pipping [Wed, 19 Jun 2019 16:33:02 +0000 (18:33 +0200)]
Bump version from 2.2.6 to 2.2.7

5 years agoBump version info from 7:8:6 to 7:9:6
Sebastian Pipping [Wed, 19 Jun 2019 16:28:50 +0000 (18:28 +0200)]
Bump version info from 7:8:6 to 7:9:6

5 years agoChanges: Group/re-order changes for upcoming 2.2.7
Sebastian Pipping [Wed, 19 Jun 2019 15:58:55 +0000 (17:58 +0200)]
Changes: Group/re-order changes for upcoming 2.2.7

5 years agoChanges: Document #158 and #263
Sebastian Pipping [Wed, 19 Jun 2019 13:52:05 +0000 (15:52 +0200)]
Changes: Document #158 and #263

5 years agoMerge pull request #263 from kkkunche/master
Sebastian Pipping [Wed, 19 Jun 2019 13:47:26 +0000 (15:47 +0200)]
Merge pull request #263 from kkkunche/master

Correct the man page installation path in CMake Build

5 years agoCorrect the man page installation path in CMake Build
kkkunche [Tue, 18 Jun 2019 16:18:29 +0000 (21:48 +0530)]
Correct the man page installation path in CMake Build

CMake build system : corrected the man page creation to PROJECT_BINARY_DIR
and avoid creation into PROJECT_SOURCE_DIR.

Signed-off-by: kkkunche <kishore.kunche@intel.com>
5 years agoMerge branch 'issue-186-fix-extraction-of-namespace-prefix'
Sebastian Pipping [Sun, 16 Jun 2019 21:59:31 +0000 (23:59 +0200)]
Merge branch 'issue-186-fix-extraction-of-namespace-prefix'

5 years agoChanges: Document #186 and #262
Sebastian Pipping [Sun, 16 Jun 2019 21:37:23 +0000 (23:37 +0200)]
Changes: Document #186 and #262

5 years agoxmlparse.c: Fix extraction of namespace prefix from XML name (#186)
Sebastian Pipping [Wed, 12 Jun 2019 13:42:22 +0000 (15:42 +0200)]
xmlparse.c: Fix extraction of namespace prefix from XML name (#186)

5 years agoMerge branch 'issue-257-portable-shebang' (#257)
Sebastian Pipping [Sat, 18 May 2019 12:13:39 +0000 (14:13 +0200)]
Merge branch 'issue-257-portable-shebang' (#257)

5 years agoChanges: Document #257
Sebastian Pipping [Sat, 18 May 2019 12:11:14 +0000 (14:11 +0200)]
Changes: Document #257

5 years agoUse "/usr/bin/env bash" shebang everywhere for protability (#257)
Sebastian Pipping [Sat, 18 May 2019 12:09:12 +0000 (14:09 +0200)]
Use "/usr/bin/env bash" shebang everywhere for protability (#257)

5 years agoFix build on OpenBSD (GH #257)
Jeffrey Walton [Fri, 10 May 2019 22:14:32 +0000 (18:14 -0400)]
Fix build on OpenBSD (GH #257)

5 years agoTravis CI: Install lzip on macOS for "make dist" (#258)
Sebastian Pipping [Sun, 12 May 2019 19:51:04 +0000 (21:51 +0200)]
Travis CI: Install lzip on macOS for "make dist" (#258)

5 years agoBrewfile: Sort
Sebastian Pipping [Sun, 12 May 2019 19:50:15 +0000 (21:50 +0200)]
Brewfile: Sort

5 years agoTravis CI: Install lzip for "make dist" (#258)
Sebastian Pipping [Sun, 12 May 2019 18:48:28 +0000 (20:48 +0200)]
Travis CI: Install lzip for "make dist" (#258)

5 years agoChanges: Remove @ GitHub username marker noise
Sebastian Pipping [Sun, 12 May 2019 17:25:39 +0000 (19:25 +0200)]
Changes: Remove @ GitHub username marker noise

5 years agoAutotools: Produce .tar.{gz,lz,xz} release archives (#236, #258)
Sebastian Pipping [Sun, 12 May 2019 17:17:11 +0000 (19:17 +0200)]
Autotools: Produce .tar.{gz,lz,xz} release archives (#236, #258)

5 years agoMerge pull request #250 from luzpaz/README-repology
Sebastian Pipping [Sat, 2 Feb 2019 20:09:17 +0000 (21:09 +0100)]
Merge pull request #250 from luzpaz/README-repology

README: Add Repology badge showing repos package is available in

5 years agoREADME: Add Repology badge showing repos package is available in
luz.paz [Sat, 2 Feb 2019 19:24:18 +0000 (14:24 -0500)]
README: Add Repology badge showing repos package is available in

5 years agoMerge branch 'osx-travis-homebrew' (#152, #249)
Sebastian Pipping [Sun, 27 Jan 2019 21:39:58 +0000 (22:39 +0100)]
Merge branch 'osx-travis-homebrew' (#152, #249)

5 years agoqa.sh: Link with clang for Address Sanitizer
Sebastian Pipping [Sun, 27 Jan 2019 16:30:01 +0000 (17:30 +0100)]
qa.sh: Link with clang for Address Sanitizer

5 years agoqa.sh: Dump config.log for configure failures
Sebastian Pipping [Sun, 27 Jan 2019 16:08:36 +0000 (17:08 +0100)]
qa.sh: Dump config.log for configure failures

5 years agoTravis CI: Keep macOS $PATH away from Linux
Sebastian Pipping [Sun, 27 Jan 2019 15:24:24 +0000 (16:24 +0100)]
Travis CI: Keep macOS $PATH away from Linux

5 years agoTravis CI: Test OSX
Stephen [Wed, 27 Sep 2017 16:50:18 +0000 (09:50 -0700)]
Travis CI: Test OSX

Use Brewfile for dependencies

5 years agoqa.sh: Fix incomplete link flags for Address Sanitizer
Sebastian Pipping [Sun, 27 Jan 2019 15:13:34 +0000 (16:13 +0100)]
qa.sh: Fix incomplete link flags for Address Sanitizer

Prefix "-Wc," is fot libtool, see
https://www.gnu.org/software/libtool/manual/libtool.html#Stripped-link-flags

5 years agoMerge branch 'issue-247-fix-configure-without-docbook' (fixes #247)
Sebastian Pipping [Sat, 26 Jan 2019 19:44:39 +0000 (20:44 +0100)]
Merge branch 'issue-247-fix-configure-without-docbook' (fixes #247)

5 years agoFix compilation for lack of docbook2x-man
Sebastian Pipping [Sat, 26 Jan 2019 19:14:30 +0000 (20:14 +0100)]
Fix compilation for lack of docbook2x-man

The guard in doc/Makefile.am was supposed to protect against
publishing release tarballs lacking a compiled xmlwf.1 man page
without noticing.  Now it does no more than advertised.

5 years agoMerge branch 'issue-245-visibility-check' (fixes #245)
Sebastian Pipping [Sat, 26 Jan 2019 17:56:10 +0000 (18:56 +0100)]
Merge branch 'issue-245-visibility-check' (fixes #245)

5 years agoChanges: Mention PR #246
Sebastian Pipping [Sat, 26 Jan 2019 17:55:51 +0000 (18:55 +0100)]
Changes: Mention PR #246

5 years agom4: Fix check for -fvisibility=hidden for Clang
Sebastian Pipping [Sat, 26 Jan 2019 17:35:37 +0000 (18:35 +0100)]
m4: Fix check for -fvisibility=hidden for Clang

5 years agom4: Reformat C test code to be readable
Sebastian Pipping [Sat, 26 Jan 2019 15:40:11 +0000 (16:40 +0100)]
m4: Reformat C test code to be readable

5 years agoMerge branch 'sdroege-win32-def-file-syntax'
Sebastian Pipping [Fri, 11 Jan 2019 00:33:00 +0000 (01:33 +0100)]
Merge branch 'sdroege-win32-def-file-syntax'

5 years agoChanges: Document fix to #243
Sebastian Pipping [Fri, 11 Jan 2019 00:32:25 +0000 (01:32 +0100)]
Changes: Document fix to #243

5 years agoFix syntax of Windows module definition files
Sebastian Dröge [Thu, 10 Jan 2019 19:26:07 +0000 (21:26 +0200)]
Fix syntax of Windows module definition files

Otherwise this fails with:
  Cannot export @: symbol not defined

5 years agoMerge pull request #237 from oshogbo/master
Sebastian Pipping [Sun, 9 Dec 2018 18:30:04 +0000 (19:30 +0100)]
Merge pull request #237 from oshogbo/master

Fix compilation for -Werror with -Wunused-function/-Wall

5 years ago Un-break build libexpat.
Mariusz Zaborski [Sun, 4 Nov 2018 18:30:26 +0000 (19:30 +0100)]
 Un-break build libexpat.

The writeRandomBytes_arc4random is not used if the arc4random_buf
is available. This caused compiler to throw warnings.
Finally this breaks a build when warnings are treated as errors.

6 years agoMerge branch 'KangLin-master' (#227)
Sebastian Pipping [Sun, 21 Oct 2018 13:00:12 +0000 (15:00 +0200)]
Merge branch 'KangLin-master' (#227)

6 years agoChanges: Document #227
Sebastian Pipping [Sun, 21 Oct 2018 12:59:10 +0000 (14:59 +0200)]
Changes: Document #227

6 years agoconfigure.ac: Streamline mention of defaults in --help output a bit
Sebastian Pipping [Sun, 21 Oct 2018 12:52:11 +0000 (14:52 +0200)]
configure.ac: Streamline mention of defaults in --help output a bit

6 years agoAdd build condition
KangLin [Tue, 16 Oct 2018 01:53:52 +0000 (09:53 +0800)]
Add build condition

6 years agoMerge branch 'excluded-code-review.marcomaggi-2018-10-21' (#230)
Sebastian Pipping [Sun, 21 Oct 2018 12:40:33 +0000 (14:40 +0200)]
Merge branch 'excluded-code-review.marcomaggi-2018-10-21' (#230)

6 years agoMark disabled code to make it easy to see again
Sebastian Pipping [Sun, 21 Oct 2018 12:33:25 +0000 (14:33 +0200)]
Mark disabled code to make it easy to see again

6 years agochange code exclusion style to make sure that the excluded code still compiles
Marco Maggi [Sun, 21 Oct 2018 06:16:42 +0000 (08:16 +0200)]
change code exclusion style to make sure that the excluded code still compiles

6 years agoMerge branch 'autotools-usage-review.marcomaggi-2018-10-18' (#228)
Sebastian Pipping [Sun, 21 Oct 2018 12:20:18 +0000 (14:20 +0200)]
Merge branch 'autotools-usage-review.marcomaggi-2018-10-18' (#228)

6 years agoChanges: Document #228
Sebastian Pipping [Sun, 21 Oct 2018 12:17:33 +0000 (14:17 +0200)]
Changes: Document #228

6 years agoconfigure.ac: Fix indendation regression in --help output
Sebastian Pipping [Sun, 21 Oct 2018 12:13:11 +0000 (14:13 +0200)]
configure.ac: Fix indendation regression in --help output

6 years agofixed missing dollar sign in parameter expansion of custom autoconf macro
Marco Maggi [Sat, 20 Oct 2018 18:55:16 +0000 (20:55 +0200)]
fixed missing dollar sign in parameter expansion of custom autoconf macro

6 years agorestore the definition of WORDS_BIGENDIAN when the platform is big endian
Marco Maggi [Sat, 20 Oct 2018 11:30:25 +0000 (13:30 +0200)]
restore the definition of WORDS_BIGENDIAN when the platform is big endian

6 years agoremoved unused AC_PROG_MKDIR_P from configure.ac
Marco Maggi [Sat, 20 Oct 2018 11:16:26 +0000 (13:16 +0200)]
removed unused AC_PROG_MKDIR_P from configure.ac

6 years agorewritten check for visibility support by the compiler
Marco Maggi [Sat, 20 Oct 2018 10:57:22 +0000 (12:57 +0200)]
rewritten check for visibility support by the compiler

6 years agofixed name of autoconf macro file
Marco Maggi [Sat, 20 Oct 2018 10:37:56 +0000 (12:37 +0200)]
fixed name of autoconf macro file

6 years agofixed comment in configure.ac
Marco Maggi [Fri, 19 Oct 2018 05:07:06 +0000 (07:07 +0200)]
fixed comment in configure.ac

6 years agoprefixed m4 macros in configure.ac
Marco Maggi [Thu, 18 Oct 2018 13:58:31 +0000 (15:58 +0200)]
prefixed m4 macros in configure.ac

6 years agoclean up of acinclude
Marco Maggi [Thu, 18 Oct 2018 13:49:19 +0000 (15:49 +0200)]
clean up of acinclude

6 years agomore flags for the gcc compiler
Marco Maggi [Thu, 18 Oct 2018 12:54:21 +0000 (14:54 +0200)]
more flags for the gcc compiler

6 years agobetter flag variable assignment
Marco Maggi [Thu, 18 Oct 2018 11:30:05 +0000 (13:30 +0200)]
better flag variable assignment

6 years agoreorganised check for compiler supporting visibility
Marco Maggi [Thu, 18 Oct 2018 11:27:40 +0000 (13:27 +0200)]
reorganised check for compiler supporting visibility

6 years agomore autoconf macros for linker flags
Marco Maggi [Thu, 18 Oct 2018 11:06:14 +0000 (13:06 +0200)]
more autoconf macros for linker flags

6 years agoreorganised selection of flags for compilers in configure.ac
Marco Maggi [Thu, 18 Oct 2018 11:01:06 +0000 (13:01 +0200)]
reorganised selection of flags for compilers in configure.ac

6 years agoadded usage of more autoconf macros (from the autoconf marcros archive)
Marco Maggi [Thu, 18 Oct 2018 10:54:28 +0000 (12:54 +0200)]
added usage of more autoconf macros (from the autoconf marcros archive)

6 years agoadded use of AX_CHECK_COMPILE_FLAG Autoconf macro
Marco Maggi [Thu, 18 Oct 2018 10:26:04 +0000 (12:26 +0200)]
added use of AX_CHECK_COMPILE_FLAG Autoconf macro

6 years agostyle fixes in configure.ac
Marco Maggi [Thu, 18 Oct 2018 10:13:03 +0000 (12:13 +0200)]
style fixes in configure.ac

6 years agorequires gnu autoconf 2.69
Marco Maggi [Thu, 18 Oct 2018 09:41:40 +0000 (11:41 +0200)]
requires gnu autoconf 2.69

6 years agostopped using ac_c_bigendian_croos in favor of ac_c_bigendian
Marco Maggi [Thu, 18 Oct 2018 09:40:29 +0000 (11:40 +0200)]
stopped using ac_c_bigendian_croos in favor of ac_c_bigendian

6 years agostarted autotools usage overhaul with some configure.ac revision
Marco Maggi [Thu, 18 Oct 2018 09:24:11 +0000 (11:24 +0200)]
started autotools usage overhaul with some configure.ac revision

Modernisation of libtool initialisation.  Use of acinclude.m4 to load
macro definition files.

6 years agoRemove expat.h from .gitignore (#224)
Mikhail Matrosov [Thu, 4 Oct 2018 16:44:31 +0000 (19:44 +0300)]
Remove expat.h from .gitignore (#224)

Since it is actually present in the repository and is used in the build.