Sebastian Pipping
ea60ef34a7
Drop remaining support for Visual Studio 2008, 2010, 2012 ( #422 )
2020-10-03 21:30:13 +02:00
Sebastian Pipping
60425e0fff
Revert "AppVeyor: Be explicit about build script to support msbuild 3.5"
...
This reverts commit 24d6dd8c2d
.
2020-10-03 21:13:40 +02:00
Sebastian Pipping
2e63c25864
Revert "AppVeyor: Cover 32bit Visual Studio 9 2008 using MSBuild 3.5"
...
This reverts commit d073dd63d3
.
2020-10-03 21:13:35 +02:00
Sebastian Pipping
179a0c5526
CMake: Remove unused variable
2020-10-03 21:09:32 +02:00
Sebastian Pipping
162e16b0a7
Merge branch 'issue-415-release-expat-2-2-10' ( #415 )
2020-10-03 17:14:57 +02:00
Sebastian Pipping
c686d358b3
Set release date for 2.2.10
2020-10-03 00:49:39 +02:00
Sebastian Pipping
3265243064
Bump version info from 7:11:6 to 7:12:6
2020-10-03 00:49:39 +02:00
Sebastian Pipping
3af8f46e3f
Bump version from 2.2.9 to 2.2.10
2020-10-03 00:49:33 +02:00
Sebastian Pipping
d0ad8e21ca
Changes: Document #405 #356 #359 #394 #366 #412 #368 #369
2020-10-03 00:43:37 +02:00
Sebastian Pipping
5644f0fa8e
CMake: Turn endif(..) into endif(), and else(..) into else()
...
Related documentation:
https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#isnt-the-expression-in-the-elseexpression-confusing
2020-10-03 00:43:37 +02:00
Sebastian Pipping
cdeadf8522
tests: Add missing static to address compiler warning
...
Warning was:
runtests.c:112:1: warning: no previous prototype for ‘tcase_add_test__ifdef_xml_dtd’ [-Wmissing-prototypes]
2020-10-03 00:43:37 +02:00
Sebastian Pipping
10155503c6
Merge branch 'cmake-support-simple-package-creation-based-on-cpack' ( #424 )
2020-10-01 21:30:44 +02:00
Sebastian Pipping
11796c2166
Changes: Document #424
2020-10-01 21:28:37 +02:00
Sebastian Pipping
559f90fed7
CMake: Support "make package" based on CPack
...
On Linux, this will create a file "expat-2.2.9-Linux.tar.gz"
with the following content:
$ tar tf expat-2.2.9-Linux.tar.gz | sort | grep -v '/$'
expat-2.2.9-Linux/bin/xmlwf
expat-2.2.9-Linux/include/expat_config.h
expat-2.2.9-Linux/include/expat_external.h
expat-2.2.9-Linux/include/expat.h
expat-2.2.9-Linux/lib64/cmake/expat-2.2.9/expat.cmake
expat-2.2.9-Linux/lib64/cmake/expat-2.2.9/expat-config.cmake
expat-2.2.9-Linux/lib64/cmake/expat-2.2.9/expat-config-version.cmake
expat-2.2.9-Linux/lib64/cmake/expat-2.2.9/expat-noconfig.cmake
expat-2.2.9-Linux/lib64/libexpat.so
expat-2.2.9-Linux/lib64/libexpat.so.1
expat-2.2.9-Linux/lib64/libexpat.so.1.6.11
expat-2.2.9-Linux/lib64/pkgconfig/expat.pc
expat-2.2.9-Linux/share/doc/expat/AUTHORS
expat-2.2.9-Linux/share/doc/expat/changelog
expat-2.2.9-Linux/share/man/man1/xmlwf.1
2020-10-01 21:23:00 +02:00
Sebastian Pipping
2e63ab0782
Merge branch 'gittiver-master' ( #419 )
2020-09-26 14:54:39 +02:00
Sebastian Pipping
373e974b11
Changes: Document #419
2020-09-26 14:52:44 +02:00
Sebastian Pipping
006603972e
Merge pull request #421 from libexpat/leaksan
...
qa.sh: Enable LeakSanitizer
2020-09-26 01:36:42 +02:00
Sebastian Pipping
639e28fc2e
qa.sh: Enable LeakSanitizer
2020-09-25 20:18:33 +02:00
Sebastian Pipping
9ab26c18fd
Merge pull request #420 from libexpat/issue-418-visual-studio-2019
...
AppVeyor: Cover Visual Studio 16 2019 (related to #418 )
2020-09-25 01:09:28 +02:00
Sebastian Pipping
8668a8d0e3
AppVeyor: Cover Visual Studio 16 2019
2020-09-24 23:09:14 +02:00
Gulliver
20f824e8e8
added "new" behaviour for Policy CMP0077 which allows to control the build options by variables if lib is used by FetchContent of a super project
2020-09-18 18:59:38 +02:00
Sebastian Pipping
d8daead33e
installer: Add missing file to fix build from installed sources ( #409 )
2020-09-10 20:01:04 +02:00
Sebastian Pipping
1bb22cd03a
Merge pull request #414 from libexpat/issue-413-allow-installation-of-pkgconfig-file-with-msvc
...
CMake: Introduce option EXPAT_BUILD_PKGCONFIG (fixes #413 )
2020-08-21 22:52:19 +02:00
Sebastian Pipping
86283117f1
readme: Sync list of CMake options
2020-08-20 22:02:30 +02:00
Sebastian Pipping
f438563a78
CMake: Introduce option EXPAT_BUILD_PKGCONFIG ( #413 )
2020-08-20 21:59:18 +02:00
Sebastian Pipping
c092d40c30
Merge pull request #412 from boris-kolpackov/unsigned-overflow
...
Get rid of unsigned integer overflow in column calculation
2020-08-17 23:17:39 +02:00
Boris Kolpackov
81ae3e7208
Get rid of unsigned integer overflow in column calculation
...
While unsigned integer overflow is well-defined, Android sanitizers treat it
as an error. We also have some in the SipHash implementation but those won't
be easy to get rid of.
2020-08-17 16:08:56 +02:00
Sebastian Pipping
990e3d07ea
Merge pull request #411 from libexpat/cmake-linker-flags
...
CMake: Consider use of CMAKE_{EXE,MODULE,SHARED}_LINKER_FLAGS
2020-07-17 23:58:05 +02:00
Sebastian Pipping
eca7704fd4
Merge pull request #410 from libexpat/const-correctness
...
Be more correct about const correctness on the inside
2020-07-17 23:57:22 +02:00
Sebastian Pipping
e94b0b243e
CMake: Consider use of CMAKE_{EXE,MODULE,SHARED}_LINKER_FLAGS
2020-07-16 23:46:26 +02:00
Sebastian Pipping
fc0e2365c9
Be more correct about const correctness on the inside
2020-07-16 21:09:00 +02:00
Sebastian Pipping
5a7fe4d19a
Merge branch 'issue-407-alter-expat-output-name-rather-than-target-name' ( #407 , #408 )
2020-07-15 17:37:10 +02:00
Sebastian Pipping
72227166b9
Changes: Document #408
2020-07-15 17:36:31 +02:00
Sebastian Pipping
da7cda3a85
CMake: Get expat target name back to constant "expat"
2020-07-10 19:33:34 +02:00
Sebastian Pipping
2536864532
Merge branch 'klebertarcisio-klebertarcisio-patch-1' ( fixes #406 )
2020-06-22 19:59:06 +02:00
Sebastian Pipping
308d470e00
Changes: Document #406
2020-06-22 19:58:33 +02:00
Kleber Tarcísio
12a7276f3e
xmlwf: Checks value after calling malloc
2020-06-22 19:56:34 +02:00
Sebastian Pipping
a76fd99bf7
Merge pull request #405 from libexpat/issue-404-address-cppcheck-failure
...
Address Cppcheck failure (fixes #404 )
2020-05-28 21:48:33 +02:00
Sebastian Pipping
f027055f9d
Travis: Limit Cppcheck to macOS
...
.. because Homebrew comes with 2.0 while
Ubuntu trusty has 1.61, only.
2020-05-28 01:59:04 +02:00
Sebastian Pipping
13bb381d29
xmlparse.c: Fix reading uninitialized variable ( #404 )
2020-05-28 01:57:06 +02:00
Sebastian Pipping
e4262a282e
Travis: Improve call to cppcheck
...
This adds:
- argument --force
- blacklists .c files that are ment to be included, only
- printing the version of cppcheck
2020-05-27 20:33:49 +02:00
Sebastian Pipping
d83fc3afd5
Travis: Install a find(1) better than that of macOS
2020-05-27 20:33:16 +02:00
Sebastian Pipping
867bb34373
Merge branch 'notroj-xmlwf-doc-exitcode' ( #403 )
2020-05-13 14:42:18 +02:00
Sebastian Pipping
49ef210fc8
Changes: Document #403
2020-05-13 14:40:29 +02:00
Joe Orton
f1634dbaea
Update xmlwf to exit with 3 if an output file could not be opened.
...
Update xmlwf exit code docs per review.
2020-05-13 08:36:56 +01:00
Joe Orton
38cfc7165f
Document the exit codes for xmlwf.
2020-05-12 09:28:40 +01:00
Sebastian Pipping
e976867fb5
Merge branch 'bungeman-ubsan' ( #398 )
2020-04-20 15:21:36 +02:00
Sebastian Pipping
f2172ff9bf
Changes: Document #398
2020-04-20 15:21:25 +02:00
Ben Wagner
49c165c5a8
Don't add to NULL in iterator.
...
In C it is undefined to add anything to NULL. Clang recently began
taking advantage of this and can assume that if anything is added or
subtracted from a pointer that the pointer can be assumed non-NULL. The
Address Sanitizer has been updated to report when this happens at
runtime and produces messages like
expat/lib/xmlparse.c:6509:23: runtime error: applying zero offset to null pointer
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior expat/lib/xmlparse.c:6509:23
This can be mitigated with 'p ? p + n : NULL' which optimizes to just
the add in all optimizing compilers, but avoids the undefined behavior.
2020-04-07 13:12:18 -04:00
Sebastian Pipping
c0bfb97ddd
Merge pull request #392 from libexpat/issue-387-use-werror-during-flag-support-detection
...
conftools: Use -Werror when checking compile flags
2020-03-20 16:39:56 +01:00