Commit Graph

543 Commits

Author SHA1 Message Date
Fred L. Drake, Jr.
280934fb22 Bump the release number.
Remove text about -fexceptions for use with C++; that is added automatically
now.
2002-04-20 21:15:46 +00:00
Fred L. Drake, Jr.
16b90ab627 Add missing word in comment. 2002-04-20 21:14:48 +00:00
Fred L. Drake, Jr.
d084912ca5 Added missing library to link line for tests; not sure how this had not
been checked in!
2002-04-20 13:24:59 +00:00
Fred L. Drake, Jr.
307462a492 Added test for SF bug #480278. 2002-04-20 13:19:40 +00:00
Fred L. Drake, Jr.
be3da03386 Simplify the command used to run the test program. 2002-04-20 13:11:16 +00:00
Fred L. Drake, Jr.
e2db2bc4c4 Fix typo in comment. 2002-04-20 02:53:15 +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
Fred L. Drake, Jr.
118257bc4c Added a test for SF bug #231864. 2002-04-19 20:59:01 +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.
1258481fbc Add a test that checks that illegal UTF-8 sequences are not allowed to pass
when we are using UTF-8 encoding.
This closes SF bug #477667.
2002-04-19 19:18:35 +00:00
Fred L. Drake, Jr.
1d5e745673 Make the sample applications depend on the Expat library. 2002-04-19 18:57:24 +00:00
Fred L. Drake, Jr.
083326894e Add the new tests to the right TCase object. 2002-04-19 18:50:26 +00:00
Fred L. Drake, Jr.
38b6ee29b2 basic_setup(): Remove bogus assumption that all tests would use US-ASCII
data; let Expat determine the proper encoding from the XML source text.

Added several tests relating to supposed mis-interpretation of Latin-1;
these show that Expat (at least in the CVS version) is properly decoding
the Latin-1 text and generating the proper UTF-8 output.

This closes SF bug #491986, #514281.
2002-04-19 18:25:07 +00:00
Fred L. Drake, Jr.
276e2517e0 Wrap some long lines. 2002-04-19 16:19:33 +00:00
Fred L. Drake, Jr.
a826299332 Remove files that are no longer used.
This closes SF patch #488187.
2002-04-16 03:24:48 +00:00
Fred L. Drake, Jr.
b3a7f3c981 Fix name of the "bin" directory; was missing the default $prefix component. 2002-04-16 02:12:20 +00:00
Fred L. Drake, Jr.
3586d75088 Add link to the TclXML project (includes Tcl binding for Expat). 2002-02-25 16:40:42 +00:00
Fred L. Drake, Jr.
fbd09c0cf0 Manual page for the xmlwf utility, contributed by Scott Bronson.
[Description of the -v option added to the original, contributed text.]
2002-02-21 21:27:55 +00:00
Fred L. Drake, Jr.
0fe7c4095f Added links to the Objective-C and Ruby bindings to Expat. 2002-01-21 19:49:40 +00:00
Fred L. Drake, Jr.
ac32064e84 Add a list of references to other Expat resources.
It is short, but it includes a plea for additional links.
2002-01-11 15:42:12 +00:00
Greg Stein
efda56d9fb Fix the URL to the online CVS browsing. 2001-12-10 00:52:55 +00:00
Greg Stein
cd88ed2b08 Remove the Makefile.in files from the subdirs 2001-12-07 10:20:51 +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
Fred L. Drake, Jr.
5ca5c566a6 Add a -v option to cause xmlwf to report the version of Expat (hence the
version of xmlwf).
2001-12-05 16:30:31 +00:00
Fred L. Drake, Jr.
f762a852d9 Add a check for unknown command line options. 2001-11-18 13:56:01 +00:00
Fred L. Drake, Jr.
3a1a7b9e6d Use the SF logo that has no box around the edge; it looks a bit cleaner. 2001-11-18 05:27:12 +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.
01012061bc Added a test to make sure that whitespace in ENTITIES, IDREFS, and NMTOKENS
attributes is properly collapsed according to Section 3.3.3 of the spec.
This is the first even slightly complicated test; boy are these painful in
C!  Had to add a test of a helper routine as well; that just uses assertions
since the test framework should not be dealing with tests of the tester,
just of Expat.

