nokogiri 1.14.4-arm64-darwin → 1.15.0-arm64-darwin

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of nokogiri might be problematic. Click here for more details.

Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -8
  3. data/dependencies.yml +6 -6
  4. data/ext/nokogiri/extconf.rb +66 -22
  5. data/ext/nokogiri/html4_document.c +1 -2
  6. data/ext/nokogiri/html4_element_description.c +19 -14
  7. data/ext/nokogiri/html4_sax_parser_context.c +10 -16
  8. data/ext/nokogiri/html4_sax_push_parser.c +2 -2
  9. data/ext/nokogiri/include/libexslt/exsltconfig.h +3 -3
  10. data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +52 -38
  11. data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +18 -18
  12. data/ext/nokogiri/include/libxml2/libxml/SAX.h +36 -36
  13. data/ext/nokogiri/include/libxml2/libxml/SAX2.h +37 -36
  14. data/ext/nokogiri/include/libxml2/libxml/c14n.h +4 -4
  15. data/ext/nokogiri/include/libxml2/libxml/catalog.h +36 -36
  16. data/ext/nokogiri/include/libxml2/libxml/chvalid.h +9 -9
  17. data/ext/nokogiri/include/libxml2/libxml/debugXML.h +28 -28
  18. data/ext/nokogiri/include/libxml2/libxml/dict.h +13 -13
  19. data/ext/nokogiri/include/libxml2/libxml/encoding.h +20 -19
  20. data/ext/nokogiri/include/libxml2/libxml/entities.h +19 -21
  21. data/ext/nokogiri/include/libxml2/libxml/globals.h +89 -59
  22. data/ext/nokogiri/include/libxml2/libxml/hash.h +25 -25
  23. data/ext/nokogiri/include/libxml2/libxml/list.h +26 -26
  24. data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +22 -22
  25. data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +17 -17
  26. data/ext/nokogiri/include/libxml2/libxml/parser.h +100 -79
  27. data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +149 -143
  28. data/ext/nokogiri/include/libxml2/libxml/pattern.h +15 -15
  29. data/ext/nokogiri/include/libxml2/libxml/relaxng.h +26 -26
  30. data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +2 -2
  31. data/ext/nokogiri/include/libxml2/libxml/schematron.h +18 -18
  32. data/ext/nokogiri/include/libxml2/libxml/threads.h +23 -20
  33. data/ext/nokogiri/include/libxml2/libxml/tree.h +166 -164
  34. data/ext/nokogiri/include/libxml2/libxml/uri.h +15 -15
  35. data/ext/nokogiri/include/libxml2/libxml/valid.h +72 -87
  36. data/ext/nokogiri/include/libxml2/libxml/xinclude.h +10 -10
  37. data/ext/nokogiri/include/libxml2/libxml/xlink.h +5 -5
  38. data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +60 -59
  39. data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +21 -21
  40. data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +18 -46
  41. data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +14 -41
  42. data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +26 -24
  43. data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +4 -4
  44. data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +87 -87
  45. data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +30 -30
  46. data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +10 -10
  47. data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +30 -30
  48. data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +34 -34
  49. data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +30 -30
  50. data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +166 -166
  51. data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +50 -27
  52. data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +80 -80
  53. data/ext/nokogiri/include/libxml2/libxml/xpath.h +41 -41
  54. data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +117 -117
  55. data/ext/nokogiri/include/libxml2/libxml/xpointer.h +21 -21
  56. data/ext/nokogiri/include/libxslt/attributes.h +1 -0
  57. data/ext/nokogiri/include/libxslt/variables.h +3 -3
  58. data/ext/nokogiri/include/libxslt/xsltInternals.h +14 -4
  59. data/ext/nokogiri/include/libxslt/xsltconfig.h +4 -4
  60. data/ext/nokogiri/include/libxslt/xsltlocale.h +14 -54
  61. data/ext/nokogiri/include/libxslt/xsltutils.h +35 -2
  62. data/ext/nokogiri/nokogiri.c +46 -24
  63. data/ext/nokogiri/nokogiri.h +13 -2
  64. data/ext/nokogiri/xml_attr.c +1 -1
  65. data/ext/nokogiri/xml_cdata.c +10 -2
  66. data/ext/nokogiri/xml_comment.c +1 -1
  67. data/ext/nokogiri/xml_document.c +102 -22
  68. data/ext/nokogiri/xml_document_fragment.c +1 -1
  69. data/ext/nokogiri/xml_dtd.c +1 -1
  70. data/ext/nokogiri/xml_element_content.c +32 -29
  71. data/ext/nokogiri/xml_element_decl.c +5 -5
  72. data/ext/nokogiri/xml_encoding_handler.c +12 -4
  73. data/ext/nokogiri/xml_entity_reference.c +1 -1
  74. data/ext/nokogiri/xml_namespace.c +11 -12
  75. data/ext/nokogiri/xml_node.c +7 -7
  76. data/ext/nokogiri/xml_node_set.c +125 -105
  77. data/ext/nokogiri/xml_processing_instruction.c +1 -1
  78. data/ext/nokogiri/xml_reader.c +37 -28
  79. data/ext/nokogiri/xml_relax_ng.c +65 -78
  80. data/ext/nokogiri/xml_sax_parser.c +24 -5
  81. data/ext/nokogiri/xml_sax_parser_context.c +46 -25
  82. data/ext/nokogiri/xml_sax_push_parser.c +29 -8
  83. data/ext/nokogiri/xml_schema.c +90 -116
  84. data/ext/nokogiri/xml_text.c +10 -2
  85. data/ext/nokogiri/xml_xpath_context.c +156 -83
  86. data/ext/nokogiri/xslt_stylesheet.c +103 -50
  87. data/lib/nokogiri/2.7/nokogiri.bundle +0 -0
  88. data/lib/nokogiri/3.0/nokogiri.bundle +0 -0
  89. data/lib/nokogiri/3.1/nokogiri.bundle +0 -0
  90. data/lib/nokogiri/3.2/nokogiri.bundle +0 -0
  91. data/lib/nokogiri/css/xpath_visitor.rb +2 -2
  92. data/lib/nokogiri/extension.rb +1 -1
  93. data/lib/nokogiri/html4/document_fragment.rb +1 -1
  94. data/lib/nokogiri/html4/element_description_defaults.rb +1821 -353
  95. data/lib/nokogiri/html5/document_fragment.rb +1 -1
  96. data/lib/nokogiri/html5/node.rb +5 -0
  97. data/lib/nokogiri/html5.rb +5 -2
  98. data/lib/nokogiri/version/constant.rb +1 -1
  99. data/lib/nokogiri/xml/attribute_decl.rb +4 -2
  100. data/lib/nokogiri/xml/document_fragment.rb +1 -1
  101. data/lib/nokogiri/xml/element_content.rb +10 -2
  102. data/lib/nokogiri/xml/element_decl.rb +4 -2
  103. data/lib/nokogiri/xml/entity_decl.rb +4 -2
  104. data/lib/nokogiri/xml/node/save_options.rb +8 -0
  105. data/lib/nokogiri/xml/node.rb +22 -13
  106. data/lib/nokogiri/xml/pp/node.rb +23 -12
  107. data/lib/nokogiri/xml/sax/document.rb +1 -1
  108. data/lib/nokogiri/xml/searchable.rb +18 -10
  109. data/lib/nokogiri/xslt.rb +73 -3
  110. data/lib/nokogiri.rb +12 -4
  111. data/lib/xsd/xmlparser/nokogiri.rb +1 -1
  112. metadata +2 -2
