1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-02 20:42:30 +03:00

legacy: Remove most legacy functions from public headers

Also remove warning messages.
This commit is contained in:
Nick Wellnhofer
2024-06-17 02:42:18 +02:00
parent b4b4162fc7
commit 1112699cfa
10 changed files with 312 additions and 1983 deletions

View File

@ -304,31 +304,20 @@ deprecated_funcs = {
'xmlCleanupCharEncodingHandlers': True,
'xmlCleanupGlobals': True,
'xmlDefaultSAXHandlerInit': True,
'xmlDecodeEntities': True,
'xmlDictCleanup': True,
'xmlEncodeEntities': True,
'xmlFileMatch': True,
'xmlGetCompressMode': True,
'xmlHandleEntity': True,
'xmlInitCharEncodingHandlers': True,
'xmlInitGlobals': True,
'xmlInitializeDict': True,
'xmlInitializePredefinedEntities': True,
'xmlIOFTPMatch': True,
'xmlIOHTTPMatch': True,
'xmlIsRef': True,
'xmlKeepBlanksDefault': True,
'xmlLineNumbersDefault': True,
'xmlNamespaceParseNCName': True,
'xmlNamespaceParseNSDef': True,
'xmlNanoFTPCleanup': True,
'xmlNanoFTPInit': True,
'xmlNanoFTPProxy': True,
'xmlNanoFTPScanProxy': True,
'xmlNanoHTTPCleanup': True,
'xmlNanoHTTPInit': True,
'xmlNanoHTTPScanProxy': True,
'xmlNewGlobalNs': True,
'xmlNextChar': True,
'xmlNormalizeWindowsPath': True,
'xmlParseAttValue': True,
@ -349,14 +338,12 @@ deprecated_funcs = {
'xmlParseMarkupDecl': True,
'xmlParseMisc': True,
'xmlParseName': True,
'xmlParseNamespace': True,
'xmlParseNmtoken': True,
'xmlParseNotationDecl': True,
'xmlParsePEReference': True,
'xmlParsePI': True,
'xmlParsePITarget': True,
'xmlParsePubidLiteral': True,
'xmlParseQuotedString': True,
'xmlParseReference': True,
'xmlParseSDDecl': True,
'xmlParseStartTag': True,
@ -366,7 +353,6 @@ deprecated_funcs = {
'xmlParseVersionNum': True,
'xmlParseXMLDecl': True,
'xmlParserHandlePEReference': True,
'xmlParserHandleReference': True,
'xmlParserSetLineNumbers': True,
'xmlParserSetLoadSubset': True,
'xmlParserSetPedantic': True,
@ -381,7 +367,6 @@ deprecated_funcs = {
'xmlRelaxNGInitTypes': True,
'xmlRemoveRef': True,
'xmlSAXDefaultVersion': True,
'xmlScanName': True,
'xmlSchemaCleanupTypes': True,
'xmlSchemaInitTypes': True,
'xmlSetCompressMode': True,