Commit Graph

45 Commits

Author SHA1 Message Date
Fred L. Drake, Jr.
df1b71d17e Try again. 2001-07-27 17:03:01 +00:00
Fred L. Drake, Jr.
58be86d815 Make sure that XMLPARSEAPI specifies the calling convention when building
under MSVC -- this is needed when using the pre-compiled DLL with projects
built using a different calling convention.

XMLPARSEAPI now takes the return type as a parameter and inserts annotations
on both sides of the type to make sure the compiler is happy.  A new
macro, XMLCALLBACK, is used to perform similar annotation of the callback
function types, which do not need the dllimport/dllexport annotations but
do still need the __cdecl annotation.

This closes SF bug #413653.
2001-07-27 16:30:56 +00:00
Fred L. Drake, Jr.
f6ea3590dc Update the lib and xmlwf project files to be part of the larger workspace. 2001-07-27 14:56:31 +00:00
Fred L. Drake, Jr.
a381bda8c4 Removed unusual use of "const" to avoid errors from a Sun compiler. 2001-07-25 17:22:48 +00:00
Fred L. Drake, Jr.
718bd9e746 Removed useless RCSId static from the code.
Added #include to pick up the memmove() prototype.

Added parentheses in some conditions to suppress compiler warnings.
2001-07-25 17:20:45 +00:00
Fred L. Drake, Jr.
712c70975d Remove useless RCSId static from the code. 2001-07-25 17:18:43 +00:00
Fred L. Drake, Jr.
b6448b02a1 Toss the old MSVC workspace. 2001-07-25 16:13:36 +00:00
Fred L. Drake, Jr.
4ae9b88ab8 Remove the extra DESTDIR variable. 2001-07-25 15:13:38 +00:00
Fred L. Drake, Jr.
845f869a2f Remove one more line that was not supposed to have gotten checked in
(part of an unfinished feature).
2001-07-25 14:40:06 +00:00
Fred L. Drake, Jr.
180f35f5eb Revert unintended portion of a checkin; these files were not supposed to
have been changed with the most recent Makefile changes.
2001-07-25 03:29:56 +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.
f501679409 Update the MSVC project. I don't understand all the
changes, but it seems to work.
2001-07-24 21:41:05 +00:00
Fred L. Drake, Jr.
8a96f5b08d Add the MSVC workspace file. 2001-07-24 16:52:54 +00:00
Fred L. Drake, Jr.
ba30f956c8 Tell CVS to ignore the Windows temporary files. 2001-07-24 16:50:37 +00:00
Fred L. Drake, Jr.
a6b3939dd9 Oops, remove a prototype for a feature that is not yet ready. 2001-07-24 16:03:51 +00:00
Fred L. Drake, Jr.
a0f045d46d The previous checkin of expat.h.in broke the build for Windows (now everyone
will just have to wonder how I got anything at all working on Windows).

Since we do not want to place the XMLPARSEAPI marker in the middle of a
type name, always tack it onto the beginning -- anywhere else seems fragile
at best.
2001-07-24 16:00:52 +00:00
Fred L. Drake, Jr.
84ec06ca9c Support building from directories other than the source directory.
Patch contributed by Mo DeJong -- thanks!

This closes SF patch #431340.
2001-07-21 03:37:12 +00:00
Fred L. Drake, Jr.
517663ce07 Avoid specifying XMLPARSEAPI in the middle of a prototype's return
value; some compilers that expand XMLPARSEAPI to a non-empty value
complain.

This closes SF patch #412076.
2001-07-21 02:28:28 +00:00
Greg Stein
4232566291 Revamp config/build to keep generated files out of CVS (some libtool files
were out of date, and we've previously seen expat.h out of sync).

*) Use new script "buildconf.sh" to create the set of generated files
   (aclocal.m4, config.h.in, configure). This is intended to be used by
   developers (rerun when configure.in changes) and just before a release
   (releases include these outputs).

   Developers now need the "autoconf" and "libtool" packages.

*) config.h.in is now built by autoheader and includes bits from acconfig.h
   rather than manual construction/maintenance. (renamed from config.hin)

*) added conftools/PrintPath from the ASF; it is a portable "which"

*) added "extraclean" target to top-level Makefile to get rid of all
   generated files (return to pure CVS state; before buildconf.sh)

*) updates various bits for config.hin -> config.h.in rename

*) no longer need to delete the ".deps" subdir since we don't create it
   anymore (dependencies are explicit rather than auto-generated).
