]> granicus.if.org Git - libexpat/log
libexpat
22 years agoAnother link to C++ wrappers, this time with a SAX interface and multiple
Fred L. Drake, Jr. [Tue, 21 May 2002 14:45:18 +0000 (14:45 +0000)]
Another link to C++ wrappers, this time with a SAX interface and multiple
parser backends.

22 years agoHard to believe, but there are some preprocessors/compilers out there
Greg Stein [Mon, 20 May 2002 11:06:41 +0000 (11:06 +0000)]
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.

22 years agoKarl noticed that Expat didn't build on Windows any more. winconfig.h
Greg Stein [Mon, 20 May 2002 11:01:29 +0000 (11:01 +0000)]
Karl noticed that Expat didn't build on Windows any more. winconfig.h
needs to state that memmove() exists.

22 years agoMerged in patch # 551599
Karl Waclawek [Sat, 18 May 2002 03:34:44 +0000 (03:34 +0000)]
Merged in patch # 551599

22 years agoAdd some cygwin fixes.
Greg Stein [Sat, 18 May 2002 00:26:59 +0000 (00:26 +0000)]
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

22 years agoRemove acconfig.h altogether by removing XML_BYTE_ORDER. We can simply
Greg Stein [Fri, 17 May 2002 21:42:05 +0000 (21:42 +0000)]
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.

22 years agoA couple more tweaks for config.h -> expat_config.h
Greg Stein [Fri, 17 May 2002 21:38:44 +0000 (21:38 +0000)]
A couple more tweaks for config.h -> expat_config.h

22 years agoThere is no lib/config.h file...
Greg Stein [Fri, 17 May 2002 21:38:12 +0000 (21:38 +0000)]
There is no lib/config.h file...

22 years agoignore the expat_config.h* files rather than config.h*
Greg Stein [Fri, 17 May 2002 21:35:12 +0000 (21:35 +0000)]
ignore the expat_config.h* files rather than config.h*

22 years agoVarious configuration fixes, focused primarily around expat_config.h
Greg Stein [Fri, 17 May 2002 21:30:07 +0000 (21:30 +0000)]
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

22 years agofollow Fred's footsteps and reformat the copyright header.
Greg Stein [Fri, 17 May 2002 21:23:35 +0000 (21:23 +0000)]
follow Fred's footsteps and reformat the copyright header.

22 years agoThese files are unmaintained, so I'm removing them. If somebody wants
Greg Stein [Fri, 17 May 2002 21:16:42 +0000 (21:16 +0000)]
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.

22 years agoCode hygiene edits.
Fred L. Drake, Jr. [Fri, 17 May 2002 19:12:54 +0000 (19:12 +0000)]
Code hygiene edits.

22 years agoRemove unused files.
Fred L. Drake, Jr. [Fri, 17 May 2002 18:55:08 +0000 (18:55 +0000)]
Remove unused files.

22 years agoUsing "0" instead of "NULL" is insane, and leads to unmaintainable code.
Fred L. Drake, Jr. [Fri, 17 May 2002 18:47:53 +0000 (18:47 +0000)]
Using "0" instead of "NULL" is insane, and leads to unmaintainable code.
Fix a number of other "code-hygiene" consistency nits.

22 years agoMinor nit; layout function signatures in a more consistent way.
Fred L. Drake, Jr. [Fri, 17 May 2002 18:17:33 +0000 (18:17 +0000)]
Minor nit; layout function signatures in a more consistent way.

