nokogiri 1.5.6.rc1-java → 1.5.6.rc2-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 (36) hide show
  1. data/CHANGELOG.ja.rdoc +3 -0
  2. data/CHANGELOG.rdoc +3 -0
  3. data/Manifest.txt +8 -4
  4. data/README.ja.rdoc +1 -1
  5. data/README.rdoc +1 -1
  6. data/ROADMAP.md +3 -0
  7. data/Rakefile +26 -7
  8. data/build_all +40 -27
  9. data/ext/java/nokogiri/HtmlDocument.java +26 -0
  10. data/ext/java/nokogiri/XmlDocument.java +17 -4
  11. data/ext/java/nokogiri/XmlDocumentFragment.java +1 -39
  12. data/ext/java/nokogiri/XmlNode.java +3 -2
  13. data/ext/java/nokogiri/XmlSaxPushParser.java +55 -53
  14. data/ext/java/nokogiri/XsltStylesheet.java +4 -2
  15. data/ext/java/nokogiri/internals/ClosedStreamException.java +10 -0
  16. data/ext/java/nokogiri/internals/HtmlDomParserContext.java +2 -2
  17. data/ext/java/nokogiri/internals/NokogiriBlockingQueueInputStream.java +151 -0
  18. data/ext/java/nokogiri/internals/{XmlDomParser.java → NokogiriDomParser.java} +25 -14
  19. data/ext/java/nokogiri/internals/NokogiriEncodingReaderWrapper.java +109 -0
  20. data/ext/java/nokogiri/internals/NokogiriEntityResolver.java +123 -0
  21. data/ext/java/nokogiri/internals/NokogiriHandler.java +12 -10
  22. data/ext/java/nokogiri/internals/NokogiriHelpers.java +12 -2
  23. data/ext/java/nokogiri/internals/XmlDomParserContext.java +1 -1
  24. data/ext/nokogiri/extconf.rb +1 -0
  25. data/ext/nokogiri/xslt_stylesheet.c +19 -2
  26. data/lib/nokogiri/nokogiri.jar +0 -0
  27. data/lib/nokogiri/version.rb +1 -1
  28. data/lib/nokogiri/xml/node.rb +43 -50
  29. data/lib/nokogiri/xml/sax/parser.rb +7 -0
  30. data/lib/nokogiri/xslt.rb +1 -1
  31. data/tasks/cross_compile.rb +3 -3
  32. data/test/html/test_document.rb +23 -0
  33. data/test/test_xslt_transforms.rb +30 -0
  34. data/test/xml/sax/test_parser.rb +5 -0
  35. data/test/xml/test_node.rb +9 -1
  36. metadata +106 -80
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: nokogiri
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 1.5.6.rc1
5
+ version: 1.5.6.rc2
6
6
  platform: java
7
7
  authors:
8
8
  - Aaron Patterson
@@ -13,7 +13,7 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2012-07-11 00:00:00 Z
16
+ date: 2012-09-12 00:00:00 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: hoe-bundler
@@ -104,25 +104,47 @@ dependencies:
104
104
  prerelease: false
105
105
  type: :development
106
106
  - !ruby/object:Gem::Dependency
107
- name: rdoc
107
+ name: racc
108
108
  version_requirements: &id009 !ruby/object:Gem::Requirement
109
+ none: false
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: 1.4.6
114
+ requirement: *id009
115
+ prerelease: false
116
+ type: :development
117
+ - !ruby/object:Gem::Dependency
118
+ name: rexical
119
+ version_requirements: &id010 !ruby/object:Gem::Requirement
120
+ none: false
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 1.0.5
125
+ requirement: *id010
126
+ prerelease: false
127
+ type: :development
128
+ - !ruby/object:Gem::Dependency
129
+ name: rdoc
130
+ version_requirements: &id011 !ruby/object:Gem::Requirement
109
131
  none: false
110
132
  requirements:
111
133
  - - ~>
112
134
  - !ruby/object:Gem::Version
113
135
  version: "3.10"
114
- requirement: *id009
136
+ requirement: *id011
115
137
  prerelease: false
116
138
  type: :development
