Commit Graph

2615 Commits

Author SHA1 Message Date
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
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
Sebastian Pipping
521657d353 Merge branch 'stephengroat-fix-docbook' (pull request #155) 2017-10-21 20:01:20 +02:00
Sebastian Pipping
68bf904027 Changes: Document #153 and #155 2017-10-21 19:55:32 +02:00
Sebastian Pipping
b1ca18f795 doc/Makefile.am: Round braces for style 2017-10-21 19:50:55 +02:00
Sebastian Pipping
8fa1d0e7cd doc/Makefile.am: Fix mis-use of variable
We want to delete all generated man pages, not all distributed ones.
2017-10-21 19:50:27 +02:00
Sebastian Pipping
b49e3f907e configure.ac: Improve documentation of --with(out)-docbook 2017-10-21 19:48:23 +02:00
Sebastian Pipping
7c62246abc configure.ac: Allow for custom docbook2x-man command
Example:
./configure DOCBOOK_TO_MAN=/bin/true
2017-10-21 19:44:16 +02:00
Sebastian Pipping
9ec95b7605 doc/Makefile.am: Improve scope of docbook2man availability
.. so that "make dist" has no chance of shipping no manpage
or and outdated one.
2017-10-21 19:40:14 +02:00
Stephen Groat
cb7d430d22 Fix docbook 2017-10-21 19:23:48 +02:00
Sebastian Pipping
05ea069bec Merge branch 'pr-150-pepone-master' (#150, fixes #147) 2017-10-05 00:03:45 +02:00
Sebastian Pipping
f75a40cbae xmlwf|tests: Repeat L string prefix to fix compilation 2017-10-04 22:55:42 +02:00
Sebastian Pipping
31bdf3025b xmlwf/xmltchar.h: Make T(..) support T(XML_FMT_INT_MOD) 2017-10-04 21:29:35 +02:00
Sebastian Pipping
41cc68cb67 xmlwf.c: Fix code indentation 2017-10-04 21:14:10 +02:00
Jose
81040a6164 Add XML_UNICODE_WCHAR_T builds to appveyor build matrix
See issue [#147](https://github.com/libexpat/libexpat/issues/147)
2017-10-04 21:11:01 +02:00
Sebastian Pipping
025edea252 Merge branch 'tbeu-fix-typos' (pull request #154) 2017-10-02 21:58:06 +02:00