nokogiri 1.11.0.rc4-x86-mingw32 → 1.11.4-x86-mingw32

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 (103) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -0
  3. data/LICENSE-DEPENDENCIES.md +12 -12
  4. data/LICENSE.md +1 -1
  5. data/README.md +168 -91
  6. data/dependencies.yml +12 -12
  7. data/ext/nokogiri/depend +34 -474
  8. data/ext/nokogiri/extconf.rb +270 -183
  9. data/ext/nokogiri/html_document.c +10 -15
  10. data/ext/nokogiri/html_element_description.c +84 -71
  11. data/ext/nokogiri/html_entity_lookup.c +21 -16
  12. data/ext/nokogiri/html_sax_parser_context.c +67 -64
  13. data/ext/nokogiri/html_sax_push_parser.c +42 -34
  14. data/ext/nokogiri/include/libxml2/libxml/c14n.h +6 -4
  15. data/ext/nokogiri/include/libxml2/libxml/parser.h +9 -7
  16. data/ext/nokogiri/include/libxml2/libxml/tree.h +3 -3
  17. data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +2 -0
  18. data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +39 -115
  19. data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +1 -1
  20. data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +6 -6
  21. data/ext/nokogiri/include/libxml2/libxml/xpath.h +1 -3
  22. data/ext/nokogiri/include/libxslt/xsltconfig.h +1 -1
  23. data/ext/nokogiri/libxml2_backwards_compat.c +121 -0
  24. data/ext/nokogiri/nokogiri.c +171 -60
  25. data/ext/nokogiri/nokogiri.h +158 -75
  26. data/ext/nokogiri/test_global_handlers.c +40 -0
  27. data/ext/nokogiri/xml_attr.c +15 -15
  28. data/ext/nokogiri/xml_attribute_decl.c +18 -18
  29. data/ext/nokogiri/xml_cdata.c +13 -18
  30. data/ext/nokogiri/xml_comment.c +19 -26
  31. data/ext/nokogiri/xml_document.c +246 -188
  32. data/ext/nokogiri/xml_document_fragment.c +13 -15
  33. data/ext/nokogiri/xml_dtd.c +54 -48
  34. data/ext/nokogiri/xml_element_content.c +30 -27
  35. data/ext/nokogiri/xml_element_decl.c +22 -22
  36. data/ext/nokogiri/xml_encoding_handler.c +17 -11
  37. data/ext/nokogiri/xml_entity_decl.c +32 -30
  38. data/ext/nokogiri/xml_entity_reference.c +16 -18
  39. data/ext/nokogiri/xml_namespace.c +56 -49
  40. data/ext/nokogiri/xml_node.c +371 -320
  41. data/ext/nokogiri/xml_node_set.c +168 -156
  42. data/ext/nokogiri/xml_processing_instruction.c +17 -19
  43. data/ext/nokogiri/xml_reader.c +191 -157
  44. data/ext/nokogiri/xml_relax_ng.c +29 -23
  45. data/ext/nokogiri/xml_sax_parser.c +117 -112
  46. data/ext/nokogiri/xml_sax_parser_context.c +101 -84
  47. data/ext/nokogiri/xml_sax_push_parser.c +36 -27
  48. data/ext/nokogiri/xml_schema.c +48 -42
  49. data/ext/nokogiri/xml_syntax_error.c +42 -21
  50. data/ext/nokogiri/xml_text.c +13 -17
  51. data/ext/nokogiri/xml_xpath_context.c +134 -127
  52. data/ext/nokogiri/xslt_stylesheet.c +157 -157
  53. data/lib/nokogiri.rb +2 -6
  54. data/lib/nokogiri/2.5/nokogiri.so +0 -0
  55. data/lib/nokogiri/2.6/nokogiri.so +0 -0
  56. data/lib/nokogiri/2.7/nokogiri.so +0 -0
  57. data/lib/nokogiri/3.0/nokogiri.so +0 -0
  58. data/lib/nokogiri/css/parser.rb +1 -1
  59. data/lib/nokogiri/extension.rb +26 -0
  60. data/lib/nokogiri/html/document_fragment.rb +15 -15
  61. data/lib/nokogiri/version/constant.rb +1 -1
  62. data/lib/nokogiri/version/info.rb +31 -8
  63. data/lib/nokogiri/xml/document.rb +74 -28
  64. data/lib/nokogiri/xml/node.rb +39 -42
  65. data/lib/nokogiri/xml/reader.rb +2 -9
  66. data/lib/nokogiri/xml/xpath.rb +1 -3
  67. data/lib/nokogiri/xml/xpath/syntax_error.rb +1 -1
  68. metadata +62 -160
  69. data/ext/nokogiri/html_document.h +0 -10
  70. data/ext/nokogiri/html_element_description.h +0 -10
  71. data/ext/nokogiri/html_entity_lookup.h +0 -8
  72. data/ext/nokogiri/html_sax_parser_context.h +0 -11
  73. data/ext/nokogiri/html_sax_push_parser.h +0 -9
  74. data/ext/nokogiri/xml_attr.h +0 -9
  75. data/ext/nokogiri/xml_attribute_decl.h +0 -9
  76. data/ext/nokogiri/xml_cdata.h +0 -9
  77. data/ext/nokogiri/xml_comment.h +0 -9
  78. data/ext/nokogiri/xml_document.h +0 -23
  79. data/ext/nokogiri/xml_document_fragment.h +0 -10
  80. data/ext/nokogiri/xml_dtd.h +0 -10
  81. data/ext/nokogiri/xml_element_content.h +0 -10
  82. data/ext/nokogiri/xml_element_decl.h +0 -9
  83. data/ext/nokogiri/xml_encoding_handler.h +0 -8
  84. data/ext/nokogiri/xml_entity_decl.h +0 -10
  85. data/ext/nokogiri/xml_entity_reference.h +0 -9
  86. data/ext/nokogiri/xml_io.c +0 -63
  87. data/ext/nokogiri/xml_io.h +0 -11
  88. data/ext/nokogiri/xml_libxml2_hacks.c +0 -112
  89. data/ext/nokogiri/xml_libxml2_hacks.h +0 -12
  90. data/ext/nokogiri/xml_namespace.h +0 -14
  91. data/ext/nokogiri/xml_node.h +0 -13
  92. data/ext/nokogiri/xml_node_set.h +0 -12
  93. data/ext/nokogiri/xml_processing_instruction.h +0 -9
  94. data/ext/nokogiri/xml_reader.h +0 -10
  95. data/ext/nokogiri/xml_relax_ng.h +0 -9
  96. data/ext/nokogiri/xml_sax_parser.h +0 -39
  97. data/ext/nokogiri/xml_sax_parser_context.h +0 -10
  98. data/ext/nokogiri/xml_sax_push_parser.h +0 -9
  99. data/ext/nokogiri/xml_schema.h +0 -9
  100. data/ext/nokogiri/xml_syntax_error.h +0 -13
  101. data/ext/nokogiri/xml_text.h +0 -9
  102. data/ext/nokogiri/xml_xpath_context.h +0 -10
  103. data/ext/nokogiri/xslt_stylesheet.h +0 -14