117
139
  - !ruby/object:Gem::Dependency
118
140
  name: hoe
119
- version_requirements: &id010 !ruby/object:Gem::Requirement
141
+ version_requirements: &id012 !ruby/object:Gem::Requirement
120
142
  none: false
121
143
  requirements:
122
144
  - - ~>
123
145
  - !ruby/object:Gem::Version
124
146
  version: "2.16"
125
- requirement: *id010
147
+ requirement: *id012
126
148
  prerelease: false
127
149
  type: :development
128
150
  description: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser. Among Nokogiri's\n\
@@ -145,40 +167,40 @@ extra_rdoc_files:
145
167
  - Manifest.txt
146
168
  - README.ja.rdoc
147
169
  - README.rdoc
148
- - ext/nokogiri/xml_sax_push_parser.c
149
- - ext/nokogiri/xml_relax_ng.c
150
- - ext/nokogiri/html_sax_parser_context.c
151
- - ext/nokogiri/html_entity_lookup.c
152
170
  - ext/nokogiri/xml_text.c
171
+ - ext/nokogiri/xml_xpath_context.c
153
172
  - ext/nokogiri/html_sax_push_parser.c
154
- - ext/nokogiri/nokogiri.c
155
- - ext/nokogiri/xml_element_decl.c
156
- - ext/nokogiri/xml_encoding_handler.c
157
- - ext/nokogiri/html_document.c
173
+ - ext/nokogiri/xml_cdata.c
174
+ - ext/nokogiri/html_element_description.c
175
+ - ext/nokogiri/xml_comment.c
158
176
  - ext/nokogiri/xslt_stylesheet.c
159
- - ext/nokogiri/xml_attribute_decl.c
160
- - ext/nokogiri/xml_io.c
161
177
  - ext/nokogiri/xml_document_fragment.c
162
- - ext/nokogiri/xml_namespace.c
163
- - ext/nokogiri/xml_libxml2_hacks.c
178
+ - ext/nokogiri/html_document.c
164
179
  - ext/nokogiri/xml_sax_parser_context.c
165
- - ext/nokogiri/xml_comment.c
166
- - ext/nokogiri/xml_sax_parser.c
167
- - ext/nokogiri/html_element_description.c
168
- - ext/nokogiri/xml_xpath_context.c
169
- - ext/nokogiri/xml_syntax_error.c
170
- - ext/nokogiri/xml_document.c
180
+ - ext/nokogiri/xml_element_content.c
171
181
  - ext/nokogiri/xml_entity_decl.c
172
- - ext/nokogiri/xml_node.c
173
- - ext/nokogiri/xml_node_set.c
174
182
  - ext/nokogiri/xml_reader.c
183
+ - ext/nokogiri/xml_io.c
184
+ - ext/nokogiri/xml_entity_reference.c
185
+ - ext/nokogiri/xml_libxml2_hacks.c
186
+ - ext/nokogiri/nokogiri.c
187
+ - ext/nokogiri/xml_encoding_handler.c
188
+ - ext/nokogiri/html_entity_lookup.c
189
+ - ext/nokogiri/xml_sax_parser.c
190
+ - ext/nokogiri/xml_schema.c
191
+ - ext/nokogiri/xml_namespace.c
175
192
  - ext/nokogiri/xml_processing_instruction.c
176
- - ext/nokogiri/xml_element_content.c
193
+ - ext/nokogiri/html_sax_parser_context.c
194
+ - ext/nokogiri/xml_document.c
195
+ - ext/nokogiri/xml_sax_push_parser.c
196
+ - ext/nokogiri/xml_relax_ng.c
177
197
  - ext/nokogiri/xml_dtd.c
178
198
  - ext/nokogiri/xml_attr.c
179
- - ext/nokogiri/xml_schema.c
180
- - ext/nokogiri/xml_cdata.c
181
- - ext/nokogiri/xml_entity_reference.c
199
+ - ext/nokogiri/xml_element_decl.c
200
+ - ext/nokogiri/xml_syntax_error.c
201
+ - ext/nokogiri/xml_attribute_decl.c
202
+ - ext/nokogiri/xml_node.c
203
+ - ext/nokogiri/xml_node_set.c
182
204
  files:
183
205
  - .autotest
184
206
  - .gemtest
@@ -225,8 +247,13 @@ files:
225
247
  - ext/java/nokogiri/XmlText.java
226
248
  - ext/java/nokogiri/XmlXpathContext.java
227
249
  - ext/java/nokogiri/XsltStylesheet.java
250
+ - ext/java/nokogiri/internals/ClosedStreamException.java
228
251
  - ext/java/nokogiri/internals/HtmlDomParserContext.java
252
+ - ext/java/nokogiri/internals/NokogiriBlockingQueueInputStream.java
229
253
  - ext/java/nokogiri/internals/NokogiriDocumentCache.java
254
+ - ext/java/nokogiri/internals/NokogiriDomParser.java
255
+ - ext/java/nokogiri/internals/NokogiriEncodingReaderWrapper.java
256
+ - ext/java/nokogiri/internals/NokogiriEntityResolver.java
230
257
  - ext/java/nokogiri/internals/NokogiriErrorHandler.java
231
258
  - ext/java/nokogiri/internals/NokogiriHandler.java
232
259
  - ext/java/nokogiri/internals/NokogiriHelpers.java
@@ -244,7 +271,6 @@ files:
244
271
  - ext/java/nokogiri/internals/SaveContextVisitor.java
245
272
  - ext/java/nokogiri/internals/SchemaErrorHandler.java
246
273
  - ext/java/nokogiri/internals/XmlDeclHandler.java
247
- - ext/java/nokogiri/internals/XmlDomParser.java
248
274
  - ext/java/nokogiri/internals/XmlDomParserContext.java
249
275
  - ext/java/nokogiri/internals/XmlSaxParser.java
250
276
  - ext/java/nokogiri/internals/XsltExtensionFunction.java
@@ -412,13 +438,13 @@ files:
412
438
  - test/files/staff.dtd
413
439
  - test/files/staff.xml
414
440
  - test/files/staff.xslt
441
+ - test/files/test_document_url/bar.xml
442
+ - test/files/test_document_url/document.dtd
443
+ - test/files/test_document_url/document.xml
415
444
  - test/files/tlm.html
416
445
  - test/files/to_be_xincluded.xml
417
446
  - test/files/valid_bar.xml
418
447
  - test/files/xinclude.xml
419
- - test/files/test_document_url/bar.xml
420
- - test/files/test_document_url/document.dtd
421
- - test/files/test_document_url/document.xml
422
448
  - test/helper.rb
423
449
  - test/html/sax/test_parser.rb
424
450
  - test/html/sax/test_parser_context.rb
@@ -506,70 +532,70 @@ required_rubygems_version: !ruby/object:Gem::Requirement
506
532
  requirements: []
507
533
 
508
534
  rubyforge_project: nokogiri
509
- rubygems_version: 1.8.9
535
+ rubygems_version: 1.8.24
510
536
  signing_key:
511
537
  specification_version: 3
512
538
  summary: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser"
513
539
  test_files:
540
+ - test/test_memory_leak.rb
514
541
  - test/test_convert_xpath.rb
542
+ - test/test_css_cache.rb
543
+ - test/test_encoding_handler.rb
515
544
  - test/test_soap4r_sax.rb
516
- - test/test_memory_leak.rb
517
545
  - test/test_nokogiri.rb
518
- - test/test_css_cache.rb
519
546
  - test/test_reader.rb
520
547
  - test/test_xslt_transforms.rb
521
- - test/test_encoding_handler.rb
522
- - test/css/test_nthiness.rb
523
- - test/css/test_xpath_visitor.rb
524
- - test/css/test_parser.rb
525
- - test/css/test_tokenizer.rb
526
- - test/decorators/test_slop.rb
527
- - test/html/test_document.rb
528
- - test/html/test_document_encoding.rb
529
- - test/html/test_named_characters.rb
530
- - test/html/test_document_fragment.rb
531
- - test/html/test_node.rb
532
- - test/html/test_builder.rb
533
- - test/html/test_node_encoding.rb
534
- - test/html/test_element_description.rb
535
- - test/html/sax/test_parser_context.rb
536
- - test/html/sax/test_parser.rb
537
- - test/xml/test_parse_options.rb
538
- - test/xml/test_unparented_node.rb
539
- - test/xml/test_element_decl.rb
540
- - test/xml/test_document.rb
541
- - test/xml/test_dtd.rb
542
- - test/xml/test_document_encoding.rb
543
- - test/xml/test_entity_decl.rb
544
- - test/xml/test_dtd_encoding.rb
548
+ - test/xml/test_node_attributes.rb
545
549
  - test/xml/test_document_fragment.rb