2001-03-10 15:41:50 +00:00
Fred L. Drake, Jr.
2ce9cd4140 Sam TH:
Remove gcc-specific cruft from the Makefile -- this hurts portability!

This closes SF tracker patch #403584, and probably more platform-specific
build process bugs than I care to think about.
2001-03-01 04:04:26 +00:00
Fred L. Drake, Jr.
ffa686a288 Updated version from config.h.in update (includes wrapping of lots of long
lines).
2001-03-01 03:44:45 +00:00
Fred L. Drake, Jr.
4c3f32531d Sam TH:
BeOS defines __declspec, but we don't use it there.

This closes SF tracker patch #403581.
2001-03-01 03:19:27 +00:00
Fred L. Drake, Jr.
a6823aa552 Fix SF bug #123767: segfault on UTF-8 BOM.
(Reported with fix by Bruce Kaskel.)
2001-02-16 18:12:49 +00:00
Fred L. Drake, Jr.
2eb02dd3de Added XMLPARSEAPI to the prototype for XML_DefaultCurrent().
Re-wrapped some comments that exceeded 80 characters per line.

This closes SF bug #129217.
2001-01-26 19:18:31 +00:00
Fred L. Drake, Jr.
faea974737 Simplify, since we no longer need the temporaries for version information. 2001-01-24 19:41:12 +00:00
Fred L. Drake, Jr.
2f5721e204 Template for the expat.h header, processed by the configure script.
(We still need to keep expat.h checked in since it is not generated on
Windows.)
2001-01-24 19:40:13 +00:00
Fred L. Drake, Jr.
a3fcd14422 Use the new XML_*_VERSION constants to fill in the XML_Expat_Version
structure.
2001-01-24 19:38:54 +00:00
Fred L. Drake, Jr.
f4f26d227b Add definitions of XML_MAJOR_VERSION, XML_MINOR_VERSION, and
XML_MICRO_VERSION.  These contain version-specific information, but
this header is about to become a generated file, so that's ok.
2001-01-24 19:37:36 +00:00
Clark Cooper
604600883c Clark's compromise changes to Fred's version info change. 2000-12-27 19:37:37 +00:00
Fred L. Drake, Jr.
0e5418f698 Remove VERSION; this is no longer used in this directory since the version
information is computed from the XML_*_VERSION constants.
2000-12-21 01:49:27 +00:00
Fred L. Drake, Jr.
eb5ef0f8d9 XML_ExpatVersionInfo(): New function; returns library version as a
structure that can be examined at runtime.

XML_ExpatVersion():  Construct the return value from the new version
        information constants.

XML_MAJOR_VERSION, XML_MINOR_VERSION,
XML_MICRO_VERSION:  New constants; these specify the version of the
        library in a form that can be queried by client applications
        at compile time.  This is useful in determining if functions
        should be considered available (like those above).
2000-12-21 00:32:47 +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
ae2257acce Changes for compiling under Microsoft Dev Studio. 2000-10-22 19:20:23 +00:00
Clark Cooper
b1bcd0060a Remove aborts and instead return an UNEXPECTED_STATE error. 2000-10-20 15:37:28 +00:00
Clark Cooper
809a5d2916 Revised fix for abort occurring with a percent followed by whitespace or
another percent in entity values.
2000-10-20 15:14:36 +00:00
Clark Cooper
c4ca6cf75e Defined XML_SetEndNamespaceDeclHandler to resolve bug # 116381 2000-10-10 18:48:48 +00:00
Clark Cooper
219c9e2de6 Fix make problems on BSD & HPUX reported in Bug # 116248 2000-10-10 18:34:11 +00:00
James Clark
d93eff7f99 Fix abort with space following percent sign in entity value 2000-10-09 06:26:10 +00:00
Clark Cooper
aa45fb851a Versioning information, fill in Changes file, possible final commit before
first release (1.95.0)
2000-09-29 14:57:45 +00:00
Clark Cooper
63d2f68760 Switch to using MANIFEST to build distribution.
Also fix xmlwf to use current entity declaration signature.
2000-09-28 19:47:35 +00:00
Clark Cooper
e8b7b5fa4f Fixes to allow DLLs to built under Windows. 2000-09-28 17:53:00 +00:00
Clark Cooper
91ae02924d Changes for namespace triplets. 2000-09-25 00:58:49 +00:00
Clark Cooper
24a3551e56 Added dynamic malloc substitution. Added libtool versioning. 2000-09-24 03:43:37 +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