Commit Graph

38 Commits

Author SHA1 Message Date
Dong-hee Na
59734d6e31 Reorder the location of including expat_config.h 2021-10-17 20:45:24 +09:00
Sebastian Pipping
df42f935bf Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
Sebastian Pipping
8d1bd6ff2c Resolve macro HAVE_EXPAT_CONFIG_H 2021-04-22 00:11:28 +02: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
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
f75a40cbae xmlwf|tests: Repeat L string prefix to fix compilation 2017-10-04 22:55:42 +02: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
a704c940a4 Inline copyright headers with C/C++ code where missing (#116) 2017-08-12 21:02:41 +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
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
766a485e62 Drop Open Watcom specific code (issues #14 and #21) 2017-05-01 13:38:40 +02: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
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
Steven Solie
220b5e566d Removed need for amiga_main(). 2007-06-03 15:00:09 +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
b5bd929090 Added a comment about processFile giving problems on files larger than INT_MAX. 2006-04-14 18:02:08 +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
Steven Solie
607730d3fe *** empty log message *** 2005-12-24 06:39:56 +00:00
Karl Waclawek
b7154acf0a Added type casts necessary for compiling as C++ file (at least under VC++). 2004-08-10 18:18:25 +00:00
Fred L. Drake, Jr.
99609421a8 Make it possible to avoid the import of expat_config.h. This makes it
easier to compile Expat without the autoconf support.
This closes SF patch #458907.
2003-10-16 04:51:11 +00:00
Fred L. Drake, Jr.
e573251a94 Define specific return values for the XML_Parse*() functions, and use them
to test all XML_Parse*() return values in the test and sample code.
This is binary-compatible with previous Expat 1.95.x releases.
2002-08-02 19:40:09 +00:00
Fred L. Drake, Jr.
65ab1317a4 De-tabify; minor code-style consistency changes. 2002-07-01 15:13:02 +00:00
Fred L. Drake, Jr.
8fbcd0a5c7 Include unistd.h when HAVE_UNISTD_H is defined, not _POSIX_SOURCE.
This requires that expat_config.h or winconfig.h has been included.
Using unistd.h avoids warnings about close() and read() not being defined
on some platforms.
This closes SF bug #563184.
2002-06-13 02:52:09 +00:00
Fred L. Drake, Jr.
ad358dec9e Check in SF patch #488196: Make xmlwf read from standard input.
This modifies the patch for style (slightly).

The style of these files is also slightly modified in an attempt to create
more consistency.  (But that mostly swamps the feature patch.)
2002-04-19 21:41:54 +00:00
Clark Cooper
c446fb274e Merged in modifications from perl-expat. Also fiddled around with more
configuration issues.
2000-09-21 21:20:18 +00:00
Clark Cooper
c135be083d These are the first check-ins for the libexpat task: create configuration
files and setup for building a shareable libexpat.
2000-09-18 16:26:23 +00:00
James Clark
9b3852311c Fix some Win32 warnings. 2000-05-10 03:13:58 +00:00
James Clark
8fd4a83318 Fix screwup in changing copyright notices 2000-04-21 04:20:31 +00:00
James Clark
4e9aea4c1b New license and site 2000-04-21 03:58:42 +00:00
James Clark
973ad606fd Change license to MPL 1.1 1999-05-29 02:19:21 +00:00
James Clark
e98eefc69a Report errors to stdout not stderr 1998-12-30 09:14:04 +00:00
James Clark
5bfaa295f9 Initial revision 1998-11-25 08:32:06 +00:00