nokogiri 1.16.7-aarch64-linux → 1.18.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +11 -21
  3. data/LICENSE-DEPENDENCIES.md +6 -6
  4. data/README.md +8 -5
  5. data/dependencies.yml +6 -6
  6. data/ext/nokogiri/extconf.rb +188 -142
  7. data/ext/nokogiri/gumbo.c +69 -53
  8. data/ext/nokogiri/html4_document.c +10 -4
  9. data/ext/nokogiri/html4_element_description.c +18 -18
  10. data/ext/nokogiri/html4_sax_parser.c +40 -0
  11. data/ext/nokogiri/html4_sax_parser_context.c +48 -58
  12. data/ext/nokogiri/html4_sax_push_parser.c +25 -24
  13. data/ext/nokogiri/libxml2_polyfill.c +114 -0
  14. data/ext/nokogiri/nokogiri.c +9 -2
  15. data/ext/nokogiri/nokogiri.h +18 -33
  16. data/ext/nokogiri/xml_attr.c +1 -1
  17. data/ext/nokogiri/xml_cdata.c +2 -10
  18. data/ext/nokogiri/xml_comment.c +3 -8
  19. data/ext/nokogiri/xml_document.c +163 -156
  20. data/ext/nokogiri/xml_document_fragment.c +10 -25
  21. data/ext/nokogiri/xml_dtd.c +1 -1
  22. data/ext/nokogiri/xml_element_content.c +9 -9
  23. data/ext/nokogiri/xml_encoding_handler.c +4 -4
  24. data/ext/nokogiri/xml_namespace.c +6 -6
  25. data/ext/nokogiri/xml_node.c +141 -104
  26. data/ext/nokogiri/xml_node_set.c +46 -44
  27. data/ext/nokogiri/xml_reader.c +54 -58
  28. data/ext/nokogiri/xml_relax_ng.c +35 -56
  29. data/ext/nokogiri/xml_sax_parser.c +156 -88
  30. data/ext/nokogiri/xml_sax_parser_context.c +219 -131
  31. data/ext/nokogiri/xml_sax_push_parser.c +68 -49
  32. data/ext/nokogiri/xml_schema.c +50 -85
  33. data/ext/nokogiri/xml_syntax_error.c +19 -11
  34. data/ext/nokogiri/xml_text.c +2 -4
  35. data/ext/nokogiri/xml_xpath_context.c +103 -100
  36. data/ext/nokogiri/xslt_stylesheet.c +8 -8
  37. data/gumbo-parser/src/Makefile +34 -0
  38. data/gumbo-parser/src/README.md +41 -0
  39. data/gumbo-parser/src/ascii.c +75 -0
  40. data/gumbo-parser/src/ascii.h +115 -0
  41. data/gumbo-parser/src/attribute.c +42 -0
  42. data/gumbo-parser/src/attribute.h +17 -0
  43. data/gumbo-parser/src/char_ref.c +22225 -0
  44. data/gumbo-parser/src/char_ref.h +29 -0
  45. data/gumbo-parser/src/char_ref.rl +2154 -0
  46. data/gumbo-parser/src/error.c +658 -0
  47. data/gumbo-parser/src/error.h +152 -0
  48. data/gumbo-parser/src/foreign_attrs.c +103 -0
  49. data/gumbo-parser/src/foreign_attrs.gperf +27 -0
  50. data/gumbo-parser/src/insertion_mode.h +33 -0
  51. data/gumbo-parser/src/macros.h +91 -0
  52. data/gumbo-parser/src/nokogiri_gumbo.h +953 -0
  53. data/gumbo-parser/src/parser.c +4932 -0
  54. data/gumbo-parser/src/parser.h +41 -0
  55. data/gumbo-parser/src/replacement.h +33 -0
  56. data/gumbo-parser/src/string_buffer.c +103 -0
  57. data/gumbo-parser/src/string_buffer.h +68 -0
  58. data/gumbo-parser/src/string_piece.c +48 -0
  59. data/gumbo-parser/src/svg_attrs.c +174 -0
  60. data/gumbo-parser/src/svg_attrs.gperf +77 -0
  61. data/gumbo-parser/src/svg_tags.c +137 -0
  62. data/gumbo-parser/src/svg_tags.gperf +55 -0
  63. data/gumbo-parser/src/tag.c +223 -0
  64. data/gumbo-parser/src/tag_lookup.c +382 -0
  65. data/gumbo-parser/src/tag_lookup.gperf +170 -0
  66. data/gumbo-parser/src/tag_lookup.h +13 -0
  67. data/gumbo-parser/src/token_buffer.c +79 -0
  68. data/gumbo-parser/src/token_buffer.h +71 -0
  69. data/gumbo-parser/src/token_type.h +17 -0
  70. data/gumbo-parser/src/tokenizer.c +3464 -0
  71. data/gumbo-parser/src/tokenizer.h +112 -0
  72. data/gumbo-parser/src/tokenizer_states.h +339 -0
  73. data/gumbo-parser/src/utf8.c +245 -0
  74. data/gumbo-parser/src/utf8.h +164 -0
  75. data/gumbo-parser/src/util.c +66 -0
  76. data/gumbo-parser/src/util.h +34 -0
  77. data/gumbo-parser/src/vector.c +111 -0
  78. data/gumbo-parser/src/vector.h +45 -0
  79. data/lib/nokogiri/class_resolver.rb +1 -1
  80. data/lib/nokogiri/css/node.rb +6 -2
  81. data/lib/nokogiri/css/parser.rb +6 -4
  82. data/lib/nokogiri/css/parser.y +2 -2
  83. data/lib/nokogiri/css/parser_extras.rb +6 -66
  84. data/lib/nokogiri/css/selector_cache.rb +38 -0
  85. data/lib/nokogiri/css/tokenizer.rb +4 -4
  86. data/lib/nokogiri/css/tokenizer.rex +9 -8
  87. data/lib/nokogiri/css/xpath_visitor.rb +43 -6
  88. data/lib/nokogiri/css.rb +86 -20
  89. data/lib/nokogiri/decorators/slop.rb +3 -5
  90. data/lib/nokogiri/encoding_handler.rb +2 -2
  91. data/lib/nokogiri/html4/document.rb +44 -23
  92. data/lib/nokogiri/html4/document_fragment.rb +124 -12
  93. data/lib/nokogiri/html4/encoding_reader.rb +1 -1
  94. data/lib/nokogiri/html4/sax/parser.rb +23 -38
  95. data/lib/nokogiri/html4/sax/parser_context.rb +4 -9
  96. data/lib/nokogiri/html4.rb +9 -14
  97. data/lib/nokogiri/html5/builder.rb +40 -0
  98. data/lib/nokogiri/html5/document.rb +61 -30
  99. data/lib/nokogiri/html5/document_fragment.rb +130 -20
  100. data/lib/nokogiri/html5/node.rb +4 -4
  101. data/lib/nokogiri/html5.rb +114 -72
  102. data/lib/nokogiri/version/constant.rb +1 -1
  103. data/lib/nokogiri/xml/builder.rb +8 -1
  104. data/lib/nokogiri/xml/document.rb +70 -26
  105. data/lib/nokogiri/xml/document_fragment.rb +84 -13
  106. data/lib/nokogiri/xml/node.rb +82 -11
  107. data/lib/nokogiri/xml/node_set.rb +9 -7
  108. data/lib/nokogiri/xml/parse_options.rb +1 -1
  109. data/lib/nokogiri/xml/pp/node.rb +6 -1
  110. data/lib/nokogiri/xml/reader.rb +46 -13
  111. data/lib/nokogiri/xml/relax_ng.rb +57 -20
  112. data/lib/nokogiri/xml/sax/document.rb +174 -83
  113. data/lib/nokogiri/xml/sax/parser.rb +115 -41
  114. data/lib/nokogiri/xml/sax/parser_context.rb +116 -8
  115. data/lib/nokogiri/xml/sax/push_parser.rb +3 -0
  116. data/lib/nokogiri/xml/sax.rb +48 -0
  117. data/lib/nokogiri/xml/schema.rb +112 -45
  118. data/lib/nokogiri/xml/searchable.rb +38 -42
  119. data/lib/nokogiri/xml/syntax_error.rb +22 -0
  120. data/lib/nokogiri/xml/xpath_context.rb +14 -3
  121. data/lib/nokogiri/xml.rb +13 -24
  122. data/lib/nokogiri/xslt.rb +3 -9
  123. data/lib/xsd/xmlparser/nokogiri.rb +3 -4
  124. data/patches/libxml2/0001-Remove-script-macro-support.patch +40 -0
  125. data/patches/libxml2/0002-Update-entities-to-remove-handling-of-ssi.patch +44 -0
  126. data/patches/libxml2/0009-allow-wildcard-namespaces.patch +77 -0
  127. data/patches/libxml2/0010-update-config.guess-and-config.sub-for-libxml2.patch +224 -0
  128. data/patches/libxml2/0011-rip-out-libxml2-s-libc_single_threaded-support.patch +30 -0
  129. data/patches/libxml2/0019-xpath-Use-separate-static-hash-table-for-standard-fu.patch +244 -0
  130. data/patches/libxslt/0001-update-config.guess-and-config.sub-for-libxslt.patch +224 -0
  131. data/ports/archives/libxml2-2.13.6.tar.xz +0 -0
  132. data/ports/archives/libxslt-1.1.42.tar.xz +0 -0
  133. metadata +78 -89
  134. data/ext/nokogiri/include/libexslt/exslt.h +0 -108
  135. data/ext/nokogiri/include/libexslt/exsltconfig.h +0 -70
  136. data/ext/nokogiri/include/libexslt/exsltexports.h +0 -63
  137. data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +0 -343
  138. data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +0 -147
  139. data/ext/nokogiri/include/libxml2/libxml/SAX.h +0 -202
  140. data/ext/nokogiri/include/libxml2/libxml/SAX2.h +0 -171
  141. data/ext/nokogiri/include/libxml2/libxml/c14n.h +0 -126
  142. data/ext/nokogiri/include/libxml2/libxml/catalog.h +0 -182
  143. data/ext/nokogiri/include/libxml2/libxml/chvalid.h +0 -230
  144. data/ext/nokogiri/include/libxml2/libxml/debugXML.h +0 -217
  145. data/ext/nokogiri/include/libxml2/libxml/dict.h +0 -82
  146. data/ext/nokogiri/include/libxml2/libxml/encoding.h +0 -235
  147. data/ext/nokogiri/include/libxml2/libxml/entities.h +0 -155
  148. data/ext/nokogiri/include/libxml2/libxml/globals.h +0 -41
  149. data/ext/nokogiri/include/libxml2/libxml/hash.h +0 -232
  150. data/ext/nokogiri/include/libxml2/libxml/list.h +0 -137
  151. data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +0 -186
  152. data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +0 -81
  153. data/ext/nokogiri/include/libxml2/libxml/parser.h +0 -1384
  154. data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +0 -663
  155. data/ext/nokogiri/include/libxml2/libxml/pattern.h +0 -100
  156. data/ext/nokogiri/include/libxml2/libxml/relaxng.h +0 -219
  157. data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +0 -959
  158. data/ext/nokogiri/include/libxml2/libxml/schematron.h +0 -143
  159. data/ext/nokogiri/include/libxml2/libxml/threads.h +0 -87
  160. data/ext/nokogiri/include/libxml2/libxml/tree.h +0 -1362
  161. data/ext/nokogiri/include/libxml2/libxml/uri.h +0 -95
  162. data/ext/nokogiri/include/libxml2/libxml/valid.h +0 -450
  163. data/ext/nokogiri/include/libxml2/libxml/xinclude.h +0 -129
  164. data/ext/nokogiri/include/libxml2/libxml/xlink.h +0 -189
  165. data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +0 -421
  166. data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +0 -146
  167. data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +0 -948
  168. data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +0 -50
  169. data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +0 -225
  170. data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +0 -57
  171. data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +0 -434
  172. data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +0 -215
  173. data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +0 -97
  174. data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +0 -249
  175. data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +0 -152
  176. data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +0 -140
  177. data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +0 -202
  178. data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +0 -511
  179. data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +0 -488
  180. data/ext/nokogiri/include/libxml2/libxml/xpath.h +0 -575
  181. data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +0 -633
  182. data/ext/nokogiri/include/libxml2/libxml/xpointer.h +0 -138
  183. data/ext/nokogiri/include/libxslt/attributes.h +0 -39
  184. data/ext/nokogiri/include/libxslt/documents.h +0 -93
  185. data/ext/nokogiri/include/libxslt/extensions.h +0 -262
  186. data/ext/nokogiri/include/libxslt/extra.h +0 -72
  187. data/ext/nokogiri/include/libxslt/functions.h +0 -78
  188. data/ext/nokogiri/include/libxslt/imports.h +0 -75
  189. data/ext/nokogiri/include/libxslt/keys.h +0 -53
  190. data/ext/nokogiri/include/libxslt/namespaces.h +0 -68
  191. data/ext/nokogiri/include/libxslt/numbersInternals.h +0 -73
  192. data/ext/nokogiri/include/libxslt/pattern.h +0 -84
  193. data/ext/nokogiri/include/libxslt/preproc.h +0 -43
  194. data/ext/nokogiri/include/libxslt/security.h +0 -104
  195. data/ext/nokogiri/include/libxslt/templates.h +0 -77
  196. data/ext/nokogiri/include/libxslt/transform.h +0 -207
  197. data/ext/nokogiri/include/libxslt/variables.h +0 -118
  198. data/ext/nokogiri/include/libxslt/xslt.h +0 -110
  199. data/ext/nokogiri/include/libxslt/xsltInternals.h +0 -1992
  200. data/ext/nokogiri/include/libxslt/xsltconfig.h +0 -179
  201. data/ext/nokogiri/include/libxslt/xsltexports.h +0 -64
  202. data/ext/nokogiri/include/libxslt/xsltlocale.h +0 -44
  203. data/ext/nokogiri/include/libxslt/xsltutils.h +0 -343
  204. data/ext/nokogiri/libxml2_backwards_compat.c +0 -121
  205. data/lib/nokogiri/3.0/nokogiri.so +0 -0
  206. data/lib/nokogiri/3.1/nokogiri.so +0 -0
  207. data/lib/nokogiri/3.2/nokogiri.so +0 -0
  208. data/lib/nokogiri/3.3/nokogiri.so +0 -0
