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
Sebastian Pipping
4f862dddf9
examples|tests|xmlwf: Drop AmigaOS 4.x include (issue #14 )
2017-06-07 20:31:15 +02:00
Sebastian Pipping
50e0dd88f0
Visual Studio 20xx: No longer define WIN32
2017-05-25 15:25:18 +02:00
Sebastian Pipping
8f25f91e9e
Replace WIN32 by _WIN32 in code
2017-05-25 15:25:18 +02:00
Sebastian Pipping
2585316897
Disable memory-mapping for files larger than INT_MAX / 2 + 1
2017-05-23 22:29:51 +02:00
Sebastian Pipping
a1be6aa256
xmlwf/win32filemap.c: Add two missing calls to CloseHandle
2017-05-23 01:26:17 +02:00
Sebastian Pipping
766a485e62
Drop Open Watcom specific code (issues #14 and #21 )
2017-05-01 13:38:40 +02:00
Sebastian Pipping
a67f2a2545
*.dsp,*.dsw: Drop Visual Studio 6.0 (issue #14 )
2017-04-25 23:51:59 +02:00
Sebastian Pipping
87b38b775d
Handle XML_ParserCreate* NULL return
...
Pointed out by Pascal Cuoq
2016-06-18 23:09:20 +02:00
Karl Waclawek
309ad17f97
Added Visual Studio 2013 solution/project files. Will also work in Visual Studio 2015 if VS 2013 is installed. Otherwise, open a "Visual Studio 2015 Developer Command Prompt" and execute "devenv.exe /upgrade expat.sln" in the expat directory to upgrade the main solution and project files (Tests have their own solutions).
2016-06-17 14:34:46 -04:00
Sebastian Pipping
92da19f153
Resolve COMPILING_FOR_WINDOWS (ex COMPILED_FROM_DSP) in favor of WIN32
2016-06-13 17:05:16 +02:00
Sebastian Pipping
17be9de91d
Ensure that unistd.h is included on Linux
...
(or anywhere except non-Cygwin Windows, to be precise)
Bug reported by László Böszörményi
2016-06-04 22:17:11 +02:00
Sebastian Pipping
69746f5ab2
Address all "unused parameter" warnings
2016-05-07 17:24:35 +02:00
Sebastian Pipping
bdee307f19
Turn COMPILED_FROM_DSP into COMPILING_FOR_WINDOWS
...
.. since it is used with that semantic by now
2016-03-28 18:18:09 +02:00
Sebastian Pipping
fe432127ab
Fix source code permissions
...
Files had executable flag turn on, previously.
https://bugzilla.redhat.com/show_bug.cgi?id=1247348
2016-03-12 05:21:47 +01:00
Sebastian Pipping
2671b8bb91
Replace caddr_t by "void *" for -std=c99 (issue #506 )
2016-03-12 02:41:00 +01:00
Sebastian Pipping
a3b925a46e
xmlwf: Sync usage help with man page and code
2016-03-11 23:22:51 +01:00
Karl Waclawek
d61103ad66
Updated Windows project files to import properly in Visual Studio 2010.
2012-02-21 02:16:29 +00:00
Karl Waclawek
ebb40bfacb
Fix for issue # 2895533.
2009-11-12 16:51:39 +00:00
Karl Waclawek
66d31c5506
Removed unnecessary linker dependencies.
2009-01-19 18:37:07 +00:00
Karl Waclawek
1c0c10b52a
Fix for issue #2517938 : xmlwf should return a non-zero code for parsing errors.
2009-01-19 00:19:47 +00:00
Steven Solie
220b5e566d
Removed need for amiga_main().
2007-06-03 15:00:09 +00:00
Karl Waclawek
19dbd9a928
Changed output directories so that all binaries end up in the same location.
2007-05-03 02:23:17 +00:00
Karl Waclawek
d6075d6b5e
No more search for (back)slashes in the string "STDIN".
...
Optimized code with regards to use of path delimters on different platforms.
2007-04-30 00:50:22 +00:00
Karl Waclawek
bfff9ca4e9
The Watcom compiler defines __LINUX__ and not __linux__ for cross compilation.
2006-08-05 22:43:57 +00:00
Karl Waclawek
e3e0d28628
Applied patrch #1523242 - support for Open Watcom 1.5.
2006-08-05 17:01:43 +00:00
Karl Waclawek
f18b068f38
Fix for bug #1513566 : filemap() in readfilemap.c doesn't handle zero length
...
files, and the same issue applies to filemap() in unixfilemap.c
2006-06-28 02:55:51 +00:00
Karl Waclawek
b5bd929090
Added a comment about processFile giving problems on files larger than INT_MAX.
2006-04-14 18:02:08 +00:00
Karl Waclawek
1d17d4f9f4
Casting away some integer conversion warnings that should not pose a problem.
2006-04-14 17:53:03 +00:00
Karl Waclawek
85c092da87
Removed newly added include directives of configuration header files.
...
They seem to be unnecessary.
2005-12-25 17:06:22 +00:00
Karl Waclawek
f967e6812a
* Added integer modifier macro to support 64-bit integers in printf.
...
* Made include directives of configuration header files sync'ed
with xmlparse.c.
2005-12-25 17:05:10 +00:00
Karl Waclawek
d707e890ea
* Added integer modifier macro to support 64-bit integers in printf.
...
* Made include directives to be in sync with xmlparse.c.
2005-12-25 16:56:05 +00:00
Karl Waclawek
b85751153b
Added integer modifier macro to support 64-bit integers in printf.
2005-12-25 16:54:10 +00:00