Commit Graph

2961 Commits

Author SHA1 Message Date
Sebastian Pipping
3270bbab5c
Merge pull request #290 from manish3kumar/integrate-sa
Integrate cppcheck with travis-ci for libexpat
2019-07-24 01:18:43 +02:00
Manish, Kumar
0a917b38f1 Integrate cppcheck with travis-ci for libexpat
Signed-off-by: Manish, Kumar <manish3.kumar@intel.com>
2019-07-23 17:43:53 +05:30
Sebastian Pipping
1a7b1a72a9 Merge branch 'travis-clang-9' 2019-07-23 00:53:53 +02:00
Sebastian Pipping
abc10118d5 Travis CI: Use Clang 9 on Linux 2019-07-23 00:07:31 +02:00
Sebastian Pipping
99cc61c438 qa.sh: Dump compiler version 2019-07-22 23:56:30 +02:00
Sebastian Pipping
d71e3c802a 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:
- 10c2354588 — AppVeyor
- 88cf657da9 — Travis
2019-07-22 23:39:56 +02:00
Sebastian Pipping
b21ab1d1f4 Merge branch 'solve-warnings.marcomaggi-2018-10-30' (fixes #235) 2019-07-22 23:18:58 +02:00
Marco Maggi
775cfba1d5 fixed warning about potential null pointer dereference 2019-07-22 23:15:12 +02:00
Sebastian Pipping
be784f0c9c runtests.c: Address warnings about variable shadowing 2019-07-22 23:03:11 +02:00
Sebastian Pipping
9f9e9403cb Merge branch 'marcomaggi-cleaner-test-for-mingw.marcomaggi-2018-10-28' (fixes #231) 2019-07-21 23:14:03 +02:00
Sebastian Pipping
0fa72e8086 configure.ac: Use curly braces for variable 2019-07-21 22:57:48 +02:00
Sebastian Pipping
9d6915ab8a configure.ac: Adhust spelling of MinGW 2019-07-21 22:35:05 +02:00
Marco Maggi
3e3dc1f0f7 cleaner test for mingw as host system 2019-07-21 22:28:45 +02:00
Sebastian Pipping
88cf657da9 Travis CI: Drop "git.depth: 1" because subsequent pushes were failing ongoing builds
See 10c2354588 for AppVeyor and more details.
2019-07-20 17:26:20 +02:00
Marco Maggi
3f8e28f3cb fixed use of compilation flags in coverage script (#229) 2019-07-20 17:11:39 +02:00
Sebastian Pipping
926880c3e3 Merge branch 'marcomaggi-shell-scripts-review.marcomaggi-2018-10-21' (fixes #229) 2019-07-20 17:06:16 +02:00
Sebastian Pipping
224c217eb6 clean_coverage.sh: Use portable shebang 2019-07-20 17:05:32 +02:00
Marco Maggi
54f1dff7ac added shebang and comments to clean_coverage script 2019-07-20 17:05:02 +02:00
Sebastian Pipping
21e11f7782 internal.h: Fix UNUSED_P for GCC 3.3 (fixes #288) 2019-07-20 16:42:21 +02:00
Sebastian Pipping
9c9d0d1a1f runtests.c: Address cppcheck warning (fixes #283)
[tests/runtests.c:647]: (error) Address of local auto-variable assigned to a function parameter.
2019-07-17 18:05:17 +02:00
Sebastian Pipping
10c2354588 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 d4d8d486af
  fatal: reference is not a tree: d4d8d486af

Cause:
  A more recent push made d4d8d486af
  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
2019-07-17 17:28:31 +02:00
Sebastian Pipping
c906acdafc xmlwf: Ensure that STDMETHODIMP_ is defined for cppcheck (fixes #285) 2019-07-17 16:38:39 +02:00
Sebastian Pipping
d4d8d486af xmltok.c: Use memcpy instead of copying single bytes (fixes #282)
Fixes cppcheck's complaint as a side-effect.
2019-07-17 16:21:32 +02:00
Sebastian Pipping
c5b3ce0932 tests: Silence cppcheck false positive (fixes #284) 2019-07-17 16:02:09 +02:00
Sebastian Pipping
987b9f9758 Merge branch 'MohammedKhajapasha-issue_273' (#281, fixes #273) 2019-07-15 00:17:57 +02:00
Sebastian Pipping
982193d47a 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.
2019-07-15 00:15:14 +02:00
Sebastian Pipping
c8a93553c7 Travis: Drop test of in-source CMake
Out-of-source CMake is still there and is more important.
2019-07-15 00:05:25 +02:00
Mohammed Khajapasha
974a0a8a7d Enable CI for XML_ATTR_INFO
Enable CI to cover XML_ATTR_INFO feature.

Signed-off-by: Mohammed Khajapasha <mohammed.khajapasha@intel.com>
2019-07-12 05:14:26 +00:00
Sebastian Pipping
28edd45043 Merge branch 'rewrite-qa-sh' (#278) 2019-07-10 15:21:48 +02:00
Sebastian Pipping
538d5433a8 Travis: Move from exclusion to inclusion approach 2019-07-10 03:41:56 +02:00
Sebastian Pipping
109ed472d8 Travis: Excluding UndefinedBehaviorSanitizer for macOS due to link errors
https://travis-ci.org/libexpat/libexpat/jobs/556567990#L529
2019-07-10 03:41:56 +02:00
Sebastian Pipping
f23548f9bd Travis: Disable gcov mode on macOS for lack of -s argument
gcov: Unknown command line argument '-s'
2019-07-10 03:41:56 +02:00
Sebastian Pipping
e0b1b273c1 Travis: Fix MemorySanitizer exclude for macOS 2019-07-10 00:31:19 +02:00
Sebastian Pipping
429bf39b02 qa.sh: Pass -fsanitize=undefined to linker as well 2019-07-10 00:31:19 +02:00
Sebastian Pipping
23e95b42b4 qa.sh: Use clang++ to link (for ubsan) 2019-07-10 00:31:19 +02:00
Sebastian Pipping
99d60755bd qa.sh: Support GCC coverage reporting with Apple GCC as well 2019-07-10 00:31:19 +02:00
Sebastian Pipping
240957b865 Travis: Cover MemorySanitizer and UndefinedBehaviorSanitizer 2019-07-10 00:31:16 +02:00
Sebastian Pipping
25c46e0acf qa.sh: Re-write
- A bit more flexible and high level
- Drop support for ncc
- Fix coverage rendering, drop split mode
2019-07-10 00:02:14 +02:00
Sebastian Pipping
bf926a6edc Merge branch 'kkkunche-issue_239' (#239, #277) 2019-07-09 23:26:06 +02:00
Sebastian Pipping
434f549134 Changes: Document #239 and #277 2019-07-09 23:18:21 +02:00
Sebastian Pipping
17c1fb49e7 CMake: Write expat_config.h as late as needed
Previously, our post-processing of HAVE_GETRANDOM did
was not applied to expat_config.h.
2019-07-09 23:14:18 +02:00
Sebastian Pipping
a33e021955 CMake: Resolve code duplication by use of a macro 2019-07-09 23:14:05 +02:00
Sebastian Pipping
dfef43bf9b CMake: Support bypassing auto-detection of syscall SYS_getrandom 2019-07-09 23:13:54 +02:00
Sebastian Pipping
592528b6b3 CMake: Turn getrandom build flag into a tribool 2019-07-09 23:13:54 +02:00
Sebastian Pipping
c43fea5e10 CMake: Move reset of HAVE_GETRANDOM after ConfigureChecks.cmake 2019-07-09 23:13:23 +02:00
kkkunche
bba9d973c7 CMake: Option to Disable the usuage of getrandom after autodetect 2019-07-09 23:13:23 +02:00
Sebastian Pipping
4eeb9af97a Merge branch 'issue-268-address-variable-shadowing' (#270, fixes #268) 2019-07-06 19:17:52 +02:00
Sebastian Pipping
cd2d9826a5 Changes: Mention #268 and #270 2019-07-06 19:17:05 +02:00
Sebastian Pipping
cdad8bad64 Changes: Mention #244 2019-07-03 22:58:49 +02:00
Sebastian Pipping
df83b430f5 Merge branch 'MohammedKhajapasha-master' (#264) 2019-07-03 22:53:12 +02:00