Commit Graph

2544 Commits

Author SHA1 Message Date
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
Sebastian Pipping
cdad8bad64 Changes: Mention #244 2019-07-03 22:58:49 +02:00
Sebastian Pipping
aa1faa2de5 Changes: Document #264 2019-07-03 22:52:32 +02:00
Sebastian Pipping
e7c4f16f9e coverage.sh: Simplify if statement
Conistent with unicode_enabled check above
2019-07-03 22:51:38 +02:00
Sebastian Pipping
6d3b700f6e coverage.sh: Make xml_attr_info_enabled match unicode_enabled 2019-07-03 22:39:50 +02:00
Sebastian Pipping
5caac8663e configure: Make --enable-xml-attr-info help match --enable-static 2019-07-03 22:35:38 +02:00
Mohammed Khajapasha
4a2eb0b7f0 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>
2019-07-03 22:32:34 +02:00
Sebastian Pipping
0117f01906 xmlparse.c: Limit scope of new_connector to save sizeof(char*) on the stack 2019-07-01 20:15:11 +02:00
Sebastian Pipping
eef2b12935 xmlparse.c: Drop needless re-calculation of keep (#268)
Fixes variable shadowing as a side effect.
2019-06-29 22:41:54 +02:00
Sebastian Pipping
94ea91cf6a xmlparse.c: Resolve temp variable shadow (#268)
Also add const.
2019-06-29 22:40:44 +02:00
Sebastian Pipping
9c90d3db3a Changes: Attach CVE-2018-20843 to #186 and #262 2019-06-24 20:08:48 +02:00
Sebastian Pipping
f9ff801c5b Changes: Document #265 2019-06-20 21:59:28 +02:00
xantares
42816e3625
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
```
2019-06-20 19:01:30 +02:00
Sebastian Pipping
d3b78b42a2 Bump version from 2.2.6 to 2.2.7 2019-06-19 18:41:14 +02:00
Sebastian Pipping
c04903b3d1 Bump version info from 7:8:6 to 7:9:6 2019-06-19 18:29:05 +02:00
Sebastian Pipping
a91e771f63 Changes: Group/re-order changes for upcoming 2.2.7 2019-06-19 17:58:55 +02:00
Sebastian Pipping
fc65cc00b4 Changes: Document #158 and #263 2019-06-19 15:52:05 +02:00
kkkunche
e4772783d0 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>
2019-06-18 21:59:27 +05:30
Sebastian Pipping
ed682ae567 Changes: Document #186 and #262 2019-06-16 23:58:45 +02:00
Sebastian Pipping
11f8838bf9 xmlparse.c: Fix extraction of namespace prefix from XML name (#186) 2019-06-12 15:42:54 +02:00
Sebastian Pipping
8d922c1ecf Changes: Document #257 2019-05-18 14:11:14 +02:00
Sebastian Pipping
20ee2c0375 Use "/usr/bin/env bash" shebang everywhere for protability (#257) 2019-05-18 14:09:19 +02:00
Jeffrey Walton
42b9c71ead Fix build on OpenBSD (GH #257) 2019-05-18 14:07:06 +02:00
Sebastian Pipping
dcc356ce8e Changes: Remove @ GitHub username marker noise 2019-05-12 19:25:39 +02:00
Sebastian Pipping
844e5482c7 Autotools: Produce .tar.{gz,lz,xz} release archives (#236, #258) 2019-05-12 19:19:40 +02:00
luz.paz
08a0dd4a2e README: Add Repology badge showing repos package is available in 2019-02-02 14:24:18 -05:00
Sebastian Pipping
6e29a8bbaf qa.sh: Link with clang for Address Sanitizer 2019-01-27 21:58:15 +01:00
Sebastian Pipping
75fbe10f71 qa.sh: Dump config.log for configure failures 2019-01-27 21:58:15 +01:00
Sebastian Pipping
1d24a9dc61 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
2019-01-27 21:56:00 +01:00
Sebastian Pipping
95455453b1 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.
2019-01-26 20:34:41 +01:00
Sebastian Pipping
f511408215 Changes: Mention PR #246 2019-01-26 18:55:51 +01:00
Sebastian Pipping
c69657f8fd m4: Fix check for -fvisibility=hidden for Clang 2019-01-26 18:35:37 +01:00
Sebastian Pipping
8a95a28658 m4: Reformat C test code to be readable 2019-01-26 16:42:02 +01:00
Sebastian Pipping
b90d29e44d Changes: Document fix to #243 2019-01-11 01:32:25 +01:00
Sebastian Dröge
1bc4aff75e Fix syntax of Windows module definition files
Otherwise this fails with:
  Cannot export @: symbol not defined
2019-01-10 21:26:07 +02:00