libxml-ruby 2.9.0-x64-mingw32 → 3.0.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY +811 -790
- data/LICENSE +20 -20
- data/MANIFEST +166 -166
- data/README.rdoc +188 -184
- data/Rakefile +1 -1
- data/ext/libxml/libxml.c +80 -80
- data/ext/libxml/ruby_libxml.h +75 -75
- data/ext/libxml/ruby_xml.c +0 -84
- data/ext/libxml/ruby_xml.h +0 -10
- data/ext/libxml/ruby_xml_attr.h +12 -12
- data/ext/libxml/ruby_xml_attr_decl.c +153 -153
- data/ext/libxml/ruby_xml_attr_decl.h +11 -11
- data/ext/libxml/ruby_xml_attributes.c +275 -275
- data/ext/libxml/ruby_xml_attributes.h +15 -15
- data/ext/libxml/ruby_xml_document.c +21 -27
- data/ext/libxml/ruby_xml_document.h +11 -11
- data/ext/libxml/ruby_xml_dtd.c +2 -13
- data/ext/libxml/ruby_xml_dtd.h +9 -9
- data/ext/libxml/ruby_xml_error.c +996 -996
- data/ext/libxml/ruby_xml_error.h +12 -12
- data/ext/libxml/ruby_xml_html_parser.c +89 -92
- data/ext/libxml/ruby_xml_html_parser.h +10 -10
- data/ext/libxml/ruby_xml_html_parser_context.h +10 -10
- data/ext/libxml/ruby_xml_html_parser_options.c +46 -46
- data/ext/libxml/ruby_xml_html_parser_options.h +10 -10
- data/ext/libxml/ruby_xml_input_cbg.h +20 -20
- data/ext/libxml/ruby_xml_io.c +0 -1
- data/ext/libxml/ruby_xml_io.h +10 -10
- data/ext/libxml/ruby_xml_namespace.c +153 -153
- data/ext/libxml/ruby_xml_namespace.h +10 -10
- data/ext/libxml/ruby_xml_namespaces.c +293 -293
- data/ext/libxml/ruby_xml_namespaces.h +9 -9
- data/ext/libxml/ruby_xml_node.c +100 -143
- data/ext/libxml/ruby_xml_node.h +13 -11
- data/ext/libxml/ruby_xml_parser.c +91 -94
- data/ext/libxml/ruby_xml_parser.h +12 -12
- data/ext/libxml/ruby_xml_parser_context.h +10 -10
- data/ext/libxml/ruby_xml_parser_options.c +66 -66
- data/ext/libxml/ruby_xml_parser_options.h +12 -12
- data/ext/libxml/ruby_xml_reader.c +45 -37
- data/ext/libxml/ruby_xml_reader.h +17 -17
- data/ext/libxml/ruby_xml_relaxng.h +10 -10
- data/ext/libxml/ruby_xml_sax2_handler.c +3 -3
- data/ext/libxml/ruby_xml_sax2_handler.h +10 -10
- data/ext/libxml/ruby_xml_sax_parser.c +116 -120
- data/ext/libxml/ruby_xml_sax_parser.h +10 -10
- data/ext/libxml/ruby_xml_schema.h +809 -809
- data/ext/libxml/ruby_xml_schema_attribute.c +109 -109
- data/ext/libxml/ruby_xml_schema_attribute.h +15 -15
- data/ext/libxml/ruby_xml_schema_element.c +94 -94
- data/ext/libxml/ruby_xml_schema_element.h +14 -14
- data/ext/libxml/ruby_xml_schema_facet.c +52 -52
- data/ext/libxml/ruby_xml_schema_facet.h +13 -13
- data/ext/libxml/ruby_xml_schema_type.c +259 -259
- data/ext/libxml/ruby_xml_schema_type.h +9 -9
- data/ext/libxml/ruby_xml_version.h +9 -9
- data/ext/libxml/ruby_xml_writer.c +1136 -1136
- data/ext/libxml/ruby_xml_writer.h +10 -10
- data/ext/libxml/ruby_xml_xinclude.c +16 -16
- data/ext/libxml/ruby_xml_xinclude.h +11 -11
- data/ext/libxml/ruby_xml_xpath.c +42 -36
- data/ext/libxml/ruby_xml_xpath.h +13 -13
- data/ext/libxml/ruby_xml_xpath_context.c +1 -1
- data/ext/libxml/ruby_xml_xpath_context.h +9 -9
- data/ext/libxml/ruby_xml_xpath_expression.c +81 -81
- data/ext/libxml/ruby_xml_xpath_expression.h +10 -10
- data/ext/libxml/ruby_xml_xpath_object.c +5 -2
- data/ext/libxml/ruby_xml_xpath_object.h +17 -17
- data/ext/libxml/ruby_xml_xpointer.c +99 -99
- data/ext/libxml/ruby_xml_xpointer.h +11 -11
- data/ext/vc/libxml_ruby.sln +17 -15
- data/lib/2.4/libxml_ruby.so +0 -0
- data/lib/libs/libxml2-2.dll +0 -0
- data/lib/libs/zlib1.dll +0 -0
- data/lib/libxml.rb +1 -6
- data/lib/libxml/node.rb +2 -78
- data/lib/libxml/parser.rb +0 -266
- data/lib/libxml/sax_parser.rb +0 -17
- data/lib/libxml/schema.rb +66 -66
- data/lib/libxml/schema/attribute.rb +19 -19
- data/lib/libxml/schema/element.rb +27 -27
- data/lib/libxml/schema/type.rb +29 -29
- data/script/benchmark/depixelate +634 -634
- data/script/benchmark/hamlet.xml +9054 -9054
- data/script/benchmark/parsecount +170 -170
- data/script/benchmark/throughput +41 -41
- data/script/test +6 -6
- data/test/c14n/given/example-1.xml +14 -14
- data/test/c14n/given/example-2.xml +11 -11
- data/test/c14n/given/example-3.xml +18 -18
- data/test/c14n/given/example-4.xml +9 -9
- data/test/c14n/given/example-5.xml +12 -12
- data/test/c14n/given/example-6.xml +2 -2
- data/test/c14n/given/example-7.xml +11 -11
- data/test/c14n/given/example-8.xml +11 -11
- data/test/c14n/given/example-8.xpath +9 -9
- data/test/c14n/result/1-1-without-comments/example-1 +3 -3
- data/test/c14n/result/1-1-without-comments/example-2 +10 -10
- data/test/c14n/result/1-1-without-comments/example-3 +13 -13
- data/test/c14n/result/1-1-without-comments/example-4 +8 -8
- data/test/c14n/result/1-1-without-comments/example-5 +2 -2
- data/test/c14n/result/with-comments/example-1 +5 -5
- data/test/c14n/result/with-comments/example-2 +10 -10
- data/test/c14n/result/with-comments/example-3 +13 -13
- data/test/c14n/result/with-comments/example-4 +8 -8
- data/test/c14n/result/with-comments/example-5 +3 -3
- data/test/c14n/result/without-comments/example-1 +3 -3
- data/test/c14n/result/without-comments/example-2 +10 -10
- data/test/c14n/result/without-comments/example-3 +13 -13
- data/test/c14n/result/without-comments/example-4 +8 -8
- data/test/c14n/result/without-comments/example-5 +2 -2
- data/test/model/atom.xml +12 -12
- data/test/model/bands.iso-8859-1.xml +4 -4
- data/test/model/bands.utf-8.xml +4 -4
- data/test/model/bands.xml +4 -4
- data/test/model/books.xml +153 -153
- data/test/model/merge_bug_data.xml +58 -58
- data/test/model/ruby-lang.html +238 -238
- data/test/model/rubynet.xml +79 -79
- data/test/model/shiporder.rnc +28 -28
- data/test/model/shiporder.rng +86 -86
- data/test/model/shiporder.xml +22 -22
- data/test/model/shiporder.xsd +39 -39
- data/test/model/soap.xml +27 -27
- data/test/model/xinclude.xml +4 -4
- data/test/tc_attributes.rb +0 -6
- data/test/tc_error.rb +157 -158
- data/test/tc_node.rb +33 -17
- data/test/tc_node_edit.rb +0 -15
- data/test/tc_node_pi.rb +39 -39
- data/test/tc_parser.rb +0 -48
- data/test/tc_reader.rb +12 -53
- data/test/tc_writer.rb +447 -447
- data/test/tc_xpath.rb +1 -1
- data/test/test_helper.rb +2 -2
- metadata +4 -9
- data/ext/libxml/extconf.h +0 -4
- data/lib/2.3/libxml_ruby.so +0 -0
- data/lib/libxml/ns.rb +0 -22
- data/lib/libxml/properties.rb +0 -23
- data/lib/libxml/reader.rb +0 -29
- data/lib/libxml/xpath_object.rb +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98683119a9004ba121e958d8eca9035a5cdda0f9
|
4
|
+
data.tar.gz: 3f2702937fc217d90588e06a56b92677a7b521c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abbc680e716649d1ec53c8a4326c1fb38acfba8b207bea7c54ec746b91c162bbe978b0dc45e5b1c2ce925b18b0740d7db28f7c0397407741443d492c3d7e3864
|
7
|
+
data.tar.gz: 9f8dec8ab22d170646644e7982a2a097fde6dd993a8f186b90b5ce9172363f8b6f689643731068c4861cd834a39f010de6cac1ec6ed01a48152fd18053ef377e
|
data/HISTORY
CHANGED
@@ -1,790 +1,811 @@
|
|
1
|
-
= Release History
|
2
|
-
|
3
|
-
==
|
4
|
-
|
5
|
-
* Revamp libxml-ruby
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
*
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
*
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
*
|
21
|
-
|
22
|
-
*
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
*
|
30
|
-
*
|
31
|
-
*
|
32
|
-
*
|
33
|
-
*
|
34
|
-
*
|
35
|
-
* Fix
|
36
|
-
*
|
37
|
-
*
|
38
|
-
|
39
|
-
== 2.
|
40
|
-
|
41
|
-
*
|
42
|
-
|
43
|
-
*
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
*
|
51
|
-
*
|
52
|
-
*
|
53
|
-
*
|
54
|
-
*
|
55
|
-
|
56
|
-
|
57
|
-
*
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
*
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
*
|
73
|
-
*
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
== 2.
|
81
|
-
|
82
|
-
*
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
*
|
95
|
-
|
96
|
-
== 2.
|
97
|
-
|
98
|
-
*
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
*
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
*
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
*
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
*
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
*
|
173
|
-
|
174
|
-
*
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
*
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
*
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
*
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
*
|
247
|
-
|
248
|
-
*
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
*
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
*
|
262
|
-
|
263
|
-
* Add
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
*
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
*
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
* Node
|
295
|
-
|
296
|
-
*
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
*
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
*
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
*
|
313
|
-
|
314
|
-
|
315
|
-
*
|
316
|
-
|
317
|
-
*
|
318
|
-
|
319
|
-
*
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
*
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
*
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
*
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
*
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
*
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
*
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
*
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
*
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
*
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
*
|
520
|
-
|
521
|
-
*
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
*
|
539
|
-
|
540
|
-
*
|
541
|
-
|
542
|
-
*
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
*
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
*
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
*
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
*
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
*
|
587
|
-
|
588
|
-
*
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
*
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
== 0.8.
|
600
|
-
|
601
|
-
*
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
*
|
623
|
-
|
624
|
-
*
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
*
|
632
|
-
|
633
|
-
*
|
634
|
-
|
635
|
-
*
|
636
|
-
|
637
|
-
*
|
638
|
-
|
639
|
-
*
|
640
|
-
|
641
|
-
* Updated
|
642
|
-
|
643
|
-
*
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
*
|
653
|
-
|
654
|
-
*
|
655
|
-
|
656
|
-
*
|
657
|
-
|
658
|
-
*
|
659
|
-
|
660
|
-
*
|
661
|
-
|
662
|
-
*
|
663
|
-
|
664
|
-
* Cleaned out
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
*
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
*
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
===
|
689
|
-
|
690
|
-
*
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
*
|
708
|
-
|
709
|
-
=== 2006-
|
710
|
-
|
711
|
-
* Added XML::
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
*
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
* Added
|
733
|
-
*
|
734
|
-
*
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
* Fixed
|
745
|
-
*
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
*
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
1
|
+
= Release History
|
2
|
+
|
3
|
+
== 3.0.0 / 2017-02-07 Charlie Savage
|
4
|
+
|
5
|
+
* Revamp how libxml-ruby manages memory. Instead of trying to return the same ruby object for each xmlnode,
|
6
|
+
the bindings now create wrapper ruby objects as needed which are then freed at the end of use.
|
7
|
+
This allows most memory management to be handled by libxml itself. Ruby only manages the lifespan of
|
8
|
+
documents and parent xml nodes. When those go out of scope, the underlying libxml objects are also freed.
|
9
|
+
This implementation requires almost no overhead, plays nicely with Nokogiri and appears to work much
|
10
|
+
better (Charlie Savage).
|
11
|
+
|
12
|
+
* Change XML::Node#eql? API. Nodes are now considered equal only if they wrap the same underlying
|
13
|
+
libxml node. Previously, they would also be considered equal if they contained the same content
|
14
|
+
(Charlie Savage)
|
15
|
+
|
16
|
+
* Change XML::Reader.expand API. Previously it would automatically instantiate a reader document so
|
17
|
+
the an xpath expression could be used to search the returned node. Now you should first call
|
18
|
+
reader.doc (Charlie Savage)
|
19
|
+
|
20
|
+
* Update Visual Studio project for Visual Studio 15 - requires ruby 2.4+ (Charlie Savage)
|
21
|
+
|
22
|
+
* Remove APIs that have been deprecated for several years (Charlie Savage)
|
23
|
+
|
24
|
+
== 2.9.0 / 2016-06-13 Charlie Savage
|
25
|
+
|
26
|
+
* Revamp libxml-ruby's memory management to not cause crashes when used with Nokogiri (James Laird-Wah)
|
27
|
+
* Fix garbage collection issue that sometimes caused the library to hang (Charlie Savage)
|
28
|
+
* Improved multi-threading support (Charlie Savage)
|
29
|
+
* Fix crash sometimes caused by a xml node being being freed twice (Charlie Savage)
|
30
|
+
* Fix memory leak when setting the text content of a node (Charlie Savage)
|
31
|
+
* Set a default task in the Rakefile - use "test" (Robert Haines)
|
32
|
+
* Add "hanna_gudao" gem and add "rake-compiler" to develpoment dependencies (Robert Haines)
|
33
|
+
* Use Process.getrlimit instead of `ulimit` in the tests (Robert Haines)
|
34
|
+
* Build on smartos (Steven Williamson)
|
35
|
+
* Fix compiler warnings (Charlie Savage)
|
36
|
+
* Add Xcode project for easier debugging on OSX (Charlie Savage)
|
37
|
+
* Switch from unit test to minitest (Charlie Savage)
|
38
|
+
|
39
|
+
== 2.8.0 / 2015-01-09 Charlie Savage
|
40
|
+
|
41
|
+
* Use RbConfig instead of Config in extconf.rb (Robert Haines)
|
42
|
+
* Correct xpath documentation XML (Bill Mill)
|
43
|
+
* Correct from_string method documentation (Bill Mill)
|
44
|
+
* Fix compile error with debug not enabled in libxml (Patrick Ziegler)
|
45
|
+
* Update gemspec to include license (Charlie Savage)
|
46
|
+
* In XML::Writer prevent writing to io while being GCed (Brett Gibson)
|
47
|
+
|
48
|
+
== 2.7.0 / 2013-08-13 Charlie Savage
|
49
|
+
|
50
|
+
* Don't call rb_warning in GC mark function (Dirkjan Bussink)
|
51
|
+
* Set libxml error handler when a libxml-ruby error handler is set (Geoffrey Giesemann)
|
52
|
+
* Fix tests for nil TypeErrors for ruby 2.0=< (Geoffrey Giesemann)
|
53
|
+
* Fix segmentation fault for issue #62 (Charlie Savage)
|
54
|
+
* Add #node_type method to dtd (Charlie Savage)
|
55
|
+
* Fixing equality check of LibXML::XML::Error against other objects (Michał Szajbe)
|
56
|
+
* Fix #63, XML::Writer.set_quote_char UT, wrong expected string (julp)
|
57
|
+
* Fix potential segfault when GC occurs while creating ns from xpath (Timothy Elliott)
|
58
|
+
* Fix for #59, segmentation fault after failure to load external schema (Clifford Heath)
|
59
|
+
|
60
|
+
== 2.6.0 / 2013-02-16 Charlie Savage
|
61
|
+
|
62
|
+
* Fix uninitialized constant LibXML::XML::Error::I18N (NameError) that occurred
|
63
|
+
with older versions of libxml.
|
64
|
+
* Various updates/fixes to new XML::Writer class and update how flushing works (julp)
|
65
|
+
|
66
|
+
== 2.5.0 / 2013-01-27 Charlie Savage
|
67
|
+
|
68
|
+
* Compatibility with older versions for IO::write (rb_io_bufwrite is specific to ruby >= 1.9.3?)
|
69
|
+
and symbols are VALUE not ID (julp).
|
70
|
+
* Fix version for xmlTextWriterSetQuoteChar, it appeared in libxml2 2.9.0, last version (julp)
|
71
|
+
* Update use of LIBXML_VERSION (julp).
|
72
|
+
* Fix misuse of rb_scan_args (julp).
|
73
|
+
* Update documentation, including DTD docs and added XML Writer (julp).
|
74
|
+
* Added a new XML::Writer class (julp).
|
75
|
+
* Improved xml reader api and add namespace support. Note that passing a numeric value
|
76
|
+
to XML::Reader::move_to_attribute has been deprecated. Instead you should now
|
77
|
+
use #move_to_attribute_no. (julp).
|
78
|
+
* Improve error handling and messages (Jarl Friis)
|
79
|
+
|
80
|
+
== 2.4.0 / 2012-12-14 Charlie Savage
|
81
|
+
|
82
|
+
* Support libxml 2.9.0 (Daniel Veillard)
|
83
|
+
|
84
|
+
* Extensive new interfaces for xml schema functionality including suppor for
|
85
|
+
schemal elements, types, facets and attributes (Anton Sozontov)
|
86
|
+
|
87
|
+
* Fix Encoding#from_s bug and update docs (Nikita Afanasenko)
|
88
|
+
|
89
|
+
* Node#content= encoding (Nikita Afanasenko)
|
90
|
+
|
91
|
+
== 2.3.3 / 2012-07-01 Charlie Savage
|
92
|
+
|
93
|
+
* Add LibXML::XML::Error.get_handler (Carsten Zimmermann)
|
94
|
+
* Fix variable name in example (Marcus)
|
95
|
+
|
96
|
+
== 2.3.2 / 2012-03-20 Charlie Savage
|
97
|
+
|
98
|
+
* Define various canonicalize constants to support libxml2 versions
|
99
|
+
older than 1.1.25 (thanks Apple!)
|
100
|
+
|
101
|
+
== 2.3.1 / 2012-03-20 Charlie Savage
|
102
|
+
|
103
|
+
* Yanked - didn't fix the OSX canonicalize issue
|
104
|
+
|
105
|
+
== 2.3.0 / 2012-03-18 Charlie Savage
|
106
|
+
|
107
|
+
* Add ability to insert new PI-nodes into the xmltree (Axel Struebing).
|
108
|
+
|
109
|
+
* Added full pass-through access to libxml2 xmlC14NDocDumpMemory method via
|
110
|
+
LibXML::XML::Document#canonicalize method with optional arguments.
|
111
|
+
|
112
|
+
* Added full test data for C14N based off of W3C spec.
|
113
|
+
(http://www.w3.org/TR/xml-c14n#Examples)
|
114
|
+
|
115
|
+
* Update sax handler to support encodings on Ruby 1.9 and higher.
|
116
|
+
|
117
|
+
== 2.2.2 / 2011-08-29 Charlie Savage
|
118
|
+
|
119
|
+
* ++API CHANGE+++
|
120
|
+
|
121
|
+
Reader#relax_ng_validate now takes a RelaxNG object. This is
|
122
|
+
what the documentation has always said it takes, but it previously
|
123
|
+
took a string. In addition, it now returns true or false instead of 0 or -1.
|
124
|
+
|
125
|
+
Reader#schema_validate now takes a Schema object. This is
|
126
|
+
what the documentation has always said it takes, but it previously
|
127
|
+
took a string. In addition, it now returns true or false instead of 0 or -1.
|
128
|
+
|
129
|
+
Fixes GitHub issue #30.
|
130
|
+
|
131
|
+
* Added Parser::Context#close and HTMLParser::Context#close methods that
|
132
|
+
allow the underlying io stream (file, string, etc) to be closed. Once a
|
133
|
+
parser is done parsing its data, it now calls one of these methods.
|
134
|
+
This means that if you parse thousands of files at the same time,
|
135
|
+
without running Ruby's garbage colllector, you won't get a too
|
136
|
+
many files open error. Fixes GitHub issue #29.
|
137
|
+
|
138
|
+
* Fixed bug where Node#inner_xml caused an error when it had no child nodes.
|
139
|
+
Fixes GitHub issues #31
|
140
|
+
|
141
|
+
* Don't require 'rake' in the gemspec to avoid annoying Bundler bugs
|
142
|
+
|
143
|
+
== 2.2.1 / 2011-08-13 Charlie Savage
|
144
|
+
|
145
|
+
* Packaging fix - include the custom .def file in the gem.
|
146
|
+
|
147
|
+
== 2.2.0 / 2011-08-09 Charlie Savage
|
148
|
+
|
149
|
+
* Update encoding support for Ruby 1.9 so that libxml-ruby returns
|
150
|
+
strings encoded in UTF-8. This change was required since libxml internally
|
151
|
+
stores strings in UTF-8. The exceptions to this rule are the #to_s methods
|
152
|
+
which return UTF-8 by default but can return other encodings if requested.
|
153
|
+
|
154
|
+
== 2.1.2 / 2011-08-03 Charlie Savage
|
155
|
+
|
156
|
+
* Fix segmentation fault that could occur when an XPathContext was marked
|
157
|
+
before it was fully initialized (Charlie Savage).
|
158
|
+
|
159
|
+
* Add mark method to document to mark all nodes currently being accessed
|
160
|
+
by ruby. This make Ruby Enterprise Edition happy (Charlie Savage).
|
161
|
+
|
162
|
+
== 2.1.1 / 2011-07-31 Charlie Savage
|
163
|
+
|
164
|
+
* Switch to using def files to control library exports (Charlie Savage).
|
165
|
+
|
166
|
+
== 2.1.0 / 2011-07-31 Charlie Savage
|
167
|
+
|
168
|
+
* Ruby 1.9.3 compatability (Charlie Savage).
|
169
|
+
|
170
|
+
* Added XPath expression <-> Ruby value conversion methods (Jens Wille).
|
171
|
+
|
172
|
+
* Extracted rxml_xpath_to_value from rxml_xpath_context_find (Jens Wille).
|
173
|
+
|
174
|
+
* Adapted rxml_xpath_from_value from Gregoire Lejeune's ruby-xslt
|
175
|
+
library, see https://github.com/glejeune/ruby-xslt (Jens Wille).
|
176
|
+
|
177
|
+
* Allow calling #find on nodes returned from Reader (Charlie Savage).
|
178
|
+
|
179
|
+
* Change document handling in XPath::Context to address segmentation fault on
|
180
|
+
Ruby Enterprise Edition (Charlie Savage).
|
181
|
+
|
182
|
+
* Update gemspec file to work directly with bundler thereby allowing git
|
183
|
+
repository to be used as gem (Charlie Savage).
|
184
|
+
|
185
|
+
* Support gem buld (Charlie Savage).
|
186
|
+
|
187
|
+
* Simplify memory management of attributes namespaces to fix
|
188
|
+
segmentation faults that occurred when using Ruby 1.9.3 (Charlie Savage).
|
189
|
+
|
190
|
+
|
191
|
+
== 2.0.8 / 2011-06-23 Charlie Savage
|
192
|
+
|
193
|
+
* Add in 2 new HTML Parser constants - NODEFDTD and NOIMPLIED.
|
194
|
+
|
195
|
+
* Fix compile issue on Ruby 1.9.3
|
196
|
+
|
197
|
+
== 2.0.6 / 2011-05-23 Charlie Savage
|
198
|
+
|
199
|
+
* Fix segfault that sometimes occurred when looking up encodings on 1.9.
|
200
|
+
In some cases the Ruby encoding infrastructure was not properly
|
201
|
+
initialized (nkriege).
|
202
|
+
|
203
|
+
== 2.0.5 / 2011-05-05 Charlie Savage
|
204
|
+
|
205
|
+
* Document#validate_dtd would sometimes cause segmentation faults due to
|
206
|
+
an improperly initialized data structure (Charlie Savage)
|
207
|
+
|
208
|
+
== 2.0.4 / 2011-05-02 Charlie Savage
|
209
|
+
|
210
|
+
* Fix compile issues on platforms using older versions of libxml2.
|
211
|
+
The problem as using a C14N constants that was added to libxml2
|
212
|
+
in July 2009 (Charlie Savage).
|
213
|
+
|
214
|
+
== 2.0.3 / 2011-05-01 Charlie Savage
|
215
|
+
|
216
|
+
* The biggest change in this release is supporting the use of libxml-ruby in
|
217
|
+
native background Ruby threads. Previously, the use of libxml-ruby in
|
218
|
+
background threads in Ruby 1.9.x and higher would often cause
|
219
|
+
segmentation faults. This has now been fixed (Charlie Savage).
|
220
|
+
|
221
|
+
* Update Reader#expand so that returned node correctly remembers its
|
222
|
+
encoding in Ruby 1.9.x (zerebubuth).
|
223
|
+
|
224
|
+
* Add check to verify a node has not been deleted. This can happen when
|
225
|
+
a ruby variable holds a reference to a child node that gets freed
|
226
|
+
when its parent gets freed. Previously when this happened a
|
227
|
+
segmentation fault would occur, now an exception is raised (Charlie Savage, fixes
|
228
|
+
RubyForge #26839.
|
229
|
+
|
230
|
+
* Do not unlink nodes before internal validations have run - avoids
|
231
|
+
segmentation faults caused by freeing a node twice (Charlie Savage).
|
232
|
+
|
233
|
+
* Add support for Document#canonicalization (Victor Lin).
|
234
|
+
|
235
|
+
* Fix memory leak in Reader#lookup_namespace (Charlie Savage).
|
236
|
+
|
237
|
+
* Fix memory leak in Reader#[] (Nathan Kriege).
|
238
|
+
|
239
|
+
* Fix usage of @io instance variable (Jeffrey Taylor)
|
240
|
+
|
241
|
+
* Removed old sax error handling code that has been fixed in newer
|
242
|
+
versions of libxml (Charlie Savage).
|
243
|
+
|
244
|
+
* Code cleanup - remove unused variables and commented out code (Charlie Savage)
|
245
|
+
|
246
|
+
* Minor text changes and documentation fixes (Charlie Savage).
|
247
|
+
|
248
|
+
* Fix documentation error (fixes RubyForge #26888).
|
249
|
+
|
250
|
+
* Update documentation for Document#validation* methods (fixes RubyForge #24833).
|
251
|
+
|
252
|
+
* Update documentation and test (fixes Ruby Forge Issue #28770).
|
253
|
+
|
254
|
+
* Updated documentation in README (Anurag Priyam):
|
255
|
+
1. rake doc does not work; use rake rdoc.
|
256
|
+
2. gem mislav-hanna does not exist; use hanna.
|
257
|
+
3. rake rdoc 'depends' on hanna; no need of RDOCOPTS
|
258
|
+
4. Point to the github issue tracker instead of Ruby Forge
|
259
|
+
5. Point to the github (gh-pages) site for docs
|
260
|
+
|
261
|
+
* Add tc_error to test suite (Charlie Savage).
|
262
|
+
|
263
|
+
* Add sax test (Stanislav O.Pogrebnyak).
|
264
|
+
|
265
|
+
== 2.0.2 / 2011-04-17 Charlie Savage
|
266
|
+
|
267
|
+
* Added binaries for windows (Charlie Savage).
|
268
|
+
|
269
|
+
* Update Ruby 1.9 encoding handling to support libxml versions older than
|
270
|
+
version 2.6.26 which was released on June 6, 2006 (Charlie Savage).
|
271
|
+
|
272
|
+
* Add publish_with_docs rake task - combines publishing the
|
273
|
+
website and docs (Anurag Priyam).
|
274
|
+
|
275
|
+
* Correctly copy the documentation directory (Anurag Priyam)
|
276
|
+
|
277
|
+
* Use relative link for rdoc so the links are correct on
|
278
|
+
both rubyforge and github (Anurag Priyam).
|
279
|
+
|
280
|
+
* Update Rakefile to use Hanna RDco template (Charlie Savage).
|
281
|
+
|
282
|
+
* Update dates on license file (Charlie Savage).
|
283
|
+
|
284
|
+
* Add api to allow setting of attribute namespaces. Fixes issue #10 (Charlie Savage).
|
285
|
+
|
286
|
+
* Remove old hack to call the on_error method. This hack isn't needed anymore
|
287
|
+
since a better workaround was put in place in the parser context. Fixes
|
288
|
+
This fixes issue #12 (Charlie Savage).
|
289
|
+
|
290
|
+
* Remove references to passing blocks to validation functions. The blocks are no
|
291
|
+
longer called since the bindings use libxml's structured error handling. See
|
292
|
+
issue #6 (Charlie Savage).
|
293
|
+
|
294
|
+
* Fix up comment in Document and Node. See issue #8 (Charlie Savage).
|
295
|
+
|
296
|
+
* Update website text (Charlie Savage).
|
297
|
+
|
298
|
+
== 2.0.0 / 2011-04-16 Charlie Savage
|
299
|
+
|
300
|
+
* Ruby 1.9.2 support. The biggest addition is encoding support.
|
301
|
+
Strings returned by the libxml bindings are now set to the encoding
|
302
|
+
of the underlying xml document (Charlie Savage).
|
303
|
+
|
304
|
+
* Rubinius compatability. Removed unnecessary use of RHASH_TBL (Aman Gupta)
|
305
|
+
|
306
|
+
* Added .gemspec file (Dudley Flanders).
|
307
|
+
|
308
|
+
* Updated Windows checks to take into account mingw32 (Yaohan Chen).
|
309
|
+
|
310
|
+
* Fix memory leak in Reader#Expand (Szymon Nowak).
|
311
|
+
|
312
|
+
* Fix memory leaks in Reader#read_string, Reader#read_inner_xml
|
313
|
+
and Reader#read_outer_xml (Sean Geoghegan).
|
314
|
+
|
315
|
+
* Node#space_preserve= was backwards (Dudley Flanders)
|
316
|
+
|
317
|
+
* Fixed typo in readme, added rdoc extension (Loren Sands-Ramshaw).
|
318
|
+
|
319
|
+
* Switched to Rake Compiler (Charlie Savage).
|
320
|
+
|
321
|
+
* Use xmlMalloc() memory for ctxt->sax structure. Sometimes the ctxt->sax pointer
|
322
|
+
may not be zeroed in rxml_sax_parser_parse(), for example when exception is raised
|
323
|
+
in one of callbacks. This lets xmlFreeParserCtxt() clean this up (Alexey I. Froloff).
|
324
|
+
|
325
|
+
* Added a rake task to publish the website to github. Moved the jekyll website to
|
326
|
+
web directory (Anurag Priyam).
|
327
|
+
|
328
|
+
* Modernize project metadata and layout (7rans)
|
329
|
+
|
330
|
+
|
331
|
+
== 1.1.3 / 2009-03-18 Charlie Savage
|
332
|
+
|
333
|
+
* Improve performance 10 to 20% by turning on libxml2's dictionary
|
334
|
+
feature that allows parsers to reuse previously parsed strings.
|
335
|
+
|
336
|
+
* Fix XML::Node#remove! to work correctly with libxml's dictionary feature.
|
337
|
+
|
338
|
+
* Correctly set up parser context options.
|
339
|
+
|
340
|
+
* Simplify DOM modification code (Node#next=, Node#prev=, Node#sibling=) and
|
341
|
+
update documentation.
|
342
|
+
|
343
|
+
* Deprecated Node#add_child and Node#child=, use Node#<< instead
|
344
|
+
|
345
|
+
* Fix documentation for Node#<<
|
346
|
+
|
347
|
+
* Added Document#import to enable moving nodes from one document
|
348
|
+
to another document.
|
349
|
+
|
350
|
+
|
351
|
+
== 1.1.2 / 2009-03-12 Charlie Savage
|
352
|
+
|
353
|
+
* Added XML::Node#inner_xml helper method.
|
354
|
+
|
355
|
+
* Fix segmentation that could occur when calling the mark function on a
|
356
|
+
previously freed node.
|
357
|
+
|
358
|
+
== 1.1.1 / 2009-03-10 Charlie Savage
|
359
|
+
|
360
|
+
* Fix - Only include extra html parser context methods for versions of libxml
|
361
|
+
older than 2.6.27.
|
362
|
+
|
363
|
+
== 1.1.0 / 2009-03-09 Charlie Savage
|
364
|
+
|
365
|
+
* Fix bug caused by the mark function being called on partially initialized
|
366
|
+
attributes.
|
367
|
+
|
368
|
+
* Revert back to libxml2's internal memory manager.
|
369
|
+
|
370
|
+
== 1.0.0 / 2009-03-05 Charlie Savage
|
371
|
+
|
372
|
+
* OS X (Charlie Savage). Update bindings to support the default installed
|
373
|
+
version of libxml2 (2.6.16) on OS X 10.5 and the latest version available
|
374
|
+
via MacPorts.
|
375
|
+
|
376
|
+
== 0.9.9 / 2009-03-05 Charlie Savage
|
377
|
+
|
378
|
+
* Ruby 1.9.1 support (Charlie Savage). libxml-ruby now compiles and runs on either
|
379
|
+
1.8.6 and 1.9.1. With 1.8.6 all tests should pass while on 1.9.1 all but
|
380
|
+
for encoding tests pass. The port to Ruby 1.9.1 revealed two memory
|
381
|
+
allocation bugs (one with dtds, one with nodes) which are now fixed.
|
382
|
+
|
383
|
+
* Better OS X support (Joe Khoobyar). The default version of libxml2
|
384
|
+
on OS X 10.5 is fairly old, resulting in this link error:
|
385
|
+
|
386
|
+
NSLinkModule() error
|
387
|
+
dyld: Symbol not found: _htmlNewParserCtxt
|
388
|
+
|
389
|
+
This can be fixed by using MacPorts to get a newer version of libxml2.
|
390
|
+
To make use of MacPorts, the build script has been updated to use xml2-config.
|
391
|
+
This can be fine-tuned using the new --with-xml2-config / --without-xml2-config
|
392
|
+
options to extconf.rb (default is --without-xml2-config to match existing behavior).
|
393
|
+
|
394
|
+
* Greatly reduced memory usage (Joe Khoobyar).
|
395
|
+
See http://rubyforge.org/pipermail/libxml-devel/2009-February/001375.html.
|
396
|
+
|
397
|
+
* Add Document#xhtml? and document#node_type methods (Joe Khoobyar)
|
398
|
+
|
399
|
+
* Add XPath::Object#last (Joe Khoobyar)
|
400
|
+
|
401
|
+
* Provide finer control over CDATA nodes on a parser by parser basis (Joe Khoobyar).
|
402
|
+
|
403
|
+
* Bug fix - Namespaces were incorrectly merged with attributes in the new sax2
|
404
|
+
handler (Charlie Savage).
|
405
|
+
|
406
|
+
* Bug fix - Support iterating over nodes and attributes even with blocks
|
407
|
+
that call remove! (Charlie Savage)
|
408
|
+
|
409
|
+
* Bug fix - If reader.node is NULL, return nil instead of crashing (Charlie Savage)
|
410
|
+
|
411
|
+
* Bug fix - Dtd's owned by documents were freed twice in some circumstances (Joe Khoobyar).
|
412
|
+
|
413
|
+
* Bug fix - Fix output escaping on attributes nodes (Joe Khoobyar).
|
414
|
+
|
415
|
+
* Bug fix - Make sure IO objects are not garbage collected when used
|
416
|
+
as parser sources (Charlie Savage).
|
417
|
+
|
418
|
+
== 0.9.8 / 2009-1-24 Charlie Savage
|
419
|
+
|
420
|
+
* Refactored XML::Parser, XML::HTMLParser, XML::SaxParser and
|
421
|
+
XML::Reader to have consistent APIs. All the parsers
|
422
|
+
now take a context object in their constructors, allowing fine
|
423
|
+
grained control over the parsers for advanced use cases. These
|
424
|
+
API changes are backwards compatible except
|
425
|
+
for XML::Reader, which now takes an optional hash table as a
|
426
|
+
second parameter in its various constructors versus an optional
|
427
|
+
boolean value.
|
428
|
+
|
429
|
+
* Updated all APIs to use the encoding constants defined
|
430
|
+
in XML::Encoding versus string values. This API change
|
431
|
+
is not backwards compatible.
|
432
|
+
|
433
|
+
* Added support for attribute declarations in DTD's via the new
|
434
|
+
XML::AttrDecl class (Len Lattanzi)
|
435
|
+
|
436
|
+
* Support libxml's content escaping capabilities for text nodes by
|
437
|
+
wrapping libxml's "xmlStringText" and "xmlStringTextNoenc"
|
438
|
+
(Joe Khoobyar).
|
439
|
+
|
440
|
+
* Updated XML::Reader#read API to return true if a node was read,
|
441
|
+
false if node was not read and raises an exception on an error.
|
442
|
+
Previously #read returned 1 if a node was read, 0 if a node was
|
443
|
+
not read and -1 for an error. This change is not backwards
|
444
|
+
compatible, but provides a more natural interface for Ruby by
|
445
|
+
allowing code like this:
|
446
|
+
|
447
|
+
while reader.read
|
448
|
+
# do stuff
|
449
|
+
end
|
450
|
+
|
451
|
+
* Changed XML::Error exception objects to return copies of nodes that
|
452
|
+
cause parse errors instead of the original node. This prevents
|
453
|
+
segmentation faults when the error is reraised.
|
454
|
+
|
455
|
+
* Added XML::Reader#node method.
|
456
|
+
|
457
|
+
* Fixed compile errors on OS X which uses an older version of libxml.
|
458
|
+
|
459
|
+
* Fixed memory leak when performing XPath searches.
|
460
|
+
|
461
|
+
* Fixed rdocs.
|
462
|
+
|
463
|
+
* Don't override libxml's default settings for entity substitution and
|
464
|
+
loading external DTDs. This may break some code - you may need to
|
465
|
+
add in a call to XML.default_substitute_entities = true or
|
466
|
+
XML.default_load_external_dtd = true.
|
467
|
+
|
468
|
+
|
469
|
+
== 0.9.7 / 2008-12-08 Charlie Savage
|
470
|
+
|
471
|
+
* Added SAX2 support. SAX handlers now define two new callbacks,
|
472
|
+
on_start_element_ns and on_end_element_ns methods. These
|
473
|
+
new callbacks support namespaces, making them superior to the older
|
474
|
+
callbacks on_start_element and on_end_element methods. The old callbacks
|
475
|
+
are still supported, but may be deprecated in the future depending
|
476
|
+
on community feedback.
|
477
|
+
|
478
|
+
* Added SAX support for libxml's structured error handling.
|
479
|
+
That menas sax handlers now define a new callback, on_error,
|
480
|
+
which takes one parameter, an instance of XML::Error. The older
|
481
|
+
on_parser_error, on_parser_warning and on_parser_fatal_error
|
482
|
+
callbacks are no longer suported so you must port your code.
|
483
|
+
Note that the older callbacks took one string parameter, instead of
|
484
|
+
an XML::Error object.
|
485
|
+
|
486
|
+
* Experimental work-around for libxml error handling bug - see
|
487
|
+
http://mail.gnome.org/archives/xml/2008-December/msg00014.html
|
488
|
+
for more information.
|
489
|
+
|
490
|
+
* Fix compilation bugs on Solaris.
|
491
|
+
|
492
|
+
* Fix Rdoc compilation bug.
|
493
|
+
|
494
|
+
|
495
|
+
== 0.9.6 / 2008-12-08 Charlie Savage
|
496
|
+
|
497
|
+
* Refactored namespace handling. The existing, and inconsistent,
|
498
|
+
namespace methods defined on XML::Node have been deprecated.
|
499
|
+
They have been replaced by a the new XML::Namespaces class.
|
500
|
+
Use this class to inspect a node's namespace, its default
|
501
|
+
namespace, its namespace definitions and which namespaces
|
502
|
+
are in scope. It can be accessed via the the
|
503
|
+
XML::Node#namespaces method.
|
504
|
+
|
505
|
+
* Rationalized XML::Document#save, XML::Document#to_s and
|
506
|
+
XML::Node#to_s to take an optional hash table of parameters
|
507
|
+
that control how output is generated. Supported parameters
|
508
|
+
include setting indentation on or off, the indentation level
|
509
|
+
and the output encoding. This is an API change and may break
|
510
|
+
existing calls to XML::Document#save. However, the previous
|
511
|
+
API was broken - setting the encoding resulted in an error so
|
512
|
+
its unlikely anyone is using it.
|
513
|
+
|
514
|
+
* Rationalized XML::Document#debug, XML::Node#debug, XML::XPath::XPathObject#Debug.
|
515
|
+
|
516
|
+
* Deprecated a number of duplicate dump* and debug_* methods in
|
517
|
+
XML::Document and XML::Node.
|
518
|
+
|
519
|
+
* Additional Ruby 1.9.1 compatability fixes.
|
520
|
+
|
521
|
+
* Cleaned up header file guards.
|
522
|
+
|
523
|
+
== 0.9.5 / 2008-11-29 Charlie Savage
|
524
|
+
|
525
|
+
* Ruby 1.9.1 preview release compatability (Felipe Contreras)
|
526
|
+
|
527
|
+
* Update Node#remove! to return the removed node and to set
|
528
|
+
its document to nil. This allows the node to be either
|
529
|
+
moved to another document, another part of the same document
|
530
|
+
or to be freed on the next garbage collection once its
|
531
|
+
references have gone out of scope.
|
532
|
+
|
533
|
+
* Fix bug where XPathExpression#compile mistakenly overwrote
|
534
|
+
RegExp#compile.
|
535
|
+
|
536
|
+
* Update Node to use standard ruby allocators and initializers.
|
537
|
+
|
538
|
+
* Update HTML parser to be more forgiving of invalid documents.
|
539
|
+
|
540
|
+
* Update include paths for Darwin Ports on OS X.
|
541
|
+
|
542
|
+
* Updated C code base to use BSD/Allman style
|
543
|
+
|
544
|
+
|
545
|
+
== 0.9.4 / 2008-11-24 Charlie Savage
|
546
|
+
|
547
|
+
* Update HTML parser so that it can read files, strings and io
|
548
|
+
streams.
|
549
|
+
|
550
|
+
* Update HTML parser to support user specified encodings.
|
551
|
+
|
552
|
+
* Additional C code cleanup.
|
553
|
+
|
554
|
+
== 0.9.3 / 2008-11-22 Charlie Savage
|
555
|
+
|
556
|
+
* Fixed segmentation fault caused by documents being freed
|
557
|
+
before xpath results that referenced the document (take 2).
|
558
|
+
|
559
|
+
* Allowed sax parser to use io stream
|
560
|
+
|
561
|
+
* Combined encoding and input classes
|
562
|
+
|
563
|
+
* Cleaned up C code - removed remaining legacy structures,
|
564
|
+
added static to most methods, changed C namespace from ruby_xml
|
565
|
+
to rxml
|
566
|
+
|
567
|
+
== 0.9.2 / 2008-11-19 Charlie Savage
|
568
|
+
|
569
|
+
* Add support for compiled XPath expressions (donated by Pavel Valodzka)
|
570
|
+
|
571
|
+
* Fixes for compiling on OS X 10.5.4 and 10.5.5
|
572
|
+
|
573
|
+
== 0.9.1 / 2008-11-18 Charlie Savage
|
574
|
+
|
575
|
+
* Expose LibXML's encoding support via a new Encoding object.
|
576
|
+
|
577
|
+
* Revamp error handling to be much easier to use. Errors are now
|
578
|
+
wrapped by the new XML::Error class and are thrown as exceptions
|
579
|
+
when it is appropriate.
|
580
|
+
|
581
|
+
* Fixed segmentation fault caused by documents being freed
|
582
|
+
before xpath results that referenced the document.
|
583
|
+
|
584
|
+
* Add Node#register_default_namespace to simplify default namespace handling.
|
585
|
+
|
586
|
+
* Significantly improve documentation
|
587
|
+
|
588
|
+
* A number of bug fixes and patches.
|
589
|
+
|
590
|
+
== 0.9.0 / 2008-11-18 Charlie Savage
|
591
|
+
|
592
|
+
* Version 0.9.0 was removed due to packaging errors.
|
593
|
+
|
594
|
+
|
595
|
+
== 0.8.3 / 2008-07-21 Charlie Savage
|
596
|
+
|
597
|
+
* Missed several files in last release
|
598
|
+
|
599
|
+
== 0.8.2 / 2008-07-21 Charlie Savage
|
600
|
+
|
601
|
+
* To use LibXML you can either require 'xml' or require 'libxml'.
|
602
|
+
The differences is that require 'xml' mixes the LibXML module into
|
603
|
+
the global namespace, thereby allowing you to write code such
|
604
|
+
as document = XML::Document.new. Note that this is different
|
605
|
+
from 0.8.0 and 0.8.1 and may require updating your code.
|
606
|
+
|
607
|
+
* Support RelaxNG validation (thanks to Morus Walter)
|
608
|
+
|
609
|
+
* Support passing IO objects to XmlReaders (thanks to Tom Hughes)
|
610
|
+
|
611
|
+
* Fix segmentation fault caused by adding an attribute to a CDATA node
|
612
|
+
|
613
|
+
* Moved node checking functions from C to Ruby
|
614
|
+
|
615
|
+
* Improved Windows support - libxml-ruby should now work out of the box.
|
616
|
+
|
617
|
+
* Improved Windows support - turned on libxml's zlib and iconv support.
|
618
|
+
|
619
|
+
|
620
|
+
== 0.8.1 / 2008-07-09 Charlie Savage
|
621
|
+
|
622
|
+
* Reimplmented Node#each_attr for backwards compatability
|
623
|
+
|
624
|
+
* Moved node type test to Ruby.
|
625
|
+
|
626
|
+
|
627
|
+
== 0.8.0 / 2008-07-09 Charlie Savage
|
628
|
+
|
629
|
+
* Fixed bug in returning attributes from XPath results
|
630
|
+
|
631
|
+
* Fixed DOM traversal methods
|
632
|
+
|
633
|
+
* Changed Node#children to return an array of nodes
|
634
|
+
|
635
|
+
* Fixed bug in returning attributes from XPath results
|
636
|
+
|
637
|
+
* Refactored XPath support, providing more user hooks in the XPath::Context class
|
638
|
+
|
639
|
+
* Added Node#properties for backwards compatibility
|
640
|
+
|
641
|
+
* Updated setup.rb
|
642
|
+
|
643
|
+
* Added more tests
|
644
|
+
|
645
|
+
* Updated rdocs and README file
|
646
|
+
|
647
|
+
* Moved libxml into LibXML namespace
|
648
|
+
|
649
|
+
|
650
|
+
== 0.7.0 / 2008-07-09 Charlie Savage
|
651
|
+
|
652
|
+
* Added new attributes class to provide a more natural way of working with attributes
|
653
|
+
|
654
|
+
* Fixed XML::Attr to better support namespaces
|
655
|
+
|
656
|
+
* Added documentation on how to use namespaces with XPath
|
657
|
+
|
658
|
+
* Removed allocation of extraneous structures used to wrap nodes, namespaces and attributes
|
659
|
+
|
660
|
+
* Cleaned up tests and added new test suite
|
661
|
+
|
662
|
+
* Updated rdocs and README file
|
663
|
+
|
664
|
+
* Cleaned out most of the bug list
|
665
|
+
|
666
|
+
|
667
|
+
== 0.6.0 / 2008-07-01 Charlie Savage
|
668
|
+
|
669
|
+
* Fixed memory allocation errors in Windows. On Windows, it is essential that the same library that allocates memory must free it. Thus ALLOC calls must be matched to ruby_xfree calls, which they were not. In addition, in one case Ruby was allocating memory to be freed by libxml. On Windows, that's a segmentation fault. On Linux it might fly, but still seems like a bad idea.
|
670
|
+
|
671
|
+
* Fixed segmentation fault in xml reader expand (same xml tree freed twice)
|
672
|
+
|
673
|
+
* Applied a number of patches from Tom Bagby, including fixes for xpath segmentation faults and fixes for various memory leaks
|
674
|
+
|
675
|
+
* Cleaned up a number of compiler warnings
|
676
|
+
|
677
|
+
* Renamed libxml_so.so to libxml_ruby.so (same for xslt). That wasn't actually my original intention, but um, it kind of sort of happened. It should not be noticeable from an end-user perspective.
|
678
|
+
|
679
|
+
* Added rake files for building with MingW
|
680
|
+
|
681
|
+
* Added rake files for packing gems. Note that I did this outside the existing rake tasks because I didn't see how they were actually building the gems.
|
682
|
+
|
683
|
+
* Cleaned up the tests and added a few more based on bug reports from the Tracker and mailing list.
|
684
|
+
|
685
|
+
* Cleaned out the patch queue and went through about 1/2 the bug list
|
686
|
+
|
687
|
+
|
688
|
+
=== 2007-11-16 "Dan Janowski" <danj at 3skel.com>
|
689
|
+
|
690
|
+
* Merged Dan's MEM2 branch to trunk.
|
691
|
+
|
692
|
+
== 0.5.3 /
|
693
|
+
|
694
|
+
=== 2007-11-16 "Dan Janowski" <danj at 3skel.com>
|
695
|
+
|
696
|
+
* Merged Dan's MEM2 branch to trunk.
|
697
|
+
|
698
|
+
|
699
|
+
== 0.5.2 / 2007-10-10
|
700
|
+
|
701
|
+
=== 2007-10-10 "Dan Janowski" <danj at 3skel.com>
|
702
|
+
|
703
|
+
* (Dan, fill in the major points of the changes you made up to here -thanks)
|
704
|
+
|
705
|
+
=== 2007-01-14 "Laurent Sansonetti" <lrz at chopine.be>
|
706
|
+
|
707
|
+
* Added some preliminary RDoc comments for XML::Reader.
|
708
|
+
|
709
|
+
=== 2006-12-05 "Laurent Sansonetti" <lrz at chopine.be>
|
710
|
+
|
711
|
+
* Added XML::Reader, a set of bindings to the xmlTextReader API.
|
712
|
+
|
713
|
+
|
714
|
+
== 0.3.8.4 / 2006-12-02
|
715
|
+
|
716
|
+
=== 2006-04-15 "Ross Bamform" <rosco at roscopeco.co.uk>
|
717
|
+
|
718
|
+
* Implemented SAX parser callback handling.
|
719
|
+
|
720
|
+
=== 2006-04-12 "Ross Bamford" <rosco at roscopeco.co.uk>
|
721
|
+
|
722
|
+
* Integrated and tested community patches.
|
723
|
+
* Defined XML::Node (hash) equality in terms of XML representation.
|
724
|
+
|
725
|
+
=== 2006-04-12 "Tim Yamin" <plasmaroo at gentoo.org>
|
726
|
+
|
727
|
+
* Fixed XML::Node#content inoperable bug (plasmaroo) [patch]
|
728
|
+
* Fixed memory leak in same
|
729
|
+
|
730
|
+
=== 2006-04-12 "Mark Van Holstyn" <mvette13 at gmail.com>
|
731
|
+
|
732
|
+
* Added XML::Node::Set#first (mvette13) [patch]
|
733
|
+
* Added XML::Node::Set#empty?
|
734
|
+
* Fixed XML::Node::Set#to_a
|
735
|
+
* Added XML::Node#find_first
|
736
|
+
* Added XML::Node#remove!
|
737
|
+
|
738
|
+
=== 2006-03-27 "Ross Bamford" <rosco at roscopeco.co.uk>
|
739
|
+
|
740
|
+
* Integrated contributed XML::Parser.register_error_handler patch (rosco)
|
741
|
+
|
742
|
+
=== 2006-02-27 "Ross Bamford" <rosco at roscopeco.co.uk>
|
743
|
+
|
744
|
+
* Fixed all multiple symbol definitions for -fno-common.
|
745
|
+
* Removed OSX -fno-common workaround.
|
746
|
+
|
747
|
+
|
748
|
+
== 0.3.6 / 2006-02-23
|
749
|
+
|
750
|
+
=== 2006-02-21 "Ross Bamford" <rosco at roscopeco.co.uk>
|
751
|
+
|
752
|
+
* Patched extconf.rb with OSX -fno-common workaround
|
753
|
+
* Added gem and packaging support to Rakefile
|
754
|
+
* Moved version update to Rakefile
|
755
|
+
* Removed legacy project utility scripts
|
756
|
+
|
757
|
+
=== 2005-02-19 "Ross Bamford" <rosco at roscopeco.co.uk>
|
758
|
+
|
759
|
+
* Fixed doublefree bug in ruby_xml_attr.
|
760
|
+
* Fixed small leak in parser
|
761
|
+
|
762
|
+
=== 2005-12-18 "Ross Bamford" <rosco at roscopeco.co.uk>
|
763
|
+
|
764
|
+
* Updated for GCC 4.0 (community patches)
|
765
|
+
* Fixed default validation bug
|
766
|
+
* Refactored project, removed outdated files, cleaned up tests.
|
767
|
+
* Added RDoc documentation across .c files.
|
768
|
+
* Fixed up a few strings.
|
769
|
+
|
770
|
+
=== 2004-04-04 "Mangler Jurgen" <et@wkv.at>
|
771
|
+
|
772
|
+
* ruby_xml_node.cz: fixed ruby_xml_node_property_set. The ill-behaviour
|
773
|
+
was, that there was added a second attribute of the same
|
774
|
+
name, when you were setting the value of an already existing
|
775
|
+
attribute.
|
776
|
+
|
777
|
+
=== 2004-03-17 "Lukas Svoboda" <luks@fi.muni.cz>
|
778
|
+
|
779
|
+
* ruby_xml_node.c: ruby_xml_node_to_s now returns XML subtree dump.
|
780
|
+
|
781
|
+
=== 2004-02-27 "Martin Povolny" <martin@solnet.cz>
|
782
|
+
|
783
|
+
* ruby_xml_node.c: added XML::Node.copy, this makes possible building
|
784
|
+
of xml documents from nodes taken from other xml documents
|
785
|
+
without making ruby SIGSEGV (see tests/copy_bug.rb).
|
786
|
+
|
787
|
+
=== 2004-02-26 "Martin Povolny" <martin@solnet.cz>
|
788
|
+
|
789
|
+
* ruby_xml_dtd.c, ruby_xml_dtd.h, ruby_xml_schema.c, ruby_xml_schema.h:
|
790
|
+
more work on validation, now you can actually validate
|
791
|
+
document using dtd or xml schema, also solved warning and
|
792
|
+
error propagation (see tests/{dtd|schema}-test.rb).
|
793
|
+
|
794
|
+
=== 2003-12-30 "Martin Povolny" <martin@solnet.cz>
|
795
|
+
|
796
|
+
* ruby_xml_dtd.c, ruby_xml_dtd.h, ruby_xml_schema.c, ruby_xml_schema.h:
|
797
|
+
prelimitary support for dtd and schema validation
|
798
|
+
|
799
|
+
=== 2003-09-15 "Martin Povolny" <martin@solnet.cz>
|
800
|
+
|
801
|
+
* ruby_xml_input_cbg.c, libxml.c: added class InputCallbacks to make
|
802
|
+
possible registering custom input callbacks
|
803
|
+
handlers (xmlRegisterInputCallbacks) written in ruby
|
804
|
+
|
805
|
+
=== 2003-08-01 "Martin Povolny" <martin@solnet.cz>
|
806
|
+
|
807
|
+
* ruby_xml_document.c: corrected argument handling in ruby_xml_document_find
|
808
|
+
* ruby_xml_node.c: corrected argument handling in ruby_xml_node_find
|
809
|
+
|
810
|
+
|
811
|
+
|