@@ -947,8 +947,8 @@ struct _xmlSchema {
947
947
  void *volatiles; /* Obsolete */
948
948
  };
949
949
 
950
- XMLPUBFUN void XMLCALL xmlSchemaFreeType (xmlSchemaTypePtr type);
951
- XMLPUBFUN void XMLCALL xmlSchemaFreeWildcard(xmlSchemaWildcardPtr wildcard);
950
+ XMLPUBFUN void xmlSchemaFreeType (xmlSchemaTypePtr type);
951
+ XMLPUBFUN void xmlSchemaFreeWildcard(xmlSchemaWildcardPtr wildcard);
952
952
 
953
953
  #ifdef __cplusplus
954
954
  }
@@ -69,68 +69,68 @@ typedef xmlSchematronValidCtxt *xmlSchematronValidCtxtPtr;
69
69
  /*
70
70
  * Interfaces for parsing.
71
71
  */
72
- XMLPUBFUN xmlSchematronParserCtxtPtr XMLCALL
72
+ XMLPUBFUN xmlSchematronParserCtxtPtr
73
73
  xmlSchematronNewParserCtxt (const char *URL);
74
- XMLPUBFUN xmlSchematronParserCtxtPtr XMLCALL
74
+ XMLPUBFUN xmlSchematronParserCtxtPtr
75
75
  xmlSchematronNewMemParserCtxt(const char *buffer,
76
76
  int size);
