Commit Graph

520 Commits

Author SHA1 Message Date
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
Fred L. Drake, Jr.
559fbc6c4b Tell CVS to ignore the intermediate files generated by building the test
suite.
2001-08-17 19:16:41 +00:00
Fred L. Drake, Jr.
cc89b6f763 Build & run the test suite. 2001-08-17 19:16:41 +00:00
Fred L. Drake, Jr.
ed9b8e0d46 Explain what is required to build & run the test suite, and that it all
might change in the future.
2001-08-17 19:16:41 +00:00
Fred L. Drake, Jr.
fcf971bfe0 A very small test suite for Expat; additional tests will be added as time
permits.
2001-08-17 19:16:41 +00:00
Fred L. Drake, Jr.
d165185951 Added a note to the XML_GetCurrentByteCount() function that it returns 0
for the end tag event when an empty-element tag is used.  Noted on
expat-discuss by Michael Isard.
2001-08-13 19:10:09 +00:00
Fred L. Drake, Jr.
9e70122a1d Make sure SHELL is properly set from the configure script.
This closes SF bug #448560.
2001-08-10 13:53:58 +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.
34966ccef9 Switch to testing that _MSC_EXTENSIONS is defined, not __declspec. (We can
probably remove the exception for __BEOS__ now, but I cannot test that.)
2001-07-30 19:01:47 +00:00
Fred L. Drake, Jr.
8c802e078d Fix a couple of stupid typos that I should have caught before release. 2001-07-28 03:29:55 +00:00
Fred L. Drake, Jr.
f91dde5506 Update to match the latest version of the installer. 2001-07-27 20:35:39 +00:00
Fred L. Drake, Jr.
94c3265d8a Suggest that Windows users get the installer; it will do things that make
more sense than the Unix sources.
2001-07-27 20:34:52 +00:00
Fred L. Drake, Jr.
a650c5f93f Remove some bogus preprocessor definitions. 2001-07-27 20:26:23 +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.
f14ab18aa7 Shorten the name of the directory we store the uninstaller in. 2001-07-27 15:31:22 +00:00
Fred L. Drake, Jr.
edc66fb325 Add more information to the Welcome screen of the installer. 2001-07-27 15:22:35 +00:00
Fred L. Drake, Jr.
d727f59ad9 Don't use the program database in MSVC. The others got this right. 2001-07-27 15:12:47 +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.
903a9f4754 Try to make the Windows installer a little more rational, and install all
the sources a developer might want, not just the parser itself.
2001-07-27 14:54:11 +00:00
Fred L. Drake, Jr.
a199491044 Adding back the MSVC workspace, adding in the sample projects as well. 2001-07-27 14:46:06 +00:00
Fred L. Drake, Jr.
6c15b0bcab Now we need to ignore some MSVC turds here. 2001-07-27 14:42:33 +00:00
Fred L. Drake, Jr.
946da4dc14 No longer need to ignore MSVC turds in this directory. 2001-07-27 14:40:42 +00:00