22 years agoInclude a more reasonable definition of the UTF8_INVALID3() macro.
Fred L. Drake, Jr. [Fri, 17 May 2002 18:05:06 +0000 (18:05 +0000)]
Include a more reasonable definition of the UTF8_INVALID3() macro.
It still is not used anywhere, though.  ;-(

22 years agoUsing "0" instead of "NULL" is insane, and leads to unmaintainable code.
Fred L. Drake, Jr. [Fri, 17 May 2002 17:21:51 +0000 (17:21 +0000)]
Using "0" instead of "NULL" is insane, and leads to unmaintainable code.

22 years agoHopefully the last needed checks for MALLOC() failure in xmlparse.c, this
Fred L. Drake, Jr. [Fri, 17 May 2002 15:21:53 +0000 (15:21 +0000)]
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.

22 years agoBe more careful about failed MALLOC() and REALLOC() calls. This avoids a
Fred L. Drake, Jr. [Fri, 17 May 2002 15:09:34 +0000 (15:09 +0000)]
Be more careful about failed MALLOC() and REALLOC() calls.  This avoids a
number of potential memory leaks.

22 years agoUpdated for the 1.95.3 release.
Fred L. Drake, Jr. [Fri, 17 May 2002 14:15:38 +0000 (14:15 +0000)]
Updated for the 1.95.3 release.

22 years agoMake the uninstall target use the right location for the header file.
Fred L. Drake, Jr. [Fri, 17 May 2002 14:12:25 +0000 (14:12 +0000)]
Make the uninstall target use the right location for the header file.

22 years agoAdded a link to an article with additional C++ wrappers for Expat,
Fred L. Drake, Jr. [Fri, 17 May 2002 13:42:36 +0000 (13:42 +0000)]
Added a link to an article with additional C++ wrappers for Expat,
by Tim Smith.

22 years agoFix a number of potential memory leaks around REALLOC(). More are lurking.
Fred L. Drake, Jr. [Fri, 17 May 2002 03:41:34 +0000 (03:41 +0000)]
Fix a number of potential memory leaks around REALLOC().  More are lurking.

22 years agoAdd casts to suppress a couple of warnings from MSVC with warning level 4.
Fred L. Drake, Jr. [Wed, 15 May 2002 15:57:22 +0000 (15:57 +0000)]
Add casts to suppress a couple of warnings from MSVC with warning level 4.

22 years agoAdded link to Expat wrapper for Delphi
Karl Waclawek [Fri, 10 May 2002 16:32:59 +0000 (16:32 +0000)]
Added link to Expat wrapper for Delphi

22 years agoPatch from Joe Orton <joe@manyfish.co.uk>:
Greg Stein [Fri, 10 May 2002 00:10:57 +0000 (00:10 +0000)]
Patch from Joe Orton <joe@manyfish.co.uk>:

Allow the environment to specify a different autoconf and autoheader.
This is useful when Expat is bundled into another program, which is
being configured using something other than the autoconf/autoheader in
the path.

22 years agoAdded a reference to tDOM (Tcl DOM package using Expat).
Fred L. Drake, Jr. [Thu, 9 May 2002 15:09:18 +0000 (15:09 +0000)]
Added a reference to tDOM (Tcl DOM package using Expat).

22 years agoOops, fix the title!
Fred L. Drake, Jr. [Thu, 9 May 2002 12:26:45 +0000 (12:26 +0000)]
Oops, fix the title!

22 years agoCompletely replace the style of the Expat web page, but keep the original
Fred L. Drake, Jr. [Thu, 9 May 2002 12:24:46 +0000 (12:24 +0000)]
Completely replace the style of the Expat web page, but keep the original
content.  (I need to write new content, but that is a separate task.)

22 years agoSimple style sheet for the Expat web page.
Fred L. Drake, Jr. [Thu, 9 May 2002 12:14:54 +0000 (12:14 +0000)]
Simple style sheet for the Expat web page.

22 years agoLame "logo" for the Expat web page.
Fred L. Drake, Jr. [Thu, 9 May 2002 12:14:33 +0000 (12:14 +0000)]
Lame "logo" for the Expat web page.

22 years agoAdded link to information about a C++ binding for Expat.
Fred L. Drake, Jr. [Wed, 8 May 2002 11:26:01 +0000 (11:26 +0000)]
Added link to information about a C++ binding for Expat.

22 years agoxml_failure(): Pass the relevant XML_Parser into the function so it is
Fred L. Drake, Jr. [Sat, 4 May 2002 21:47:46 +0000 (21:47 +0000)]
xml_failure():  Pass the relevant XML_Parser into the function so it is
    useful when parsing external entities as well as the document entity.

All callers have been updated.

22 years agoAdded target to run checks based on xmlwf and James Clark's test cases.
Fred L. Drake, Jr. [Mon, 29 Apr 2002 21:31:18 +0000 (21:31 +0000)]
Added target to run checks based on xmlwf and James Clark's test cases.
This is not run by "make check" since it requires unzip, wget, and network
access to set up the tests.  Use "make run-xmltext" to run the tests.

22 years agoFix stupid last minute change.
Fred L. Drake, Jr. [Mon, 29 Apr 2002 17:10:26 +0000 (17:10 +0000)]
Fix stupid last minute change.

22 years agoAdded a bunch of assertions that internal assumptions are not violated
Fred L. Drake, Jr. [Mon, 29 Apr 2002 17:09:31 +0000 (17:09 +0000)]
Added a bunch of assertions that internal assumptions are not violated
(specifically, make sure args are not NULL).

If the expected value is not the right length, include the value found in
the error message, to make problems easier to diagnose.

22 years agoWrap some long lines, including ones I just introduced.
Fred L. Drake, Jr. [Fri, 26 Apr 2002 05:14:20 +0000 (05:14 +0000)]
Wrap some long lines, including ones I just introduced.
There ought to be a good way to use a real editor with MSCV!

22 years agoCut down on the warnings from MSVC6 on Warning Level 4.
Fred L. Drake, Jr. [Fri, 26 Apr 2002 04:46:24 +0000 (04:46 +0000)]
Cut down on the warnings from MSVC6 on Warning Level 4.

22 years agoRevise the data accumulation to be at least a little separated from the
Fred L. Drake, Jr. [Thu, 25 Apr 2002 04:04:42 +0000 (04:04 +0000)]
Revise the data accumulation to be at least a little separated from the
actual test code.  Not pretty & lacking in internal documentation, but
allows the test code to be a bit more readable.

22 years agoMake the organization slightly easier to discern.
Fred L. Drake, Jr. [Thu, 25 Apr 2002 01:42:34 +0000 (01:42 +0000)]
Make the organization slightly easier to discern.

22 years agoAdded "NEWS" file for 1.95.3. Still needs to be filled in a bit.
Fred L. Drake, Jr. [Wed, 24 Apr 2002 13:11:00 +0000 (13:11 +0000)]
Added "NEWS" file for 1.95.3.  Still needs to be filled in a bit.

22 years agoBump version number.
Fred L. Drake, Jr. [Wed, 24 Apr 2002 13:10:09 +0000 (13:10 +0000)]
Bump version number.

22 years agoTake advantage of XML_ParserReset(): Instead of creating new parsers in
Fred L. Drake, Jr. [Wed, 24 Apr 2002 03:48:03 +0000 (03:48 +0000)]
Take advantage of XML_ParserReset():  Instead of creating new parsers in
run_*_check(), reset the parser between uses in the one place its actually
needed.

22 years agoXML_ParserReset(): New function. Reset a parser to be used again, without
Fred L. Drake, Jr. [Wed, 24 Apr 2002 03:36:23 +0000 (03:36 +0000)]
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.

22 years agoSquash compiler warning (GCC): simply referencing a variable in the
Fred L. Drake, Jr. [Tue, 23 Apr 2002 21:36:16 +0000 (21:36 +0000)]
Squash compiler warning (GCC): simply referencing a variable in the
initialization clause of a for statement does not have any effect.

22 years agoAttribute type constants did not have null terminators.
Karl Waclawek [Tue, 23 Apr 2002 19:48:29 +0000 (19:48 +0000)]
Attribute type constants did not have null terminators.

22 years agoFixed rev. 1.26 patch for XML_SetReturnNSTriplet.
Karl Waclawek [Tue, 23 Apr 2002 13:49:31 +0000 (13:49 +0000)]
Fixed rev. 1.26 patch for XML_SetReturnNSTriplet.
Added fixes to make UTF-16 output work when XML_UNICODE is defined.

22 years agoXML_UNICODE fixes
Karl Waclawek [Tue, 23 Apr 2002 13:48:50 +0000 (13:48 +0000)]
XML_UNICODE fixes

22 years agoAdd a new test that demonstrates SF bug #481609 is invalid.
Fred L. Drake, Jr. [Mon, 22 Apr 2002 18:50:18 +0000 (18:50 +0000)]
Add a new test that demonstrates SF bug #481609 is invalid.

22 years agoTest support enhancements:
Fred L. Drake, Jr. [Mon, 22 Apr 2002 18:46:00 +0000 (18:46 +0000)]
Test support enhancements:

_xml_failure():  Clean up the output message so the first line doesn't
    wrap in the typical case.

CharData typedef:  If count is less than 0, consider it "unset".  This
    is used in the new support to check attribute values.

accumulate_characters():  Handle storage->count < 0.  Allow XML_Char
    to be more than one byte.

accumulate_attribute():  New function: store the value of the first
    attribute encountered in parsing.  This needs the concept of a
    CharData that is unset to allow capturing a value that is an empty
    string.

check_characters():  Handle storage->count < 0.  Allow XML_Char to be
    more than one byte.

run_character_check():  Create a local parser so that both
    run_character_check() and run_attribute_check() can be used in a
    single test function.

run_attribute_check():  New function: check that the value of the
    first attribute in a document matches the expected value.

22 years agoAdd support for the xmlwf manpage, both for install and uninstall.
Fred L. Drake, Jr. [Mon, 22 Apr 2002 17:04:36 +0000 (17:04 +0000)]
Add support for the xmlwf manpage, both for install and uninstall.

22 years agoFormatted version of the Unix manpage, ready for installation.
Fred L. Drake, Jr. [Mon, 22 Apr 2002 17:03:39 +0000 (17:03 +0000)]
Formatted version of the Unix manpage, ready for installation.

22 years agoxmlwf should depend on the library, too.
Greg Stein [Mon, 22 Apr 2002 10:22:48 +0000 (10:22 +0000)]
xmlwf should depend on the library, too.

22 years agoAdded another line to the copyright notice.
Fred L. Drake, Jr. [Sat, 20 Apr 2002 21:32:22 +0000 (21:32 +0000)]
Added another line to the copyright notice.

22 years agoBump version number.
Fred L. Drake, Jr. [Sat, 20 Apr 2002 21:17:15 +0000 (21:17 +0000)]
Bump version number.

22 years agoBump the release number.
Fred L. Drake, Jr. [Sat, 20 Apr 2002 21:15:46 +0000 (21:15 +0000)]
Bump the release number.
Remove text about -fexceptions for use with C++; that is added automatically
now.

22 years agoAdd missing word in comment.
Fred L. Drake, Jr. [Sat, 20 Apr 2002 21:14:48 +0000 (21:14 +0000)]
Add missing word in comment.

22 years agoAdded missing library to link line for tests; not sure how this had not
Fred L. Drake, Jr. [Sat, 20 Apr 2002 13:24:59 +0000 (13:24 +0000)]
Added missing library to link line for tests; not sure how this had not
been checked in!

22 years agoAdded test for SF bug #480278.
Fred L. Drake, Jr. [Sat, 20 Apr 2002 13:19:40 +0000 (13:19 +0000)]
Added test for SF bug #480278.

22 years agoSimplify the command used to run the test program.
Fred L. Drake, Jr. [Sat, 20 Apr 2002 13:11:16 +0000 (13:11 +0000)]
Simplify the command used to run the test program.

22 years agoFix typo in comment.
Fred L. Drake, Jr. [Sat, 20 Apr 2002 02:53:15 +0000 (02:53 +0000)]
Fix typo in comment.

22 years agoCheck in SF patch #488196: Make xmlwf read from standard input.
Fred L. Drake, Jr. [Fri, 19 Apr 2002 21:41:54 +0000 (21:41 +0000)]
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.)