77
- XMLPUBFUN xmlSchematronParserCtxtPtr XMLCALL
77
+ XMLPUBFUN xmlSchematronParserCtxtPtr
78
78
  xmlSchematronNewDocParserCtxt(xmlDocPtr doc);
79
- XMLPUBFUN void XMLCALL
79
+ XMLPUBFUN void
80
80
  xmlSchematronFreeParserCtxt (xmlSchematronParserCtxtPtr ctxt);
81
81
  /*****
82
- XMLPUBFUN void XMLCALL
82
+ XMLPUBFUN void
83
83
  xmlSchematronSetParserErrors(xmlSchematronParserCtxtPtr ctxt,
84
84
  xmlSchematronValidityErrorFunc err,
85
85
  xmlSchematronValidityWarningFunc warn,
86
86
  void *ctx);
87
- XMLPUBFUN int XMLCALL
87
+ XMLPUBFUN int
88
88
  xmlSchematronGetParserErrors(xmlSchematronParserCtxtPtr ctxt,
89
89
  xmlSchematronValidityErrorFunc * err,
90
90
  xmlSchematronValidityWarningFunc * warn,
91
91
  void **ctx);
92
- XMLPUBFUN int XMLCALL
92
+ XMLPUBFUN int
93
93
  xmlSchematronIsValid (xmlSchematronValidCtxtPtr ctxt);
94
94
  *****/
95
- XMLPUBFUN xmlSchematronPtr XMLCALL
95
+ XMLPUBFUN xmlSchematronPtr
96
96
  xmlSchematronParse (xmlSchematronParserCtxtPtr ctxt);
97
- XMLPUBFUN void XMLCALL
97
+ XMLPUBFUN void
98
98
  xmlSchematronFree (xmlSchematronPtr schema);
99
99
  /*
100
100
  * Interfaces for validating
101
101
  */
102
- XMLPUBFUN void XMLCALL
102
+ XMLPUBFUN void
103
103
  xmlSchematronSetValidStructuredErrors(
104
104
  xmlSchematronValidCtxtPtr ctxt,
105
105
  xmlStructuredErrorFunc serror,
106
106
  void *ctx);
107
107
  /******
108
- XMLPUBFUN void XMLCALL
108
+ XMLPUBFUN void
109
109
  xmlSchematronSetValidErrors (xmlSchematronValidCtxtPtr ctxt,
110
110
  xmlSchematronValidityErrorFunc err,
111
111
  xmlSchematronValidityWarningFunc warn,
112
112
  void *ctx);
113
- XMLPUBFUN int XMLCALL
113
+ XMLPUBFUN int
114
114
  xmlSchematronGetValidErrors (xmlSchematronValidCtxtPtr ctxt,
115
115
  xmlSchematronValidityErrorFunc *err,
116
116
  xmlSchematronValidityWarningFunc *warn,
117
117
  void **ctx);
118
- XMLPUBFUN int XMLCALL
118
+ XMLPUBFUN int
119
119
  xmlSchematronSetValidOptions(xmlSchematronValidCtxtPtr ctxt,
120
120
  int options);
121
- XMLPUBFUN int XMLCALL
121
+ XMLPUBFUN int
122
122
  xmlSchematronValidCtxtGetOptions(xmlSchematronValidCtxtPtr ctxt);
123
- XMLPUBFUN int XMLCALL
123
+ XMLPUBFUN int
124
124
  xmlSchematronValidateOneElement (xmlSchematronValidCtxtPtr ctxt,
125
125
  xmlNodePtr elem);
126
126
  *******/
127
127
 
128
- XMLPUBFUN xmlSchematronValidCtxtPtr XMLCALL
128
+ XMLPUBFUN xmlSchematronValidCtxtPtr
129
129
  xmlSchematronNewValidCtxt (xmlSchematronPtr schema,
130
130
  int options);