Added a helper to make the failure messages more useful when Expat produces
an unexpected error code; we now include the error message and location from
Expat.  This is mostly useful when developing a new test.
2001-11-16 20:19:39 +00:00
Fred L. Drake, Jr.
b1447b1ba3 Added tests that some basic encodings are recognized and the corresponding
BOM marks do not cause core dumps.  The UTF-8 BOM bug was fixed a while ago,
but a regression test is always a good idea.
2001-11-13 17:31:53 +00:00
Fred L. Drake, Jr.
1cd143fcf7 Note that the tests need check 0.8 to work. 2001-11-13 05:04:51 +00:00
Fred L. Drake, Jr.
3e89ab4c4b Update to work with check 0.8. 2001-11-13 05:04:02 +00:00
Fred L. Drake, Jr.
5769f4a431 Added a test that ensures the parser reports an out-of-place XML declaration.
(Originally written to attempt to tickle a different bug, but useful as a
regression test even though Expat has been doing the right thing.)
2001-11-13 04:49:52 +00:00
Fred L. Drake, Jr.
a81be4f942 As long as SourceForge is changing their logo, we can look really slick too.
A little geometric twiddle can take us a long way toward fame & fortune! ;-)
2001-11-09 20:21:10 +00:00
Fred L. Drake, Jr.
fb71e03022 Added note about conftools/expat.m4. 2001-11-09 04:57:33 +00:00
Fred L. Drake, Jr.
777f7a9413 autoconf probe macro to determine how to use Expat.
Anonymous contribution: SF patch #438892.
2001-11-09 04:55:33 +00:00
Fred L. Drake, Jr.
8b8f94fc2c Be more careful about deciding which filemap implementation to use for
xmlwf.  Part of SF patch #465018.

Only add the -fexceptions option when the version of GCC we're using
actually supports it.  This relates to & partially solves SF bug #445893;
see also SF bug #419585 for why the option was originally added.
2001-11-09 04:19:01 +00:00
Fred L. Drake, Jr.
212aa11153 Include header to avoid compiler warnings. Part of SF patch #465018. 2001-11-09 04:08:51 +00:00
Fred L. Drake, Jr.
693ce050a7 Be more reliable about using the libtool version on the PATH when this
script is run.  Part of SF patch #465018.
2001-11-09 04:07:43 +00:00
Fred L. Drake, Jr.
1c626a9def Define & use $(srcdir). Part of SF patch #465018. 2001-11-09 04:04:55 +00:00
Fred L. Drake, Jr.
b9ca027b09 Revert previous change and use an alternate approach, this time actually
tested on one of the platforms that exhibited the problem this tries to
fix.  Solution contributed by Michael C. Maggio; thanks!
2001-10-02 16:40:17 +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
Fred L. Drake, Jr.
96a1672aea Abandon the use of directory names as target names; there are enough
platforms for which .PHONY is not implemented that this causes the build to
be tedious for those users, leading to bug reports.
2001-10-01 20:15:39 +00:00
Fred L. Drake, Jr.
28a00dfecb Added a "-c" option to the $CC command line to make this macro work as
expected on more platforms (IBM's xlC compiler in particular).
2001-10-01 20:03:13 +00:00
Greg Stein
3a09ad5535 Hush up, cvs... 2001-08-23 13:27:38 +00:00
Greg Stein
48d3438f5a Simplify the version handling some more by breaking the release process out
of the makefile into a separate script -- the script can do much more and
the makefile dependencies were not used anyways (just serving to obfuscate).
2001-08-23 13:26:37 +00:00
Greg Stein
28bc02a20a We are shipping expat.h now, not expat.h.in 2001-08-23 13:12:17 +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
Greg Stein
33589a12bc * stop using aclocal.m4 and directly sinclude() the .m4 files into the
configure script. don't "clean" it and remove it from .cvsignore.
  Note: to avoid problems in developer dirs, we nuke the file in
  buildconf.sh for now; we'll stop doing that at some future time.
  [idea from ASF]

* look for glibtoolize, in addition to libtoolize (e.g. the MacOS X platform
  names it differently). [patch from ASF]

* conftools/missing is not needed

* use "exit 0" in buildconf.sh to help calling scripts. [patch from ASF]

* minor output cleanup in "make clean"
2001-08-23 11:27:26 +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.
b48c6919bb Update so the tests will be run by "make check". 2001-08-17 19:23:02 +00:00