22 years agoAdded a test for SF bug #231864.
Fred L. Drake, Jr. [Fri, 19 Apr 2002 20:59:01 +0000 (20:59 +0000)]
Added a test for SF bug #231864.

22 years agoCheck in SF patch #476929: Fix XML_SetReturnNSTriplet().
Fred L. Drake, Jr. [Fri, 19 Apr 2002 20:52:39 +0000 (20:52 +0000)]
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.

22 years agoAdd a test that checks that illegal UTF-8 sequences are not allowed to pass
Fred L. Drake, Jr. [Fri, 19 Apr 2002 19:18:35 +0000 (19:18 +0000)]
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.

22 years agoMake the sample applications depend on the Expat library.
Fred L. Drake, Jr. [Fri, 19 Apr 2002 18:57:24 +0000 (18:57 +0000)]
Make the sample applications depend on the Expat library.

22 years agoAdd the new tests to the right TCase object.
Fred L. Drake, Jr. [Fri, 19 Apr 2002 18:50:26 +0000 (18:50 +0000)]
Add the new tests to the right TCase object.

22 years agobasic_setup(): Remove bogus assumption that all tests would use US-ASCII
Fred L. Drake, Jr. [Fri, 19 Apr 2002 18:25:07 +0000 (18:25 +0000)]
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.

