Subject: commit: abi: XML parser update & bits and bobs
From: F J Franklin (F.J.Franklin@sheffield.ac.uk)
Date: Mon Oct 22 2001 - 02:58:52 CDT
AbiWord can now build with libxml2.
Funnily enough, I was about to apply an earlier version of this patch on
Saturday when it occured to me that I hadn't tested with expat in a
while... good thing I held off!
Anyway, I'm fairly certain they both work now.
BTW, it became very clear that no one has used libxml2 in a long time.
Even the simple change from XML_Char=char to XML_Char=xmlChar=uchar
gave the compiler an apoplectic (?) fit. Rather than fix all of this, I
decided to define XML_Char=char for the libxml2 case everywhere outside of
ut_xml.cpp - which is probably very bad practice, but there's no easy
alternative.
o force libxml2 if requested
o be careful with truncate(0) in UT_GrowBuf
o make lesser() static in ut_map.cpp and ut_set.cpp
o ut_xml: added sniff (), stop () & other new functionality
fixes to support for libxml2
libxml2 HTML parser support
o ut_string: remove XML parser stuff (UT_decodeXMLstring ())
o ap_Prefs.cpp: use UT_XML::decode () instead of UT_decodeXMLstring ()
o minor XDarwin-specific fixes in xap_ModuleManager.cpp & ap_UnixApp.cpp
o GNUmakefile.am: don't create soft link on case-insensitive file system
CVS:----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: abi/ac-helpers/abi-xml-parser.m4
CVS: abi/src/af/util/xp/ut_growbuf.cpp
CVS: abi/src/af/util/xp/ut_map.cpp abi/src/af/util/xp/ut_set.cpp
CVS: abi/src/af/util/xp/ut_string.cpp
CVS: abi/src/af/util/xp/ut_string.h abi/src/af/util/xp/ut_xml.cpp
CVS: abi/src/af/util/xp/ut_xml.h
CVS: abi/src/af/xap/xp/xap_ModuleManager.cpp
CVS: abi/src/wp/ap/unix/ap_UnixApp.cpp
CVS: abi/src/wp/ap/xp/ap_Prefs.cpp
CVS: abi/src/wp/main/unix/GNUmakefile.am
CVS:----------------------------------------------------------------------
Regards, Frank
Francis James Franklin
F.J.Franklin@shef.ac.uk
Deep in the human unconsciousness is a pervasive need for a logical
universe that makes sense. But the real universe is always one step
beyond logic.
--- from `The Sayings of Muad'dib' by the Princess Irulan
This archive was generated by hypermail 2b25 : Mon Oct 22 2001 - 02:58:58 CDT