131
- XMLPUBFUN void XMLCALL
131
+ XMLPUBFUN void
132
132
  xmlSchematronFreeValidCtxt (xmlSchematronValidCtxtPtr ctxt);
133
- XMLPUBFUN int XMLCALL
133
+ XMLPUBFUN int
134
134
  xmlSchematronValidateDoc (xmlSchematronValidCtxtPtr ctxt,
135
135
  xmlDocPtr instance);
136
136
 
@@ -36,52 +36,55 @@ typedef xmlRMutex *xmlRMutexPtr;
36
36
  #ifdef __cplusplus
37
37
  extern "C" {
38
38
  #endif
39
- XMLPUBFUN xmlMutexPtr XMLCALL
39
+ XMLPUBFUN xmlMutexPtr
40
40
  xmlNewMutex (void);
41
- XMLPUBFUN void XMLCALL
41
+ XMLPUBFUN void
42
42
  xmlMutexLock (xmlMutexPtr tok);
43
- XMLPUBFUN void XMLCALL
43
+ XMLPUBFUN void
44
44
  xmlMutexUnlock (xmlMutexPtr tok);
45
- XMLPUBFUN void XMLCALL
45
+ XMLPUBFUN void
46
46
  xmlFreeMutex (xmlMutexPtr tok);
47
47
 
48
- XMLPUBFUN xmlRMutexPtr XMLCALL
48
+ XMLPUBFUN xmlRMutexPtr
49
49
  xmlNewRMutex (void);
50
- XMLPUBFUN void XMLCALL
50
+ XMLPUBFUN void
51
51
  xmlRMutexLock (xmlRMutexPtr tok);
52
- XMLPUBFUN void XMLCALL
52
+ XMLPUBFUN void
53
53
  xmlRMutexUnlock (xmlRMutexPtr tok);
54
- XMLPUBFUN void XMLCALL
54
+ XMLPUBFUN void
55
55
  xmlFreeRMutex (xmlRMutexPtr tok);
56
56
 
57
57
  /*
58
58
  * Library wide APIs.
59
59
  */
60
60
  XML_DEPRECATED
61
- XMLPUBFUN void XMLCALL
61
+ XMLPUBFUN void
62
62
  xmlInitThreads (void);
63
- XMLPUBFUN void XMLCALL
63
+ XMLPUBFUN void
64
64
  xmlLockLibrary (void);
65
- XMLPUBFUN void XMLCALL
65
+ XMLPUBFUN void
66
66
  xmlUnlockLibrary(void);
67
- XMLPUBFUN int XMLCALL
67
+ XML_DEPRECATED
68
+ XMLPUBFUN int
68
69
  xmlGetThreadId (void);
69
- XMLPUBFUN int XMLCALL
70
+ XML_DEPRECATED
71
+ XMLPUBFUN int
70
72
  xmlIsMainThread (void);
71
73
  XML_DEPRECATED
72
- XMLPUBFUN void XMLCALL
74
+ XMLPUBFUN void
73
75
  xmlCleanupThreads(void);
74
- XMLPUBFUN xmlGlobalStatePtr XMLCALL
76
+ XML_DEPRECATED
77
+ XMLPUBFUN xmlGlobalStatePtr
75
78
  xmlGetGlobalState(void);
76
79
 
77
- #ifdef HAVE_PTHREAD_H
78
- #elif defined(HAVE_WIN32_THREADS) && !defined(HAVE_COMPILER_TLS) && (!defined(LIBXML_STATIC) || defined(LIBXML_STATIC_FOR_DLL))
79
- #if defined(LIBXML_STATIC_FOR_DLL)
80
- int XMLCALL
80
+ /** DOC_DISABLE */
81
+ #if defined(LIBXML_THREAD_ENABLED) && defined(_WIN32) && \
82
+ !defined(HAVE_COMPILER_TLS) && defined(LIBXML_STATIC_FOR_DLL)
83
+ int
81
84
  xmlDllMain(void *hinstDLL, unsigned long fdwReason,
82
85
  void *lpvReserved);
83
86
  #endif
84
- #endif
87
+ /** DOC_ENABLE */
85
88
 
86
89
  #ifdef __cplusplus
87
90
  }