22 years agoWrap some long lines.
Fred L. Drake, Jr. [Fri, 19 Apr 2002 16:19:33 +0000 (16:19 +0000)]
Wrap some long lines.

22 years agoRemove files that are no longer used.
Fred L. Drake, Jr. [Tue, 16 Apr 2002 03:24:48 +0000 (03:24 +0000)]
Remove files that are no longer used.
This closes SF patch #488187.

22 years agoFix name of the "bin" directory; was missing the default $prefix component.
Fred L. Drake, Jr. [Tue, 16 Apr 2002 02:12:20 +0000 (02:12 +0000)]
Fix name of the "bin" directory; was missing the default $prefix component.

22 years agoAdd link to the TclXML project (includes Tcl binding for Expat).
Fred L. Drake, Jr. [Mon, 25 Feb 2002 16:40:42 +0000 (16:40 +0000)]
Add link to the TclXML project (includes Tcl binding for Expat).

22 years agoManual page for the xmlwf utility, contributed by Scott Bronson.
Fred L. Drake, Jr. [Thu, 21 Feb 2002 21:27:55 +0000 (21:27 +0000)]
Manual page for the xmlwf utility, contributed by Scott Bronson.
[Description of the -v option added to the original, contributed text.]

22 years agoAdded links to the Objective-C and Ruby bindings to Expat.
Fred L. Drake, Jr. [Mon, 21 Jan 2002 19:49:40 +0000 (19:49 +0000)]
Added links to the Objective-C and Ruby bindings to Expat.

