diff --git a/ChangeLog b/ChangeLog index 5e4668ee..4dfea667 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +Fri Aug 3 14:02:20 CEST 2001 Daniel Veillard + + * DOCBparser.c Makefile.am nanohttp.c parser.c testHTML.c + testSAX.c xmlIO.c xmllint.c include/win32config.h + include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h + include/libxml/xmlwin32version.h.in win32/README.MSDev + win32/dsp/*: applied Win32 Facelift No.2 patches from + Igor Zlatkovic for Windows/MSC + Wed Aug 1 23:21:06 CEST 2001 Daniel Veillard * SAX.c: unparsedEntityDecl() the URI computation of the diff --git a/DOCBparser.c b/DOCBparser.c index ef533391..b57bc916 100644 --- a/DOCBparser.c +++ b/DOCBparser.c @@ -3823,7 +3823,7 @@ docbParseStartTag(docbParserCtxtPtr ctxt) { } } else if (nbatts + 4 > maxatts) { maxatts *= 2; - atts = (const xmlChar **) xmlRealloc(atts, maxatts * sizeof(xmlChar *)); + atts = (const xmlChar **) xmlRealloc((void *)atts, maxatts * sizeof(xmlChar *)); if (atts == NULL) { xmlGenericError(xmlGenericErrorContext, "realloc of %ld byte failed\n", diff --git a/Makefile.am b/Makefile.am index a6f43318..4331d65e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -464,7 +464,7 @@ Validtests : xmllint dist-hook: libxml.spec -cp libxml.spec $(distdir) - (cd $(srcdir) ; tar -cf - --exclude CVS test result SAXresult ) | (cd $(distdir); tar xf -) + (cd $(srcdir) ; tar -cf - --exclude CVS win32 test result SAXresult ) | (cd $(distdir); tar xf -) cleantar: @(rm -f libxslt*.tar.gz) @@ -488,10 +488,6 @@ EXTRA_DIST = xml2-config.in xml2Conf.sh.in libxml.spec.in libxml.spec \ libxml.m4 \ example/Makefile.am example/gjobread.c example/gjobs.xml \ $(man_MANS) libxml-2.0.pc.in \ - win32/README.MSDev win32/Makefile.mingw \ - win32/libxml2/libxml2.dsp win32/libxml2/libxml2_so.dsp \ - win32/libxml2/libxml2_a.dsp win32/libxml2/xmllint.dsp \ - win32/libxml2/libxml2.def.src \ vms/build_libxml.com vms/config.vms \ strio.c strio.h trio.c trio.h triop.h libxml.h diff --git a/include/libxml/xmlversion.h.in b/include/libxml/xmlversion.h.in index 54bc1b61..266eacdc 100644 --- a/include/libxml/xmlversion.h.in +++ b/include/libxml/xmlversion.h.in @@ -163,10 +163,20 @@ extern void xmlCheckVersion(int version); /** * LIBXML_DLL_IMPORT: * - * Used on Windows to declare a variable as exported by the library + * Used on Windows (MS C compiler only) to declare a variable as + * imported from the library. This macro should be empty when compiling + * libxml itself. It should expand to __declspec(dllimport) + * when the client code includes this header, and that only if the client + * links dynamically against libxml. + * For this to work, we need three macros. One tells us which compiler is + * being used and luckily the compiler defines such a thing: _MSC_VER. The + * second macro tells us if we are compiling libxml or the client code and + * we define the macro IN_LIBXML on the compiler's command line for this + * purpose. The third macro, LIBXML_STATIC, must be defined by any client + * code which links against libxml statically. */ #ifndef LIBXML_DLL_IMPORT -#if defined(WIN32) && !defined(STATIC) +#if defined(_MSC_VER) && !defined(IN_LIBXML) && !defined(LIBXML_STATIC) #define LIBXML_DLL_IMPORT __declspec(dllimport) #else #define LIBXML_DLL_IMPORT diff --git a/include/libxml/xmlwin32version.h b/include/libxml/xmlwin32version.h index 1b0d6e00..1be57329 100644 --- a/include/libxml/xmlwin32version.h +++ b/include/libxml/xmlwin32version.h @@ -18,10 +18,37 @@ extern "C" { * use those to be sure nothing nasty will happen if * your library and includes mismatch */ +#ifndef LIBXML2_COMPILING_MSCCDEF extern void xmlCheckVersion(int version); +#endif /* LIBXML2_COMPILING_MSCCDEF */ + +/** + * LIBXML_DOTTED_VERSION: + * + * the version string like "1.2.3" + */ #define LIBXML_DOTTED_VERSION "2.4.1" + +/** + * LIBXML_VERSION: + * + * the version number: 1.2.3 value is 1002003 + */ #define LIBXML_VERSION 20401 + +/** + * LIBXML_VERSION_STRING: + * + * the version number string, 1.2.3 value is "1002003" + */ #define LIBXML_VERSION_STRING "20401" + +/** + * LIBXML_TEST_VERSION: + * + * Macro to check that the libxml version in use is compatible with + * the version the software has been compiled against + */ #define LIBXML_TEST_VERSION xmlCheckVersion(20401); /** @@ -31,8 +58,6 @@ extern void xmlCheckVersion(int version); */ #if 0 #define WITH_TRIO -#else -#define WITHOUT_TRIO #endif /** @@ -42,8 +67,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_FTP_ENABLED -#else -#define LIBXML_FTP_DISABLED #endif /** @@ -53,8 +76,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_HTTP_ENABLED -#else -#define LIBXML_HTTP_DISABLED #endif /** @@ -64,8 +85,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_HTML_ENABLED -#else -#define LIBXML_HTML_DISABLED #endif /** @@ -75,8 +94,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_CATALOG_ENABLED -#else -#define LIBXML_CATALOG_DISABLED #endif /** @@ -84,10 +101,8 @@ extern void xmlCheckVersion(int version); * * Whether the SGML Docbook support is configured in */ -#if 0 +#if 1 #define LIBXML_DOCB_ENABLED -#else -#define LIBXML_DOCB_DISABLED #endif /** @@ -97,8 +112,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_XPATH_ENABLED -#else -#define LIBXML_XPATH_DISABLED #endif /** @@ -108,8 +121,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_XPTR_ENABLED -#else -#define LIBXML_XPTR_DISABLED #endif /** @@ -119,8 +130,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_XINCLUDE_ENABLED -#else -#define LIBXML_XINCLUDE_DISABLED #endif /** @@ -128,11 +137,9 @@ extern void xmlCheckVersion(int version); * * Whether iconv support is available */ -#if defined(__CYGWIN__) -#if 1 +#if !defined(WIN32) || defined(__CYGWIN__) +#if 0 #define LIBXML_ICONV_ENABLED -#else -#define LIBXML_ICONV_DISABLED #endif #endif @@ -143,8 +150,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_DEBUG_ENABLED -#else -#define LIBXML_DEBUG_DISABLED #endif /** @@ -156,8 +161,23 @@ extern void xmlCheckVersion(int version); #define DEBUG_MEMORY_LOCATION #endif +/** + * LIBXML_DLL_IMPORT: + * + * Used on Windows (MS C compiler only) to declare a variable as + * imported from the library. This macro should be empty when compiling + * libxml itself. It should expand to __declspec(dllimport) + * when the client code includes this header, and that only if the client + * links dynamically against libxml. + * For this to work, we need three macros. One tells us which compiler is + * being used and luckily the compiler defines such a thing: _MSC_VER. The + * second macro tells us if we are compiling libxml or the client code and + * we define the macro IN_LIBXML on the compiler's command line for this + * purpose. The third macro, LIBXML_STATIC, must be defined by any client + * code which links against libxml statically. + */ #ifndef LIBXML_DLL_IMPORT -#if !defined(STATIC) +#if defined(_MSC_VER) && !defined(IN_LIBXML) && !defined(LIBXML_STATIC) #define LIBXML_DLL_IMPORT __declspec(dllimport) #else #define LIBXML_DLL_IMPORT @@ -168,13 +188,19 @@ extern void xmlCheckVersion(int version); * ATTRIBUTE_UNUSED: * * Macro used to signal to GCC unused function parameters - * Disabled on Windows, this is checked on Linux. */ +#ifdef __GNUC__ +#ifdef HAVE_ANSIDECL_H +#include +#endif +#ifndef ATTRIBUTE_UNUSED #define ATTRIBUTE_UNUSED +#endif +#else +#define ATTRIBUTE_UNUSED +#endif #ifdef __cplusplus } #endif /* __cplusplus */ #endif - - diff --git a/include/libxml/xmlwin32version.h.in b/include/libxml/xmlwin32version.h.in index 4ba3bb16..52072858 100644 --- a/include/libxml/xmlwin32version.h.in +++ b/include/libxml/xmlwin32version.h.in @@ -18,10 +18,37 @@ extern "C" { * use those to be sure nothing nasty will happen if * your library and includes mismatch */ +#ifndef LIBXML2_COMPILING_MSCCDEF extern void xmlCheckVersion(int version); +#endif /* LIBXML2_COMPILING_MSCCDEF */ + +/** + * LIBXML_DOTTED_VERSION: + * + * the version string like "1.2.3" + */ #define LIBXML_DOTTED_VERSION "@VERSION@" + +/** + * LIBXML_VERSION: + * + * the version number: 1.2.3 value is 1002003 + */ #define LIBXML_VERSION @LIBXML_VERSION_NUMBER@ + +/** + * LIBXML_VERSION_STRING: + * + * the version number string, 1.2.3 value is "1002003" + */ #define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@" + +/** + * LIBXML_TEST_VERSION: + * + * Macro to check that the libxml version in use is compatible with + * the version the software has been compiled against + */ #define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@); /** @@ -31,8 +58,6 @@ extern void xmlCheckVersion(int version); */ #if 0 #define WITH_TRIO -#else -#define WITHOUT_TRIO #endif /** @@ -42,8 +67,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_FTP_ENABLED -#else -#define LIBXML_FTP_DISABLED #endif /** @@ -53,8 +76,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_HTTP_ENABLED -#else -#define LIBXML_HTTP_DISABLED #endif /** @@ -64,8 +85,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_HTML_ENABLED -#else -#define LIBXML_HTML_DISABLED #endif /** @@ -75,8 +94,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_CATALOG_ENABLED -#else -#define LIBXML_CATALOG_DISABLED #endif /** @@ -84,10 +101,8 @@ extern void xmlCheckVersion(int version); * * Whether the SGML Docbook support is configured in */ -#if 0 +#if 1 #define LIBXML_DOCB_ENABLED -#else -#define LIBXML_DOCB_DISABLED #endif /** @@ -97,8 +112,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_XPATH_ENABLED -#else -#define LIBXML_XPATH_DISABLED #endif /** @@ -108,8 +121,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_XPTR_ENABLED -#else -#define LIBXML_XPTR_DISABLED #endif /** @@ -119,8 +130,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_XINCLUDE_ENABLED -#else -#define LIBXML_XINCLUDE_DISABLED #endif /** @@ -128,11 +137,9 @@ extern void xmlCheckVersion(int version); * * Whether iconv support is available */ -#if defined(__CYGWIN__) -#if @WITH_ICONV@ +#if !defined(WIN32) || defined(__CYGWIN__) +#if 0 #define LIBXML_ICONV_ENABLED -#else -#define LIBXML_ICONV_DISABLED #endif #endif @@ -143,8 +150,6 @@ extern void xmlCheckVersion(int version); */ #if 1 #define LIBXML_DEBUG_ENABLED -#else -#define LIBXML_DEBUG_DISABLED #endif /** @@ -156,8 +161,23 @@ extern void xmlCheckVersion(int version); #define DEBUG_MEMORY_LOCATION #endif +/** + * LIBXML_DLL_IMPORT: + * + * Used on Windows (MS C compiler only) to declare a variable as + * imported from the library. This macro should be empty when compiling + * libxml itself. It should expand to __declspec(dllimport) + * when the client code includes this header, and that only if the client + * links dynamically against libxml. + * For this to work, we need three macros. One tells us which compiler is + * being used and luckily the compiler defines such a thing: _MSC_VER. The + * second macro tells us if we are compiling libxml or the client code and + * we define the macro IN_LIBXML on the compiler's command line for this + * purpose. The third macro, LIBXML_STATIC, must be defined by any client + * code which links against libxml statically. + */ #ifndef LIBXML_DLL_IMPORT -#if !defined(STATIC) +#if defined(_MSC_VER) && !defined(IN_LIBXML) && !defined(LIBXML_STATIC) #define LIBXML_DLL_IMPORT __declspec(dllimport) #else #define LIBXML_DLL_IMPORT @@ -168,13 +188,19 @@ extern void xmlCheckVersion(int version); * ATTRIBUTE_UNUSED: * * Macro used to signal to GCC unused function parameters - * Disabled on Windows, this is checked on Linux. */ +#ifdef __GNUC__ +#ifdef HAVE_ANSIDECL_H +#include +#endif +#ifndef ATTRIBUTE_UNUSED #define ATTRIBUTE_UNUSED +#endif +#else +#define ATTRIBUTE_UNUSED +#endif #ifdef __cplusplus } #endif /* __cplusplus */ #endif - - diff --git a/include/win32config.h b/include/win32config.h index b63786b8..7084ebbb 100644 --- a/include/win32config.h +++ b/include/win32config.h @@ -9,14 +9,6 @@ #include -#ifndef LIBXML_DLL_IMPORT -#if !defined(STATIC) -#define LIBXML_DLL_IMPORT __declspec(dllimport) -#else -#define LIBXML_DLL_IMPORT -#endif -#endif - #define SOCKLEN_T int #ifdef NEED_SOCKETS #include @@ -64,6 +56,24 @@ #define HAVE_ISNAN #include +#ifdef _MSC_VER +/* MS C-runtime has functions which can be used in order to determine if + a given floating-point variable contains NaN, (+-)INF. These are + preferred, because floating-point technology is considered propriatary + by MS and we can assume that their functions know more about their + oddities than we do. */ +#include +/* Bjorn Reese figured a quite nice construct for isinf() using the _fpclass + function. */ +#ifndef isinf +#define isinf(d) ((_fpclass(d) == _FPCLASS_PINF) ? 1 \ + : ((_fpclass(d) == _FPCLASS_NINF) ? -1 : 0)) +#endif +/* _isnan(x) returns nonzero if (x == NaN) and zero otherwise. */ +#ifndef isnan +#define isnan(d) (_isnan(d)) +#endif +#else /* _MSC_VER */ static int isinf (double d) { int expon = 0; double val = frexp (d, &expon); @@ -94,22 +104,40 @@ static int isnan (double d) { return 0; } } +#endif /* _MSC_VER */ #include #define HAVE_SYS_STAT_H #define HAVE__STAT +#include + +#ifdef _MSC_VER +/* We don't use trio when compiling under MSVC. This is not because trio + is bad, but because MSVC has no easy way to conditionally include a .c + file in the project. In order to enable trio usage, we would have to compile + all trio functionality into the executable, even if we don't use it. + Since MS C-runtime has all required functions, trio is not necessary. */ +#ifdef WITH_TRIO +#undef WITH_TRIO +#endif /* WITH_TRIO */ +#ifndef WITHOUT_TRIO +#define WITHOUT_TRIO +#endif /* WITHOUT_TRIO */ /* Microsoft's C runtime names all non-ANSI functions with a leading underscore. Since functionality is still the same, they can be used. */ -#ifdef _MSC_VER -#include -#ifndef WITH_TRIO #define snprintf _snprintf #define vsnprintf _vsnprintf -#endif /* WITH_TRIO */ #endif /* _MSC_VER */ +#ifndef LIBXML_DLL_IMPORT +#if defined(_MSC_VER) && !defined(IN_LIBXML) && !defined(LIBXML_STATIC) +#define LIBXML_DLL_IMPORT __declspec(dllimport) +#else +#define LIBXML_DLL_IMPORT +#endif +#endif #ifndef ATTRIBUTE_UNUSED #define ATTRIBUTE_UNUSED diff --git a/nanohttp.c b/nanohttp.c index 8fade163..908103bd 100644 --- a/nanohttp.c +++ b/nanohttp.c @@ -542,7 +542,11 @@ xmlNanoHTTPRecv(xmlNanoHTTPCtxtPtr ctxt) { FD_ZERO(&rfd); FD_SET(ctxt->fd, &rfd); - if ( (select(ctxt->fd+1, &rfd, NULL, NULL, &tv)<1) && (errno != EINTR) ) + if ( (select(ctxt->fd+1, &rfd, NULL, NULL, &tv)<1) +#if defined(EINTR) + && (errno != EINTR) +#endif + ) return(0); } return(0); diff --git a/parser.c b/parser.c index 39c32e6b..f3086174 100644 --- a/parser.c +++ b/parser.c @@ -7308,7 +7308,7 @@ xmlParseDocument(xmlParserCtxtPtr ctxt) { if ((ctxt->sax) && (ctxt->sax->setDocumentLocator)) ctxt->sax->setDocumentLocator(ctxt->userData, &xmlDefaultSAXLocator); - if (ctxt->encoding == XML_CHAR_ENCODING_NONE) { + if (ctxt->encoding == (const xmlChar *)XML_CHAR_ENCODING_NONE) { /* * Get the 4 first bytes and decode the charset * if enc != XML_CHAR_ENCODING_NONE diff --git a/testHTML.c b/testHTML.c index 12fe0489..102e3c65 100644 --- a/testHTML.c +++ b/testHTML.c @@ -10,10 +10,6 @@ #ifdef LIBXML_HTML_ENABLED -#ifdef WIN32 -#undef LIBXML_DLL_IMPORT -#endif - #include #include diff --git a/testSAX.c b/testSAX.c index b22a360e..47b100a0 100644 --- a/testSAX.c +++ b/testSAX.c @@ -8,10 +8,6 @@ #include "libxml.h" -#ifdef WIN32 -#undef LIBXML_DLL_IMPORT -#endif - #include #include diff --git a/win32/README.MSDev b/win32/README.MSDev index 402e0d2e..0e90bc2a 100644 --- a/win32/README.MSDev +++ b/win32/README.MSDev @@ -1,3 +1,30 @@ +----------------------------------------------------------------------- +[24. July, 2001, igor@stud.fh-frankfurt.de] + +And again there are new MSVC project files for libxml2. + +You can find the project files for MSVC 6.0 and higher in win32/dsp/ +subdirectory of the source tree. You should load the file libxml2.dsw +into the IDE. This is the workspace file which contains all projects +and their interdependencies. + +Check the file xmlwin32version.h for optional features and enable or +disable them, as it suits you. The defaults are apropriate for most +people, so there is usually no need to mess with this. + +If you receive few compiler warnings, ignore them. These are harmless +and shall dissapear in the future. + +From now on, all object files produced by the compiler end up in the same +directory for each project, no matter if you compile with debugging +turned on or not. This means that a release build shall overwite the +debug build and vice versa. This makes the dependency tracking easier, +but there are people who don't like this for some reason. + +The new project files from win32/dsp/ make any other project files +obsolete. Previous project files shall remain in their usual location +for some time and end up removed if noone complains. + ----------------------------------------------------------------------- [January the 16th, 2001, igor@stud.fh-frankfurt.de] diff --git a/win32/dsp/libxml2.def.src b/win32/dsp/libxml2.def.src new file mode 100644 index 00000000..6b20cd6c --- /dev/null +++ b/win32/dsp/libxml2.def.src @@ -0,0 +1,1031 @@ +/* win32/libxml2/libxml2.def.src + Pseudo-source used to create a .DEF file for proper dynamic + linkage under MSCC. + + Assuming you use Microsoft's C compiler, you run a + + cl /nologo /EP libxml2.def.src > libxml2.def + + in order to get the right .DEF file. Basically, all you do is + preprocess this file using a C/C++ preprocessor and the right + .DEF file should come out. + + Should you need a function which does not seem to be exported + from the libxml2.dll, its name is most certainly missing here. + Add the name of the offending function to this file and rebuild. + + 14.04.2001, Igor Zlatkovic (igor@stud.fh-frankfurt.de) +*/ + +#define LIBXML2_COMPILING_MSCCDEF +#include "../../include/libxml/xmlwin32version.h" + +LIBRARY libxml2 +EXPORTS + +/* + * catalog.h + */ +#ifdef LIBXML_CATALOG_ENABLED + xmlLoadCatalog + xmlLoadCatalogs + xmlCatalogCleanup + xmlCatalogDump + xmlCatalogGetSystem + xmlCatalogGetPublic +#endif + +/* + * debugXML.h + */ +#ifdef LIBXML_DEBUG_ENABLED + xmlDebugDumpString + xmlDebugDumpAttr + xmlDebugDumpAttrList + xmlDebugDumpOneNode + xmlDebugDumpNode + xmlDebugDumpNodeList + xmlDebugDumpDocumentHead + xmlDebugDumpDocument + xmlDebugDumpDTD + xmlDebugDumpEntities + xmlShell +#endif + +/* + * encoding.h + */ + xmlInitCharEncodingHandlers + xmlCleanupCharEncodingHandlers + xmlRegisterCharEncodingHandler + xmlGetCharEncodingHandler + xmlFindCharEncodingHandler + xmlAddEncodingAlias + xmlDelEncodingAlias + xmlGetEncodingAlias + xmlCleanupEncodingAliases + xmlParseCharEncoding + xmlGetCharEncodingName + xmlDetectCharEncoding + xmlCheckUTF8 + xmlCharEncOutFunc + xmlCharEncInFunc + xmlCharEncFirstLine + xmlCharEncCloseFunc + UTF8Toisolat1 + isolat1ToUTF8 + xmlUTF8Strsize + xmlUTF8Strndup + xmlUTF8Strpos + xmlUTF8Strloc + xmlUTF8Strsub + xmlUTF8Strlen + +/* + * entities.h + */ + xmlInitializePredefinedEntities + xmlAddDocEntity + xmlAddDtdEntity + xmlGetPredefinedEntity + xmlGetDocEntity + xmlGetDtdEntity + xmlGetParameterEntity + xmlEncodeEntities + xmlEncodeEntitiesReentrant + xmlEncodeSpecialChars + xmlCreateEntitiesTable + xmlCopyEntitiesTable + xmlFreeEntitiesTable + xmlDumpEntitiesTable + xmlDumpEntityDecl + xmlCopyEntitiesTable + xmlCleanupPredefinedEntities + +/* + * hash.h + */ + xmlHashCreate + xmlHashFree + xmlHashAddEntry + xmlHashUpdateEntry + xmlHashAddEntry2 + xmlHashUpdateEntry2 + xmlHashAddEntry3 + xmlHashUpdateEntry3 + xmlHashRemoveEntry + xmlHashRemoveEntry2 + xmlHashRemoveEntry3 + xmlHashLookup + xmlHashLookup2 + xmlHashLookup3 + xmlHashCopy + xmlHashSize + xmlHashScan + xmlHashScan3 + xmlHashScanFull + xmlHashScanFull3 + +/* + * HTMLparser.h + */ +#ifdef LIBXML_HTML_ENABLED + htmlTagLookup + htmlEntityLookup + htmlEntityValueLookup + htmlIsAutoClosed + htmlAutoCloseTag + htmlParseEntityRef + htmlParseCharRef + htmlParseElement + htmlSAXParseDoc + htmlParseDoc + htmlSAXParseFile + htmlParseFile + UTF8ToHtml + htmlEncodeEntities + htmlIsScriptAttribute + htmlHandleOmittedElem + htmlFreeParserCtxt + htmlCreatePushParserCtxt + htmlParseChunk +#endif /* LIBXML_HTML_ENABLED */ + +/* + * HTMLtree.h + */ +#ifdef LIBXML_HTML_ENABLED + htmlNewDoc + htmlNewDocNoDtD + htmlGetMetaEncoding + htmlSetMetaEncoding + htmlDocDumpMemory + htmlDocDump + htmlSaveFile + htmlNodeDump + htmlNodeDumpFile + htmlSaveFileEnc + htmlSaveFileFormat +#endif /* LIBXML_HTML_ENABLED */ + +/* + * list.h + */ + xmlListCreate + xmlListDelete + xmlListSearch + xmlListReverseSearch + xmlListInsert + xmlListAppend + xmlListRemoveFirst + xmlListRemoveLast + xmlListRemoveAll + xmlListClear + xmlListEmpty + xmlListFront + xmlListEnd + xmlListSize + xmlListPopFront + xmlListPopBack + xmlListPushFront + xmlListPushBack + xmlListReverse + xmlListSort + xmlListWalk + xmlListReverseWalk + xmlListMerge + xmlListDup + xmlListCopy + xmlLinkGetData + +/* + * nanoftp.h + */ +#ifdef LIBXML_FTP_ENABLED + xmlNanoFTPInit + xmlNanoFTPCleanup + xmlNanoFTPNewCtxt + xmlNanoFTPFreeCtxt + xmlNanoFTPConnectTo + xmlNanoFTPOpen + xmlNanoFTPConnect + xmlNanoFTPClose + xmlNanoFTPQuit + xmlNanoFTPScanProxy + xmlNanoFTPProxy + xmlNanoFTPUpdateURL + xmlNanoFTPGetResponse + xmlNanoFTPCheckResponse + xmlNanoFTPCwd + xmlNanoFTPGetConnection + xmlNanoFTPCloseConnection + xmlNanoFTPList + xmlNanoFTPGetSocket + xmlNanoFTPGet + xmlNanoFTPRead +#endif /* LIBXML_FTP_ENABLED */ + +/* + * nanohttp.h + */ +#ifdef LIBXML_HTTP_ENABLED + xmlNanoHTTPInit + xmlNanoHTTPCleanup + xmlNanoHTTPScanProxy + xmlNanoHTTPFetch + xmlNanoHTTPMethod + xmlNanoHTTPMethodRedir + xmlNanoHTTPOpen + xmlNanoHTTPOpenRedir + xmlNanoHTTPReturnCode + xmlNanoHTTPAuthHeader + xmlNanoHTTPRead + xmlNanoHTTPSave + xmlNanoHTTPClose +#endif /* LIBXML_HTTP_ENABLED */ + +/* + * parser.h + */ + xmlInitParser + xmlCleanupParser + xmlParserInputRead + xmlParserInputGrow + xmlStrdup + xmlStrndup + xmlCharStrndup + xmlCharStrdup + xmlStrsub + xmlStrchr + xmlStrstr + xmlStrcasestr + xmlStrcmp + xmlStrncmp + xmlStrcasecmp + xmlStrncasecmp + xmlStrEqual + xmlStrlen + xmlStrcat + xmlStrncat + xmlParseDoc + xmlParseMemory + xmlParseFile + xmlSubstituteEntitiesDefault + xmlKeepBlanksDefault + xmlStopParser + xmlPedanticParserDefault + xmlLineNumbersDefault + xmlRecoverDoc + xmlRecoverMemory + xmlRecoverFile + xmlParseDocument + xmlParseExtParsedEnt + xmlSAXParseDoc + xmlSAXUserParseFile + xmlSAXUserParseMemory + xmlSAXParseMemory + xmlSAXParseFile + xmlSAXParseEntity + xmlParseEntity + xmlParseDTD + xmlSAXParseDTD + xmlIOParseDTD + xmlParseBalancedChunkMemory + xmlParseExternalEntity + xmlParseCtxtExternalEntity + xmlDefaultSAXHandlerInit + htmlDefaultSAXHandlerInit + xmlInitParserCtxt + xmlClearParserCtxt + xmlFreeParserCtxt + xmlSetupParserForBuffer + xmlCreateDocParserCtxt + xmlGetFeaturesList + xmlGetFeature + xmlSetFeature + xmlCreatePushParserCtxt + xmlParseChunk + xmlCreateIOParserCtxt + xmlNewIOInputStream + xmlParserFindNodeInfo + xmlInitNodeInfoSeq + xmlClearNodeInfoSeq + xmlParserFindNodeInfoIndex + xmlParserAddNodeInfo + xmlSetExternalEntityLoader + xmlGetExternalEntityLoader + xmlLoadExternalEntity + xmlParserVersion DATA + xmlDefaultSAXLocator DATA + xmlDefaultSAXHandler DATA + htmlDefaultSAXHandler DATA + docbDefaultSAXHandler DATA + xmlSubstituteEntitiesDefaultValue DATA + xmlGetWarningsDefaultValue DATA + +/* + * parserinternals.h + */ + xmlIsBaseChar + xmlIsBlank + xmlIsPubidChar + xmlIsLetter + xmlIsDigit + xmlIsIdeographic + xmlIsCombining + xmlIsExtender + xmlIsCombining + xmlIsChar + xmlCreateDocParserCtxt + xmlCreateFileParserCtxt + xmlCreateMemoryParserCtxt + xmlNewParserCtxt + xmlCreateEntityParserCtxt + xmlSwitchEncoding + xmlSwitchToEncoding + xmlFreeParserCtxt + xmlHandleEntity + xmlNewStringInputStream + xmlNewEntityInputStream + xmlPushInput + xmlPopInput + xmlFreeInputStream + xmlNewInputFromFile + xmlNewInputStream + xmlSplitQName + xmlNamespaceParseNCName + xmlNamespaceParseQName + xmlNamespaceParseNSDef + xmlParseQuotedString + xmlParseNamespace + xmlScanName + xmlParseName + xmlParseNmtoken + xmlParseEntityValue + xmlParseAttValue + xmlParseSystemLiteral + xmlParsePubidLiteral + xmlParseCharData + xmlParseExternalID + xmlParseComment + xmlParsePITarget + xmlParsePI + xmlParseNotationDecl + xmlParseEntityDecl + xmlParseDefaultDecl + xmlParseNotationType + xmlParseEnumerationType + xmlParseEnumeratedType + xmlParseAttributeType + xmlParseAttributeListDecl + xmlParseElementChildrenContentDecl + xmlParseElementContentDecl + xmlParseElementDecl + xmlParseMarkupDecl + xmlParseCharRef + xmlParseEntityRef + xmlParseReference + xmlParsePEReference + xmlParseDocTypeDecl + xmlParseAttribute + xmlParseStartTag + xmlParseEndTag + xmlParseCDSect + xmlParseContent + xmlParseElement + xmlParseVersionNum + xmlParseVersionInfo + xmlParseEncName + xmlParseEncodingDecl + xmlParseSDDecl + xmlParseXMLDecl + xmlParseTextDecl + xmlParseMisc + xmlParseExternalSubset + xmlDecodeEntities + xmlStringDecodeEntities + nodePush + nodePop + inputPush + inputPop + namePop + namePush + xmlSkipBlankChars + xmlStringCurrentChar + xmlParserHandlePEReference + xmlParserHandleReference + xmlCheckLanguageID + xmlCurrentChar + xmlCopyCharMultiByte + xmlCopyChar + xmlNextChar + xmlParserInputShrink +#ifdef LIBXML_HTML_ENABLED + htmlInitAutoClose + htmlCreateFileParserCtxt +#endif /* LIBXML_HTML_ENABLED */ + xmlParserDebugEntities DATA + xmlGetWarningsDefaultValue DATA + xmlParserDebugEntities DATA + xmlSubstituteEntitiesDefaultValue DATA + xmlDoValidityCheckingDefaultValue DATA + xmlLoadExtDtdDefaultValue DATA + xmlPedanticParserDefaultValue DATA + xmlKeepBlanksDefaultValue DATA + xmlStringText DATA + xmlStringTextNoenc DATA + xmlStringComment DATA + +/* + * SAX.h + */ + getPublicId + getSystemId + setDocumentLocator + getLineNumber + getColumnNumber + isStandalone + hasInternalSubset + hasExternalSubset + internalSubset + externalSubset + getEntity + getParameterEntity + resolveEntity + entityDecl + attributeDecl + elementDecl + notationDecl + unparsedEntityDecl + startDocument + endDocument + attribute + startElement + endElement + reference + characters + ignorableWhitespace + processingInstruction + globalNamespace + setNamespace + getNamespace + checkNamespace + namespaceDecl + comment + cdataBlock + xmlDefaultSAXHandlerInit +#ifdef LIBXML_HTML_ENABLED + htmlDefaultSAXHandlerInit +#endif /* LIBXML_HTML_ENABLED */ +#ifdef LIBXML_DOCB_ENABLED + docbDefaultSAXHandlerInit +#endif /* LIBXML_DOCB_ENABLED */ + +/* + * strio.h + */ +#ifdef WITH_TRIO + StrAppendMax + StrCopyMax + StrDuplicate + StrDuplicateMax + StrEqual + StrEqualCase + StrEqualCaseMax + StrEqualMax + StrError + StrFormatDateMax + StrHash + StrMatch + StrMatchCase + StrSpanFunction + StrSubstringMax + StrToFloat + StrToDouble + StrToUpper +#endif /* WITH_TRIO */ + +/* + * tree.h + */ +// oldXMLWDcompatibility +// xmlIndentTreeOutput +// xmlBufferAllocScheme +// xmlSaveNoEmptyTags +// xmlDefaultBufferSize + xmlSetBufferAllocationScheme + xmlGetBufferAllocationScheme + xmlBufferCreate + xmlBufferCreateSize + xmlBufferResize + xmlBufferFree + xmlBufferDump + xmlBufferAdd + xmlBufferAddHead + xmlBufferCat + xmlBufferCCat + xmlBufferShrink + xmlBufferGrow + xmlBufferEmpty + xmlBufferContent + xmlBufferSetAllocationScheme + xmlBufferLength + xmlCreateIntSubset + xmlNewDtd + xmlGetIntSubset + xmlFreeDtd + xmlNewGlobalNs + xmlNewNs + xmlFreeNs + xmlFreeNsList + xmlNewDoc + xmlFreeDoc + xmlNewDocProp + xmlNewProp + xmlNewNsProp + xmlFreePropList + xmlFreeProp + xmlCopyProp + xmlCopyPropList + xmlCopyDtd + xmlCopyDoc + xmlNewDocNode + xmlNewDocRawNode + xmlNewNode + xmlNewChild + xmlNewTextChild + xmlNewDocText + xmlNewText + xmlNewPI + xmlNewDocTextLen + xmlNewTextLen + xmlNewDocComment + xmlNewComment + xmlNewCDataBlock + xmlNewCharRef + xmlNewReference + xmlCopyNode + xmlCopyNodeList + xmlNewDocFragment + xmlDocGetRootElement + xmlGetLastChild + xmlNodeIsText + xmlIsBlankNode + xmlDocSetRootElement + xmlNodeSetName + xmlAddChild + xmlAddChildList + xmlReplaceNode + xmlAddSibling + xmlAddPrevSibling + xmlAddNextSibling + xmlUnlinkNode + xmlTextMerge + xmlTextConcat + xmlFreeNodeList + xmlFreeNode + xmlSetTreeDoc + xmlSetListDoc + xmlSearchNs + xmlSearchNsByHref + xmlGetNsList + xmlSetNs + xmlCopyNamespace + xmlCopyNamespaceList + xmlSetProp + xmlGetProp + xmlHasProp + xmlSetNsProp + xmlGetNsProp + xmlStringGetNodeList + xmlStringLenGetNodeList + xmlNodeListGetString + xmlNodeListGetRawString + xmlNodeSetContent + xmlNodeSetContentLen + xmlNodeAddContent + xmlNodeAddContentLen + xmlNodeGetContent + xmlNodeGetLang + xmlNodeSetLang + xmlNodeGetSpacePreserve + xmlNodeSetSpacePreserve + xmlNodeGetBase + xmlNodeSetBase + xmlRemoveProp + xmlBufferWriteCHAR + xmlBufferWriteChar + xmlBufferWriteQuotedString + xmlReconciliateNs + xmlDocDumpFormatMemory + xmlDocDumpMemory + xmlDocDumpMemoryEnc + xmlDocDumpFormatMemoryEnc + xmlDocDump + xmlElemDump + xmlSaveFile + xmlNodeDump + xmlSaveFileTo + xmlSaveFileEnc + xmlGetDocCompressMode + xmlSetDocCompressMode + xmlGetCompressMode + xmlSetCompressMode +// xmlLoadExtDtdDefaultValue +// xmlStringText +// xmlStringTextNoenc +// xmlStringComment + xmlSaveFormatFile + xmlUnsetProp +// baseDTD DATA + oldXMLWDcompatibility DATA + xmlIndentTreeOutput DATA + xmlBufferAllocScheme DATA + xmlSaveNoEmptyTags DATA + xmlDefaultBufferSize DATA + +/* + * uri.h + */ + xmlCreateURI + xmlBuildURI + xmlParseURI + xmlParseURIReference + xmlSaveUri + xmlPrintURI + xmlURIUnescapeString + xmlNormalizeURIPath + xmlURIEscape + xmlFreeURI + +/* + * valid.h + */ + xmlSplitQName2 + xmlAddNotationDecl + xmlCopyNotationTable + xmlFreeNotationTable + xmlDumpNotationDecl + xmlDumpNotationTable + xmlNewElementContent + xmlCopyElementContent + xmlFreeElementContent + xmlSprintfElementContent + xmlAddElementDecl + xmlCopyElementTable + xmlFreeElementTable + xmlDumpElementTable + xmlDumpElementDecl + xmlCreateEnumeration + xmlFreeEnumeration + xmlCopyEnumeration + xmlAddAttributeDecl + xmlCopyAttributeTable + xmlFreeAttributeTable + xmlDumpAttributeTable + xmlDumpAttributeDecl + xmlAddID + xmlFreeIDTable + xmlGetID + xmlIsID + xmlRemoveID + xmlAddRef + xmlFreeRefTable + xmlIsRef + xmlRemoveRef + xmlGetRefs + xmlValidateRoot + xmlValidateElementDecl + xmlValidNormalizeAttributeValue + xmlValidateAttributeDecl + xmlValidateAttributeValue + xmlValidateNotationDecl + xmlValidateDtd + xmlValidateDtdFinal + xmlValidateDocument + xmlValidateElement + xmlValidateOneElement + xmlValidateOneAttribute + xmlValidateDocumentFinal + xmlValidateNotationUse + xmlIsMixedElement + xmlGetDtdAttrDesc + xmlGetDtdNotationDesc + xmlGetDtdElementDesc + xmlValidGetValidElements + xmlValidGetPotentialChildren + +/* + * xinclude.h + */ +#ifdef LIBXML_XINCLUDE_ENABLED + xmlXIncludeProcess +#endif /* LIBXML_XINCLUDE_ENABLED */ + +/* + * xlink.h + */ + xlinkGetDefaultDetect + xlinkSetDefaultDetect + xlinkGetDefaultHandler + xlinkSetDefaultHandler + xlinkIsLink + +/* + * xmlerror.h + */ +// xmlGenericError +// xmlGenericErrorContext + xmlSetGenericErrorFunc + xmlParserError + xmlParserWarning + xmlParserValidityError + xmlParserValidityWarning + xmlParserPrintFileInfo + xmlParserPrintFileContext + xmlGenericError DATA + xmlGenericErrorContext DATA + +/* + * xmlIO.h + */ + xmlRegisterDefaultInputCallbacks + xmlAllocParserInputBuffer + xmlParserInputBufferCreateFilename + xmlParserInputBufferCreateFile + xmlParserInputBufferCreateFd + xmlParserInputBufferCreateMem + xmlParserInputBufferCreateIO + xmlParserInputBufferRead + xmlParserInputBufferGrow + xmlParserInputBufferPush + xmlFreeParserInputBuffer + xmlParserGetDirectory + xmlRegisterInputCallbacks + xmlRegisterDefaultOutputCallbacks + xmlAllocOutputBuffer + xmlOutputBufferCreateFilename + xmlOutputBufferCreateFile + xmlOutputBufferCreateFd + xmlOutputBufferCreateIO + xmlOutputBufferWrite + xmlOutputBufferWriteString + xmlOutputBufferFlush + xmlOutputBufferClose + xmlRegisterOutputCallbacks + xmlSaveFileTo + xmlNodeDumpOutput +#ifdef LIBXML_HTML_ENABLED + htmlDocContentDumpOutput +#endif /* LIBXML_HTML_ENABLED */ + +/* + * xmlmemory.h + */ +// xmlFree +// xmlMalloc +// xmlRealloc +// xmlMemStrdup + xmlMemSetup + xmlMemGet + xmlInitMemory + xmlMemUsed + xmlMemDisplay + xmlMemShow + xmlMemoryDump + xmlInitMemory +#ifdef DEBUG_MEMORY_LOCATION + xmlMallocLoc + xmlReallocLoc + xmlMemStrdupLoc +#endif /* DEBUG_MEMORY_LOCATION */ + xmlFree DATA + xmlMalloc DATA + xmlRealloc DATA + xmlMemStrdup DATA + +/* + * xmlversion.h + */ + xmlCheckVersion + +/* + * xpath.h + */ +#ifdef LIBXML_XPATH_ENABLED + xmlXPathFreeObject + xmlXPathNodeSetCreate + xmlXPathFreeNodeSetList + xmlXPathFreeNodeSet + xmlXPathObjectCopy + xmlXPathCmpNodes + xmlXPathConvertBoolean + xmlXPathConvertNumber + xmlXPathConvertString + xmlXPathInit + xmlXPathNewContext + xmlXPathFreeContext + xmlXPathEval + xmlXPathEvalExpression + xmlXPathEvalPredicate + xmlXPathCompile + xmlXPathCompiledEval + xmlXPathFreeCompExpr + xmlXPathCastNumberToBoolean + xmlXPathCastStringToBoolean + xmlXPathCastNodeSetToBoolean + xmlXPathCastToBoolean + xmlXPathCastBooleanToNumber + xmlXPathCastStringToNumber + xmlXPathCastNodeToNumber + xmlXPathCastNodeSetToNumber + xmlXPathCastToNumber + xmlXPathCastBooleanToString + xmlXPathCastNumberToString + xmlXPathCastNodeToString + xmlXPathCastNodeSetToString + xmlXPathCastToString + xmlXPathConvertBoolean + xmlXPathConvertNumber + xmlXPathConvertString + xmlXPathRegisterFuncLookup + xmlXPathNAN DATA + xmlXPathPINF DATA + xmlXPathNINF DATA +#endif /* LIBXML_XPATH_ENABLED */ + +/* + * xpathinternals.h + */ +#ifdef LIBXML_XPATH_ENABLED + xmlXPathPopBoolean + xmlXPathPopNumber + xmlXPathPopString + xmlXPathPopNodeSet + xmlXPathPopExternal + xmlXPathDifference + xmlXPathIntersection + xmlXPathDistinctSorted + xmlXPathDistinct + xmlXPathHasSameNodes + xmlXPathNodeLeadingSorted + xmlXPathLeadingSorted + xmlXPathNodeLeading + xmlXPathLeading + xmlXPathNodeTrailingSorted + xmlXPathTrailingSorted + xmlXPathNodeTrailing + xmlXPathTrailing + xmlXPathRegisterVariableLookup + xmlXPatherror + xmlXPathRegisterNs + xmlXPathNsLookup + xmlXPathRegisteredNsCleanup + xmlXPathRegisterFunc + xmlXPathRegisterFuncNS + xmlXPathRegisterVariable + xmlXPathRegisterVariableNS + xmlXPathFunctionLookup + xmlXPathFunctionLookupNS + xmlXPathRegisteredFuncsCleanup + xmlXPathVariableLookup + xmlXPathVariableLookupNS + xmlXPathRegisteredVariablesCleanup + xmlXPathNewParserContext + xmlXPathFreeParserContext + valuePop + valuePush + xmlXPathNewString + xmlXPathNewCString + xmlXPathNewFloat + xmlXPathNewBoolean + xmlXPathNewNodeSet + xmlXPathNewValueTree + xmlXPathNodeSetAdd + xmlXPathNodeSetAddUnique + xmlXPathNodeSetSort + xmlXPathIdFunction + xmlXPathRoot + xmlXPathEvalExpr + xmlXPathParseName + xmlXPathParseNCName + xmlXPathStringEvalNumber +#ifdef LIBXML_DEBUG_ENABLED + xmlXPathDebugDumpObject + xmlXPathDebugDumpCompExpr +#endif /* LIBXML_DEBUG_ENABLED */ + xmlXPathEvaluatePredicateResult + xmlXPathInit + xmlXPathStringFunction + xmlXPathRegisterAllFunctions + xmlXPathNodeSetCreate + xmlXPathNodeSetAdd + xmlXPathNodeSetMerge + xmlXPathNodeSetDel + xmlXPathNodeSetRemove + xmlXPathFreeNodeSet + xmlXPathNewNodeSet + xmlXPathNewNodeSetList + xmlXPathWrapNodeSet + xmlXPathFreeNodeSetList + xmlXPathNewFloat + xmlXPathNewBoolean + xmlXPathNewString + xmlXPathNewCString + xmlXPathFreeObject + xmlXPathNewContext + xmlXPathFreeContext + xmlXPathEqualValues + xmlXPathCompareValues + xmlXPathValueFlipSign + xmlXPathAddValues + xmlXPathSubValues + xmlXPathMultValues + xmlXPathDivValues + xmlXPathModValues + xmlXPathIsNodeType + xmlXPathNextSelf + xmlXPathNextChild + xmlXPathNextDescendant + xmlXPathNextDescendantOrSelf + xmlXPathNextParent + xmlXPathNextAncestorOrSelf + xmlXPathNextFollowingSibling + xmlXPathNextFollowing + xmlXPathNextNamespace + xmlXPathNextAttribute + xmlXPathNextPreceding + xmlXPathNextAncestor + xmlXPathNextPrecedingSibling + xmlXPathRoot + xmlXPathLastFunction + xmlXPathPositionFunction + xmlXPathCountFunction + xmlXPathIdFunction + xmlXPathLocalNameFunction + xmlXPathNamespaceURIFunction + xmlXPathStringFunction + xmlXPathStringLengthFunction + xmlXPathConcatFunction + xmlXPathContainsFunction + xmlXPathStartsWithFunction + xmlXPathSubstringFunction + xmlXPathSubstringBeforeFunction + xmlXPathSubstringAfterFunction + xmlXPathNormalizeFunction + xmlXPathTranslateFunction + xmlXPathNotFunction + xmlXPathTrueFunction + xmlXPathFalseFunction + xmlXPathLangFunction + xmlXPathNumberFunction + xmlXPathSumFunction + xmlXPathFloorFunction + xmlXPathCeilingFunction + xmlXPathRoundFunction + xmlXPathBooleanFunction +#endif /* LIBXML_XPATH_ENABLED */ + +/* + * xpointer.h + */ +#ifdef LIBXML_XPTR_ENABLED + xmlXPtrLocationSetCreate + xmlXPtrFreeLocationSet + xmlXPtrLocationSetMerge + xmlXPtrNewRange + xmlXPtrNewRangePoints + xmlXPtrNewRangeNodePoint + xmlXPtrNewRangePointNode + xmlXPtrNewRangeNodes + xmlXPtrNewLocationSetNodes + xmlXPtrNewLocationSetNodeSet + xmlXPtrNewRangeNodeObject + xmlXPtrNewCollapsedRange + xmlXPtrLocationSetAdd + xmlXPtrWrapLocationSet + xmlXPtrLocationSetDel + xmlXPtrLocationSetRemove + xmlXPtrNewContext + xmlXPtrEval + xmlXPtrRangeToFunction + xmlXPtrBuildNodeList + xmlXPtrEvalRangePredicate +#endif /* LIBXML_XPTR_ENABLED */ + +/* + * DOCBParser.h + */ +#ifdef LIBXML_DOCB_ENABLED + docbEncodeEntities + docbSAXParseDoc + docbParseDoc + docbSAXParseFile + docbParseFile + docbFreeParserCtxt + docbCreatePushParserCtxt + docbParseChunk + docbCreateFileParserCtxt + docbParseDocument +#endif /* LIBXML_DOCB_ENABLED */ + diff --git a/win32/dsp/libxml2.dsw b/win32/dsp/libxml2.dsw new file mode 100644 index 00000000..218be213 --- /dev/null +++ b/win32/dsp/libxml2.dsw @@ -0,0 +1,125 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "libxml2_a"=.\libxml2_a.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "libxml2_so"=.\libxml2_so.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testCatalog"=.\testCatalog.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testDocbook"=.\testDocbook.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testHTML"=.\testHTML.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testSAX"=.\testSAX.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testURI"=.\testURI.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "testXPath"=.\testXPath.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "xmllint"=.\xmllint.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/win32/dsp/libxml2_a.dsp b/win32/dsp/libxml2_a.dsp new file mode 100644 index 00000000..2507cc68 --- /dev/null +++ b/win32/dsp/libxml2_a.dsp @@ -0,0 +1,308 @@ +# Microsoft Developer Studio Project File - Name="libxml2_a" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=libxml2_a - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libxml2_a.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libxml2_a.mak" CFG="libxml2_a - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libxml2_a - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "libxml2_a - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libxml2_a - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "libxml2_a___Win32_Release" +# PROP BASE Intermediate_Dir "libxml2_a___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "libxml2_a" +# PROP Intermediate_Dir "libxml2_a" +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "IN_LIBXML" /FD /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"libxml2_a\libxml2.lib" + +!ELSEIF "$(CFG)" == "libxml2_a - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "libxml2_a___Win32_Debug" +# PROP BASE Intermediate_Dir "libxml2_a___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "libxml2_a" +# PROP Intermediate_Dir "libxml2_a" +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MD /W3 /Gm /Zi /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "IN_LIBXML" /FD /GZ /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"libxml2_a\libxml2.lib" + +!ENDIF + +# Begin Target + +# Name "libxml2_a - Win32 Release" +# Name "libxml2_a - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\catalog.c +# End Source File +# Begin Source File + +SOURCE=..\..\debugXML.c +# End Source File +# Begin Source File + +SOURCE=..\..\DOCBparser.c +# End Source File +# Begin Source File + +SOURCE=..\..\encoding.c +# End Source File +# Begin Source File + +SOURCE=..\..\entities.c +# End Source File +# Begin Source File + +SOURCE=..\..\error.c +# End Source File +# Begin Source File + +SOURCE=..\..\hash.c +# End Source File +# Begin Source File + +SOURCE=..\..\HTMLparser.c +# End Source File +# Begin Source File + +SOURCE=..\..\HTMLtree.c +# End Source File +# Begin Source File + +SOURCE=..\..\list.c +# End Source File +# Begin Source File + +SOURCE=..\..\nanoftp.c +# End Source File +# Begin Source File + +SOURCE=..\..\nanohttp.c +# End Source File +# Begin Source File + +SOURCE=..\..\parser.c +# End Source File +# Begin Source File + +SOURCE=..\..\parserInternals.c +# End Source File +# Begin Source File + +SOURCE=..\..\SAX.c +# End Source File +# Begin Source File + +SOURCE=..\..\tree.c +# End Source File +# Begin Source File + +SOURCE=..\..\uri.c +# End Source File +# Begin Source File + +SOURCE=..\..\valid.c +# End Source File +# Begin Source File + +SOURCE=..\..\xinclude.c +# End Source File +# Begin Source File + +SOURCE=..\..\xlink.c +# End Source File +# Begin Source File + +SOURCE=..\..\xmlIO.c +# End Source File +# Begin Source File + +SOURCE=..\..\xmlmemory.c +# End Source File +# Begin Source File + +SOURCE=..\..\xpath.c +# End Source File +# Begin Source File + +SOURCE=..\..\xpointer.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\include\libxml\catalog.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\debugXML.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\DOCBparser.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\encoding.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\entities.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\hash.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\HTMLparser.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\HTMLtree.h +# End Source File +# Begin Source File + +SOURCE=..\..\libxml.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\list.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\nanoftp.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\nanohttp.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\parser.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\parserInternals.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\SAX.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\tree.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\uri.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\valid.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\win32config.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xinclude.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xlink.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xmlerror.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xmlIO.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xmlmemory.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xmlversion.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xmlwin32version.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xpath.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xpathInternals.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xpointer.h +# End Source File +# End Group +# End Target +# End Project diff --git a/win32/dsp/libxml2_so.dsp b/win32/dsp/libxml2_so.dsp new file mode 100644 index 00000000..5a2bddae --- /dev/null +++ b/win32/dsp/libxml2_so.dsp @@ -0,0 +1,351 @@ +# Microsoft Developer Studio Project File - Name="libxml2_so" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=libxml2_so - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libxml2_so.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libxml2_so.mak" CFG="libxml2_so - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libxml2_so - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "libxml2_so - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libxml2_so - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "libxml2_so___Win32_Release" +# PROP BASE Intermediate_Dir "libxml2_so___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "libxml2_so" +# PROP Intermediate_Dir "libxml2_so" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBXML2_SO_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "IN_LIBXML" /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"libxml2_so/libxml2.dll" + +!ELSEIF "$(CFG)" == "libxml2_so - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "libxml2_so___Win32_Debug" +# PROP BASE Intermediate_Dir "libxml2_so___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "libxml2_so" +# PROP Intermediate_Dir "libxml2_so" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBXML2_SO_EXPORTS" /YX /FD /GZ /c +# ADD CPP /nologo /MD /W3 /Gm /Zi /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "IN_LIBXML" /FR /FD /GZ /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"libxml2_so/libxml2.dll" /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "libxml2_so - Win32 Release" +# Name "libxml2_so - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\catalog.c +# End Source File +# Begin Source File + +SOURCE=..\..\debugXML.c +# End Source File +# Begin Source File + +SOURCE=..\..\DOCBparser.c +# End Source File +# Begin Source File + +SOURCE=..\..\encoding.c +# End Source File +# Begin Source File + +SOURCE=..\..\entities.c +# End Source File +# Begin Source File + +SOURCE=..\..\error.c +# End Source File +# Begin Source File + +SOURCE=..\..\hash.c +# End Source File +# Begin Source File + +SOURCE=..\..\HTMLparser.c +# End Source File +# Begin Source File + +SOURCE=..\..\HTMLtree.c +# End Source File +# Begin Source File + +SOURCE=.\libxml2.def +# End Source File +# Begin Source File + +SOURCE=.\libxml2.def.src + +!IF "$(CFG)" == "libxml2_so - Win32 Release" + +USERDEP__LIBXM="../../include/libxml/xmlversion.h" +# Begin Custom Build +InputPath=.\libxml2.def.src + +"libxml2.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + cl /I"..\.." /I"..\..\include" /nologo /EP $(InputPath) > libxml2.def + +# End Custom Build + +!ELSEIF "$(CFG)" == "libxml2_so - Win32 Debug" + +# PROP Ignore_Default_Tool 1 +USERDEP__LIBXM="../../include/libxml/xmlversion.h" +# Begin Custom Build +InputPath=.\libxml2.def.src + +"libxml2.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + cl /I"..\.." /I"..\..\include" /nologo /EP $(InputPath) > libxml2.def + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\list.c +# End Source File +# Begin Source File + +SOURCE=..\..\nanoftp.c +# End Source File +# Begin Source File + +SOURCE=..\..\nanohttp.c +# End Source File +# Begin Source File + +SOURCE=..\..\parser.c +# End Source File +# Begin Source File + +SOURCE=..\..\parserInternals.c +# End Source File +# Begin Source File + +SOURCE=..\..\SAX.c +# End Source File +# Begin Source File + +SOURCE=..\..\tree.c +# End Source File +# Begin Source File + +SOURCE=..\..\uri.c +# End Source File +# Begin Source File + +SOURCE=..\..\valid.c +# End Source File +# Begin Source File + +SOURCE=..\..\xinclude.c +# End Source File +# Begin Source File + +SOURCE=..\..\xlink.c +# End Source File +# Begin Source File + +SOURCE=..\..\xmlIO.c +# End Source File +# Begin Source File + +SOURCE=..\..\xmlmemory.c +# End Source File +# Begin Source File + +SOURCE=..\..\xpath.c +# End Source File +# Begin Source File + +SOURCE=..\..\xpointer.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\include\libxml\catalog.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\debugXML.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\DOCBparser.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\encoding.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\entities.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\hash.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\HTMLparser.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\HTMLtree.h +# End Source File +# Begin Source File + +SOURCE=..\..\libxml.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\list.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\nanoftp.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\nanohttp.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\parser.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\parserInternals.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\SAX.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\tree.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\uri.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\valid.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\win32config.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xinclude.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xlink.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xmlerror.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xmlIO.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xmlmemory.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xmlversion.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xmlwin32version.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xpath.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xpathInternals.h +# End Source File +# Begin Source File + +SOURCE=..\..\include\libxml\xpointer.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/win32/dsp/testCatalog.dsp b/win32/dsp/testCatalog.dsp new file mode 100644 index 00000000..cfffd4a9 --- /dev/null +++ b/win32/dsp/testCatalog.dsp @@ -0,0 +1,104 @@ +# Microsoft Developer Studio Project File - Name="testCatalog" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=testCatalog - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testCatalog.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testCatalog.mak" CFG="testCatalog - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testCatalog - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "testCatalog - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testCatalog - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "testCatalog" +# PROP Intermediate_Dir "testCatalog" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 libxml2.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:".\libxml2_so" + +!ELSEIF "$(CFG)" == "testCatalog - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "testCatalog" +# PROP Intermediate_Dir "testCatalog" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /MD /W3 /Gm /Zi /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 libxml2.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:".\libxml2_so" + +!ENDIF + +# Begin Target + +# Name "testCatalog - Win32 Release" +# Name "testCatalog - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\testCatalog.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/win32/dsp/testDocbook.dsp b/win32/dsp/testDocbook.dsp new file mode 100644 index 00000000..47cd2f22 --- /dev/null +++ b/win32/dsp/testDocbook.dsp @@ -0,0 +1,104 @@ +# Microsoft Developer Studio Project File - Name="testDocbook" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=testDocbook - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testDocbook.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testDocbook.mak" CFG="testDocbook - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testDocbook - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "testDocbook - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testDocbook - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "testDocbook" +# PROP Intermediate_Dir "testDocbook" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 libxml2.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:".\libxml2_so" + +!ELSEIF "$(CFG)" == "testDocbook - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "testDocbook" +# PROP Intermediate_Dir "testDocbook" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /MD /W3 /Gm /Zi /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 libxml2.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:".\libxml2_so" + +!ENDIF + +# Begin Target + +# Name "testDocbook - Win32 Release" +# Name "testDocbook - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\testDocbook.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/win32/dsp/testHTML.dsp b/win32/dsp/testHTML.dsp new file mode 100644 index 00000000..f3e01e66 --- /dev/null +++ b/win32/dsp/testHTML.dsp @@ -0,0 +1,104 @@ +# Microsoft Developer Studio Project File - Name="testHTML" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=testHTML - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testHTML.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testHTML.mak" CFG="testHTML - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testHTML - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "testHTML - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testHTML - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "testHTML" +# PROP Intermediate_Dir "testHTML" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 libxml2.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:".\libxml2_so" + +!ELSEIF "$(CFG)" == "testHTML - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "testHTML" +# PROP Intermediate_Dir "testHTML" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /MD /W3 /Gm /Zi /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 libxml2.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:".\libxml2_so" + +!ENDIF + +# Begin Target + +# Name "testHTML - Win32 Release" +# Name "testHTML - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\testHTML.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/win32/dsp/testSAX.dsp b/win32/dsp/testSAX.dsp new file mode 100644 index 00000000..3176a73b --- /dev/null +++ b/win32/dsp/testSAX.dsp @@ -0,0 +1,104 @@ +# Microsoft Developer Studio Project File - Name="testSAX" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=testSAX - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testSAX.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testSAX.mak" CFG="testSAX - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testSAX - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "testSAX - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testSAX - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "testSAX" +# PROP Intermediate_Dir "testSAX" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 libxml2.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:".\libxml2_so" + +!ELSEIF "$(CFG)" == "testSAX - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "testSAX___Win32_Debug" +# PROP BASE Intermediate_Dir "testSAX___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "testSAX" +# PROP Intermediate_Dir "testSAX" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /MD /W3 /Gm /Zi /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 libxml2.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:".\libxml2_so" + +!ENDIF + +# Begin Target + +# Name "testSAX - Win32 Release" +# Name "testSAX - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\testSAX.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/win32/dsp/testURI.dsp b/win32/dsp/testURI.dsp new file mode 100644 index 00000000..a0782cea --- /dev/null +++ b/win32/dsp/testURI.dsp @@ -0,0 +1,104 @@ +# Microsoft Developer Studio Project File - Name="testURI" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=testURI - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testURI.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testURI.mak" CFG="testURI - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testURI - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "testURI - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testURI - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "testURI" +# PROP Intermediate_Dir "testURI" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 libxml2.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:".\libxml2_so" + +!ELSEIF "$(CFG)" == "testURI - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "testURI" +# PROP Intermediate_Dir "testURI" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /MD /W3 /Gm /ZI /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 libxml2.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:".\libxml2_so" + +!ENDIF + +# Begin Target + +# Name "testURI - Win32 Release" +# Name "testURI - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\testURI.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/win32/dsp/testXPath.dsp b/win32/dsp/testXPath.dsp new file mode 100644 index 00000000..634eca73 --- /dev/null +++ b/win32/dsp/testXPath.dsp @@ -0,0 +1,104 @@ +# Microsoft Developer Studio Project File - Name="testXPath" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=testXPath - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testXPath.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testXPath.mak" CFG="testXPath - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testXPath - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "testXPath - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "testXPath - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "testXPath" +# PROP Intermediate_Dir "testXPath" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 libxml2.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:".\libxml2_so" + +!ELSEIF "$(CFG)" == "testXPath - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "testXPath" +# PROP Intermediate_Dir "testXPath" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /MD /W3 /Gm /ZI /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c +# SUBTRACT CPP /YX +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 libxml2.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:".\libxml2_so" + +!ENDIF + +# Begin Target + +# Name "testXPath - Win32 Release" +# Name "testXPath - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\testXPath.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/win32/dsp/xmllint.dsp b/win32/dsp/xmllint.dsp new file mode 100644 index 00000000..c8d8ba87 --- /dev/null +++ b/win32/dsp/xmllint.dsp @@ -0,0 +1,111 @@ +# Microsoft Developer Studio Project File - Name="xmllint" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 + +CFG=xmllint - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "xmllint.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "xmllint.mak" CFG="xmllint - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "xmllint - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "xmllint - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "xmllint - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "xmllint" +# PROP Intermediate_Dir "xmllint" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x809 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 +# ADD LINK32 libxml2.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:".\libxml2_so" +# SUBTRACT LINK32 /pdb:none + +!ELSEIF "$(CFG)" == "xmllint - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "xmllint" +# PROP Intermediate_Dir "xmllint" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /MD /W3 /Gm /Zi /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept +# ADD LINK32 libxml2.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:".\libxml2_so" +# SUBTRACT LINK32 /pdb:none + +!ENDIF + +# Begin Target + +# Name "xmllint - Win32 Release" +# Name "xmllint - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\xmllint.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/xmlIO.c b/xmlIO.c index b4f2efb4..c21a168e 100644 --- a/xmlIO.c +++ b/xmlIO.c @@ -35,7 +35,11 @@ /* Figure a portable way to know if a file is a directory. */ #ifndef HAVE_STAT # ifdef HAVE__STAT -# define stat(x,y) _stat(x,y) + /* MS C library seems to define stat and _stat. The definition + is identical. Still, mapping them to each other causes a warning. */ +# ifndef _MSC_VER +# define stat(x,y) _stat(x,y) +# endif # define HAVE_STAT # endif #endif diff --git a/xmllint.c b/xmllint.c index 618db945..ee020df6 100644 --- a/xmllint.c +++ b/xmllint.c @@ -103,15 +103,6 @@ static int timing = 0; static int generate = 0; static struct timeval begin, end; - -#ifdef VMS -extern int xmlDoValidityCheckingDefaultVal; -#define xmlDoValidityCheckingDefaultValue xmlDoValidityCheckingDefaultVal -#else -extern int xmlDoValidityCheckingDefaultValue; -#endif -extern int xmlGetWarningsDefaultValue; - /************************************************************************ * * * HTML ouput *