Commit Graph

2829 Commits

Author SHA1 Message Date
Sebastian Pipping
a04764dcf0 runtests.c: Support Visual Studio <=9.x/2008 w/o stdint.h (#180)
Same approach as done in `lib/siphash.h`, earlier.
2017-12-27 13:33:46 +01:00
Sebastian Pipping
c55d52d466 Merge branch 'DerDakon-CMake-installdirs' (pull request #179) 2017-12-14 20:35:47 +01:00
Rolf Eike Beer
5681911965 CMake: Use GNUInstallDirs module to set proper defaults for install directories 2017-12-14 20:35:04 +01:00
Sebastian Pipping
1a53fcb1dd Merge branch 'DerDakon-Travis-CMake-OOS' (merge request #177) 2017-12-13 20:05:52 +01:00
Rolf Eike Beer
c3b63ff202 TravisCI: simplify printing installed files 2017-12-13 20:05:34 +01:00
Rolf Eike Beer
d9c3ae1bb1 TravisCI: also test CMake build out of source 2017-12-13 20:05:34 +01:00
Sebastian Pipping
e6e45f3c6d Merge branch 'DerDakon-CMake-pc' (merge request #176) 2017-12-13 19:51:18 +01:00
Sebastian Pipping
03fe35ef55 Changes: Document #176 2017-12-13 19:49:54 +01:00
Rolf Eike Beer
fa4bf716bd CMake: create the same pkg-config file as the autotools build 2017-12-13 19:48:30 +01:00
Sebastian Pipping
b7fbef9950 Changes: Add missing pull request references for 2.2.6 2017-12-13 18:28:00 +01:00
Sebastian Pipping
50d1ae6c28 Merge branch 'issue-165-fix-configure' (issue #165, pull request #168) 2017-12-13 18:17:36 +01:00
Sebastian Pipping
a2aa5e3fb6 Merge branch 'bradking-check-symbol-exists' (pull request #175) 2017-12-13 15:11:51 +01:00
Sebastian Pipping
bae05371c0 Travis CI: Cover CMake, at least superficially 2017-12-13 15:04:44 +01:00
Brad King
6b3c448153 CMake: Prefer check_symbol_exists over check_function_exists
The `CheckFunctionExists` module documentation recommends using
`CheckSymbolExists` instead.  `check_symbol_exists` verifies that one
can actually include a header file and refer to a symbol.  This is more
robust than just checking whether one can link to a symbol by name.
2017-12-13 07:05:46 -05:00
Sebastian Pipping
cd4b1c49c0 Merge branch 'vanklompf-werror' (pull request #174) 2017-12-06 14:31:51 +01:00
Sebastian Pipping
298f93aa3c Changes: Document new CMake option WARNINGS_AS_ERRORS 2017-12-06 14:29:52 +01:00
vanklompf
ef64aa331d CMake option to treat warnings as errors 2017-12-04 23:31:10 +01:00
Sebastian Pipping
07584712a0 Changes: Move 2.2.6+ changes where they belong
Added to 2.2.5 by mistake, earlier.
2017-12-04 19:39:45 +01:00
Sebastian Pipping
38d1c9aeb4 Changes: Use vanklompf's real name (#173) 2017-12-04 19:32:48 +01:00
Sebastian Pipping
ec8d581b73 Merge branch 'vanklompf-cherry-pick' (issue #131, pr #173) 2017-12-04 00:16:36 +01:00
Sebastian Pipping
5f92189033 Changes: Give credit to vanklompf 2017-12-04 00:15:55 +01:00
Sebastian Pipping
f5322b01ac Address 64bit intptr_t loss warning for Visual Studio
Message was:
warning C4244: '=' : conversion from 'intptr_t' to 'int', possible loss of data
2017-12-04 00:15:55 +01:00
Sebastian Pipping
850c0922e1 Address 64bit size_t loss warning for Visual Studio
Message was:
warning C4267: 'argument' : conversion from 'size_t' to 'int'
2017-12-04 00:15:55 +01:00
Sebastian Pipping
fc9fe8f17c Address warning about sip_tobin by Visual Studio
Message was:
Warning: C4551 function call missing argument
2017-12-03 17:33:35 +01:00
Sebastian Pipping
9add0e11d4 qa.sh: Start using -Werror
.. in a way that does not break existing configure checks
(e.g. the one for memmove)
2017-12-03 17:18:30 +01:00
Sebastian Pipping
47135a3cca Add Visual Studio const correctness compiler warnings
Warning was:
warning C4090: 'function' : different 'const' qualifiers
2017-12-03 17:15:02 +01:00
vanklompf
bc54490e6d Fix missing posix functions declaration on Visual Studio build 2017-12-03 16:31:12 +01:00
vanklompf
399eadd15d Enable CRT_SECURE_NO_WARNINGS in default VC projects
Silence warnings on windows builds
2017-12-03 16:30:58 +01:00
Sebastian Pipping
8e3f402efe Fix configure syntax error (#165) 2017-11-02 22:20:11 +01:00
Sebastian Pipping
86cbbb2e74 Changes: Limit scope of grep -q to autotools build system (#166) 2017-11-02 22:18:11 +01:00
Sebastian Pipping
96dfe50341 Merge branch 'notroj-doc2man' (#167) 2017-11-02 22:17:17 +01:00
Sebastian Pipping
e41c222677 Changes: Document #167 2017-11-02 22:16:37 +01:00
Joe Orton
b242236c8e Allow configure with DOCBOOK_TO_MAN="xmlto man --skip-validation". 2017-11-02 22:11:49 +01:00
Sebastian Pipping
622da3af18 Avoid grep option -q for Solaris (#166)
Also utilize variable ${FGREP} set by configure
2017-11-02 21:37:38 +01:00
Sebastian Pipping
336b921708 Changes: Document upgrade to Visual Studio 2017
Related commit: a1f553f5f5
2017-11-01 19:36:06 +01:00
Karl Waclawek
968b8cc46d Improved Win32 setup file name. 2017-11-01 10:47:55 -04:00
Karl Waclawek
99c17d3b98 Simplified version number updating in setup file for Win32. Fixed Copyright character for UTF-8. 2017-11-01 10:43:36 -04:00
Karl Waclawek
a1f553f5f5 Auto-upgrade of project files performed by Visual Studio 2017. This should not be a problem as the Community Edition of VS 2017 can be obtained for free. 2017-11-01 10:09:14 -04:00
Sebastian Pipping
5f9bc4836f Prepare release version 2.2.5 (#133) 2017-10-31 17:20:31 +01:00
Sebastian Pipping
824b9efe25 Extend .gitignore 2017-10-31 17:20:31 +01:00
Sebastian Pipping
0a6b7d2f31 Bump version info from 7:6:6 to 7:7:6 (#133) 2017-10-27 20:05:59 +02:00
Sebastian Pipping
0f5186c7b8 Support docbook-to-man command, e.g. for openSUSE (#153) 2017-10-27 19:47:08 +02:00
Sebastian Pipping
6fe62b6cbc Merge branch 'zmodem-ErrorString_switch' (pull request #162) 2017-10-25 14:13:56 +02:00
Sebastian Pipping
c227d90984 Changes: Document lack of XML_ERROR_INVALID_ARGUMENT message 2017-10-25 14:12:57 +02:00
Sebastian Pipping
4cf92e08cf xmlparse.c: Add version information to XML_ErrorString messages
.. based on comments from enum XML_Error in expat.h.
2017-10-25 14:09:23 +02:00
Hans Wennborg
5ae72360c6 XML_ErrorString: handle XML_ERROR_INVALID_ARGUMENT
Previously, this enum didn't have any error string.
2017-10-25 13:42:44 +02:00
Hans Wennborg
0ab7640bd9 Rewrite XML_ErrorString to use a switch
This makes it a little easier to correlate each enumerator with its
error message, and the compiler should generate a lookup table anyway.

It also avoids running into Clang's -Wsign-compare warning when building
on Windows (where enum's are signed ints):

  error: comparison of integers of different signs: 'enum XML_Error'
  and 'unsigned int' [-Werror,-Wsign-compare]
  if (code > 0 && code < sizeof(message)/sizeof(message[0]))
                  ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

We ran into this when building Chromium on Windows using a recent version of
Clang.
2017-10-25 13:42:44 +02:00
Sebastian Pipping
5c224d67ec xmlparse.c: Make failproof entropy providers stand out more 2017-10-24 22:50:01 +02:00
Sebastian Pipping
a80b209884 xmlparse.c: Address warning about unused functions (#161) 2017-10-24 22:46:30 +02:00
Sebastian Pipping
535047b10c Tests: Fix CPPFLAGS=-DNDEBUG ourselves (#160) 2017-10-24 21:41:18 +02:00