]>
granicus.if.org Git - libexpat/log
Sebastian Pipping [Wed, 7 Aug 2019 22:14:21 +0000 (00:14 +0200)]
Merge branch 'david-loffredo-rand_s-test' (#302, fixes #299)
Sebastian Pipping [Wed, 7 Aug 2019 17:48:55 +0000 (19:48 +0200)]
Changes: Document #299 and #302
Sebastian Pipping [Wed, 7 Aug 2019 17:50:24 +0000 (19:50 +0200)]
xmlparse.c: Mention rand_s with stdlib include
David Loffredo [Wed, 7 Aug 2019 17:43:38 +0000 (19:43 +0200)]
replace loadlibrary.c and RtlGenRandom call with rand_s() on windows
Signed-off-by: David Loffredo <loffredo@steptools.com>
David Loffredo [Wed, 7 Aug 2019 03:19:48 +0000 (23:19 -0400)]
Make win32 stdlib.h define rand_s(), add writeRandomBytes_rand_s().
Signed-off-by: David Loffredo <loffredo@steptools.com>
Sebastian Pipping [Wed, 7 Aug 2019 13:08:44 +0000 (15:08 +0200)]
Merge pull request #298 from libexpat/issue-240-stopping-parser-from-inside-end-element-handler
Fix stopping parser from inside end element handler (#240)
Sebastian Pipping [Wed, 31 Jul 2019 18:50:32 +0000 (20:50 +0200)]
Changes: Document fix to #240
Sebastian Pipping [Wed, 31 Jul 2019 18:41:24 +0000 (20:41 +0200)]
runtests.c: Add two test cases for/from issue #240
Many thanks to Rolf Ade (@pointsman)!
Sebastian Pipping [Wed, 31 Jul 2019 18:15:38 +0000 (20:15 +0200)]
xmlparse.c: Fix effect of XML_StopParser for end element handlers (#240)
Sebastian Pipping [Sun, 4 Aug 2019 13:07:36 +0000 (15:07 +0200)]
Merge branch 'clang-format-9' (#293, fixes #24)
Sebastian Pipping [Sat, 3 Aug 2019 18:42:43 +0000 (20:42 +0200)]
Changes: Document mass-application of clang-format 9
clang-format [Sat, 3 Aug 2019 18:34:54 +0000 (20:34 +0200)]
Mass-apply clang-format 9 using ./apply-clang-format.sh
Sebastian Pipping [Sun, 28 Jul 2019 15:14:06 +0000 (17:14 +0200)]
siphash.h: Prepare for application of clang-format
Sebastian Pipping [Fri, 26 Jul 2019 19:33:14 +0000 (21:33 +0200)]
runtests.c: Mark some sections as to be excluded by clang-format
This will make clang-format 9 produce stable results.
Sebastian Pipping [Fri, 26 Jul 2019 19:23:01 +0000 (21:23 +0200)]
xmltok_impl.c: Re-format use of LEAD_CASE macro
This will make clang-format 9 produce stable results.
Sebastian Pipping [Wed, 24 Jul 2019 18:48:55 +0000 (20:48 +0200)]
Travis CI: Integrate clang-format 9
Sebastian Pipping [Thu, 25 Jul 2019 19:47:36 +0000 (21:47 +0200)]
.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.
Sebastian Pipping [Wed, 24 Jul 2019 18:06:22 +0000 (20:06 +0200)]
.clang-format: Tune
Sebastian Pipping [Thu, 25 Jul 2019 18:36:54 +0000 (20:36 +0200)]
.clang-format: Update to clang-format 9 default style
Sebastian Pipping [Wed, 24 Jul 2019 18:00:38 +0000 (20:00 +0200)]
.clang-format: Pin clang-format 8 default style
Trailing whitespace has been removed.
Sebastian Pipping [Tue, 30 Jul 2019 22:26:23 +0000 (00:26 +0200)]
Merge branch 'issue-266-make-travis-ci-cover-mingw' (#266)
Sebastian Pipping [Tue, 30 Jul 2019 19:32:41 +0000 (21:32 +0200)]
Travis CI: Cover MinGW
Sebastian Pipping [Tue, 30 Jul 2019 19:31:56 +0000 (21:31 +0200)]
Travis CI: Compress some whitespace for upcoming extension
Sebastian Pipping [Mon, 29 Jul 2019 22:43:44 +0000 (00:43 +0200)]
Makefile.am: Make "run-xmltest" robust to wine error output
Sebastian Pipping [Sun, 28 Jul 2019 20:32:00 +0000 (22:32 +0200)]
qa.sh: Add missing DLL symlinks for MinGW
Sebastian Pipping [Sun, 28 Jul 2019 20:15:58 +0000 (22:15 +0200)]
qa.sh: Show tests/runtests*.log on "make check" failure for MinGW
Sebastian Pipping [Mon, 29 Jul 2019 20:05:04 +0000 (22:05 +0200)]
Merge branch 'drop-xmlwf-com-code' (#286)
Sebastian Pipping [Mon, 29 Jul 2019 19:59:44 +0000 (21:59 +0200)]
Changes: Document #286
Sebastian Pipping [Wed, 17 Jul 2019 14:42:27 +0000 (16:42 +0200)]
xmlwf: Drop COM code
Sebastian Pipping [Mon, 29 Jul 2019 18:11:13 +0000 (20:11 +0200)]
Merge pull request #296 from libexpat/fix-qa-sh-integration
Fix qa.sh integration
Philippe Antoine [Sun, 28 Jul 2019 19:19:05 +0000 (21:19 +0200)]
Travis CI: Pass ${CONFIGURE_ARGS} to ./qa.sh
Philippe Antoine [Sun, 28 Jul 2019 19:10:36 +0000 (21:10 +0200)]
qa.sh: Pass command line arguments to ./configure
Marco Maggi [Tue, 30 Oct 2018 08:23:34 +0000 (09:23 +0100)]
minicheck.c: Fix volatile variables (#235)
Sebastian Pipping [Sun, 28 Jul 2019 19:09:58 +0000 (21:09 +0200)]
Travis CI: Move cppcheck according to alphabetic order
Sebastian Pipping [Sun, 28 Jul 2019 15:08:05 +0000 (17:08 +0200)]
expat.h: Drop OpenVMS support leftover (#14)
Sebastian Pipping [Sat, 27 Jul 2019 23:59:06 +0000 (01:59 +0200)]
Changes: Add missing entries
Sebastian Pipping [Sat, 27 Jul 2019 23:38:47 +0000 (01:38 +0200)]
Merge branch 'clang-static-analyzer'
Sebastian Pipping [Sat, 27 Jul 2019 22:48:24 +0000 (00:48 +0200)]
runtests.c: Address null pointer warnings by Clang Static Analyzer
Sebastian Pipping [Sat, 27 Jul 2019 23:05:24 +0000 (01:05 +0200)]
structdata.c: Address Clang Static Analyzer warnings (#294)
Sebastian Pipping [Sat, 27 Jul 2019 22:07:40 +0000 (00:07 +0200)]
xmlparse.c: Address Clang Static Analyzer false positive (#295)
Sebastian Pipping [Fri, 26 Jul 2019 19:44:08 +0000 (21:44 +0200)]
runtests.c: Pull semicolon out of braces
Sebastian Pipping [Fri, 26 Jul 2019 19:31:22 +0000 (21:31 +0200)]
runtests.c: Reduce code duplication
Sebastian Pipping [Wed, 24 Jul 2019 20:31:25 +0000 (22:31 +0200)]
Travis CI: Drop "sudo: required"
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.