Commit Graph

624 Commits

Author SHA1 Message Date
Greg Stein
72ced69405 Work on fixing bug #462960
* add Apache's version of config.guess and config.sub, which are both
  recent, and have some helpful mods

* buildconf.sh: tweak call to libtoolize to avoid overwriting the above

* conftools/.cvsignore: the new files are supposed to be there

* Makefile.in: tweak to use $(prefix) for the manual page so that it
  picks up install-time prefix changes. tossed an old comment. tweak
  the 'extraclean' rule to avoid tossing the added config.* files.
2002-06-01 22:29:30 +00:00
Fred L. Drake, Jr.
6f7d95c4af Specify the compression type; the current version of Inno Setup
supports the more efficient bzip algorithm, so we can produce a
smaller installer to download.  Or at least partially mitigate
the addition of the wchar_t version of the DLLs.

Install the Changes file as Changes.txt.

Add a note telling what version of Inno Setup the script is for.
2002-06-01 02:12:30 +00:00
Fred L. Drake, Jr.
7b7923521c Bump the version number of the shared library according to the libtool
recommendations.
2002-05-31 21:31:12 +00:00
Fred L. Drake, Jr.
0b267aff2a Added a couple more interesting items that had been lurking in the
forgotten NEWS file.
Set an expected date for the 1.95.3 release.
2002-05-31 20:42:18 +00:00
Fred L. Drake, Jr.
76e37fc385 Remove NEWS since this information is already being provided in Changes. 2002-05-31 20:33:05 +00:00
Fred L. Drake, Jr.
189c91cfea Added a note about the Eiffel bindings. 2002-05-31 16:33:53 +00:00
Fred L. Drake, Jr.
cad79377e7 Factor out the definition of the directory the manual page is
installed into; hopefully this will fix the RPM construction.
2002-05-31 15:51:21 +00:00
Fred L. Drake, Jr.
6bbbeffb0d Add test suite to the distribution. 2002-05-31 15:15:18 +00:00
Fred L. Drake, Jr.
75dac7502c Add the recent additions to the doc/ directory. doc/xmlwf.1 is needed
for the install step on Unix.
2002-05-31 15:03:34 +00:00
Fred L. Drake, Jr.
1ba67f251f Updated MANIFEST to reflect changes in the conftools directory. 2002-05-31 14:49:22 +00:00
Fred L. Drake, Jr.
8eb92dde2b Added the test suite and wchar_t versions of the DLL. 2002-05-31 04:35:57 +00:00
Fred L. Drake, Jr.
1debeebe2e Link to SF's own mail archiver rather than GeoCrawler. 2002-05-31 04:00:59 +00:00
Fred L. Drake, Jr.
ccac97847c Add section for Expat 1.95.3. Added blank lines for readability. 2002-05-31 03:45:50 +00:00
Fred L. Drake, Jr.
a3dda2bb32 Added new project to the MSVC workspace: expatw. This builds
libexpatw.dll (in release and debug versions) using wchar_t
output.

This *probably* closes SF bug #432456.  See comments in the
issue tracker for more info.
2002-05-31 03:12:47 +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
Fred L. Drake, Jr.
a44cf20237 Simple makefile that remembers how to update the anonymous checkout of
the HTML docs that gets shoved out through HTTP.
2002-05-30 19:03:07 +00:00
Karl Waclawek
b1743f5705 Applied patch # 562005 "Detect invalid UTF-8 sequences" 2002-05-30 18:02:59 +00:00
Fred L. Drake, Jr.
993db8ea97 Give in and define a constant for the intial number of elements in the
content type scaffold.
This removes the annoying magic number in the code.
2002-05-23 18:50:51 +00:00
Fred L. Drake, Jr.
de9db5ddeb In the "DTD scaffold", keep the count of elements allocated in sync with the
number of elements.
2002-05-23 18:37:03 +00:00
Fred L. Drake, Jr.
6f4869b2a4 Share the comment style with the rest of Expat. 2002-05-22 20:22:25 +00:00
Fred L. Drake, Jr.
219908bec6 Add a small comment to tell what this is. 2002-05-22 20:20:05 +00:00
Fred L. Drake, Jr.
37cbb951f8 Code hygiene: Use "NULL" instead of "0" for NULL pointers.
Compare pointers == NULL or != NULL instead of using the implicit
point-to-int conversion.
2002-05-22 04:27:06 +00:00
Fred L. Drake, Jr.
0bd69962db Bring indentation consistency to the header comments. 2002-05-22 04:04:39 +00:00
Fred L. Drake, Jr.
6197055826 Fix the regression test for SF bug #477667. This now fails, but accurately
tests the reported bug.
It should also serve as increased motivation for me to get it fixed
before the next release.
2002-05-22 03:27:17 +00:00
Fred L. Drake, Jr.
f122dd821c Remove the use of C99's stdbool.h and the bool type; not all compilers
support this (gcc 2.8.1 on IRIX 6.5 bit this time).
2002-05-21 21:39:18 +00:00
Fred L. Drake, Jr.
12445b1efd Another link to C++ wrappers, this time with a SAX interface and multiple
parser backends.
2002-05-21 14:45:18 +00:00
Greg Stein
5b5355d8c5 Hard to believe, but there are some preprocessors/compilers out there
which don't like spaces between the '#' and the preprocessor command.

* expat.h, xmlparse.c, xmlrole.c, xmltok.c:
  - remove all spaces between the '#' and the cpp command.
2002-05-20 11:06:41 +00:00
Greg Stein
2186041a07 Karl noticed that Expat didn't build on Windows any more. winconfig.h
needs to state that memmove() exists.
2002-05-20 11:01:29 +00:00
Karl Waclawek
8a891572a0 Merged in patch # 551599 2002-05-18 03:34:44 +00:00
Greg Stein
04d54677dc Add some cygwin fixes.
* Makefile.in:
  - from cygwin: add -no-undefined to the library link line