22 years agoAdd a list of references to other Expat resources.
Fred L. Drake, Jr. [Fri, 11 Jan 2002 15:42:12 +0000 (15:42 +0000)]
Add a list of references to other Expat resources.
It is short, but it includes a plea for additional links.

22 years agoFix the URL to the online CVS browsing.
Greg Stein [Mon, 10 Dec 2001 00:52:55 +0000 (00:52 +0000)]
Fix the URL to the online CVS browsing.

22 years agoRemove the Makefile.in files from the subdirs
Greg Stein [Fri, 7 Dec 2001 10:20:51 +0000 (10:20 +0000)]
Remove the Makefile.in files from the subdirs

22 years ago* Switch to a single, top-level Makefile (simplification, consistency)
Greg Stein [Fri, 7 Dec 2001 10:19:31 +0000 (10:19 +0000)]
* 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

22 years agoAdd a -v option to cause xmlwf to report the version of Expat (hence the
Fred L. Drake, Jr. [Wed, 5 Dec 2001 16:30:31 +0000 (16:30 +0000)]
Add a -v option to cause xmlwf to report the version of Expat (hence the
version of xmlwf).

22 years agoAdd a check for unknown command line options.
Fred L. Drake, Jr. [Sun, 18 Nov 2001 13:56:01 +0000 (13:56 +0000)]
Add a check for unknown command line options.

22 years agoUse the SF logo that has no box around the edge; it looks a bit cleaner.
Fred L. Drake, Jr. [Sun, 18 Nov 2001 05:27:12 +0000 (05:27 +0000)]
Use the SF logo that has no box around the edge; it looks a bit cleaner.

22 years agoprologProcessor(): Avoid segfault by making sure "next" is initialized;
Fred L. Drake, Jr. [Fri, 16 Nov 2001 20:57:30 +0000 (20:57 +0000)]
prologProcessor():  Avoid segfault by making sure "next" is initialized;
fix suggested by Tim Crook.
This fixes (I think!) SF bug #226514.

Removed extra "break".

22 years agoAdded a test to make sure that whitespace in ENTITIES, IDREFS, and NMTOKENS
Fred L. Drake, Jr. [Fri, 16 Nov 2001 20:19:39 +0000 (20:19 +0000)]
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.

22 years agoAdded tests that some basic encodings are recognized and the corresponding
Fred L. Drake, Jr. [Tue, 13 Nov 2001 17:31:53 +0000 (17:31 +0000)]
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.

22 years agoNote that the tests need check 0.8 to work.
Fred L. Drake, Jr. [Tue, 13 Nov 2001 05:04:51 +0000 (05:04 +0000)]
Note that the tests need check 0.8 to work.

22 years agoUpdate to work with check 0.8.
Fred L. Drake, Jr. [Tue, 13 Nov 2001 05:04:02 +0000 (05:04 +0000)]
Update to work with check 0.8.

22 years agoAdded a test that ensures the parser reports an out-of-place XML declaration.
Fred L. Drake, Jr. [Tue, 13 Nov 2001 04:49:52 +0000 (04:49 +0000)]
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.)

