Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| ecb4c9fb | 2023-12-18 21:32:49 | misc: Improve error handling Remove calls to generic error handler or use stderr for - legacy deprecation warnings - nanohttp, nanoftp in standalone mode - memory debug messages Use xmlRaiseMemoryError. Remove TODO macro. Don't raise errors in xmlmodule.c. | ||
| 699299ca | 2023-09-20 18:54:39 | globals: Stop including globals.h | ||
| 4e1c13eb | 2023-09-18 14:45:10 | debug: Remove debugging code This is barely useful these days and only clutters the code base. | ||
| 886bf4e6 | 2023-04-30 15:35:47 | Stop calling xmlMemoryDump This was used to check for memory leaks but could potentially create a .memdump file. These days, there are better ways to check for memory leaks. | ||
| cfbe68e4 | 2022-11-22 15:20:53 | sources: Silence C4013 warnings on Visual Studio The read(), close(), open(), lseek() functions are found in io.h on Visual Studio, which does not ship unistd.h, so include io.h on Windows if unistd.h is not found. C4013 (aka implicit declaration of ...) warnings can often ring alarm bells. | ||
| 1fa4d14f | 2022-11-04 12:34:39 | Bypass proxy in nanoHTTP for hosts in "no_proxy" | ||
| 30c8d9bb | 2022-09-05 02:02:54 | http: Simplify IPv6 checks This should also enable IPv6 support on Windows. Untested and mostly useless anyway, since we don't support HTTPS. | ||
| fe02289f | 2022-09-04 03:19:01 | Remove arg cast configure checks We can simply cast to non-const char * unconditionally. | ||
| 13a66378 | 2022-09-04 01:05:51 | Remove BeOS support Haiku shouldn't be affected. | ||
| 75bd98a5 | 2022-09-02 05:09:42 | Remove unused code in nanohttp.c This was hidden behind an undocumented flag RES_USE_INET6. | ||
| 5bffa33a | 2022-09-02 05:03:03 | Stop including sys/types.h | ||
| 2cac6269 | 2022-09-01 03:14:13 | Don't use sizeof(xmlChar) or sizeof(char) | ||
| 0f568c0b | 2022-08-26 01:22:33 | Consolidate private header files Private functions were previously declared - in header files in the root directory - in public headers guarded with IN_LIBXML - in libxml.h - redundantly in source files that used them. Consolidate all private header files in include/private. | ||
| 776d15d3 | 2022-03-02 00:29:17 | Don't check for standard C89 headers Don't check for - ctype.h - errno.h - float.h - limits.h - math.h - signal.h - stdarg.h - stdlib.h - string.h - time.h Stop including non-standard headers - malloc.h - strings.h | ||
| 2489c1d0 | 2022-02-28 22:42:10 | Remove useless __CYGWIN__ checks From what I can tell, some really early Cygwin versions from around 1998-2000 used to erroneously define _WIN32. This was eventually fixed, but these days, the `defined(_WIN32) && !defined(__CYGWIN__)` idiom is unnecessary. Now, we only check for __CYGWIN__ in xmlexports.h when deciding whether to use __declspec. | ||
| 346c3a93 | 2022-02-20 18:46:42 | Remove elfgcchack.h The same optimization can be enabled with -fno-semantic-interposition since GCC 5. clang has always used this option by default. | ||
| 20c60886 | 2020-03-08 17:19:42 | Fix typos Resolves #133. | ||
| 2a350ee9 | 2019-09-30 17:04:54 | Large batch of typo fixes Closes #109. | ||
| cb5541c9 | 2017-11-13 17:08:38 | Fix libz and liblzma detection If libz or liblzma are detected with pkg-config, AC_CHECK_HEADERS must not be run because the correct CPPFLAGS aren't set. It is actually not required have separate checks for LIBXML_ZLIB_ENABLED and HAVE_ZLIB_H. Only check for LIBXML_ZLIB_ENABLED and remove HAVE_ZLIB_H macro. Fixes bug 764657, bug 787041. | ||
| a4864c2f | 2017-10-21 14:01:10 | Fix pointer comparison warnings on 64-bit Windows | ||
| ecbdfa9e | 2017-10-09 02:01:00 | Fix unused variable warnings in nanohttp.c Some variables are only used if certain macros are set. Move the declarations around. | ||
| e3890546 | 2017-10-09 00:20:01 | Fix the Windows header mess Don't include windows.h and wsockcompat.h from config.h but only when needed. Don't define _WINSOCKAPI_ manually. This was apparently done to stop windows.h from including winsock.h which is a problem if winsock2.h wasn't included first. But on MinGW, this causes compiler warnings. Define WIN32_LEAN_AND_MEAN instead which has the same effect. Always use the compiler-defined _WIN32 macro instead of WIN32. | ||
| 45b0ebdc | 2017-10-09 00:08:10 | socklen_t is always int on Windows Define XML_SOCKLEN_T as `int` unconditionally in wsockcompat.h. Fixes compiler warnings and removes some duplicated code. | ||
| 5b2324b6 | 2017-10-09 00:05:04 | Don't redefine socket error codes on Windows Translate WSA error codes instead of blindly redefining POSIX error codes on Windows. The redefinitions caused warnings in modern Windows environments, but simply ifdef'ing out the redefinitions seems like the wrong approach. | ||
| 2cdaaab1 | 2017-09-14 21:30:51 | Change preprocessor OS tests to __linux__ "linux" without leading underscores is deprecated and less reliable. | ||
| 629e47e7 | 2017-06-17 14:51:10 | Fix empty-body warning in nanohttp.c | ||
| 5dca9eea | 2017-04-07 17:13:28 | Increase buffer space for port in HTTP redirect support For https://bugzilla.gnome.org/show_bug.cgi?id=780690 nanohttp.c: the code wrongly assumed a short int port value. | ||
| 1811add7 | 2014-07-14 17:50:27 | Fix various Missing Null checks For https://bugzilla.gnome.org/show_bug.cgi?id=732823 | ||
| 437f4f59 | 2013-12-12 15:23:09 | Use specific macros for portability to OS/400 Some of the entry points for POSIX networking calls in OS/400 differs slightly due to not using const arguments | ||
| 283c83e0 | 2013-08-06 09:49:42 | run close socket on Solaris, same as we do on other platforms https://bugzilla.gnome.org/show_bug.cgi?id=705188 | ||
| 19d785b5 | 2013-02-28 18:22:46 | xmlCtxtReadFile doesn't work with literal IPv6 URLs https://bugzilla.gnome.org/show_bug.cgi?id=694185 RedHat Bug 624626 discusses the new behavior of libxml regarding brackets around IPv6 addresses. In earlier versions such as 2.6.27, uri.c stripped the brackets (e.g. uri->server == "fdf2:1e39:73d1:934e::119"); in the current version it returns IPv6 addresses with brackets intact (e.g. uri->server == "[fdf2:1e39:73d1:934e::119]"). Thus in 2.9.0, xmlCtxtReadFile() has a problem when it is passed a URL containing a literal IPv6 address. xmlCtxReadFile() and its subroutines pass uri->server unchanged to getaddrinfo(), which doesn't recognize a bracketed IPv6 address, so the read fails. This strips the [ and ] from IPv6 addresses allowing getaddrinfo() to work properly with such URIs. | ||
| f8e3db04 | 2012-09-11 13:26:36 | Big space and tab cleanup Remove all space before tabs and space and tabs at end of lines. | ||
| 399aaba1 | 2012-05-11 10:09:32 | Remove redundant and ungarded include of resolv.h For https://bugzilla.gnome.org/show_bug.cgi?id=617053 This broke the build on Interix-6.0 | ||
| d95b689f | 2012-04-02 17:48:53 | Fix portability failure if netdb.h lacks NO_ADDRESS | ||
| ac17e593 | 2012-04-02 15:45:13 | Remove two references to u_short | ||
| dff8d0f7 | 2011-05-09 12:14:59 | various: handle return values of write calls | ||
| f99d2223 | 2010-11-04 12:08:08 | 614087 Fix Socket API usage to allow Windows64 compilation In Windows 64 a socket is no more represented by an int, this breaks the nanoftp API and nanoftp/nanohttp, the patch changes this and fix the API for Win64 Regenerated the XML and documentation as a result too. | ||
| d29a5c8a | 2009-10-19 14:03:25 | 598785 Fix nanohttp on Windows * nanohttp.c: the check for socket comparing to FD_SETSIZE introduced in bug fix for 559501 breaks on WinSockAPI | ||
| 594e5dfb | 2009-09-07 14:58:47 | Chasing dead assignments reported by clang-scan * SAX2.c dict.c error.c hash.c nanohttp.c parser.c python/libxml.c relaxng.c runtest.c tree.c valid.c xinclude.c xmlregexp.c xmlsave.c xmlschemas.c xpath.c xpointer.c: mostly removing unneded affectations, but this led to a few real bugs and some part not yet understood (relaxng/interleave) | ||
| 13cee4e3 | 2009-09-05 14:52:55 | Fix a bunch of scan 'dead increments' and cleanup * HTMLparser.c c14n.c debugXML.c entities.c nanohttp.c parser.c testC14N.c uri.c xmlcatalog.c xmllint.c xmlregexp.c xpath.c: fix unused variables, or unneeded increments as well as a couple of space issues * runtest.c: check for NULL before calling unlink() | ||
| 48b60c3c | 2009-08-23 13:11:01 | 559501 avoid select and use poll for nanohttp * config.h.in configure.in: detect availability of poll() and poll.h * nanohttp.c: switch to use poll instead of select() when possible to avoid out of fd set memory errors on very large fds | ||
| cba68396 | 2008-08-29 12:43:40 | a couple more fixes patch from Andreas Färber to compile on Haiku * parser.c: a couple more fixes * nanohttp.c nanoftp.c: patch from Andreas Färber to compile on Haiku * doc/examples/*: regenerated daniel svn path=/trunk/; revision=3784 | ||
| ead3583b | 2008-02-06 04:12:46 | added space for port number (when not 80) in xmlNanoHTTPMethodRedir, plus * nanohttp.c: added space for port number (when not 80) in xmlNanoHTTPMethodRedir, plus a few more comments. Should fix #514521. svn path=/trunk/; revision=3685 | ||
| ec72008b | 2007-08-24 02:57:38 | Enhanced to include port number (if not == 80) on the "Header:" URL (bug * nanohttp.c: Enhanced to include port number (if not == 80) on the "Header:" URL (bug #469681). * xmlregexp.c: Fixed a typo causing a warning message. svn path=/trunk/; revision=3657 | ||
| cd2ebab7 | 2007-08-23 20:47:33 | fix an open() call with creation without 3rd argument hopefully that * nanohttp.c: fix an open() call with creation without 3rd argument hopefully that interface is never used. Daniel svn path=/trunk/; revision=3656 | ||
| e882765a | 2007-05-16 05:19:13 | small enhancement to last fix, pointed out by Alex Cornejo * nanohttp.c: small enhancement to last fix, pointed out by Alex Cornejo svn path=/trunk/; revision=3617 | ||
| d2f682a4 | 2007-05-15 19:42:08 | fixed problem on gzip streams (bug #438045) fixed minor spot of redundant * nanohttp.c: fixed problem on gzip streams (bug #438045) * xpath.c: fixed minor spot of redundant code - no logic change. svn path=/trunk/; revision=3616 | ||
| 59d3ed8f | 2007-04-17 12:44:58 | applied patch from Andreas Stricke to ease the compilation on Windows CE * catalog.c libxml.h win32/wince/wincecompat.h win32/wince/wincecompat.c xmlIO.c nanohttp.c nanoftp.c trio.c triostr.c triostr.h: applied patch from Andreas Stricke to ease the compilation on Windows CE Daniel svn path=/trunk/; revision=3600 | ||
| 9a2724d8 | 2005-12-15 11:12:26 | applied patch from Gary Coady to accept gzipped http resources. Daniel * nanohttp.c: applied patch from Gary Coady to accept gzipped http resources. Daniel | ||
| cb418de0 | 2005-10-13 23:12:42 | applied patch from Kolja Nowak to use getaddrinfo() if supported in * nanohttp.c include/wsockcompat.h: applied patch from Kolja Nowak to use getaddrinfo() if supported in Windows build (bug# 317431). | ||
| 9e2110bb | 2005-08-08 20:33:54 | applied patch from Marcus Boerger to remove warnings on Windows. Daniel * nanoftp.c nanohttp.c xmlschemastypes.c: applied patch from Marcus Boerger to remove warnings on Windows. Daniel | ||
| 336a8e13 | 2005-08-07 10:46:19 | get rid of the dependancy on a locally installed DTD try to cleanup the * test/relaxng/docbook_0.xml: get rid of the dependancy on a locally installed DTD * uri.c include/libxml/uri.h xmlIO.c nanoftp.c nanohttp.c: try to cleanup the Path/URI conversion mess, needed fixing in various layers and a new API to the uri module which also fixes #306861 * runtest.c: integrated a regression test specific to check the URI conversions done before calling the I/O handlers. Daniel | ||
| 744acfff | 2005-07-12 15:09:53 | fixed bug #310105 with http_proxy environments with patch provided by * nanohttp.c: fixed bug #310105 with http_proxy environments with patch provided by Peter Breitenlohner Daniel | ||
| 351f2d6e | 2005-04-13 02:55:12 | applied patch from Aron Stansvik for bug #172525 about HTTP query string * nanohttp.c: applied patch from Aron Stansvik for bug #172525 about HTTP query string parameter being lost Daniel | ||
| 5d4644ef | 2005-04-01 13:11:58 | revamped the elfgcchack.h format to cope with gcc4 change of aliasing * doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h format to cope with gcc4 change of aliasing allowed scopes, had to add extra informations to doc/libxml2-api.xml to separate the header from the c module source. * *.c: updated all c library files to add a #define bottom_xxx and reimport elfgcchack.h thereafter, and a bit of cleanups. * doc//* testapi.c: regenerated when rebuilding the API Daniel | ||
| c284c64f | 2005-03-31 10:24:24 | use XML_SOCKLEN_T instead of SOCKLEN_T since apparently IBM can't avoid * config.h.in configure.in nanoftp.c nanohttp.c xmllint.c macos/src/config-mac.h: use XML_SOCKLEN_T instead of SOCKLEN_T since apparently IBM can't avoid breaking common defines #166922 Daniel | ||
| 015ccb2c | 2005-02-13 08:18:52 | This change started out as a simple desire to speed up the execution time of testapi.c, which was being delayed by nameserver requests for non-existent URL's. From there it just sort of grew, and grew.... * nanohttp.c, nanoftp.c: changed the processing of URL's to use the uri.c routines instead of custom code. * include/libxml/xmlerror.h: added code XML_FTP_URL_SYNTAX * uri.c: added accepting ipV6 addresses, in accordance with RFC's 2732 and 2373 (TODO: allow ipV4 within ipV6) * gentest.py, testapi.c: fixed a few problems with the testing of the nanoftp and nanohttp routines. * include/libxml/xmlversion.h: minor change to fix a warning on the docs generation * regenerated the docs | ||
| 8e2c9792 | 2004-10-27 09:39:50 | second part of the security fix for xmlNanoFTPConnect() and * nanoftp.c nanohttp.c: second part of the security fix for xmlNanoFTPConnect() and xmlNanoHTTPConnectHost(). Daniel | ||
| 13dfa87e | 2004-09-18 04:52:08 | added the routine xmlNanoHTTPContentLength to the external API * nanohttp.c, include/libxml/nanohttp.h: added the routine xmlNanoHTTPContentLength to the external API (bug151968). * parser.c: fixed unnecessary internal error message (bug152060); also changed call to strncmp over to xmlStrncmp. * encoding.c: fixed compilation warning (bug152307). * tree.c: fixed segfault in xmlCopyPropList (bug152368); fixed a couple of compilation warnings. * HTMLtree.c, debugXML.c, xmlmemory.c: fixed a few compilation warnings; no change to logic. | ||
| 29b17482 | 2004-08-16 00:39:03 | small typo pointed out by Mike Hommey slightly improved the --c14n * xmlIO.c: small typo pointed out by Mike Hommey * doc/xmllint.xml, xmllint.html, xmllint.1: slightly improved the --c14n description, c.f. #144675 . * nanohttp.c nanoftp.c: applied a first simple patch from Mike Hommey for $no_proxy, c.f. #133470 * parserInternals.c include/libxml/parserInternals.h include/libxml/xmlerror.h: cleanup to avoid 'error' identifier in includes # * parser.c SAX2.c debugXML.c include/libxml/parser.h: first version of the inplementation of parsing within the context of a node in the tree #142359, new function xmlParseInNodeContext(), added support at the xmllint --shell level as the "set" function * test/scripts/set* result/scripts/* Makefile.am: extended the script based regression tests to instrument the new function. Daniel | ||
| a2351322 | 2004-06-27 12:08:10 | hack based on Arjan van de Ven suggestion to reduce ELF footprint and * elfgcchack.h doc/elfgcchack.xsl libxml.h: hack based on Arjan van de Ven suggestion to reduce ELF footprint and generated code. Based on aliasing of libraries function to generate direct call instead of indirect ones * doc/libxml2-api.xml doc/Makefile.am doc/apibuild.py: added automatic generation of elfgcchack.h based on the API description, extended the API description to show the conditionals configuration flags required for symbols. * nanohttp.c parser.c xmlsave.c include/libxml/*.h: lot of cleanup * doc/*: regenerated the docs. Daniel | ||
| 7e29c0a4 | 2004-04-02 09:07:22 | implemented fix for M$ IIS redirect provided by Ian Hummel fixed problem * nanohttp.c: implemented fix for M$ IIS redirect provided by Ian Hummel * relaxng.c: fixed problem with notAllowed compilation (bug 138793) | ||
| 20d82361 | 2004-03-17 08:44:46 | added a close for the local file descriptor (bug 137474) * nanohttp.c: added a close for the local file descriptor (bug 137474) | ||
| 537769a6 | 2004-02-09 17:40:31 | fixed the fix for the buffer overflow, thanks William :-) | ||
| 37704356 | 2004-02-09 14:32:17 | fixed buffer overflow reported by Yuuich Teranishi | ||
| 5bb9ccd5 | 2004-02-09 12:39:02 | remove the warning on the 2001 namespace remove some warnings when * xinclude.c: remove the warning on the 2001 namespace * parser.c parserInternals.c xpath.c: remove some warnings when compiling with MSVC6 * nanohttp.c: applied a patch when using _WINSOCKAPI_ Daniel | ||
| 254b1260 | 2003-11-01 17:04:58 | second BeOS patch from Marcin 'Shard' Konicki Daniel * tree.c nanohttp.c threads.c: second BeOS patch from Marcin 'Shard' Konicki Daniel | ||
| 82cb3199 | 2003-10-29 13:39:15 | applied patch from Marcin 'Shard' Konicki to provide BeOS thread support. * nanoftp.c nanohttp.c testThreads.c threads.c: applied patch from Marcin 'Shard' Konicki to provide BeOS thread support. Daniel | ||
| a840b692 | 2003-10-19 13:35:37 | Fixed the HTTP<->parser interraction, which should fix 2 long standing * include/libxml/nanohttp.h include/libxml/parserInternals.h include/libxml/xmlIO.h nanohttp.c parserInternals.c xmlIO.c: Fixed the HTTP<->parser interraction, which should fix 2 long standing bugs #104790 and #124054 , this also fix the fact that HTTP error code (> 400) should not generate data, we usually don't want to parse the HTML error information instead of the resource looked at. Daniel | ||
| 847332a0 | 2003-10-18 11:29:40 | starting work to fix the HTTP/XML parser integration. Daniel * nanohttp.c xmlIO.c include/libxml/nanohttp.h: starting work to fix the HTTP/XML parser integration. Daniel | ||
| 2b0f8799 | 2003-10-10 19:36:36 | fixed a nasty bug with interning some text strings prepare for beta5 of * SAX2.c: fixed a nasty bug with interning some text strings * configure.in: prepare for beta5 of 2.6.0 * libxml.h nanoftp.c nanohttp.c xmlIO.c include/libxml/xmlerror.h: better error handling for I/O and converted FTP and HTTP * parser.c: fixed another bug Daniel | ||
| 89f7f27a | 2003-09-29 13:29:09 | last finishing touch to the BeOS patch from Marcin 'Shard' Konicki Daniel * nanoftp.c nanohttp.c: last finishing touch to the BeOS patch from Marcin 'Shard' Konicki Daniel | ||
| a9cce9cd | 2003-09-29 13:20:24 | Okay this is scary but it is just adding a configure option to disable * HTMLtree.c SAX2.c c14n.c catalog.c configure.in debugXML.c encoding.c entities.c nanoftp.c nanohttp.c parser.c relaxng.c testAutomata.c testC14N.c testHTML.c testRegexp.c testRelax.c testSchemas.c testXPath.c threads.c tree.c valid.c xmlIO.c xmlcatalog.c xmllint.c xmlmemory.c xmlreader.c xmlschemas.c example/gjobread.c include/libxml/HTMLtree.h include/libxml/c14n.h include/libxml/catalog.h include/libxml/debugXML.h include/libxml/entities.h include/libxml/nanohttp.h include/libxml/relaxng.h include/libxml/tree.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlschemas.h include/libxml/xmlversion.h.in include/libxml/xpathInternals.h python/libxml.c: Okay this is scary but it is just adding a configure option to disable output, this touches most of the files. Daniel | ||
| 1638a47a | 2003-08-14 01:23:25 | Applied patch from Mikhail Grushinskiy for mingw compiler on Windows. * Makefile.am configure.in example/Makefile.am libxml.h nanoftp.c nanohttp.c xmllint.c: Applied patch from Mikhail Grushinskiy for mingw compiler on Windows. Daniel | ||
| 78637da0 | 2003-07-31 14:47:38 | fixing bug 118559 | ||
| 3dc93a42 | 2003-07-10 14:04:33 | cleanup patches from Peter Breitenlohner Daniel * nanoftp.c nanohttp.c: cleanup patches from Peter Breitenlohner Daniel | ||
| 2db8c125 | 2003-07-08 12:16:59 | the modules should not import <config.h> directly, some cleanups Peter * nanoftp.c nanohttp.c: the modules should not import <config.h> directly, some cleanups * xmlschemas.c: Peter Sobisch found a nasty bug in the Schemas validation code. Daniel | ||
| 75eb1adc | 2003-07-07 14:42:44 | regenerated might fix includes problems with the Ipv6 support on solaris * NEWS doc/*: regenerated * nanoftp.c nanohttp.c: might fix includes problems with the Ipv6 support on solaris * tree.c: patch from Markus Keim about xmlHasNsProp() on attributes defined as #IMPLIED Daniel | ||
| 560c2a44 | 2003-07-06 21:13:49 | preparing release 1.5.8 changed some preprocessor block applied patch from * configure.in doc/*: preparing release 1.5.8 * nanohttp.c: changed some preprocessor block * xmlschemastypes.c: applied patch from Charles Bozeman adding hexBinary schema datatype and adding support for totalDigits and fractionDigits facets. Daniel | ||
| de2a67b4 | 2003-06-21 14:20:04 | Applying IPv6 patch from Archana Shah <archana.shah@wipro.com> closing bug #114837 * configure.in: Added checks for IPv6 support and getaddrinfo(). * acconfig.h: Defined HAVE_GETADDRINFO and SUPPORT_IP6. * config.h.in: Defined HAVE_GETADDRINFO and SUPPORT_IP6. * nanoftp.c: Structure xmlNanoFTPCtxt contains either sockaddr_storage field or sockaddr_in field, depending upon the availability of IPv6 support. have_ipv6(): Added to check for run-time IPv6 support. (xmlNanoFTPScanURL), (xmlNanoFTPUpdateURL), (xmlNanoFTPScanProxy): Modified to parse a URI with IPv6 address given in []. (xmlNanoFTPConnect): Changed to use getaddrinfo for address resolution, if it is available on the system, as gethostbyname does not return IPv6 addresses on some platforms. (xmlNanoFTPGetConnection): Modified type of dataAddr variable to sockaddr_storage or sockaddr_in depending upon the IPv6 support. Sending EPSV, EPRT or PASV, PORT depending upon the type of address we are dealing with. * nanohttp.c: (have_ipv6): Added to check for run-time IPv6 support. (xmlNanoHTTPScanURL), (xmlNanoHTTPScanProxy): Modified to parse a URI with IPv6 address given in []. (xmlNanoHTTPConnectHost): Modified to use getaddrinfo if it is available on the system. Also IPv6 addresses will be resolved by gethostbyname only if IPv6 run-time support is available. (xmlNanoHTTPConnectAttempt): Modified to deal with IPv6 address. Daniel | ||
| 3c908dca | 2003-04-19 00:07:51 | added xmlMallocAtomic() to be used when allocating blocks which do not * DOCBparser.c HTMLparser.c c14n.c catalog.c encoding.c globals.c nanohttp.c parser.c parserInternals.c relaxng.c tree.c uri.c xmlmemory.c xmlreader.c xmlregexp.c xpath.c xpointer.c include/libxml/globals.h include/libxml/xmlmemory.h: added xmlMallocAtomic() to be used when allocating blocks which do not contains pointers, add xmlGcMemSetup() and xmlGcMemGet() to allow registering the full set of functions needed by a garbage collecting allocator like libgc, ref #109944 Daniel | ||
| cacbe5d1 | 2003-01-10 16:09:51 | patch from Stefano Zacchiroli to fix some URI/file escaping problems * nanoftp.c nanohttp.c xmlIO.c: patch from Stefano Zacchiroli to fix some URI/file escaping problems Daniel | ||
| a9b66d00 | 2002-12-11 14:23:49 | new API building Python script, does the C parsing directly, generates a * doc/apibuild.py doc/libxml2-api.xml doc/Makefile.am: new API building Python script, does the C parsing directly, generates a better API description including structure fieds defs and enums. Still a couple of bugs, but good enough for the python wrappers now. * DOCBparser.c SAX.c nanohttp.c parser.c parserInternals.c tree.c valid.c xmlIO.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c include/libxml/schemasInternals.h include/libxml/tree.h: more cleanup based on the python analysis script reports. * libxml.spec.in: make sure the API XML description is part of the devel package. Daniel | ||
| 01c13b5b | 2002-12-10 15:19:08 | code cleanup, especially the function comments. fixed a small bug when * DOCBparser.c HTMLparser.c c14n.c debugXML.c encoding.c hash.c nanoftp.c nanohttp.c parser.c parserInternals.c testC14N.c testDocbook.c threads.c tree.c valid.c xmlIO.c xmllint.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c xmlschemastypes.c xpath.c: code cleanup, especially the function comments. * tree.c: fixed a small bug when freeing nodes which are XInclude ones. Daniel | ||
| 8efff671 | 2002-12-04 11:44:48 | handle HTTP URL escaping, problem reported by Glen Nakamura and Stefano * nanhttp.c: handle HTTP URL escaping, problem reported by Glen Nakamura and Stefano Zacchiroli Daniel | ||
| 49cc9756 | 2002-06-14 17:07:10 | replaced sprintf() with snprintf() to prevent possible buffer overflow * DOCBparser.c HTMLparser.c debugXML.c encoding.c nanoftp.c nanohttp.c parser.c tree.c uri.c xmlIO.c xmllint.c xpath.c: replaced sprintf() with snprintf() to prevent possible buffer overflow (the bug was pointed out by Anju Premachandran) | ||
| 9b731d70 | 2002-04-14 12:56:08 | trying to fix #77441 Daniel * configure.in: trying to fix #77441 Daniel | ||
| dd4b912f | 2002-03-26 07:58:43 | applied patch from Allan Clark for UnixWare/OpenServer Daniel * configure.in nanohttp.c: applied patch from Allan Clark for UnixWare/OpenServer Daniel | ||
| 56b2db74 | 2002-03-25 16:35:28 | fixing #76043, got fed up with non-portability of that piece of code. * nanohttp.c: fixing #76043, got fed up with non-portability of that piece of code. Daniel | ||
| d85f4f43 | 2002-03-25 10:48:46 | fixed bug #76168, attribute redeclared in the internal subset should not * valid.c SAX.c: fixed bug #76168, attribute redeclared in the internal subset should not raise duplicate ID errors, also there was a small bug in conjunction to namespace declarations defaulted and xml:xxx attributes DTD definitions. Daniel | ||
| 34ce8bec | 2002-03-18 19:37:11 | preparing 2.4.18 updated and rebuilt the web site implement the new * configure.in: preparing 2.4.18 * doc/*: updated and rebuilt the web site * *.c libxml.h: implement the new IN_LIBXML scheme discussed with the Windows and Cygwin maintainers. * parser.c: humm, changed the way the SAX parser work when xmlSubstituteEntitiesDefault(1) is set, it will then do the entity registration and loading by itself in case the user provided SAX getEntity() returns NULL. * testSAX.c: added --noent to test the behaviour. Daniel | ||
| 5c396548 | 2002-03-15 07:57:50 | applied patch from Aleksey Sanin fixing a problem in the canonicalization * c14n.c: applied patch from Aleksey Sanin fixing a problem in the canonicalization algorithm * doc/xml.html doc/index.html: added the C14N references on the index page. Daniel | ||
| 75be0130 | 2002-03-13 10:03:35 | speedup some node selection operations, this can have a significant impact * xpath.c: speedup some node selection operations, this can have a significant impact on DocBook Norm's stylesheets * nanohttp.c: someone reported that SOCKLEN_T may not be defined make sure it's always the case * debugXML.c: distinguish CDATA and comments in ls operations Daniel | ||
| cbaf3995 | 2001-12-31 16:16:02 | applied 42 documentation patches from Charlie Bozeman. Regenerated the * *.c include/libxml/*.h doc/html/*: applied 42 documentation patches from Charlie Bozeman. Regenerated the HTML docs. Daniel | ||
| 3c01b1d8 | 2001-10-17 15:58:35 | - include/libxml/globals.h include/libxml/threads.h threads.c testThreads.c: far more testing, cleaning up bugs - *.c : make sure globals.h is always included. Daniel | ||
| d0463560 | 2001-10-13 09:15:48 | Applied the last patches from Gary, cleanup, activated threading all user * include/libxml/SAX.h include/libxml/globals.h include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlerror.h HTMLparser.c SAX.c error.c globals.c nanoftp.c nanohttp.c parser.c parserInternals.c testDocbook.c testHTML.c testSAX.c tree.c uri.c xlink.c xmlmemory.c: Applied the last patches from Gary, cleanup, activated threading all user accessible global variables are now handled in globals.[ch] Still a bit rought but make tests passes with either --with-threads defined at configure time or not. * Makefile.am example/Makefile.am: added globals.[ch] and threads linking options Daniel | ||
| 50f34371 | 2001-08-03 12:06:36 | applied Win32 Facelift No.2 patches from Igor Zlatkovic for Windows/MSC * 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 Daniel | ||
| ba6db03c | 2001-07-31 16:25:45 | protected an use of EAGAIN, Brian Stafford Daniel * nanohttp.c: protected an use of EAGAIN, Brian Stafford Daniel | ||
| e392497e | 2001-07-25 20:25:21 | John Kroll provided a small fix to xmlNanoHTTPSave Daniel * nanohttp.c: John Kroll provided a small fix to xmlNanoHTTPSave Daniel | ||
| f012a64d | 2001-07-23 19:10:52 | get rid of the readline and libhistory dependancies by default, release * configure.in: get rid of the readline and libhistory dependancies by default, release 2.4.1 with IA64 fix * nanohttp.c tree.c xmlIO.c include/libxml/nanohttp.h include/libxml/tree.h include/libxml/xmlIO.h: incorporated John Kroll fixes to allow saving to HTTP via PUT (or POST of needed). * doc/html/*.html: regenerated the docs Daniel |