Commit Graph

36 Commits

Author SHA1 Message Date
Sebastian Pipping
8706f69ca7 examples: Unify expat.h include 2017-06-07 20:31:35 +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
a67f2a2545 *.dsp,*.dsw: Drop Visual Studio 6.0 (issue #14) 2017-04-25 23:51:59 +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
69746f5ab2 Address all "unused parameter" warnings 2016-05-07 17:24:35 +02:00
Sebastian Pipping
796085674a examples/elements.c: Address compile warning on sign mismatch
examples/elements.c: In function ‘main’:
examples/elements.c:54:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     done = len < sizeof(buf);
                ^
2016-03-12 02:59:53 +01:00
Karl Waclawek
794ff432aa Modified Windows project files to import properly into Visual Studio 2010. 2012-02-21 02:45:06 +00:00
Karl Waclawek
66d31c5506 Removed unnecessary linker dependencies. 2009-01-19 18:37:07 +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
8d8b9361dc Fix for bug #1543233 - missing XML_ParserFree. 2006-09-05 20:07:39 +00:00
Karl Waclawek
1a1fea41db Casting away some integer conversion warnings that should not pose a problem. 2006-04-14 18:03:57 +00:00
Karl Waclawek
925a683135 * Added support for XML_LARGE_SIZE.
* Added comment about using with UTF-8 version of Expat only.
2005-12-28 18:43:36 +00:00
Steven Solie
5393717eef *** empty log message *** 2005-12-24 06:52:33 +00:00
Fred L. Drake, Jr.
0699f3c162 convert MSVC project and workspace files to binary files that must always
use the DOS/Windows CR-LF line end convention

(closes SF bug #1007088)
2004-09-30 02:47:03 +00:00
Karl Waclawek
a14f6a8b2d Added type cast necessary for compiling as C++ file (at least under VC++). 2004-08-10 18:06:29 +00:00
Fred L. Drake, Jr.
2bba3d20f5 Deal with issue discussed in SF patch #820946: Expat doesn't handle
the use of modified default calling conventions in client code.

To deal with this issue and generally clean up the mass of macros
being used to support bits of the machinery, two new macros are being
added:

- XMLCALL, which expands to whatever is needed to nail down the
  calling convention for all calls across the library boundary.  This
  must match the convention used for the system's malloc()
  implementation.

- XMLIMPORT, defined to be whatever magic is needed to mark an entry
  point as imported from a dynamically loaded module (.dll, .so, .sl,
  whatever).

These macros are used to define the XMLPARSEAPI macro already being
used to define the API entry points.  In addition, XMLCALL is used to
define the types of callback functions, and all example code uses this
explicitly in both the distributed applications and the documentation.
2003-10-15 16:25:44 +00:00
Karl Waclawek
c61a46c305 * Applied patch #620822 - Windows Dll build with DEF file
* Changed macro for static linking from _STATIC to XML_STATIC
  and modified expat.h accordingly
* Added ReadMe file to Win32 subdirectory documenting Windows builds
* Changed static build settings to create libraries with names different
  from the Dll stub library libexpat(w).lib
2002-10-21 21:19:41 +00:00
Karl Waclawek
d6a47ae1e6 Applied patch #598944: Static library builds for VC++ 2002-08-23 15:04:52 +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.
2c06092697 De-tabify; minor code-style consistency changes. 2002-07-01 14:45:51 +00:00
Fred L. Drake, Jr.
5dec038664 Renamed the Expat DLLs from "expat.dll" to "libexpat.dll". This solves
a real naming conflict with Perl's XML::Parser::Expat module and the
relatively recent 1.95.x naming of the combined Expat DLL.

This does not introduce new names for the "wide" version of the Expat
API; this will be a separate change.

See SF bug #432456.
2002-05-31 02:30:31 +00:00
Greg Stein
a13d856e8f * Switch to a single, top-level Makefile (simplification, consistency)
* use libtool to compile/link all programs
* remove */Makefile.in and remove them from configure
* remove autom4te.cache after running autoconf
* remove .o from the FILEMAP logic in configure and the Make system;
  provides more flexibility in the Makefile to use it
* for VPATH builds: create the build subdirs by running
  "make mkdir-init" from the configure script
* adjust .cvsignore files to account for presence of .libs now
2001-12-07 10:19:31 +00:00
Greg Stein
866f6330cc Clean out some unused bits from the makefiles. Remove some of the recursion
and just do it from the top-level instead.
2001-08-23 09:24:45 +00:00
Fred L. Drake, Jr.
b3fd15c445 Avoid creating extra output directories from MSVC. 2001-07-27 14:21:23 +00:00
Fred L. Drake, Jr.
4e2de83794 More project files for MSVC. 2001-07-27 14:08:17 +00:00
Fred L. Drake, Jr.
c944beaea1 Ignore some additional Windows/MSVC cruft. 2001-07-27 14:05:30 +00:00
Fred L. Drake, Jr.
86b7ae104d Move the "elements" example code here from "sample", so we only have one
directory of short sample code.
2001-07-26 21:54:43 +00:00
Fred L. Drake, Jr.
9e91c1f1ee Make sure the configured compiler is used for all subdirectories. 2001-07-25 17:51:40 +00:00
Fred L. Drake, Jr.
d70490a072 Clean up a few compiler warnings in the sameple code. 2001-07-25 17:04:22 +00:00
Fred L. Drake, Jr.
072bdb8045 Ignore the generated executables. 2001-07-25 14:33:28 +00:00
Fred L. Drake, Jr.
05d1fac780 Make sure all the makefiles have at least a dummy check target and
reasonable distclean and maintainer-clean targets.

This fixes the last part of SF bug #430942.
2001-07-25 03:05:22 +00:00
Fred L. Drake, Jr.
d47741fc6b Sam TH:
Fix a variety of build control problems for the auxiliary directories.

This closes SF tracker patch #403582.
2001-03-01 04:28:27 +00:00
Fred L. Drake, Jr.
fd297d8120 Tell CVS to ignore generated Makefiles and working dirs used by libtool. 2000-10-30 21:25:05 +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