Commit Graph

2610 Commits

Author SHA1 Message Date
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
kkkunche
3987529951 Correct the indentation for configure.ac 2019-08-12 21:16:56 +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
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
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
879021192b Changes: Document fix to #240 2019-08-04 15:17:07 +02:00
Sebastian Pipping
ee4581af41 runtests.c: Add two test cases for/from issue #240
Many thanks to Rolf Ade (@pointsman)!
2019-08-04 15:17:07 +02:00
Sebastian Pipping
4007706509 xmlparse.c: Fix effect of XML_StopParser for end element handlers (#240) 2019-08-04 15:15:27 +02:00
Sebastian Pipping
f485410a9b Changes: Document mass-application of clang-format 9 2019-08-03 21:31:44 +02:00
clang-format
d248bbd940 Mass-apply clang-format 9 using ./apply-clang-format.sh 2019-08-03 21:31:44 +02:00
Sebastian Pipping
c951711d75 siphash.h: Prepare for application of clang-format 2019-08-03 21:31:44 +02:00
Sebastian Pipping
65fcabba37 runtests.c: Mark some sections as to be excluded by clang-format
This will make clang-format 9 produce stable results.
2019-08-03 21:31:44 +02:00
Sebastian Pipping
61b010bde6 xmltok_impl.c: Re-format use of LEAD_CASE macro
This will make clang-format 9 produce stable results.
2019-08-03 21:31:44 +02:00
Sebastian Pipping
090b1cbdef Travis CI: Integrate clang-format 9 2019-08-03 21:31:44 +02:00
Sebastian Pipping
51ba984bb3 .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.
2019-08-03 21:31:44 +02:00
Sebastian Pipping
88495639de .clang-format: Tune 2019-08-03 21:31:44 +02:00
Sebastian Pipping
91abe04b2f .clang-format: Update to clang-format 9 default style 2019-08-03 20:34:04 +02:00
Sebastian Pipping
da2bc32938 .clang-format: Pin clang-format 8 default style
Trailing whitespace has been removed.
2019-08-03 20:34:04 +02:00
Sebastian Pipping
3a3f873a16 Makefile.am: Make "run-xmltest" robust to wine error output 2019-07-30 23:29:16 +02:00
Sebastian Pipping
f0b8636ccc qa.sh: Add missing DLL symlinks for MinGW 2019-07-30 21:27:05 +02:00
Sebastian Pipping
0ff0d45359 qa.sh: Show tests/runtests*.log on "make check" failure for MinGW 2019-07-30 21:27:05 +02:00
Sebastian Pipping
ef075b086f Changes: Document #286 2019-07-29 22:04:36 +02:00
Sebastian Pipping
55854c993e xmlwf: Drop COM code 2019-07-29 22:04:36 +02:00
Philippe Antoine
689d9245f8 qa.sh: Pass command line arguments to ./configure 2019-07-28 23:47:22 +02:00
Marco Maggi
b306ee963f minicheck.c: Fix volatile variables (#235) 2019-07-28 23:13:56 +02:00
Sebastian Pipping
c174c05433 expat.h: Drop OpenVMS support leftover (#14) 2019-07-28 17:58:56 +02:00
Sebastian Pipping
8a327049d8 Changes: Add missing entries 2019-07-28 02:01:03 +02:00