diff --git a/ChangeLog b/ChangeLog index e8b80813..305f71f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Aug 20 17:03:38 CEST 2000 Daniel Veillard + + * nanoftp.c nanohttp.c: small cleanup + * TODO: updated + Sat Aug 19 22:57:02 CEST 2000 Daniel Veillard * added an old VC testcase and updated title.xml entity @@ -78,6 +83,7 @@ Fri Aug 4 11:21:50 PDT 2000 Daniel Veillard Sat Jul 22 05:59:05 CEST 2000 Daniel Veillard * parser.c xmlIO.[ch]: fixed the problem of encoding support + when using in memory parsing. Need some cleanup. * xmllint.c configure.in: added a --memory flag to test memory parsing diff --git a/Makefile.am b/Makefile.am index ea393ab7..1f06fa62 100644 --- a/Makefile.am +++ b/Makefile.am @@ -96,9 +96,9 @@ install-data: $(srcdir)/libxml $(libxml_la_SOURCES): $(srcdir)/libxml -testall : tests SVGtests SAXtests XPathtests XMLenttests +testall : tests SVGtests SAXtests XPathtests -tests: XMLtests HTMLtests Validtests +tests: XMLtests XMLenttests HTMLtests Validtests HTMLtests : testHTML @(rm -f .memdump ; touch .memdump) diff --git a/TODO b/TODO index 7f4c144b..ee328a84 100644 --- a/TODO +++ b/TODO @@ -6,9 +6,6 @@ TODO: ===== -- If the internal encoding is not UTF8 saving to a given encoding doesn't - work => fix to force UTF8 encoding ... -- problem when parsing hrefs with & with the HTML parser (IRC ac) - DOM needs xmlAttrPtr xmlNewDocProp(xmlDocPtr doc, const xmlChar *name, const xmlChar *value) int xmlPruneProp(xmlNodePtr node, xmlAtttrPtr attr); @@ -93,6 +90,10 @@ EXTENSIONS: Done: ===== +- problem when parsing hrefs with & with the HTML parser (IRC ac) +- If the internal encoding is not UTF8 saving to a given encoding doesn't + work => fix to force UTF8 encoding ... + done, added documentation too - Add an ASCII I/O encoder (asciiToUTF8 and UTF8Toascii) - Issue warning when using non-absolute namespaces URI. - the html parser should add and if they don't exist diff --git a/nanoftp.c b/nanoftp.c index 96fa272d..e0094025 100644 --- a/nanoftp.c +++ b/nanoftp.c @@ -1369,7 +1369,9 @@ xmlNanoFTPCloseConnection(void *ctx) { return(-1); } if (res == 0) { +#ifdef DEBUG_FTP fprintf(stderr, "xmlNanoFTPCloseConnection: timeout\n"); +#endif close(ctxt->controlFd); ctxt->controlFd = -1; } else { res = xmlNanoFTPGetResponse(ctxt); diff --git a/nanohttp.c b/nanohttp.c index 1beebbf5..51f1e92c 100644 --- a/nanohttp.c +++ b/nanohttp.c @@ -656,7 +656,7 @@ xmlNanoHTTPConnectAttempt(struct in_addr ia, int port) } if ( FD_ISSET(s, &wfd) ) { - int len; /* was socklen_t barfed on some systems :-( */ + unsigned int len; /* was socklen_t barfed on some systems :-( */ len = sizeof(status); if (getsockopt(s, SOL_SOCKET, SO_ERROR, &status, &len) < 0 ) { /* Solaris error code */ diff --git a/result/noent/title.xml b/result/noent/title.xml index 1b3fe07a..35c8fc9c 100644 --- a/result/noent/title.xml +++ b/result/noent/title.xml @@ -1,2 +1,2 @@ - + my title