@@ -0,0 +1,224 @@
1
+ From 66ee2dcef0e99cd9c2d4f9f1115fb907f1ea6e4d Mon Sep 17 00:00:00 2001
2
+ From: Mike Dalessio <mike.dalessio@gmail.com>
3
+ Date: Mon, 8 May 2023 08:42:47 -0400
4
+ Subject: [PATCH] update config.guess and config.sub for libxslt
5
+
6
+ curl -sL -o config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
7
+ curl -sL -o config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'
8
+ ---
9
+ config.guess | 46 +++++++++++++++++++++++++++++++++-------------
10
+ config.sub | 35 ++++++++++++++++++++++++++---------
11
+ 2 files changed, 59 insertions(+), 22 deletions(-)
12
+
13
+ diff --git a/config.guess b/config.guess
14
+ index 7f76b622..69188da7 100755
15
+ --- a/config.guess
16
+ +++ b/config.guess
17
+ @@ -1,10 +1,10 @@
18
+ #! /bin/sh
19
+ # Attempt to guess a canonical system name.
20
+ -# Copyright 1992-2022 Free Software Foundation, Inc.
21
+ +# Copyright 1992-2023 Free Software Foundation, Inc.
22
+
23
+ # shellcheck disable=SC2006,SC2268 # see below for rationale
24
+
25
+ -timestamp='2022-01-09'
26
+ +timestamp='2023-01-01'
27
+
28
+ # This file is free software; you can redistribute it and/or modify it
29
+ # under the terms of the GNU General Public License as published by
30
+ @@ -60,7 +60,7 @@ version="\
31
+ GNU config.guess ($timestamp)
32
+
33
+ Originally written by Per Bothner.
34
+ -Copyright 1992-2022 Free Software Foundation, Inc.
35
+ +Copyright 1992-2023 Free Software Foundation, Inc.
36
+
37
+ This is free software; see the source for copying conditions. There is NO
38
+ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
39
+ @@ -966,6 +966,12 @@ EOF
40
+ GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
41
+ GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC
42
+ ;;
43
+ + x86_64:[Mm]anagarm:*:*|i?86:[Mm]anagarm:*:*)
44
+ + GUESS="$UNAME_MACHINE-pc-managarm-mlibc"
45
+ + ;;
46
+ + *:[Mm]anagarm:*:*)
47
+ + GUESS="$UNAME_MACHINE-unknown-managarm-mlibc"
48
+ + ;;
49
+ *:Minix:*:*)
50
+ GUESS=$UNAME_MACHINE-unknown-minix
51
+ ;;
52
+ @@ -1036,7 +1042,7 @@ EOF
53
+ k1om:Linux:*:*)
54
+ GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
55
+ ;;
56
+ - loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
57
+ + loongarch32:Linux:*:* | loongarch64:Linux:*:*)
58
+ GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
59
+ ;;
60
+ m32r*:Linux:*:*)
61
+ @@ -1151,16 +1157,27 @@ EOF
62
+ ;;
63
+ x86_64:Linux:*:*)
64
+ set_cc_for_build
65
+ + CPU=$UNAME_MACHINE
66
+ LIBCABI=$LIBC
67
+ if test "$CC_FOR_BUILD" != no_compiler_found; then
68
+ - if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \
69
+ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
70
+ - grep IS_X32 >/dev/null
71
+ - then
72
+ - LIBCABI=${LIBC}x32
73
+ - fi
74
+ + ABI=64
75
+ + sed 's/^ //' << EOF > "$dummy.c"
76
+ + #ifdef __i386__
77
+ + ABI=x86
78
+ + #else
79
+ + #ifdef __ILP32__
80
+ + ABI=x32
81
+ + #endif
82
+ + #endif
83
+ +EOF
84
+ + cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
85
+ + eval "$cc_set_abi"
86
+ + case $ABI in
87
+ + x86) CPU=i686 ;;
88
+ + x32) LIBCABI=${LIBC}x32 ;;
89
+ + esac
90
+ fi
91
+ - GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI
92
+ + GUESS=$CPU-pc-linux-$LIBCABI
93
+ ;;
94
+ xtensa*:Linux:*:*)
95
+ GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
96
+ @@ -1367,8 +1384,11 @@ EOF
97
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
98
+ GUESS=i586-pc-haiku
99
+ ;;
100
+ - x86_64:Haiku:*:*)
101
+ - GUESS=x86_64-unknown-haiku
102
+ + ppc:Haiku:*:*) # Haiku running on Apple PowerPC
103
+ + GUESS=powerpc-apple-haiku
104
+ + ;;
105
+ + *:Haiku:*:*) # Haiku modern gcc (not bound by BeOS compat)
106
+ + GUESS=$UNAME_MACHINE-unknown-haiku
107
+ ;;
108
+ SX-4:SUPER-UX:*:*)
109
+ GUESS=sx4-nec-superux$UNAME_RELEASE
110
+ diff --git a/config.sub b/config.sub
111
+ index dba16e84..de4259e4 100755
112
+ --- a/config.sub
113
+ +++ b/config.sub
114
+ @@ -1,10 +1,10 @@
115
+ #! /bin/sh
116
+ # Configuration validation subroutine script.
117
+ -# Copyright 1992-2022 Free Software Foundation, Inc.
118
+ +# Copyright 1992-2023 Free Software Foundation, Inc.
119
+
120
+ # shellcheck disable=SC2006,SC2268 # see below for rationale
121
+
122
+ -timestamp='2022-01-03'
123
+ +timestamp='2023-01-21'
124
+
125
+ # This file is free software; you can redistribute it and/or modify it
126
+ # under the terms of the GNU General Public License as published by
127
+ @@ -76,7 +76,7 @@ Report bugs and patches to <config-patches@gnu.org>."
128
+ version="\
129
+ GNU config.sub ($timestamp)
130
+
131
+ -Copyright 1992-2022 Free Software Foundation, Inc.
132
+ +Copyright 1992-2023 Free Software Foundation, Inc.
133
+
134
+ This is free software; see the source for copying conditions. There is NO
135
+ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
136
+ @@ -145,7 +145,7 @@ case $1 in
137
+ nto-qnx* | linux-* | uclinux-uclibc* \
138
+ | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
139
+ | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
140
+ - | storm-chaos* | os2-emx* | rtmk-nova*)
141
+ + | storm-chaos* | os2-emx* | rtmk-nova* | managarm-*)
142
+ basic_machine=$field1
143
+ basic_os=$maybe_os
144
+ ;;
145
+ @@ -1075,7 +1075,7 @@ case $cpu-$vendor in
146
+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
147
+ cpu=i586
148
+ ;;
149
+ - pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*)
150
+ + pentiumpro-* | p6-* | 6x86-* | athlon-* | athlon_*-*)
151
+ cpu=i686
152
+ ;;
153
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
154
+ @@ -1207,7 +1207,7 @@ case $cpu-$vendor in
155
+ | k1om \
156
+ | le32 | le64 \
157
+ | lm32 \
158
+ - | loongarch32 | loongarch64 | loongarchx32 \
159
+ + | loongarch32 | loongarch64 \
160
+ | m32c | m32r | m32rle \
161
+ | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \
162
+ | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \
163
+ @@ -1341,6 +1341,10 @@ EOF
164
+ kernel=linux
165
+ os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
166
+ ;;
167
+ + managarm*)
168
+ + kernel=managarm
169
+ + os=`echo "$basic_os" | sed -e 's|managarm|mlibc|'`
170
+ + ;;
171
+ *)
172
+ kernel=
173
+ os=$basic_os
174
+ @@ -1754,7 +1758,7 @@ case $os in
175
+ | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
176
+ | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
177
+ | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
178
+ - | fiwix* )
179
+ + | fiwix* | mlibc* )
180
+ ;;
181
+ # This one is extra strict with allowed versions
182
+ sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
183
+ @@ -1762,6 +1766,9 @@ case $os in
184
+ ;;
185
+ none)
186
+ ;;
187
+ + kernel* )
188
+ + # Restricted further below
189
+ + ;;
190
+ *)
191
+ echo Invalid configuration \`"$1"\': OS \`"$os"\' not recognized 1>&2
192
+ exit 1
193
+ @@ -1772,16 +1779,26 @@ esac
194
+ # (given a valid OS), if there is a kernel.
195
+ case $kernel-$os in
196
+ linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
197
+ - | linux-musl* | linux-relibc* | linux-uclibc* )
198
+ + | linux-musl* | linux-relibc* | linux-uclibc* | linux-mlibc* )
199
+ ;;
200
+ uclinux-uclibc* )
201
+ ;;
202
+ - -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* )
203
+ + managarm-mlibc* | managarm-kernel* )
204
+ + ;;
205
+ + -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* | -mlibc* )
206
+ # These are just libc implementations, not actual OSes, and thus
207
+ # require a kernel.
208
+ echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2
209
+ exit 1
210
+ ;;
211
+ + -kernel* )
212
+ + echo "Invalid configuration \`$1': \`$os' needs explicit kernel." 1>&2
213
+ + exit 1
214
+ + ;;
215
+ + *-kernel* )
216
+ + echo "Invalid configuration \`$1': \`$kernel' does not support \`$os'." 1>&2
217
+ + exit 1
218
+ + ;;
219
+ kfreebsd*-gnu* | kopensolaris*-gnu*)
220
+ ;;
221
+ vxworks-simlinux | vxworks-simwindows | vxworks-spe)
222
+ --
223
+ 2.40.1
224
+
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nokogiri
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.7
5
- platform: aarch64-linux
4
+ version: 1.18.3
5
+ platform: ruby
6
6
  authors:
7
7
  - Mike Dalessio
8
8
  - Aaron Patterson
@@ -17,11 +17,24 @@ authors:
17
17
  - Sergio Arbeo
18
18
  - Timothy Elliott
19
19
  - Nobuyoshi Nakada
20
- autorequire:
21
20
  bindir: bin
22
21
  cert_chain: []
23
- date: 2024-07-27 00:00:00.000000000 Z
22
+ date: 2025-02-18 00:00:00.000000000 Z
24
23
  dependencies:
24
+ - !ruby/object:Gem::Dependency
25
+ name: mini_portile2
26
+ requirement: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - "~>"
29
+ - !ruby/object:Gem::Version
30
+ version: 2.8.2
31
+ type: :runtime
32
+ prerelease: false
33
+ version_requirements: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - "~>"
36
+ - !ruby/object:Gem::Version
37
+ version: 2.8.2
25
38
  - !ruby/object:Gem::Dependency
26
39
  name: racc
27
40
  requirement: !ruby/object:Gem::Requirement
@@ -36,7 +49,6 @@ dependencies:
36
49
  - - "~>"
37
50
  - !ruby/object:Gem::Version
38
51
  version: '1.4'
39
- force_ruby_platform: false
40
52
  description: |
41
53
  Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a
42
54
  sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is
@@ -44,15 +56,17 @@ description: |
44
56
  email: nokogiri-talk@googlegroups.com
45
57
  executables:
46
58
  - nokogiri
47
- extensions: []
59
+ extensions:
60
+ - ext/nokogiri/extconf.rb
48
61
  extra_rdoc_files:
49
62
  - ext/nokogiri/gumbo.c
50
63
  - ext/nokogiri/html4_document.c
51
64
  - ext/nokogiri/html4_element_description.c
52
65
  - ext/nokogiri/html4_entity_lookup.c
66
+ - ext/nokogiri/html4_sax_parser.c
53
67
  - ext/nokogiri/html4_sax_parser_context.c
54
68
  - ext/nokogiri/html4_sax_push_parser.c
55
- - ext/nokogiri/libxml2_backwards_compat.c
69
+ - ext/nokogiri/libxml2_polyfill.c
56
70
  - ext/nokogiri/nokogiri.c
57
71
  - ext/nokogiri/test_global_handlers.c
58
72
  - ext/nokogiri/xml_attr.c
@@ -95,79 +109,10 @@ files:
95
109
  - ext/nokogiri/html4_document.c
96
110
  - ext/nokogiri/html4_element_description.c
97
111
  - ext/nokogiri/html4_entity_lookup.c
112
+ - ext/nokogiri/html4_sax_parser.c
98
113
  - ext/nokogiri/html4_sax_parser_context.c
99
114
  - ext/nokogiri/html4_sax_push_parser.c
100
- - ext/nokogiri/include/libexslt/exslt.h
101
- - ext/nokogiri/include/libexslt/exsltconfig.h
102
- - ext/nokogiri/include/libexslt/exsltexports.h
103
- - ext/nokogiri/include/libxml2/libxml/HTMLparser.h
104
- - ext/nokogiri/include/libxml2/libxml/HTMLtree.h
105
- - ext/nokogiri/include/libxml2/libxml/SAX.h
106
- - ext/nokogiri/include/libxml2/libxml/SAX2.h
107
- - ext/nokogiri/include/libxml2/libxml/c14n.h
108
- - ext/nokogiri/include/libxml2/libxml/catalog.h
109
- - ext/nokogiri/include/libxml2/libxml/chvalid.h
110
- - ext/nokogiri/include/libxml2/libxml/debugXML.h
111
- - ext/nokogiri/include/libxml2/libxml/dict.h
112
- - ext/nokogiri/include/libxml2/libxml/encoding.h
113
- - ext/nokogiri/include/libxml2/libxml/entities.h
114
- - ext/nokogiri/include/libxml2/libxml/globals.h
115
- - ext/nokogiri/include/libxml2/libxml/hash.h
116
- - ext/nokogiri/include/libxml2/libxml/list.h
117
- - ext/nokogiri/include/libxml2/libxml/nanoftp.h
118
- - ext/nokogiri/include/libxml2/libxml/nanohttp.h
119
- - ext/nokogiri/include/libxml2/libxml/parser.h
120
- - ext/nokogiri/include/libxml2/libxml/parserInternals.h
121
- - ext/nokogiri/include/libxml2/libxml/pattern.h
122
- - ext/nokogiri/include/libxml2/libxml/relaxng.h
123
- - ext/nokogiri/include/libxml2/libxml/schemasInternals.h
124
- - ext/nokogiri/include/libxml2/libxml/schematron.h
125
- - ext/nokogiri/include/libxml2/libxml/threads.h
126
- - ext/nokogiri/include/libxml2/libxml/tree.h
127
- - ext/nokogiri/include/libxml2/libxml/uri.h
128
- - ext/nokogiri/include/libxml2/libxml/valid.h
129
- - ext/nokogiri/include/libxml2/libxml/xinclude.h
130
- - ext/nokogiri/include/libxml2/libxml/xlink.h
131
- - ext/nokogiri/include/libxml2/libxml/xmlIO.h
132
- - ext/nokogiri/include/libxml2/libxml/xmlautomata.h
133
- - ext/nokogiri/include/libxml2/libxml/xmlerror.h
134
- - ext/nokogiri/include/libxml2/libxml/xmlexports.h
135
- - ext/nokogiri/include/libxml2/libxml/xmlmemory.h
136
- - ext/nokogiri/include/libxml2/libxml/xmlmodule.h
137
- - ext/nokogiri/include/libxml2/libxml/xmlreader.h
138
- - ext/nokogiri/include/libxml2/libxml/xmlregexp.h
139
- - ext/nokogiri/include/libxml2/libxml/xmlsave.h
140
- - ext/nokogiri/include/libxml2/libxml/xmlschemas.h
141
- - ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h
142
- - ext/nokogiri/include/libxml2/libxml/xmlstring.h
143
- - ext/nokogiri/include/libxml2/libxml/xmlunicode.h
144
- - ext/nokogiri/include/libxml2/libxml/xmlversion.h
145
- - ext/nokogiri/include/libxml2/libxml/xmlwriter.h
146
- - ext/nokogiri/include/libxml2/libxml/xpath.h
147
- - ext/nokogiri/include/libxml2/libxml/xpathInternals.h
148
- - ext/nokogiri/include/libxml2/libxml/xpointer.h
149
- - ext/nokogiri/include/libxslt/attributes.h
150
- - ext/nokogiri/include/libxslt/documents.h
151
- - ext/nokogiri/include/libxslt/extensions.h
152
- - ext/nokogiri/include/libxslt/extra.h
153
- - ext/nokogiri/include/libxslt/functions.h
154
- - ext/nokogiri/include/libxslt/imports.h
155
- - ext/nokogiri/include/libxslt/keys.h
156
- - ext/nokogiri/include/libxslt/namespaces.h
157
- - ext/nokogiri/include/libxslt/numbersInternals.h
158
- - ext/nokogiri/include/libxslt/pattern.h
159
- - ext/nokogiri/include/libxslt/preproc.h
160
- - ext/nokogiri/include/libxslt/security.h
161
- - ext/nokogiri/include/libxslt/templates.h
162
- - ext/nokogiri/include/libxslt/transform.h
163
- - ext/nokogiri/include/libxslt/variables.h
164
- - ext/nokogiri/include/libxslt/xslt.h
165
- - ext/nokogiri/include/libxslt/xsltInternals.h
166
- - ext/nokogiri/include/libxslt/xsltconfig.h
167
- - ext/nokogiri/include/libxslt/xsltexports.h
168
- - ext/nokogiri/include/libxslt/xsltlocale.h
169
- - ext/nokogiri/include/libxslt/xsltutils.h
170
- - ext/nokogiri/libxml2_backwards_compat.c
115
+ - ext/nokogiri/libxml2_polyfill.c
171
116
  - ext/nokogiri/nokogiri.c
172
117
  - ext/nokogiri/nokogiri.h
173
118
  - ext/nokogiri/test_global_handlers.c
@@ -200,17 +145,56 @@ files:
200
145
  - gumbo-parser/CHANGES.md
201
146
  - gumbo-parser/Makefile
202
147
  - gumbo-parser/THANKS
148
+ - gumbo-parser/src/Makefile
149
+ - gumbo-parser/src/README.md
150
+ - gumbo-parser/src/ascii.c
151
+ - gumbo-parser/src/ascii.h
152
+ - gumbo-parser/src/attribute.c
153
+ - gumbo-parser/src/attribute.h
154
+ - gumbo-parser/src/char_ref.c
155
+ - gumbo-parser/src/char_ref.h
156
+ - gumbo-parser/src/char_ref.rl
157
+ - gumbo-parser/src/error.c
158
+ - gumbo-parser/src/error.h
159
+ - gumbo-parser/src/foreign_attrs.c
160
+ - gumbo-parser/src/foreign_attrs.gperf
161
+ - gumbo-parser/src/insertion_mode.h
162
+ - gumbo-parser/src/macros.h
163
+ - gumbo-parser/src/nokogiri_gumbo.h
164
+ - gumbo-parser/src/parser.c
165
+ - gumbo-parser/src/parser.h
166
+ - gumbo-parser/src/replacement.h
167
+ - gumbo-parser/src/string_buffer.c
168
+ - gumbo-parser/src/string_buffer.h
169
+ - gumbo-parser/src/string_piece.c
170
+ - gumbo-parser/src/svg_attrs.c
171
+ - gumbo-parser/src/svg_attrs.gperf
172
+ - gumbo-parser/src/svg_tags.c
173
+ - gumbo-parser/src/svg_tags.gperf
174
+ - gumbo-parser/src/tag.c
175
+ - gumbo-parser/src/tag_lookup.c
176
+ - gumbo-parser/src/tag_lookup.gperf
177
+ - gumbo-parser/src/tag_lookup.h
178
+ - gumbo-parser/src/token_buffer.c
179
+ - gumbo-parser/src/token_buffer.h
180
+ - gumbo-parser/src/token_type.h
181
+ - gumbo-parser/src/tokenizer.c
182
+ - gumbo-parser/src/tokenizer.h
183
+ - gumbo-parser/src/tokenizer_states.h
184
+ - gumbo-parser/src/utf8.c
185
+ - gumbo-parser/src/utf8.h
186
+ - gumbo-parser/src/util.c
187
+ - gumbo-parser/src/util.h
188
+ - gumbo-parser/src/vector.c
189
+ - gumbo-parser/src/vector.h
203
190
  - lib/nokogiri.rb
204
- - lib/nokogiri/3.0/nokogiri.so
205
- - lib/nokogiri/3.1/nokogiri.so
206
- - lib/nokogiri/3.2/nokogiri.so
207
- - lib/nokogiri/3.3/nokogiri.so
208
191
  - lib/nokogiri/class_resolver.rb
209
192
  - lib/nokogiri/css.rb
210
193
  - lib/nokogiri/css/node.rb
211
194
  - lib/nokogiri/css/parser.rb
212
195
  - lib/nokogiri/css/parser.y
213
196
  - lib/nokogiri/css/parser_extras.rb
197
+ - lib/nokogiri/css/selector_cache.rb
214
198
  - lib/nokogiri/css/syntax_error.rb
215
199
  - lib/nokogiri/css/tokenizer.rb
216
200
  - lib/nokogiri/css/tokenizer.rex
@@ -232,6 +216,7 @@ files:
232
216
  - lib/nokogiri/html4/sax/parser_context.rb
233
217
  - lib/nokogiri/html4/sax/push_parser.rb
234
218
  - lib/nokogiri/html5.rb
219
+ - lib/nokogiri/html5/builder.rb
235
220
  - lib/nokogiri/html5/document.rb
236
221
  - lib/nokogiri/html5/document_fragment.rb
237
222
  - lib/nokogiri/html5/node.rb
@@ -281,6 +266,15 @@ files:
281
266
  - lib/nokogiri/xslt.rb
282
267
  - lib/nokogiri/xslt/stylesheet.rb
283
268
  - lib/xsd/xmlparser/nokogiri.rb
269
+ - patches/libxml2/0001-Remove-script-macro-support.patch
270
+ - patches/libxml2/0002-Update-entities-to-remove-handling-of-ssi.patch
271
+ - patches/libxml2/0009-allow-wildcard-namespaces.patch
272
+ - patches/libxml2/0010-update-config.guess-and-config.sub-for-libxml2.patch
273
+ - patches/libxml2/0011-rip-out-libxml2-s-libc_single_threaded-support.patch
274
+ - patches/libxml2/0019-xpath-Use-separate-static-hash-table-for-standard-fu.patch
275
+ - patches/libxslt/0001-update-config.guess-and-config.sub-for-libxslt.patch
276
+ - ports/archives/libxml2-2.13.6.tar.xz
277
+ - ports/archives/libxslt-1.1.42.tar.xz
284
278
  homepage: https://nokogiri.org
285
279
  licenses:
286
280
  - MIT
@@ -291,7 +285,6 @@ metadata:
291
285
  changelog_uri: https://nokogiri.org/CHANGELOG.html
292
286
  source_code_uri: https://github.com/sparklemotion/nokogiri
293
287
  rubygems_mfa_required: 'true'
294
- post_install_message:
295
288
  rdoc_options:
296
289
  - "--main"
297
290
  - README.md
@@ -301,18 +294,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
301
294
  requirements:
302
295
  - - ">="
303
296
  - !ruby/object:Gem::Version
304
- version: '3.0'
305
- - - "<"
306
- - !ruby/object:Gem::Version
307
- version: 3.4.dev
297
+ version: 3.1.0
308
298
  required_rubygems_version: !ruby/object:Gem::Requirement
309
299
  requirements:
310
300
  - - ">="
311
301
  - !ruby/object:Gem::Version
312
302
  version: '0'
313
303
  requirements: []
314
- rubygems_version: 3.3.26
315
- signing_key:
304
+ rubygems_version: 3.6.2
316
305
  specification_version: 4
317
306
  summary: Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.
318
307
  test_files: []
@@ -1,108 +0,0 @@
1
- /*
2
- * Summary: main header file
3
- *
4
- * Copy: See Copyright for the status of this software.
5
- */
6
-
7
-
8
- #ifndef __EXSLT_H__
9
- #define __EXSLT_H__
10
-
11
- #include <libxml/tree.h>
12
- #include <libxml/xpath.h>
13
- #include "exsltexports.h"
14
- #include <libexslt/exsltconfig.h>
15
-
16
- #ifdef __cplusplus
17
- extern "C" {
18
- #endif
19
-
20
- EXSLTPUBVAR const char *exsltLibraryVersion;
21
- EXSLTPUBVAR const int exsltLibexsltVersion;
22
- EXSLTPUBVAR const int exsltLibxsltVersion;
23
- EXSLTPUBVAR const int exsltLibxmlVersion;
24
-
25
- /**
26
- * EXSLT_COMMON_NAMESPACE:
27
- *
28
- * Namespace for EXSLT common functions
29
- */
30
- #define EXSLT_COMMON_NAMESPACE ((const xmlChar *) "http://exslt.org/common")
31
- /**
32
- * EXSLT_CRYPTO_NAMESPACE:
33
- *
34
- * Namespace for EXSLT crypto functions
35
- */
36
- #define EXSLT_CRYPTO_NAMESPACE ((const xmlChar *) "http://exslt.org/crypto")
37
- /**
38
- * EXSLT_MATH_NAMESPACE:
39
- *
40
- * Namespace for EXSLT math functions
41
- */
42
- #define EXSLT_MATH_NAMESPACE ((const xmlChar *) "http://exslt.org/math")
43
- /**
44
- * EXSLT_SETS_NAMESPACE:
45
- *
46
- * Namespace for EXSLT set functions
47
- */
48
- #define EXSLT_SETS_NAMESPACE ((const xmlChar *) "http://exslt.org/sets")
49
- /**
50
- * EXSLT_FUNCTIONS_NAMESPACE:
51
- *
52
- * Namespace for EXSLT functions extension functions
53
- */
54
- #define EXSLT_FUNCTIONS_NAMESPACE ((const xmlChar *) "http://exslt.org/functions")
55
- /**
56
- * EXSLT_STRINGS_NAMESPACE:
57
- *
58
- * Namespace for EXSLT strings functions
59
- */
60
- #define EXSLT_STRINGS_NAMESPACE ((const xmlChar *) "http://exslt.org/strings")
61
- /**
62
- * EXSLT_DATE_NAMESPACE:
63
- *
64
- * Namespace for EXSLT date functions
65
- */
66
- #define EXSLT_DATE_NAMESPACE ((const xmlChar *) "http://exslt.org/dates-and-times")
67
- /**
68
- * EXSLT_DYNAMIC_NAMESPACE:
69
- *
70
- * Namespace for EXSLT dynamic functions
71
- */
72
- #define EXSLT_DYNAMIC_NAMESPACE ((const xmlChar *) "http://exslt.org/dynamic")
73
-
74
- /**
75
- * SAXON_NAMESPACE:
76
- *
77
- * Namespace for SAXON extensions functions
78
- */
79
- #define SAXON_NAMESPACE ((const xmlChar *) "http://icl.com/saxon")
80
-
81
- EXSLTPUBFUN void EXSLTCALL exsltCommonRegister (void);
82
- #ifdef EXSLT_CRYPTO_ENABLED
83
- EXSLTPUBFUN void EXSLTCALL exsltCryptoRegister (void);
84
- #endif
85
- EXSLTPUBFUN void EXSLTCALL exsltMathRegister (void);
86
- EXSLTPUBFUN void EXSLTCALL exsltSetsRegister (void);
87
- EXSLTPUBFUN void EXSLTCALL exsltFuncRegister (void);
88
- EXSLTPUBFUN void EXSLTCALL exsltStrRegister (void);
89
- EXSLTPUBFUN void EXSLTCALL exsltDateRegister (void);
90
- EXSLTPUBFUN void EXSLTCALL exsltSaxonRegister (void);
91
- EXSLTPUBFUN void EXSLTCALL exsltDynRegister(void);
92
-
93
- EXSLTPUBFUN void EXSLTCALL exsltRegisterAll (void);
94
-
95
- EXSLTPUBFUN int EXSLTCALL exsltDateXpathCtxtRegister (xmlXPathContextPtr ctxt,
96
- const xmlChar *prefix);
97
- EXSLTPUBFUN int EXSLTCALL exsltMathXpathCtxtRegister (xmlXPathContextPtr ctxt,
98
- const xmlChar *prefix);
99
- EXSLTPUBFUN int EXSLTCALL exsltSetsXpathCtxtRegister (xmlXPathContextPtr ctxt,
100
- const xmlChar *prefix);
101
- EXSLTPUBFUN int EXSLTCALL exsltStrXpathCtxtRegister (xmlXPathContextPtr ctxt,
102
- const xmlChar *prefix);
103
-
104
- #ifdef __cplusplus
105
- }
106
- #endif
107
- #endif /* __EXSLT_H__ */
108
-
@@ -1,70 +0,0 @@
1
- /*
2
- * exsltconfig.h: compile-time version information for the EXSLT library
3
- *
4
- * See Copyright for the status of this software.
5
- *
6
- * daniel@veillard.com
7
- */
8
-
9
- #ifndef __XML_EXSLTCONFIG_H__
10
- #define __XML_EXSLTCONFIG_H__
11
-
12
- #ifdef __cplusplus
13
- extern "C" {
14
- #endif
15
-
16
- /**
17
- * LIBEXSLT_DOTTED_VERSION:
18
- *
19
- * the version string like "1.2.3"
20
- */
21
- #define LIBEXSLT_DOTTED_VERSION "0.8.21"
22
-
23
- /**
24
- * LIBEXSLT_VERSION:
25
- *
26
- * the version number: 1.2.3 value is 10203
27
- */
28
- #define LIBEXSLT_VERSION 821
29
-
30
- /**
31
- * LIBEXSLT_VERSION_STRING:
32
- *
33
- * the version number string, 1.2.3 value is "10203"
34
- */
35
- #define LIBEXSLT_VERSION_STRING "821"
36
-
37
- /**
38
- * LIBEXSLT_VERSION_EXTRA:
39
- *
40
- * extra version information, used to show a Git commit description
41
- */
42
- #define LIBEXSLT_VERSION_EXTRA ""
43
-
44
- /**
45
- * WITH_CRYPTO:
46
- *
47
- * Whether crypto support is configured into exslt
48
- */
49
- #if 0
50
- #define EXSLT_CRYPTO_ENABLED
51
- #endif
52
-
53
- /**
54
- * ATTRIBUTE_UNUSED:
55
- *
56
- * This macro is used to flag unused function parameters to GCC
57
- */
58
- #ifdef __GNUC__
59
- #ifndef ATTRIBUTE_UNUSED
60
- #define ATTRIBUTE_UNUSED __attribute__((unused))
61
- #endif
62
- #else
63
- #define ATTRIBUTE_UNUSED
64
- #endif
65
-
66
- #ifdef __cplusplus
67
- }
68
- #endif
69
-
70
- #endif /* __XML_EXSLTCONFIG_H__ */