Sebastian Pipping
4ad291435c
Merge pull request #316 from libexpat/cmake-postfix
...
CMake: Windows: Make binary postfix match MSVC
2019-08-18 20:25:52 +02:00
Sebastian Pipping
1544741d03
CMake: Add suffix w?d?(MT)? to binaries on Windows
2019-08-17 22:53:48 +02:00
Sebastian Pipping
36ecc4dc12
CMake: Bump version requirement to CMake 3.1.3
2019-08-17 22:50:47 +02:00
Sebastian Pipping
b134d64694
Merge pull request #315 from libexpat/issue-306-configure-ac-style-doc
...
configure-ac-style.md: Add configure.ac style guide (#306 )
2019-08-17 22:15:39 +02:00
Sebastian Pipping
80d2829fa8
Merge branch 'david-loffredo-portable-unused-param-fix' ( #313 )
2019-08-17 18:20:49 +02:00
Sebastian Pipping
75c93b91df
Changes: Document #313
2019-08-17 18:19:41 +02:00
Sebastian Pipping
0b613819d5
Merge branch 'david-loffredo-win64-cast-warnings' ( #310 )
2019-08-17 18:02:26 +02:00
Sebastian Pipping
2950d7287a
Changes: Document #310
2019-08-17 18:01:37 +02:00
Sebastian Pipping
1d920e2865
configure-ac-style.md: Add configure.ac style guide
2019-08-17 17:37:56 +02:00
Sebastian Pipping
df5cd6e01e
Merge pull request #314 from hannob/add_no_common
...
Add -fno-common to ASAN (for global buffer overflows)
2019-08-17 15:40:15 +02:00
David Loffredo
1ec27cb32f
update xmlwf and tests to new UNUSED_P definition
...
Signed-off-by: David Loffredo <loffredo@steptools.com>
2019-08-16 12:20:00 -04:00
David Loffredo
561773607c
handle unused parameters with the usual (void)param; statement rather than gcc-specific attribute
...
Signed-off-by: David Loffredo <loffredo@steptools.com>
2019-08-16 09:52:09 -04:00
Hanno
7f91a3d1b6
Add -fno-common to ASAN tests to make sure global buffer overflows are detected.
2019-08-16 11:45:18 +02:00
David Loffredo
9cb5c2c051
fix loss of data warnings with vc15 win64 and /W4
...
Signed-off-by: David Loffredo <loffredo@steptools.com>
2019-08-15 16:39:48 -04:00
Sebastian Pipping
4fff5a7097
Merge pull request #309 from hannob/ubsan_abort
...
Make sure UBSAN errors cause a hard abort.
2019-08-15 22:29:15 +02:00
Hanno
2299f37fea
Make sure UBSAN errors cause a hard abort.
2019-08-15 20:44:40 +02:00
Sebastian Pipping
363cd4447f
Merge branch 'improve-cmake'
2019-08-12 21:26:50 +02:00
Sebastian Pipping
59da88ab55
CMake: Be fine without C++ compiler when tests are disabled
2019-08-12 21:26:20 +02:00
Sebastian Pipping
af8528242c
CMake: Make use of PROJECT_VERSION
2019-08-12 21:26:20 +02:00
Sebastian Pipping
8783534621
CMake: Require CMake >=3.0.2
2019-08-12 21:26:17 +02:00
Sebastian Pipping
bb0abf601a
CMake: Make version requirement first statement in file
2019-08-12 21:26:08 +02:00
Sebastian Pipping
0d2fe1d114
CMake: Move enable_testing closer to test runner code
2019-08-12 21:26:08 +02:00
Sebastian Pipping
db81bf02a7
CMake: Use SEND_ERROR to report more errors at once
2019-08-12 21:26:08 +02:00
Sebastian Pipping
5ccfc06ff7
CMake: A more section comments
2019-08-12 21:26:08 +02:00
Sebastian Pipping
2f77bfef82
CMake: Move header installation away from pkg-config file code
2019-08-12 21:26:08 +02:00
Sebastian Pipping
823672d853
CMake: Gather configuration options near the top
2019-08-12 21:26:08 +02:00
Sebastian Pipping
19146b7f61
CMake: Produce configuration summary
2019-08-12 21:26:08 +02:00
Sebastian Pipping
68318981c0
CMake: Extract variable test_SRCS
2019-08-12 21:26:08 +02:00
Sebastian Pipping
3b51140335
Merge branch 'kkkunche-issue_302' ( #307 )
2019-08-12 21:17:27 +02:00
kkkunche
3987529951
Correct the indentation for configure.ac
2019-08-12 21:16:56 +02:00
Sebastian Pipping
322ca04c9a
Merge branch 'fix-make-run-xmltest-for-out-of-source-builds'
2019-08-11 21:12:49 +02:00
Sebastian Pipping
c76f2c4690
Changes: Document out-of-source fix to "make run-xmltest"
2019-08-11 19:38:08 +02:00
Sebastian Pipping
d4ed0019a9
Makefile.am: Make "run-xmltest" more robust
...
Robust towards existing file $(srcdir)/tests/xmlts.zip
Robust towards existing directory $(srcdir)/tests/xmlconf/
Because if make finds the in $(srcdir) and does not create them in $(builddir).
2019-08-11 19:38:08 +02:00
Sebastian Pipping
3cb24b6e59
xmltest.sh: Remove dead code
2019-08-11 19:38:08 +02:00
Sebastian Pipping
dc6e298679
xmltest.sh: Fix for out-of-source builds
2019-08-11 19:38:08 +02:00
Sebastian Pipping
ef5be9f1bb
Makefile.am: Support direct "./configure && make run-xmltest"
2019-08-11 19:38:08 +02:00
Sebastian Pipping
17dcf52606
Makefile.am: Use $(srcdir) and $(*builddir) in target "run-xmltest"
2019-08-11 19:38:00 +02:00
Sebastian Pipping
08a7d458bd
apply-clang-format.sh: Adapt to new expat_config.h.cmake line endings
2019-08-11 02:12:18 +02:00
Sebastian Pipping
45e1b4f595
CMake.README: Remove trailing whitespace
2019-08-10 23:53:50 +02:00
dos2unix
5e4af89d56
CMake: Migrate files from Windows to Unix line endings
2019-08-10 23:52:10 +02:00
Sebastian Pipping
ca9c19e161
Changes: Streamline entries about new CMake arguments
2019-08-10 20:33:00 +02:00
Sebastian Pipping
aa6d76e9d9
Merge branch 'kkkunche-239_issues' ( #301 )
2019-08-10 20:31:44 +02:00
Sebastian Pipping
b4690c0d55
Changes: Document #239 and #301
2019-08-10 20:30:27 +02:00
kkkunche
d6cd0e4769
Autotool new options : --with/--without -getrandom and --with/--without -sysgetrandom.
...
Autodetect works by default for getrandom and sysgetrandom.
With the these options user can use the detected functions or ignore them.
2019-08-10 20:25:42 +02:00
Sebastian Pipping
e9db1a75c4
Merge branch 'david-loffredo-rand_s-test' ( #302 , fixes #299 )
2019-08-08 00:14:21 +02:00
Sebastian Pipping
8c1d9c144a
Changes: Document #299 and #302
2019-08-07 19:50:50 +02:00
Sebastian Pipping
8a935ff9ab
xmlparse.c: Mention rand_s with stdlib include
2019-08-07 19:50:50 +02:00
David Loffredo
5d34a708e7
replace loadlibrary.c and RtlGenRandom call with rand_s() on windows
...
Signed-off-by: David Loffredo <loffredo@steptools.com>
2019-08-07 19:43:38 +02:00
David Loffredo
c5a2867de1
Make win32 stdlib.h define rand_s(), add writeRandomBytes_rand_s().
...
Signed-off-by: David Loffredo <loffredo@steptools.com>
2019-08-07 19:42:16 +02:00
Sebastian Pipping
82ea946c17
Merge pull request #298 from libexpat/issue-240-stopping-parser-from-inside-end-element-handler
...
Fix stopping parser from inside end element handler (#240 )
2019-08-07 15:08:44 +02:00