546
- - test/xml/test_cdata.rb
547
- - test/xml/test_text.rb
548
- - test/xml/test_reader_encoding.rb
549
- - test/xml/test_xpath.rb
550
- - test/xml/test_element_content.rb
551
- - test/xml/test_node.rb
552
- - test/xml/test_builder.rb
553
- - test/xml/test_schema.rb
554
550
  - test/xml/test_node_set.rb
555
- - test/xml/test_attr.rb
556
551
  - test/xml/test_processing_instruction.rb
557
- - test/xml/test_node_encoding.rb
558
- - test/xml/test_node_inheritance.rb
552
+ - test/xml/test_node.rb
553
+ - test/xml/test_dtd.rb
554
+ - test/xml/test_xinclude.rb
555
+ - test/xml/test_parse_options.rb
556
+ - test/xml/test_element_content.rb
557
+ - test/xml/test_dtd_encoding.rb
559
558
  - test/xml/test_syntax_error.rb
559
+ - test/xml/test_text.rb
560
+ - test/xml/test_node_encoding.rb
561
+ - test/xml/test_unparented_node.rb
562
+ - test/xml/test_cdata.rb
563
+ - test/xml/test_element_decl.rb
564
+ - test/xml/test_xpath.rb
565
+ - test/xml/test_reader_encoding.rb
560
566
  - test/xml/test_comment.rb
561
- - test/xml/test_entity_reference.rb
562
- - test/xml/test_node_reparenting.rb
563
567
  - test/xml/test_attribute_decl.rb
564
- - test/xml/test_xinclude.rb
565
- - test/xml/test_relax_ng.rb
568
+ - test/xml/test_document_encoding.rb
569
+ - test/xml/test_schema.rb
570
+ - test/xml/test_node_inheritance.rb
566
571
  - test/xml/test_namespace.rb
567
- - test/xml/test_node_attributes.rb
572
+ - test/xml/test_relax_ng.rb
573
+ - test/xml/test_entity_reference.rb
568
574
  - test/xml/test_c14n.rb
569
- - test/xml/node/test_save_options.rb
575
+ - test/xml/test_attr.rb
576
+ - test/xml/test_document.rb
577
+ - test/xml/test_node_reparenting.rb
578
+ - test/xml/test_builder.rb
579
+ - test/xml/test_entity_decl.rb
570
580
  - test/xml/node/test_subclass.rb
571
- - test/xml/sax/test_push_parser.rb
572
- - test/xml/sax/test_parser_context.rb
581
+ - test/xml/node/test_save_options.rb
573
582
  - test/xml/sax/test_parser.rb
583
+ - test/xml/sax/test_parser_context.rb
584
+ - test/xml/sax/test_push_parser.rb
585
+ - test/html/test_document_fragment.rb
586
+ - test/html/test_node.rb
587
+ - test/html/test_node_encoding.rb
588
+ - test/html/test_named_characters.rb
589
+ - test/html/test_document_encoding.rb
590
+ - test/html/test_document.rb
591
+ - test/html/test_element_description.rb
592
+ - test/html/test_builder.rb
593
+ - test/html/sax/test_parser.rb
594
+ - test/html/sax/test_parser_context.rb
595
+ - test/css/test_parser.rb
596
+ - test/css/test_xpath_visitor.rb
597
+ - test/css/test_tokenizer.rb
598
+ - test/css/test_nthiness.rb
599
+ - test/decorators/test_slop.rb
574
600
  - test/xslt/test_custom_functions.rb
575
601
  - test/xslt/test_exception_handling.rb