nokogiri 1.3.3-java → 1.4.0-java

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 (205) hide show
  1. data/CHANGELOG.ja.rdoc +48 -3
  2. data/CHANGELOG.rdoc +42 -0
  3. data/Manifest.txt +44 -29
  4. data/README.ja.rdoc +0 -2
  5. data/README.rdoc +4 -7
  6. data/Rakefile +42 -6
  7. data/bin/nokogiri +7 -5
  8. data/ext/nokogiri/extconf.rb +5 -21
  9. data/ext/nokogiri/html_document.c +14 -50
  10. data/ext/nokogiri/html_element_description.c +7 -7
  11. data/ext/nokogiri/html_entity_lookup.c +6 -4
  12. data/ext/nokogiri/html_sax_parser_context.c +92 -0
  13. data/ext/nokogiri/html_sax_parser_context.h +11 -0
  14. data/ext/nokogiri/iconv.dll +0 -0
  15. data/ext/nokogiri/libexslt.dll +0 -0
  16. data/ext/nokogiri/libxml2.dll +0 -0
  17. data/ext/nokogiri/libxslt.dll +0 -0
  18. data/ext/nokogiri/nokogiri.c +9 -3
  19. data/ext/nokogiri/nokogiri.h +16 -20
  20. data/ext/nokogiri/xml_attr.c +1 -1
  21. data/ext/nokogiri/xml_attribute_decl.c +67 -0
  22. data/ext/nokogiri/xml_attribute_decl.h +9 -0
  23. data/ext/nokogiri/xml_cdata.c +6 -5
  24. data/ext/nokogiri/xml_comment.c +3 -2
  25. data/ext/nokogiri/xml_document.c +93 -23
  26. data/ext/nokogiri/xml_document_fragment.c +1 -3
  27. data/ext/nokogiri/xml_dtd.c +63 -6
  28. data/ext/nokogiri/xml_element_content.c +123 -0
  29. data/ext/nokogiri/xml_element_content.h +10 -0
  30. data/ext/nokogiri/xml_element_decl.c +69 -0
  31. data/ext/nokogiri/xml_element_decl.h +9 -0
  32. data/ext/nokogiri/xml_entity_decl.c +97 -0
  33. data/ext/nokogiri/xml_entity_decl.h +10 -0
  34. data/ext/nokogiri/xml_entity_reference.c +1 -1
  35. data/ext/nokogiri/xml_io.c +10 -3
  36. data/ext/nokogiri/xml_io.h +1 -0
  37. data/ext/nokogiri/xml_namespace.c +2 -2
  38. data/ext/nokogiri/xml_node.c +139 -34
  39. data/ext/nokogiri/xml_node.h +0 -1
  40. data/ext/nokogiri/xml_node_set.c +23 -16
  41. data/ext/nokogiri/xml_processing_instruction.c +1 -1
  42. data/ext/nokogiri/xml_reader.c +78 -50
  43. data/ext/nokogiri/xml_sax_parser.c +109 -168
  44. data/ext/nokogiri/xml_sax_parser.h +33 -0
  45. data/ext/nokogiri/xml_sax_parser_context.c +155 -0
  46. data/ext/nokogiri/xml_sax_parser_context.h +10 -0
  47. data/ext/nokogiri/xml_sax_push_parser.c +11 -6
  48. data/ext/nokogiri/xml_syntax_error.c +63 -12
  49. data/ext/nokogiri/xml_text.c +4 -3
  50. data/ext/nokogiri/xml_xpath.c +1 -1
  51. data/ext/nokogiri/xml_xpath_context.c +12 -25
  52. data/ext/nokogiri/xslt_stylesheet.c +3 -3
  53. data/ext/nokogiri/zlib1.dll +0 -0
  54. data/lib/nokogiri.rb +4 -4
  55. data/lib/nokogiri/css/node.rb +1 -9
  56. data/lib/nokogiri/css/xpath_visitor.rb +11 -21
  57. data/lib/nokogiri/ffi/html/document.rb +0 -9
  58. data/lib/nokogiri/ffi/html/sax/parser_context.rb +38 -0
  59. data/lib/nokogiri/ffi/io_callbacks.rb +4 -2
  60. data/lib/nokogiri/ffi/libxml.rb +44 -10
  61. data/lib/nokogiri/ffi/structs/common_node.rb +1 -1
  62. data/lib/nokogiri/ffi/structs/xml_attribute.rb +27 -0
  63. data/lib/nokogiri/ffi/structs/xml_dtd.rb +3 -1
  64. data/lib/nokogiri/ffi/structs/xml_element.rb +26 -0
  65. data/lib/nokogiri/ffi/structs/xml_element_content.rb +17 -0
  66. data/lib/nokogiri/ffi/structs/xml_entity.rb +32 -0
  67. data/lib/nokogiri/ffi/structs/xml_enumeration.rb +12 -0
  68. data/lib/nokogiri/ffi/structs/xml_parser_context.rb +19 -0
  69. data/lib/nokogiri/ffi/structs/xml_sax_push_parser_context.rb +4 -3
  70. data/lib/nokogiri/ffi/structs/xml_syntax_error.rb +1 -1
  71. data/lib/nokogiri/ffi/xml/attribute_decl.rb +27 -0
  72. data/lib/nokogiri/ffi/xml/comment.rb +2 -2
  73. data/lib/nokogiri/ffi/xml/document.rb +29 -12
  74. data/lib/nokogiri/ffi/xml/document_fragment.rb +0 -5
  75. data/lib/nokogiri/ffi/xml/dtd.rb +14 -3
  76. data/lib/nokogiri/ffi/xml/element_content.rb +43 -0
  77. data/lib/nokogiri/ffi/xml/element_decl.rb +19 -0
  78. data/lib/nokogiri/ffi/xml/entity_decl.rb +27 -0
  79. data/lib/nokogiri/ffi/xml/node.rb +45 -5
  80. data/lib/nokogiri/ffi/xml/node_set.rb +1 -1
  81. data/lib/nokogiri/ffi/xml/reader.rb +45 -24
  82. data/lib/nokogiri/ffi/xml/sax/parser.rb +27 -34
  83. data/lib/nokogiri/ffi/xml/sax/parser_context.rb +67 -0
  84. data/lib/nokogiri/ffi/xml/sax/push_parser.rb +5 -4
  85. data/lib/nokogiri/ffi/xml/syntax_error.rb +31 -16
  86. data/lib/nokogiri/ffi/xml/text.rb +2 -2
  87. data/lib/nokogiri/html.rb +1 -0
  88. data/lib/nokogiri/html/document.rb +39 -24
  89. data/lib/nokogiri/html/sax/parser.rb +2 -2
  90. data/lib/nokogiri/html/sax/parser_context.rb +16 -0
  91. data/lib/nokogiri/version.rb +1 -1
  92. data/lib/nokogiri/xml.rb +6 -1
  93. data/lib/nokogiri/xml/attr.rb +5 -0
  94. data/lib/nokogiri/xml/attribute_decl.rb +18 -0
  95. data/lib/nokogiri/xml/builder.rb +121 -13
  96. data/lib/nokogiri/xml/character_data.rb +7 -0
  97. data/lib/nokogiri/xml/document.rb +43 -29
  98. data/lib/nokogiri/xml/document_fragment.rb +26 -6
  99. data/lib/nokogiri/xml/dtd.rb +5 -5
  100. data/lib/nokogiri/xml/element_content.rb +36 -0
  101. data/lib/nokogiri/xml/element_decl.rb +13 -0
  102. data/lib/nokogiri/xml/entity_decl.rb +15 -0
  103. data/lib/nokogiri/xml/fragment_handler.rb +22 -11
  104. data/lib/nokogiri/xml/namespace.rb +6 -0
  105. data/lib/nokogiri/xml/node.rb +33 -15
  106. data/lib/nokogiri/xml/node_set.rb +66 -44
  107. data/lib/nokogiri/xml/pp.rb +2 -0
  108. data/lib/nokogiri/xml/pp/character_data.rb +18 -0
  109. data/lib/nokogiri/xml/pp/node.rb +56 -0
  110. data/lib/nokogiri/xml/reader.rb +8 -0
  111. data/lib/nokogiri/xml/sax.rb +1 -1
  112. data/lib/nokogiri/xml/sax/document.rb +18 -1
  113. data/lib/nokogiri/xml/sax/parser.rb +15 -8
  114. data/lib/nokogiri/xml/sax/parser_context.rb +16 -0
  115. data/lib/nokogiri/xml/sax/push_parser.rb +0 -3
  116. data/lib/nokogiri/xml/syntax_error.rb +4 -0
  117. data/lib/nokogiri/xslt/stylesheet.rb +1 -1
  118. data/test/css/test_nthiness.rb +1 -1
  119. data/test/css/test_parser.rb +1 -1
  120. data/test/css/test_tokenizer.rb +1 -1
  121. data/test/css/test_xpath_visitor.rb +1 -1
  122. data/test/ffi/test_document.rb +1 -1
  123. data/test/files/shift_jis.html +10 -0
  124. data/test/files/staff.dtd +10 -0
  125. data/test/helper.rb +12 -3
  126. data/test/html/sax/test_parser.rb +1 -1
  127. data/test/html/sax/test_parser_context.rb +48 -0
  128. data/test/html/test_builder.rb +8 -2
  129. data/test/html/test_document.rb +23 -1
  130. data/test/html/test_document_encoding.rb +15 -1
  131. data/test/html/test_document_fragment.rb +10 -1
  132. data/test/html/test_element_description.rb +1 -2
  133. data/test/html/test_named_characters.rb +1 -1
  134. data/test/html/test_node.rb +61 -1
  135. data/test/html/test_node_encoding.rb +27 -0
  136. data/test/test_convert_xpath.rb +1 -3
  137. data/test/test_css_cache.rb +1 -1
  138. data/test/test_gc.rb +1 -1
  139. data/test/test_memory_leak.rb +1 -1
  140. data/test/test_nokogiri.rb +3 -3
  141. data/test/test_reader.rb +29 -1
  142. data/test/test_xslt_transforms.rb +1 -1
  143. data/test/xml/node/test_save_options.rb +1 -1
  144. data/test/xml/node/test_subclass.rb +1 -1
  145. data/test/xml/sax/test_parser.rb +64 -3
  146. data/test/xml/sax/test_parser_context.rb +56 -0
  147. data/test/xml/sax/test_push_parser.rb +11 -1
  148. data/test/xml/test_attr.rb +1 -1
  149. data/test/xml/test_attribute_decl.rb +82 -0
  150. data/test/xml/test_builder.rb +95 -1
  151. data/test/xml/test_cdata.rb +1 -1
  152. data/test/xml/test_comment.rb +7 -1
  153. data/test/xml/test_document.rb +147 -6
  154. data/test/xml/test_document_encoding.rb +1 -1
  155. data/test/xml/test_document_fragment.rb +55 -5
  156. data/test/xml/test_dtd.rb +40 -5
  157. data/test/xml/test_dtd_encoding.rb +3 -1
  158. data/test/xml/test_element_content.rb +56 -0
  159. data/test/xml/test_element_decl.rb +73 -0
  160. data/test/xml/test_entity_decl.rb +83 -0
  161. data/test/xml/test_entity_reference.rb +1 -1
  162. data/test/xml/test_namespace.rb +21 -1
  163. data/test/xml/test_node.rb +70 -4
  164. data/test/xml/test_node_attributes.rb +1 -1
  165. data/test/xml/test_node_encoding.rb +1 -1
  166. data/test/xml/test_node_set.rb +136 -2
  167. data/test/xml/test_parse_options.rb +1 -1
  168. data/test/xml/test_processing_instruction.rb +1 -1
  169. data/test/xml/test_reader_encoding.rb +1 -1
  170. data/test/xml/test_relax_ng.rb +1 -1
  171. data/test/xml/test_schema.rb +1 -1
  172. data/test/xml/test_syntax_error.rb +27 -0
  173. data/test/xml/test_text.rb +13 -1
  174. data/test/xml/test_unparented_node.rb +1 -1
  175. data/test/xml/test_xpath.rb +1 -1
  176. metadata +100 -78
  177. data/ext/nokogiri/html_sax_parser.c +0 -57
  178. data/ext/nokogiri/html_sax_parser.h +0 -11
  179. data/lib/action-nokogiri.rb +0 -38
  180. data/lib/nokogiri/decorators.rb +0 -2
  181. data/lib/nokogiri/decorators/hpricot.rb +0 -3
  182. data/lib/nokogiri/decorators/hpricot/node.rb +0 -56
  183. data/lib/nokogiri/decorators/hpricot/node_set.rb +0 -54
  184. data/lib/nokogiri/decorators/hpricot/xpath_visitor.rb +0 -30
  185. data/lib/nokogiri/ffi/html/sax/parser.rb +0 -21
  186. data/lib/nokogiri/hpricot.rb +0 -92
  187. data/lib/nokogiri/xml/entity_declaration.rb +0 -11
  188. data/lib/nokogiri/xml/sax/legacy_handlers.rb +0 -65
  189. data/test/hpricot/files/basic.xhtml +0 -17
  190. data/test/hpricot/files/boingboing.html +0 -2266
  191. data/test/hpricot/files/cy0.html +0 -3653
  192. data/test/hpricot/files/immob.html +0 -400
  193. data/test/hpricot/files/pace_application.html +0 -1320
  194. data/test/hpricot/files/tenderlove.html +0 -16
  195. data/test/hpricot/files/uswebgen.html +0 -220
  196. data/test/hpricot/files/utf8.html +0 -1054
  197. data/test/hpricot/files/week9.html +0 -1723
  198. data/test/hpricot/files/why.xml +0 -19
  199. data/test/hpricot/load_files.rb +0 -11
  200. data/test/hpricot/test_alter.rb +0 -68
  201. data/test/hpricot/test_builder.rb +0 -20
  202. data/test/hpricot/test_parser.rb +0 -350
  203. data/test/hpricot/test_paths.rb +0 -15
  204. data/test/hpricot/test_preserved.rb +0 -77
  205. data/test/hpricot/test_xml.rb +0 -30

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.