1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-07 06:43:02 +03:00

- nanoftp.c nanohttp.c uri.c include/win32config.h: Igor Zlatkovic

provided fixes to compile on MSCC again
- win32/libxml2/libxml2.def.src win32/libxml2/libxml2*.dsp: he
  also provided an update for the project files.
Daniel
This commit is contained in:
Daniel Veillard
2001-06-09 13:52:58 +00:00
parent a682b219c4
commit f3afa7dd4e
8 changed files with 77 additions and 6 deletions

View File

@@ -1,3 +1,10 @@
Sat Jun 9 15:50:11 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* nanoftp.c nanohttp.c uri.c include/win32config.h: Igor Zlatkovic
provided fixes to compile on MSCC again
* win32/libxml2/libxml2.def.src win32/libxml2/libxml2*.dsp: he
also provided an update for the project files.
Thu Jun 7 21:52:10 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr> Thu Jun 7 21:52:10 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* tree.c: applied Steve Tinney patch to xmlNewNsProp to fix * tree.c: applied Steve Tinney patch to xmlNewNsProp to fix

View File

@@ -9,7 +9,7 @@
#define LIBXML_DLL_IMPORT #define LIBXML_DLL_IMPORT
#define SOCKLEN_T int #define SOCKLEN_T int
#ifdef INCLUDE_WINSOCK #ifdef NEED_SOCKETS
#include <winsock2.h> #include <winsock2.h>
#define EWOULDBLOCK WSAEWOULDBLOCK #define EWOULDBLOCK WSAEWOULDBLOCK
@@ -94,7 +94,10 @@ static int isnan (double d) {
/* Microsoft's C runtime names all non-ANSI functions with a leading /* Microsoft's C runtime names all non-ANSI functions with a leading
underscore. Since functionality is still the same, they can be used. */ underscore. Since functionality is still the same, they can be used. */
#ifdef _MSC_VER #ifdef _MSC_VER
#include <libxml/xmlversion.h>
#ifndef WITH_TRIO
#define snprintf _snprintf #define snprintf _snprintf
#define vsnprintf _vsnprintf #define vsnprintf _vsnprintf
#endif /* WITH_TRIO */
#endif /* _MSC_VER */ #endif /* _MSC_VER */

View File

@@ -20,6 +20,7 @@
#include "trio.h" #include "trio.h"
#endif #endif
#else /* STANDALONE */ #else /* STANDALONE */
#define NEED_SOCKETS
#include "libxml.h" #include "libxml.h"
#endif /* STANDALONE */ #endif /* STANDALONE */

View File

@@ -14,6 +14,7 @@
/* TODO add compression support, Send the Accept- , and decompress on the /* TODO add compression support, Send the Accept- , and decompress on the
fly with ZLIB if found at compile-time */ fly with ZLIB if found at compile-time */
#define NEED_SOCKETS
#include "libxml.h" #include "libxml.h"
#ifdef LIBXML_HTTP_ENABLED #ifdef LIBXML_HTTP_ENABLED

4
uri.c
View File

@@ -10,10 +10,6 @@
#include "libxml.h" #include "libxml.h"
#ifdef WIN32
#define INCLUDE_WINSOCK
#endif
#include <string.h> #include <string.h>
#include <libxml/xmlmemory.h> #include <libxml/xmlmemory.h>

View File

@@ -434,7 +434,6 @@ EXPORTS
cdataBlock cdataBlock
xmlDefaultSAXHandlerInit xmlDefaultSAXHandlerInit
htmlDefaultSAXHandlerInit htmlDefaultSAXHandlerInit
sgmlDefaultSAXHandlerInit
/* /*
* strio.h * strio.h
@@ -911,3 +910,19 @@ EXPORTS
xmlXPtrEvalRangePredicate xmlXPtrEvalRangePredicate
#endif /* LIBXML_XPTR_ENABLED */ #endif /* LIBXML_XPTR_ENABLED */
/*
* DOCBParser.h
*/
#ifdef LIBXML_DOCB_ENABLED
docbEncodeEntities
docbSAXParseDoc
docbParseDoc
docbSAXParseFile
docbParseFile
docbFreeParserCtxt
docbCreatePushParserCtxt
docbParseChunk
docbCreateFileParserCtxt
docbParseDocument
#endif /* LIBXML_DOCB_ENABLED */

View File

@@ -89,10 +89,18 @@ LIB32=link.exe -lib
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File # Begin Source File
SOURCE=..\..\catalog.c
# End Source File
# Begin Source File
SOURCE=..\..\debugXML.c SOURCE=..\..\debugXML.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\..\DOCBparser.c
# End Source File
# Begin Source File
SOURCE=..\..\encoding.c SOURCE=..\..\encoding.c
# End Source File # End Source File
# Begin Source File # Begin Source File
@@ -185,10 +193,18 @@ SOURCE=..\..\xpointer.c
# PROP Default_Filter "h;hpp;hxx;hm;inl" # PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File # Begin Source File
SOURCE=..\..\include\libxml\catalog.h
# End Source File
# Begin Source File
SOURCE=..\..\include\libxml\debugXML.h SOURCE=..\..\include\libxml\debugXML.h
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\..\include\libxml\DOCBparser.h
# End Source File
# Begin Source File
SOURCE=..\..\include\libxml\encoding.h SOURCE=..\..\include\libxml\encoding.h
# End Source File # End Source File
# Begin Source File # Begin Source File
@@ -209,6 +225,10 @@ SOURCE=..\..\include\libxml\HTMLtree.h
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\..\libxml.h
# End Source File
# Begin Source File
SOURCE=..\..\include\libxml\list.h SOURCE=..\..\include\libxml\list.h
# End Source File # End Source File
# Begin Source File # Begin Source File

View File

@@ -94,10 +94,18 @@ LINK32=link.exe
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File # Begin Source File
SOURCE=..\..\catalog.c
# End Source File
# Begin Source File
SOURCE=..\..\debugXML.c SOURCE=..\..\debugXML.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\..\DOCBparser.c
# End Source File
# Begin Source File
SOURCE=..\..\encoding.c SOURCE=..\..\encoding.c
# End Source File # End Source File
# Begin Source File # Begin Source File
@@ -188,6 +196,10 @@ SOURCE=..\..\tree.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\..\trio.c
# End Source File
# Begin Source File
SOURCE=..\..\uri.c SOURCE=..\..\uri.c
# End Source File # End Source File
# Begin Source File # Begin Source File
@@ -224,10 +236,18 @@ SOURCE=..\..\xpointer.c
# PROP Default_Filter "h;hpp;hxx;hm;inl" # PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File # Begin Source File
SOURCE=..\..\include\libxml\catalog.h
# End Source File
# Begin Source File
SOURCE=..\..\include\libxml\debugXML.h SOURCE=..\..\include\libxml\debugXML.h
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\..\include\libxml\DOCBparser.h
# End Source File
# Begin Source File
SOURCE=..\..\include\libxml\encoding.h SOURCE=..\..\include\libxml\encoding.h
# End Source File # End Source File
# Begin Source File # Begin Source File
@@ -248,6 +268,10 @@ SOURCE=..\..\include\libxml\HTMLtree.h
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\..\libxml.h
# End Source File
# Begin Source File
SOURCE=..\..\include\libxml\list.h SOURCE=..\..\include\libxml\list.h
# End Source File # End Source File
# Begin Source File # Begin Source File
@@ -280,6 +304,10 @@ SOURCE=..\..\include\libxml\tree.h
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\..\trio.h
# End Source File
# Begin Source File
SOURCE=..\..\include\libxml\uri.h SOURCE=..\..\include\libxml\uri.h
# End Source File # End Source File
# Begin Source File # Begin Source File