Commit Graph

2578 Commits

Author SHA1 Message Date
clang-format
d248bbd940 Mass-apply clang-format 9 using ./apply-clang-format.sh 2019-08-03 21:31:44 +02:00
Sebastian Pipping
c951711d75 siphash.h: Prepare for application of clang-format 2019-08-03 21:31:44 +02:00
Sebastian Pipping
65fcabba37 runtests.c: Mark some sections as to be excluded by clang-format
This will make clang-format 9 produce stable results.
2019-08-03 21:31:44 +02:00
Sebastian Pipping
61b010bde6 xmltok_impl.c: Re-format use of LEAD_CASE macro
This will make clang-format 9 produce stable results.
2019-08-03 21:31:44 +02:00
Sebastian Pipping
090b1cbdef Travis CI: Integrate clang-format 9 2019-08-03 21:31:44 +02:00
Sebastian Pipping
51ba984bb3 .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.
2019-08-03 21:31:44 +02:00
Sebastian Pipping
88495639de .clang-format: Tune 2019-08-03 21:31:44 +02:00
Sebastian Pipping
91abe04b2f .clang-format: Update to clang-format 9 default style 2019-08-03 20:34:04 +02:00
Sebastian Pipping
da2bc32938 .clang-format: Pin clang-format 8 default style
Trailing whitespace has been removed.
2019-08-03 20:34:04 +02:00
Sebastian Pipping
3a3f873a16 Makefile.am: Make "run-xmltest" robust to wine error output 2019-07-30 23:29:16 +02:00
Sebastian Pipping
f0b8636ccc qa.sh: Add missing DLL symlinks for MinGW 2019-07-30 21:27:05 +02:00
Sebastian Pipping
0ff0d45359 qa.sh: Show tests/runtests*.log on "make check" failure for MinGW 2019-07-30 21:27:05 +02:00
Sebastian Pipping
ef075b086f Changes: Document #286 2019-07-29 22:04:36 +02:00
Sebastian Pipping
55854c993e xmlwf: Drop COM code 2019-07-29 22:04:36 +02:00
Philippe Antoine
689d9245f8 qa.sh: Pass command line arguments to ./configure 2019-07-28 23:47:22 +02:00
Marco Maggi
b306ee963f minicheck.c: Fix volatile variables (#235) 2019-07-28 23:13:56 +02:00
Sebastian Pipping
c174c05433 expat.h: Drop OpenVMS support leftover (#14) 2019-07-28 17:58:56 +02:00
Sebastian Pipping
8a327049d8 Changes: Add missing entries 2019-07-28 02:01:03 +02:00
Sebastian Pipping
8a39eedcd3 runtests.c: Address null pointer warnings by Clang Static Analyzer 2019-07-28 01:38:13 +02:00
Sebastian Pipping
ff0606bb86 structdata.c: Address Clang Static Analyzer warnings (#294) 2019-07-28 01:38:13 +02:00
Sebastian Pipping
3053f53d34 xmlparse.c: Address Clang Static Analyzer false positive (#295) 2019-07-28 00:09:25 +02:00
Sebastian Pipping
ce03de2986 runtests.c: Pull semicolon out of braces 2019-07-27 19:08:48 +02:00
Sebastian Pipping
c6ef133d1b runtests.c: Reduce code duplication 2019-07-27 19:08:40 +02:00
Sebastian Pipping
99cc61c438 qa.sh: Dump compiler version 2019-07-22 23:56:30 +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
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
Marco Maggi
3f8e28f3cb fixed use of compilation flags in coverage script (#229) 2019-07-20 17:11:39 +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
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
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
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
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