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
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
Sebastian Pipping
25051a4c8e
Merge pull request #265 from xantares/patch-1
...
Fix link step on MinGW for CMake
2019-06-20 20:40:56 +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