22 years agoAs long as SourceForge is changing their logo, we can look really slick too.
Fred L. Drake, Jr. [Fri, 9 Nov 2001 20:21:10 +0000 (20:21 +0000)]
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! ;-)

22 years agoAdded note about conftools/expat.m4.
Fred L. Drake, Jr. [Fri, 9 Nov 2001 04:57:33 +0000 (04:57 +0000)]
Added note about conftools/expat.m4.

22 years agoautoconf probe macro to determine how to use Expat.
Fred L. Drake, Jr. [Fri, 9 Nov 2001 04:55:33 +0000 (04:55 +0000)]
autoconf probe macro to determine how to use Expat.
Anonymous contribution: SF patch #438892.

22 years agoBe more careful about deciding which filemap implementation to use for
Fred L. Drake, Jr. [Fri, 9 Nov 2001 04:19:01 +0000 (04:19 +0000)]
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.

22 years agoInclude header to avoid compiler warnings. Part of SF patch #465018.
Fred L. Drake, Jr. [Fri, 9 Nov 2001 04:08:51 +0000 (04:08 +0000)]
Include header to avoid compiler warnings.  Part of SF patch #465018.

22 years agoBe more reliable about using the libtool version on the PATH when this
Fred L. Drake, Jr. [Fri, 9 Nov 2001 04:07:43 +0000 (04:07 +0000)]
Be more reliable about using the libtool version on the PATH when this
script is run.  Part of SF patch #465018.

22 years agoDefine & use $(srcdir). Part of SF patch #465018.
Fred L. Drake, Jr. [Fri, 9 Nov 2001 04:04:55 +0000 (04:04 +0000)]
Define & use $(srcdir).  Part of SF patch #465018.

23 years agoRevert previous change and use an alternate approach, this time actually
Fred L. Drake, Jr. [Tue, 2 Oct 2001 16:40:17 +0000 (16:40 +0000)]
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!

23 years agoWrap a *lot* of long lines to fit in an 80-column world, but still not all.
Fred L. Drake, Jr. [Mon, 1 Oct 2001 20:52:54 +0000 (20:52 +0000)]
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.

23 years agoAbandon the use of directory names as target names; there are enough
Fred L. Drake, Jr. [Mon, 1 Oct 2001 20:15:39 +0000 (20:15 +0000)]
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.

23 years agoAdded a "-c" option to the $CC command line to make this macro work as
Fred L. Drake, Jr. [Mon, 1 Oct 2001 20:03:13 +0000 (20:03 +0000)]
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).

23 years agoHush up, cvs...
Greg Stein [Thu, 23 Aug 2001 13:27:38 +0000 (13:27 +0000)]
Hush up, cvs...