@@ -1,10 +0,0 @@
1
- #ifndef NOKOGIRI_XML_SAX_PARSER_CONTEXT
2
- #define NOKOGIRI_XML_SAX_PARSER_CONTEXT
3
-
4
- #include <nokogiri.h>
5
-
6
- extern VALUE cNokogiriXmlSaxParserContext;
7
-
8
- void init_xml_sax_parser_context();
9
-
10
- #endif
@@ -1,9 +0,0 @@
1
- #ifndef NOKOGIRI_XML_SAX_PUSH_PARSER
2
- #define NOKOGIRI_XML_SAX_PUSH_PARSER
3
-
4
- #include <nokogiri.h>
5
-
6
- void init_xml_sax_push_parser();
7
-
8
- extern VALUE cNokogiriXmlSaxPushParser ;
9
- #endif
@@ -1,9 +0,0 @@
1
- #ifndef NOKOGIRI_XML_SCHEMA
2
- #define NOKOGIRI_XML_SCHEMA
3
-
4
- #include <nokogiri.h>
5
-
6
- void init_xml_schema();
7
-
8
- extern VALUE cNokogiriXmlSchema;
9
- #endif
@@ -1,13 +0,0 @@
1
- #ifndef NOKOGIRI_XML_SYNTAX_ERROR
2
- #define NOKOGIRI_XML_SYNTAX_ERROR
3
-
4
- #include <nokogiri.h>
5
-
6
- void init_xml_syntax_error();
7
- VALUE Nokogiri_wrap_xml_syntax_error(xmlErrorPtr error);
8
- void Nokogiri_error_array_pusher(void * ctx, xmlErrorPtr error);
9
- NORETURN(void Nokogiri_error_raise(void * ctx, xmlErrorPtr error));
10
-
11
- extern VALUE cNokogiriXmlSyntaxError;
12
- #endif
13
-
@@ -1,9 +0,0 @@
1
- #ifndef NOKOGIRI_XML_TEXT
2
- #define NOKOGIRI_XML_TEXT
3
-
4
- #include <nokogiri.h>
5
-
6
- void init_xml_text();
7
-
8
- extern VALUE cNokogiriXmlText ;
9
- #endif
@@ -1,10 +0,0 @@
1
- #ifndef NOKOGIRI_XML_XPATH_CONTEXT
2
- #define NOKOGIRI_XML_XPATH_CONTEXT
3
-
4
- #include <nokogiri.h>
5
-
6
- void init_xml_xpath_context();
7
- void Nokogiri_marshal_xpath_funcall_and_return_values(xmlXPathParserContextPtr ctx, int nargs, VALUE handler, const char* function_name) ;
8
-
9
- extern VALUE cNokogiriXmlXpathContext;
10
- #endif
@@ -1,14 +0,0 @@
1
- #ifndef NOKOGIRI_XSLT_STYLESHEET
2
- #define NOKOGIRI_XSLT_STYLESHEET
3
-
4
- #include <nokogiri.h>
5
-
6
- void init_xslt_stylesheet();
7
-
8
- extern VALUE cNokogiriXsltStylesheet ;
9
-
10
- typedef struct _nokogiriXsltStylesheetTuple {
11
- xsltStylesheetPtr ss;
12
- VALUE func_instances;
13
- } nokogiriXsltStylesheetTuple;
14
- #endif