Commit Graph

2603 Commits

Author SHA1 Message Date
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
tbeu
c2f16c5926 Fix typos and add ICPSR full name 2017-10-02 21:54:52 +02:00
Sebastian Pipping
177eb6bbb9 README.md: Use pseudo-organization AppVeyor account 2017-09-16 01:03:18 +02:00
Sebastian Pipping
a0567a38c2 loadlibrary.c: Exclude line from coverage
.. as it seems that something in Windows/Wine would need to be off
to execute it.
2017-09-11 17:11:29 +02:00
Sebastian Pipping
3240718240 Fix test suite for --disable-xml-context (#146)
Regression from bc6468d230
2017-09-11 15:29:57 +02:00
Sebastian Pipping
02583d728f Merge branch 'unicode-xmlwf' (pull request #144 and more) 2017-09-09 19:24:49 +02:00
Sebastian Pipping
4bad01f941 udiffer.py: Ship with tarballs 2017-09-09 19:20:40 +02:00
Sebastian Pipping
9f166f82e8 runtests.c: Fix compilation for undefined XML_CONTEXT_BYTES
Regression from 70d19d635a

Compile error was:
  runtests.c: In function ‘byte_character_handler’:
  runtests.c:4195:11: error: ‘s’ undeclared (first use in this function)
       (void)s;
2017-09-09 19:13:21 +02:00
Sebastian Pipping
bc7d690203 Changes: Mention #144 2017-09-09 18:59:29 +02:00
Sebastian Pipping
21df4d3064 coverage.sh: Support XML_UNICODE_WCHAR_T with MinGW 2017-09-09 18:59:29 +02:00
Sebastian Pipping
7b3f902a69 Make wmain work with MinGW 2017-09-09 18:59:29 +02:00
Sebastian Pipping
d1a4212992 coverage.sh: Migrate to GNU Automake (#65) 2017-09-09 18:59:29 +02:00
Sebastian Pipping
3efafceb60 udiffer.py: Improve overall structure 2017-09-09 18:21:18 +02:00