xmlmodule.c


Log

Author Commit Date CI Message
Nick Wellnhofer ecb4c9fb 2023-12-18T21: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.
Nick Wellnhofer 699299ca 2023-09-20T18:54:39 globals: Stop including globals.h
Nick Wellnhofer 0d901258 2022-09-04T16:41:43 Fix Windows compiler warnings in python/types.c
Nick Wellnhofer 13a66378 2022-09-04T01:05:51 Remove BeOS support Haiku shouldn't be affected.
Nick Wellnhofer 0f568c0b 2022-08-26T01: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.
Nick Wellnhofer b094e814 2022-03-01T00:02:59 Remove broken Windows CE support
Nick Wellnhofer 2489c1d0 2022-02-28T22: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.
Nick Wellnhofer 346c3a93 2022-02-20T18: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.
Jared Yanovich 2a350ee9 2019-09-30T17:04:54 Large batch of typo fixes Closes #109.
Nick Wellnhofer 13acadbb 2017-11-12T17:28:12 Ignore function pointer cast warnings Use GCC pragmas as these warnings are enabled by -Wpedantic and there's no way to disable them selectively.
Nick Wellnhofer e3890546 2017-10-09T00: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.
Stéphane Michaut 454e397e 2017-08-28T14:30:43 Porting libxml2 on zOS encoding of code First set of patches for zOS - entities.c parser.c tree.c xmlschemas.c xmlschemastypes.c xpath.c xpointer.c: ask conversion of code to ISO Latin 1 to avoid having the compiler assume EBCDIC codepoint for characters. - xmlmodule.c: make sure we have support for modules - xmlIO.c: zOS path names are special avoid dsome of the expectstions from Unix/Windows
Gaurav 085b997c 2014-02-18T11:47:43 Avoid a possible NULL pointer dereference For https://bugzilla.gnome.org/show_bug.cgi?id=708355
Daniel Veillard f8e3db04 2012-09-11T13:26:36 Big space and tab cleanup Remove all space before tabs and space and tabs at end of lines.
Daniel Veillard dfc0aa0a 2012-08-17T11:04:24 GetProcAddressA is available only on WinCE As Roumen pointed out "After recent commits I count not link build for mingw* host as GetProcAddressA is missing." Looking around a bit it seems you are right: http://voidnish.wordpress.com/2005/06/14/getprocaddress-in-unicode-builds/ except it was introduced in Windows CE http://msdn.microsoft.com/en-us/library/ms885634.aspx
Patrick Gansterer 5a82e48e 2012-08-13T17:39:06 Fix windows unicode build For https://bugzilla.gnome.org/show_bug.cgi?id=638650 After much discussions in the list: https://mail.gnome.org/archives/xml/2012-May/msg00062.html The simplest at this point is to fallback to only officially supporting ASCII names in those APIs, document it and use the "A" entry points on Windows.
Daniel Veillard 643fb5d7 2008-02-08T10:49:46 apply simple patch from Carlo Bramini to avoid compilation problems with * xmlmodule.c: apply simple patch from Carlo Bramini to avoid compilation problems with Mingw32 Daniel svn path=/trunk/; revision=3689
Daniel Veillard 9b693b48 2005-10-28T14:54:17 more portability patches from Albert Chin for HP-UX and AIX Daniel * xmlIO.c xmlmodule.c: more portability patches from Albert Chin for HP-UX and AIX Daniel
Daniel Veillard 1d96f5aa 2005-10-28T08:44:48 applied 2 patches from Albert Chin for module portability Daniel * xmlmodule.c configure.in: applied 2 patches from Albert Chin for module portability Daniel
Daniel Veillard 24505b0f 2005-07-28T23:49:35 a lot of small cleanups based on Linus' sparse check output. Daniel * HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c runsuite.c runtest.c schematron.c testHTML.c testReader.c testRegexp.c testSAX.c testThreads.c valid.c xinclude.c xmlIO.c xmllint.c xmlmodule.c xmlschemas.c xpath.c xpointer.c: a lot of small cleanups based on Linus' sparse check output. Daniel
Daniel Veillard 5d4644ef 2005-04-01T13: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
Daniel Veillard ff4c1852 2005-03-10T10:37:28 second patch from Rick Jones, portability fix for HP-UX first fix from * xmlmodule.c: second patch from Rick Jones, portability fix for HP-UX * doc/examples/xpath1.c doc/examples/xpath2.c: first fix from Rick Jones to avoid warnings. Daniel
Daniel Veillard dcd93903 2005-01-13T11:25:15 trying to work around the compilation problem on HP-UX Daniel * config.h.in configure.in xmlmodule.c: trying to work around the compilation problem on HP-UX Daniel
Daniel Veillard 48df9613 2005-01-04T21:50:05 fixed namespace bug in push mode reported by Rob Richards added it to the * parser.c: fixed namespace bug in push mode reported by Rob Richards * test/ns6 result//ns6*: added it to the regression tests * xmlmodule.c testModule.c include/libxml/xmlmodule.h: added an extra option argument to module opening and defined a couple of flags to the API. Daniel
Daniel Veillard be076e9b 2005-01-04T20:18:14 applied patch from Bjorn Reese, plus some cleanups fixed the stylesheet to * xmlmodule.c include/libxml/xmlmodule.h: applied patch from Bjorn Reese, plus some cleanups * elfgcchack.h doc/elfgcchack.xsl: fixed the stylesheet to add the new header * doc/* testapi.c: regenerated the API Daniel
Daniel Veillard f6b71bd1 2005-01-04T17:50:14 making DSO support an option code and documentation cleanups regenerated * configure.in: making DSO support an option * xmlmodule.c xmlreader.c include/libxml/xmlmodule.h: code and documentation cleanups * elfgcchack.h testapi.c doc/*: regenerated the docs and checks for new module * test/valid/REC-xml-19980210.xml: fix a small change introduced previously Daniel
Daniel Veillard ce1648b1 2005-01-04T15:10:22 applied DSO support patch 2 from Joel Reed Daniel * Makefile.am config.h.in configure.in error.c libxml-2.0.pc.in testModule.c testdso.c xml2-config.in xmllint.c xmlmodule.c include/libxml/Makefile.am include/libxml/xmlerror.h include/libxml/xmlmodule.h include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in: applied DSO support patch 2 from Joel Reed Daniel