* conftools/get-version.sh: (new file)
  - script to extract the version number from expat.h

* configure.in:
  (some from the cygwin patch)
  - update the prereq to 2.52 instead of just 2.50
  - update the AC_INIT line to 2.52 standards: include the package
    name, version (with a lot of gunk to get this), and where to send
    bugs)
  - update the output file generation to 2.52 standards

* make-release.sh:
  - update to use the new get-version.sh script

* lib/expat.h:
  - from cygwin: add a little define for CYGWIN
2002-05-18 00:26:59 +00:00
Greg Stein
de857347b6 Remove acconfig.h altogether by removing XML_BYTE_ORDER. We can simply
use the BYTEORDER constant that ac_c_bigendian_cross.m4 generates.

* accconfig.h: removed; obsolete.

* lib/winconfig.h:
  - set the BYTEORDER constant, rather than XML_BYTE_ORDER, and leave
    a note about what we're assuming.

* lib/xmltok.c, lib/xmltok_ns.c:
  - change all XML_BYTE_ORDER references to BYTEORDER, and
    update the constants from 12, 21 to 1234, 4321 respectively.
2002-05-17 21:42:05 +00:00
Greg Stein
950c9a1124 A couple more tweaks for config.h -> expat_config.h 2002-05-17 21:38:44 +00:00
Greg Stein
0d64c9f4e9 There is no lib/config.h file... 2002-05-17 21:38:12 +00:00
Greg Stein
366e9ccd3e ignore the expat_config.h* files rather than config.h* 2002-05-17 21:35:12 +00:00
Greg Stein
9fcff4a9eb Various configuration fixes, focused primarily around expat_config.h
(which used to be called config.h)

* configure.in:
  - change the header name to expat_config.h to prevent any possible
    conflict with some other packages 'config.h'
  - add a prerequisite on autoconf 2.50 or newer
  - shift some acconfig.h values to AC_DEFINE() values

* MANIFEST:
  - rename config.h.in to expat_config.h.in

* Makefile.in:
  - clean out expat_config.h* instead of config.h*

* acconfig.h:
  - remove the XML_NS, XML_DTD, and XML_CONTEXT_BYTES symbols; they
    are now defined directly by configure.in
  - shift the memmove() compatibility to xmlparse.c, its only consumer
  - remove the @BOTTOM@ part since there are no more values to put at
    the bottom of expat_config.h.in via acconfig.h

* xmlparse.c:
  - switch from config.h to expat_config.h
  - insert macro to define memmove() if it isn't available, but
    bcopy() is available. also, changed one branch to #error rather
    than insert bogus code.

* xmlrole.c:
  - tweak the copyright header, per Fred-ism
  - remove the unused RCSId[] variable (no other file has these)
  - switch from config.h to expat_config.h

* xmltok.c:
  - switch from config.h to expat_config.h
2002-05-17 21:30:07 +00:00
Greg Stein
d3947b2fef follow Fred's footsteps and reformat the copyright header. 2002-05-17 21:23:35 +00:00
Greg Stein
dd5f540cbf These files are unmaintained, so I'm removing them. If somebody wants
to restart a C++ Expat, they should use the current sources. Of
course, these will always be available in the CVS repository for
historical purposes and for recovery.
2002-05-17 21:16:42 +00:00
Fred L. Drake, Jr.
aeb96f4e38 Code hygiene edits. 2002-05-17 19:12:54 +00:00
Fred L. Drake, Jr.
935f3457ef Remove unused files. 2002-05-17 18:55:08 +00:00
Fred L. Drake, Jr.
65b4ed8f47 Using "0" instead of "NULL" is insane, and leads to unmaintainable code.
Fix a number of other "code-hygiene" consistency nits.
2002-05-17 18:47:53 +00:00
Fred L. Drake, Jr.
7040180274 Minor nit; layout function signatures in a more consistent way. 2002-05-17 18:17:33 +00:00
Fred L. Drake, Jr.
fa2455c305 Include a more reasonable definition of the UTF8_INVALID3() macro.
It still is not used anywhere, though.  ;-(
2002-05-17 18:05:06 +00:00
Fred L. Drake, Jr.
ad5481c9f5 Using "0" instead of "NULL" is insane, and leads to unmaintainable code. 2002-05-17 17:21:51 +00:00
Fred L. Drake, Jr.
aec2b976cd Hopefully the last needed checks for MALLOC() failure in xmlparse.c, this
avoids memory faults when the initial allocations fail, returning NULL to
the caller instead.
This closes SF bug #496505.
2002-05-17 15:21:53 +00:00
Fred L. Drake, Jr.
7857293967 Be more careful about failed MALLOC() and REALLOC() calls. This avoids a
number of potential memory leaks.
2002-05-17 15:09:34 +00:00
Fred L. Drake, Jr.
0ddc85a661 Updated for the 1.95.3 release. 2002-05-17 14:15:38 +00:00
Fred L. Drake, Jr.
74b32a6fc3 Make the uninstall target use the right location for the header file. 2002-05-17 14:12:25 +00:00
Fred L. Drake, Jr.
fa1711873b Added a link to an article with additional C++ wrappers for Expat,
by Tim Smith.
2002-05-17 13:42:36 +00:00
Fred L. Drake, Jr.
3edce7a7ca Fix a number of potential memory leaks around REALLOC(). More are lurking. 2002-05-17 03:41:34 +00:00
Fred L. Drake, Jr.
5b5c48d4a3 Add casts to suppress a couple of warnings from MSVC with warning level 4. 2002-05-15 15:57:22 +00:00