Commit Graph

208 Commits

Author SHA1 Message Date
Sebastian Pipping
c028d9b280 xmlwf: Simplify synopsis 2021-04-25 17:49:21 +02:00
Sebastian Pipping
8d1bd6ff2c Resolve macro HAVE_EXPAT_CONFIG_H 2021-04-22 00:11:28 +02:00
Sebastian Pipping
810e240fde xmlwf: Extract exit code constants 2021-04-19 19:32:29 +02:00
Sebastian Pipping
385aeb477b xmlwf: Extract macro XMLWF_SHIFT_ARGUMENT 2021-04-19 19:30:12 +02:00
Sebastian Pipping
a6f3f2a3a2 xmlwf: Split off exit status 4 for invalid argument invokation 2021-03-20 18:20:09 +01:00
Tim Bray
56c18c63ed Add argument -k to allow continuing after non-fatal errors 2021-03-16 20:40:26 -07:00
Kleber Tarcísio
12a7276f3e xmlwf: Checks value after calling malloc 2020-06-22 19:56:34 +02:00
Joe Orton
f1634dbaea Update xmlwf to exit with 3 if an output file could not be opened.
Update xmlwf exit code docs per review.
2020-05-13 08:36:56 +01:00
Sebastian Pipping
2db13ca57d xmlwf: Add missing @AM_*FLAGS@ 2020-03-18 00:32:06 +01:00
Sebastian Pipping
83e1688c74 xmlwf: Improve output of "xmlwf -h" by two tiny bits 2019-11-26 16:17:44 +01:00
luz.paz
56893d4fbb Fix source comment typos
Found via `codespell -q 3 -S ./testdata,./expat/Changes`
2019-11-04 07:52:31 -05:00
Sebastian Pipping
7426853889 codepage.c: Define functions codepageMap and codepageConvert no more than once 2019-10-08 00:20:28 +02:00
Sebastian Pipping
6b19963341 Drop mistaken executable bits 2019-09-16 20:54:47 +02:00
Sebastian Pipping
70a4a691fc xmlwf: Fix exit code for case without "-d DIRECTORY" 2019-09-06 19:53:36 +02:00
Sebastian Pipping
d2892df8fd .gitignore: Add missing build results (CMake, qa.sh) 2019-09-05 19:38:36 +02:00
Sebastian Pipping
4a09fc9024 xmlwf: Get -h and -v out of usage summary line 2019-09-05 16:38:41 +02:00
Sebastian Pipping
041e7768be xmlwf: Improve "xmlwf -h" help output 2019-09-05 00:45:14 +02:00
Sebastian Pipping
36fa081cfe Drop support for Visual Studio <=7.1/2003
_MSC_VER 1400 is 8.0/2005
2019-08-29 19:49:27 +02:00
Sebastian Pipping
71485dcf8b win32: Remove MSVC solution and project files 2019-08-29 02:35:05 +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
clang-format
d248bbd940 Mass-apply clang-format 9 using ./apply-clang-format.sh 2019-08-03 21:31:44 +02:00
Sebastian Pipping
55854c993e xmlwf: Drop COM code 2019-07-29 22:04:36 +02:00
Sebastian Pipping
c906acdafc xmlwf: Ensure that STDMETHODIMP_ is defined for cppcheck (fixes #285) 2019-07-17 16:38:39 +02:00
Sebastian Pipping
c39d391550 Mark disabled code to make it easy to see again 2018-10-21 14:36:00 +02:00
Marco Maggi
5841ab111b change code exclusion style to make sure that the excluded code still compiles 2018-10-21 14:31:39 +02: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
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
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
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
Sebastian Pipping
7b3f902a69 Make wmain work with MinGW 2017-09-09 18:59:29 +02:00
Sebastian Pipping
df75ab14f4 xmlwf: Indent preprocessor code 2017-09-09 18:21:18 +02:00
Rhodri James
71b533dae1 Fix file access for xmlwf compiled with XML_UNICODE_WCHAR_T on MinGW 2017-09-04 14:29:39 +01:00
Rhodri James
742fbf024f Make xmlwf build with XML_UNICODE_WCHAR_T on MinGW
This seems to need some extra mangling of Makefile.am for MinGW.

  * Add "-mwindows" to AM_CPPFLAGS
  * Add "AM_LDFLAGS = -municode"

Running the XML tests (xmltest.sh) is problematic: it needs a
unicode-aware differ for starters
2017-09-04 14:29:39 +01:00
Sebastian Pipping
e4661bfb85 xmlwf: Address Clang Static Analyzer warning 2017-08-28 21:38:44 +02:00
Sebastian Pipping
1bfe015a78 xmlwf/readfilemap.c: Address lack of ssize_t for Visual Studio 2017-08-23 17:38:39 +02:00
Sebastian Pipping
0b44900fcb xmlwf.c: Address unused parameter warning 2017-08-22 23:15:05 +02:00
Rhodri James
0abf000fa4 Plug memory leak in xmlwf's end of doctype declaration handler 2017-08-22 23:14:55 +02:00
Rhodri James
e424d3fb6a Fix formatting and message re-use 2017-08-22 23:14:55 +02:00
Rhodri James
1726204ce2 Rename xmlCharDup to xcsdup and tighten up the code 2017-08-22 23:14:54 +02:00
Rhodri James
59d81f517d Move static variables into a userdata structure 2017-08-22 22:21:10 +02:00
Rhodri James
0da3d1b5bf Add command-line arg "-N" to xmlwf to add notations to test output
...and use it in xmltest.sh
2017-08-22 22:21:10 +02:00
Rhodri James
688ecaa7ab Sort notations by name in xmlwf for conformance tests 2017-08-22 22:21:10 +02:00
Rhodri James
b07794f371 Add doctype and notation handlers to xmlwf for conformance tests 2017-08-22 21:52:48 +02:00
Sebastian Pipping
a704c940a4 Inline copyright headers with C/C++ code where missing (#116) 2017-08-12 21:02:41 +02:00
Sebastian Pipping
d4390f34f3 Replace handwritten Makefile with GNU Automake 2017-08-12 16:09:50 +02:00
Sebastian Pipping
85bc1329dd xmlwf/readfilemap.c: Address -Wsign-compare warning
read:
http://pubs.opengroup.org/onlinepubs/009695399/functions/read.html
2017-06-27 23:26:49 +02:00
Sebastian Pipping
913851a90c Remove amigaconfig.h and macconfig.h (issue #14) 2017-06-16 21:06:16 +02:00