Fred L. Drake, Jr.
644d3aca65
XML_ParserReset(): New function. Reset a parser to be used again, without
...
having to incur memory allocation costs for subsequent parses.
This closes SF patch #450608 , contributed by David Crowley.
2002-04-24 03:36:23 +00:00
Fred L. Drake, Jr.
36f5bfd4b9
Squash compiler warning (GCC): simply referencing a variable in the
...
initialization clause of a for statement does not have any effect.
2002-04-23 21:36:16 +00:00
Karl Waclawek
968b13268b
Attribute type constants did not have null terminators.
2002-04-23 19:48:29 +00:00
Karl Waclawek
42ab6c34f1
Fixed rev. 1.26 patch for XML_SetReturnNSTriplet.
...
Added fixes to make UTF-16 output work when XML_UNICODE is defined.
2002-04-23 13:49:31 +00:00
Fred L. Drake, Jr.
37371404cd
Check in SF patch #476929 : Fix XML_SetReturnNSTriplet().
...
This is slightly modified from the submitted patch to ensure a variable is
never used uninitialized.
Patch contributed by Karl Waclawek.
2002-04-19 20:52:39 +00:00
Fred L. Drake, Jr.
4bc54b7225
prologProcessor(): Avoid segfault by making sure "next" is initialized;
...
fix suggested by Tim Crook.
This fixes (I think!) SF bug #226514 .
Removed extra "break".
2001-11-16 20:57:30 +00:00
Fred L. Drake, Jr.
5c7be90ecd
Wrap a *lot* of long lines to fit in an 80-column world, but still not all.
...
Change one of the error messages, closing SF bug #463032 .
2001-10-01 20:52:54 +00:00
Greg Stein
a5e3cad879
Revamp how the version stuff is handled. Use the header file as the
...
original, and extract the numbers within the configure script.
* configure.in: extract the numbers from lib/expat.h
* Makefile.in: simplify the construction of DISTDIR
* lib/Makefile.in: no need to define the VERSION preprocessor symbol
* lib/expat.dsp: do not define VERSION (changed, but untested!)
* lib/xmlparse.c: revamp the XML_ExpatVersion() function
* lib/expat.h(.in): just ship the baby, rather than generating it
2001-08-23 12:35:53 +00:00
Fred L. Drake, Jr.
57a3480f95
XML_Parse(): If XML_GetBuffer() returns NULL, do not attempt to move
...
data aronud, just propogate the error.
This closes SF bug #434665 .
2001-08-09 18:08:56 +00:00
Fred L. Drake, Jr.
a81f09f829
Remove all traces of the XMLCALLBACK macro -- there appears to be no way
...
to add __cdecl to a typedef of a function type that MSVC does not complain
about. Callback implementations may need to add explicit __cdecl
annotations in sources not compiled with the C calling convention as the
default.
2001-07-27 17:17:44 +00:00
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.
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.
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.
a3fcd14422
Use the new XML_*_VERSION constants to fill in the XML_Expat_Version
...
structure.
2001-01-24 19:38:54 +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.
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
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
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
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