]>
granicus.if.org Git - libexpat/log
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
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>
Sebastian Pipping [Mon, 22 Jul 2019 22:53:53 +0000 (00:53 +0200)]
Merge branch 'travis-clang-9'
Sebastian Pipping [Mon, 22 Jul 2019 21:25:46 +0000 (23:25 +0200)]
Travis CI: Use Clang 9 on Linux
Sebastian Pipping [Mon, 22 Jul 2019 21:34:08 +0000 (23:34 +0200)]
qa.sh: Dump compiler version
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
Sebastian Pipping [Mon, 22 Jul 2019 21:18:58 +0000 (23:18 +0200)]
Merge branch 'solve-warnings.marcomaggi-2018-10-30' (fixes #235)
Marco Maggi [Tue, 30 Oct 2018 08:42:57 +0000 (09:42 +0100)]
fixed warning about potential null pointer dereference
Sebastian Pipping [Mon, 22 Jul 2019 20:39:34 +0000 (22:39 +0200)]
runtests.c: Address warnings about variable shadowing
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)
Sebastian Pipping [Sun, 21 Jul 2019 20:37:00 +0000 (22:37 +0200)]
configure.ac: Use curly braces for variable
Sebastian Pipping [Sun, 21 Jul 2019 20:35:05 +0000 (22:35 +0200)]
configure.ac: Adhust spelling of MinGW
Marco Maggi [Sun, 28 Oct 2018 05:24:01 +0000 (06:24 +0100)]
cleaner test for mingw as host system
Sebastian Pipping [Sat, 20 Jul 2019 15:25:19 +0000 (17:25 +0200)]
Travis CI: Drop "git.depth: 1" because subsequent pushes were failing ongoing builds
See
10c235458830fc894a6381cf6267246c68848adf for AppVeyor and more details.
Marco Maggi [Mon, 22 Oct 2018 18:06:02 +0000 (20:06 +0200)]
fixed use of compilation flags in coverage script (#229)
Sebastian Pipping [Sat, 20 Jul 2019 15:06:16 +0000 (17:06 +0200)]
Merge branch 'marcomaggi-shell-scripts-review.marcomaggi-2018-10-21' (fixes #229)
Sebastian Pipping [Sat, 20 Jul 2019 15:05:32 +0000 (17:05 +0200)]
clean_coverage.sh: Use portable shebang
Marco Maggi [Sun, 21 Oct 2018 05:56:36 +0000 (07:56 +0200)]
added shebang and comments to clean_coverage script
Sebastian Pipping [Sat, 20 Jul 2019 14:42:21 +0000 (16:42 +0200)]
internal.h: Fix UNUSED_P for GCC 3.3 (fixes #288)
Sebastian Pipping [Wed, 17 Jul 2019 16:05:17 +0000 (18:05 +0200)]
runtests.c: Address cppcheck warning (fixes #283)
[tests/runtests.c:647]: (error) Address of local auto-variable assigned to a function parameter.
Sebastian Pipping [Wed, 17 Jul 2019 15:28:31 +0000 (17:28 +0200)]
AppVeyor: Drop "clone_depth: 1" because subsequent pushes were failing ongoing builds
Symptom:
Build started
git config --global core.autocrlf input
git clone -q --depth=1 --branch=master https://github.com/libexpat/libexpat.git c:\projects\libexpat
git checkout -qf
d4d8d486af1810bff52612d84533985b9b47b7a6
fatal: reference is not a tree:
d4d8d486af1810bff52612d84533985b9b47b7a6
Cause:
A more recent push made
d4d8d486af1810bff52612d84533985b9b47b7a6
the second-last commit so that --depth=1 would create a commit
graph without that commit.
Documented at:
https://www.appveyor.com/docs/how-to/repository-shallow-clone/#setting-depth-of-git-clone-command
Sebastian Pipping [Wed, 17 Jul 2019 14:38:39 +0000 (16:38 +0200)]
xmlwf: Ensure that STDMETHODIMP_ is defined for cppcheck (fixes #285)
Sebastian Pipping [Wed, 17 Jul 2019 14:21:31 +0000 (16:21 +0200)]
xmltok.c: Use memcpy instead of copying single bytes (fixes #282)
Fixes cppcheck's complaint as a side-effect.
Sebastian Pipping [Wed, 17 Jul 2019 14:02:09 +0000 (16:02 +0200)]
tests: Silence cppcheck false positive (fixes #284)
Sebastian Pipping [Sun, 14 Jul 2019 22:17:57 +0000 (00:17 +0200)]
Merge branch 'MohammedKhajapasha-issue_273' (#281, fixes #273)
Sebastian Pipping [Sun, 14 Jul 2019 22:12:50 +0000 (00:12 +0200)]
Travis: Limit distcheck tests to plain distcheck
--enable-xml-attr-info is tested elsewhere and this
combination does not seem to provide additional value
to justify runtime.
Sebastian Pipping [Sun, 14 Jul 2019 22:05:25 +0000 (00:05 +0200)]
Travis: Drop test of in-source CMake
Out-of-source CMake is still there and is more important.
Mohammed Khajapasha [Fri, 12 Jul 2019 05:14:26 +0000 (05:14 +0000)]
Enable CI for XML_ATTR_INFO
Enable CI to cover XML_ATTR_INFO feature.
Signed-off-by: Mohammed Khajapasha <mohammed.khajapasha@intel.com>
Sebastian Pipping [Wed, 10 Jul 2019 13:21:48 +0000 (15:21 +0200)]
Merge branch 'rewrite-qa-sh' (#278)
Sebastian Pipping [Wed, 10 Jul 2019 01:39:53 +0000 (03:39 +0200)]
Travis: Move from exclusion to inclusion approach
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
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'
Sebastian Pipping [Tue, 9 Jul 2019 22:22:24 +0000 (00:22 +0200)]
Travis: Fix MemorySanitizer exclude for macOS
Sebastian Pipping [Tue, 9 Jul 2019 21:56:22 +0000 (23:56 +0200)]
qa.sh: Pass -fsanitize=undefined to linker as well
Sebastian Pipping [Tue, 9 Jul 2019 21:55:05 +0000 (23:55 +0200)]
qa.sh: Use clang++ to link (for ubsan)
Sebastian Pipping [Tue, 9 Jul 2019 21:51:31 +0000 (23:51 +0200)]
qa.sh: Support GCC coverage reporting with Apple GCC as well
Sebastian Pipping [Mon, 8 Jul 2019 22:35:41 +0000 (00:35 +0200)]
Travis: Cover MemorySanitizer and UndefinedBehaviorSanitizer
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
Sebastian Pipping [Tue, 9 Jul 2019 21:25:27 +0000 (23:25 +0200)]
Merge branch 'kkkunche-issue_239' (#239, #277)
Sebastian Pipping [Tue, 9 Jul 2019 21:18:21 +0000 (23:18 +0200)]
Changes: Document #239 and #277
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.
Sebastian Pipping [Tue, 9 Jul 2019 21:09:51 +0000 (23:09 +0200)]
CMake: Resolve code duplication by use of a macro
Sebastian Pipping [Tue, 9 Jul 2019 20:53:04 +0000 (22:53 +0200)]
CMake: Support bypassing auto-detection of syscall SYS_getrandom
Sebastian Pipping [Tue, 9 Jul 2019 20:46:58 +0000 (22:46 +0200)]
CMake: Turn getrandom build flag into a tribool
Sebastian Pipping [Tue, 9 Jul 2019 20:46:46 +0000 (22:46 +0200)]
CMake: Move reset of HAVE_GETRANDOM after ConfigureChecks.cmake
kkkunche [Mon, 8 Jul 2019 10:39:17 +0000 (16:09 +0530)]
CMake: Option to Disable the usuage of getrandom after autodetect
Sebastian Pipping [Sat, 6 Jul 2019 17:17:52 +0000 (19:17 +0200)]
Merge branch 'issue-268-address-variable-shadowing' (#270, fixes #268)
Sebastian Pipping [Sat, 6 Jul 2019 17:17:05 +0000 (19:17 +0200)]
Changes: Mention #268 and #270
Sebastian Pipping [Wed, 3 Jul 2019 20:58:49 +0000 (22:58 +0200)]
Changes: Mention #244
Sebastian Pipping [Wed, 3 Jul 2019 20:53:12 +0000 (22:53 +0200)]
Merge branch 'MohammedKhajapasha-master' (#264)
Sebastian Pipping [Wed, 3 Jul 2019 20:52:32 +0000 (22:52 +0200)]
Changes: Document #264
Sebastian Pipping [Wed, 3 Jul 2019 20:50:44 +0000 (22:50 +0200)]
coverage.sh: Simplify if statement
Conistent with unicode_enabled check above
Sebastian Pipping [Wed, 3 Jul 2019 20:39:50 +0000 (22:39 +0200)]
coverage.sh: Make xml_attr_info_enabled match unicode_enabled
Sebastian Pipping [Wed, 3 Jul 2019 20:35:38 +0000 (22:35 +0200)]
configure: Make --enable-xml-attr-info help match --enable-static
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>
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
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.
Sebastian Pipping [Sat, 29 Jun 2019 20:40:04 +0000 (22:40 +0200)]
xmlparse.c: Resolve temp variable shadow (#268)
Also add const.
Sebastian Pipping [Mon, 24 Jun 2019 18:08:29 +0000 (20:08 +0200)]
Changes: Attach CVE-2018-20843 to #186 and #262
Sebastian Pipping [Thu, 20 Jun 2019 19:59:28 +0000 (21:59 +0200)]
Changes: Document #265
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
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
```
Sebastian Pipping [Wed, 19 Jun 2019 16:33:02 +0000 (18:33 +0200)]
Bump version from 2.2.6 to 2.2.7
Sebastian Pipping [Wed, 19 Jun 2019 16:28:50 +0000 (18:28 +0200)]
Bump version info from 7:8:6 to 7:9:6
Sebastian Pipping [Wed, 19 Jun 2019 15:58:55 +0000 (17:58 +0200)]
Changes: Group/re-order changes for upcoming 2.2.7
Sebastian Pipping [Wed, 19 Jun 2019 13:52:05 +0000 (15:52 +0200)]
Changes: Document #158 and #263
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
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>
Sebastian Pipping [Sun, 16 Jun 2019 21:59:31 +0000 (23:59 +0200)]
Merge branch 'issue-186-fix-extraction-of-namespace-prefix'
Sebastian Pipping [Sun, 16 Jun 2019 21:37:23 +0000 (23:37 +0200)]
Changes: Document #186 and #262
Sebastian Pipping [Wed, 12 Jun 2019 13:42:22 +0000 (15:42 +0200)]
xmlparse.c: Fix extraction of namespace prefix from XML name (#186)
Sebastian Pipping [Sat, 18 May 2019 12:13:39 +0000 (14:13 +0200)]
Merge branch 'issue-257-portable-shebang' (#257)
Sebastian Pipping [Sat, 18 May 2019 12:11:14 +0000 (14:11 +0200)]
Changes: Document #257
Sebastian Pipping [Sat, 18 May 2019 12:09:12 +0000 (14:09 +0200)]
Use "/usr/bin/env bash" shebang everywhere for protability (#257)
Jeffrey Walton [Fri, 10 May 2019 22:14:32 +0000 (18:14 -0400)]
Fix build on OpenBSD (GH #257)
Sebastian Pipping [Sun, 12 May 2019 19:51:04 +0000 (21:51 +0200)]
Travis CI: Install lzip on macOS for "make dist" (#258)
Sebastian Pipping [Sun, 12 May 2019 19:50:15 +0000 (21:50 +0200)]
Brewfile: Sort
Sebastian Pipping [Sun, 12 May 2019 18:48:28 +0000 (20:48 +0200)]
Travis CI: Install lzip for "make dist" (#258)
Sebastian Pipping [Sun, 12 May 2019 17:25:39 +0000 (19:25 +0200)]
Changes: Remove @ GitHub username marker noise
Sebastian Pipping [Sun, 12 May 2019 17:17:11 +0000 (19:17 +0200)]
Autotools: Produce .tar.{gz,lz,xz} release archives (#236, #258)
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
luz.paz [Sat, 2 Feb 2019 19:24:18 +0000 (14:24 -0500)]
README: Add Repology badge showing repos package is available in
Sebastian Pipping [Sun, 27 Jan 2019 21:39:58 +0000 (22:39 +0100)]
Merge branch 'osx-travis-homebrew' (#152, #249)
Sebastian Pipping [Sun, 27 Jan 2019 16:30:01 +0000 (17:30 +0100)]
qa.sh: Link with clang for Address Sanitizer
Sebastian Pipping [Sun, 27 Jan 2019 16:08:36 +0000 (17:08 +0100)]
qa.sh: Dump config.log for configure failures
Sebastian Pipping [Sun, 27 Jan 2019 15:24:24 +0000 (16:24 +0100)]
Travis CI: Keep macOS $PATH away from Linux
Stephen [Wed, 27 Sep 2017 16:50:18 +0000 (09:50 -0700)]
Travis CI: Test OSX
Use Brewfile for dependencies
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
Sebastian Pipping [Sat, 26 Jan 2019 19:44:39 +0000 (20:44 +0100)]
Merge branch 'issue-247-fix-configure-without-docbook' (fixes #247)
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.
Sebastian Pipping [Sat, 26 Jan 2019 17:56:10 +0000 (18:56 +0100)]
Merge branch 'issue-245-visibility-check' (fixes #245)
Sebastian Pipping [Sat, 26 Jan 2019 17:55:51 +0000 (18:55 +0100)]
Changes: Mention PR #246
Sebastian Pipping [Sat, 26 Jan 2019 17:35:37 +0000 (18:35 +0100)]
m4: Fix check for -fvisibility=hidden for Clang
Sebastian Pipping [Sat, 26 Jan 2019 15:40:11 +0000 (16:40 +0100)]
m4: Reformat C test code to be readable
Sebastian Pipping [Fri, 11 Jan 2019 00:33:00 +0000 (01:33 +0100)]
Merge branch 'sdroege-win32-def-file-syntax'
Sebastian Pipping [Fri, 11 Jan 2019 00:32:25 +0000 (01:32 +0100)]
Changes: Document fix to #243
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
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
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.
Sebastian Pipping [Sun, 21 Oct 2018 13:00:12 +0000 (15:00 +0200)]
Merge branch 'KangLin-master' (#227)