nokogiri 1.14.3-x86-mingw32 → 1.15.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of nokogiri might be problematic. Click here for more details.

Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -8
  3. data/dependencies.yml +6 -6
  4. data/ext/nokogiri/extconf.rb +66 -22
  5. data/ext/nokogiri/html4_document.c +1 -2
  6. data/ext/nokogiri/html4_element_description.c +19 -14
  7. data/ext/nokogiri/html4_sax_parser_context.c +10 -16
  8. data/ext/nokogiri/html4_sax_push_parser.c +2 -2
  9. data/ext/nokogiri/include/libexslt/exsltconfig.h +3 -3
  10. data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +52 -38
  11. data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +18 -18
  12. data/ext/nokogiri/include/libxml2/libxml/SAX.h +36 -36
  13. data/ext/nokogiri/include/libxml2/libxml/SAX2.h +37 -36
  14. data/ext/nokogiri/include/libxml2/libxml/c14n.h +4 -4
  15. data/ext/nokogiri/include/libxml2/libxml/catalog.h +36 -36
  16. data/ext/nokogiri/include/libxml2/libxml/chvalid.h +9 -9
  17. data/ext/nokogiri/include/libxml2/libxml/debugXML.h +28 -28
  18. data/ext/nokogiri/include/libxml2/libxml/dict.h +13 -13
  19. data/ext/nokogiri/include/libxml2/libxml/encoding.h +20 -19
  20. data/ext/nokogiri/include/libxml2/libxml/entities.h +19 -21
  21. data/ext/nokogiri/include/libxml2/libxml/globals.h +89 -59
  22. data/ext/nokogiri/include/libxml2/libxml/hash.h +25 -25
  23. data/ext/nokogiri/include/libxml2/libxml/list.h +26 -26
  24. data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +22 -22
  25. data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +17 -17
  26. data/ext/nokogiri/include/libxml2/libxml/parser.h +100 -79
  27. data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +149 -143
  28. data/ext/nokogiri/include/libxml2/libxml/pattern.h +15 -15
  29. data/ext/nokogiri/include/libxml2/libxml/relaxng.h +26 -26
  30. data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +2 -2
  31. data/ext/nokogiri/include/libxml2/libxml/schematron.h +18 -18
  32. data/ext/nokogiri/include/libxml2/libxml/threads.h +23 -20
  33. data/ext/nokogiri/include/libxml2/libxml/tree.h +166 -164
  34. data/ext/nokogiri/include/libxml2/libxml/uri.h +15 -15
  35. data/ext/nokogiri/include/libxml2/libxml/valid.h +72 -87
  36. data/ext/nokogiri/include/libxml2/libxml/xinclude.h +10 -10
  37. data/ext/nokogiri/include/libxml2/libxml/xlink.h +5 -5
  38. data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +60 -59
  39. data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +21 -21
  40. data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +18 -46
  41. data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +14 -41
  42. data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +26 -24
  43. data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +4 -4
  44. data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +87 -87
  45. data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +30 -30
  46. data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +10 -10
  47. data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +30 -30
  48. data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +34 -34
  49. data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +30 -30
  50. data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +166 -166
  51. data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +50 -27
  52. data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +80 -80
  53. data/ext/nokogiri/include/libxml2/libxml/xpath.h +41 -41
  54. data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +117 -117
  55. data/ext/nokogiri/include/libxml2/libxml/xpointer.h +21 -21
  56. data/ext/nokogiri/include/libxslt/attributes.h +1 -0
  57. data/ext/nokogiri/include/libxslt/variables.h +3 -3
  58. data/ext/nokogiri/include/libxslt/xsltInternals.h +14 -4
  59. data/ext/nokogiri/include/libxslt/xsltconfig.h +4 -4
  60. data/ext/nokogiri/include/libxslt/xsltlocale.h +14 -54
  61. data/ext/nokogiri/include/libxslt/xsltutils.h +35 -2
  62. data/ext/nokogiri/nokogiri.c +46 -24
  63. data/ext/nokogiri/nokogiri.h +13 -2
  64. data/ext/nokogiri/xml_attr.c +1 -1
  65. data/ext/nokogiri/xml_cdata.c +10 -2
  66. data/ext/nokogiri/xml_comment.c +1 -1
  67. data/ext/nokogiri/xml_document.c +102 -22
  68. data/ext/nokogiri/xml_document_fragment.c +1 -1
  69. data/ext/nokogiri/xml_dtd.c +1 -1
  70. data/ext/nokogiri/xml_element_content.c +32 -29
  71. data/ext/nokogiri/xml_element_decl.c +5 -5
  72. data/ext/nokogiri/xml_encoding_handler.c +12 -4
  73. data/ext/nokogiri/xml_entity_reference.c +1 -1
  74. data/ext/nokogiri/xml_namespace.c +11 -12
  75. data/ext/nokogiri/xml_node.c +7 -7
  76. data/ext/nokogiri/xml_node_set.c +125 -105
  77. data/ext/nokogiri/xml_processing_instruction.c +1 -1
  78. data/ext/nokogiri/xml_reader.c +37 -28
  79. data/ext/nokogiri/xml_relax_ng.c +65 -78
  80. data/ext/nokogiri/xml_sax_parser.c +24 -5
  81. data/ext/nokogiri/xml_sax_parser_context.c +46 -25
  82. data/ext/nokogiri/xml_sax_push_parser.c +29 -8
  83. data/ext/nokogiri/xml_schema.c +90 -116
  84. data/ext/nokogiri/xml_text.c +10 -2
  85. data/ext/nokogiri/xml_xpath_context.c +156 -83
  86. data/ext/nokogiri/xslt_stylesheet.c +103 -50
  87. data/lib/nokogiri/2.7/nokogiri.so +0 -0
  88. data/lib/nokogiri/3.0/nokogiri.so +0 -0
  89. data/lib/nokogiri/3.1/nokogiri.so +0 -0
  90. data/lib/nokogiri/3.2/nokogiri.so +0 -0
  91. data/lib/nokogiri/css/xpath_visitor.rb +2 -2
  92. data/lib/nokogiri/extension.rb +1 -1
  93. data/lib/nokogiri/html4/document_fragment.rb +1 -1
  94. data/lib/nokogiri/html4/element_description_defaults.rb +1821 -353
  95. data/lib/nokogiri/html5/document_fragment.rb +1 -1
  96. data/lib/nokogiri/html5/node.rb +5 -0
  97. data/lib/nokogiri/html5.rb +5 -2
  98. data/lib/nokogiri/jruby/nokogiri_jars.rb +6 -6
  99. data/lib/nokogiri/version/constant.rb +1 -1
  100. data/lib/nokogiri/xml/attribute_decl.rb +4 -2
  101. data/lib/nokogiri/xml/document_fragment.rb +1 -1
  102. data/lib/nokogiri/xml/element_content.rb +10 -2
  103. data/lib/nokogiri/xml/element_decl.rb +4 -2
  104. data/lib/nokogiri/xml/entity_decl.rb +4 -2
  105. data/lib/nokogiri/xml/node/save_options.rb +8 -0
  106. data/lib/nokogiri/xml/node.rb +22 -13
  107. data/lib/nokogiri/xml/pp/node.rb +23 -12
  108. data/lib/nokogiri/xml/sax/document.rb +1 -1
  109. data/lib/nokogiri/xml/searchable.rb +18 -10
  110. data/lib/nokogiri/xslt.rb +73 -3
  111. data/lib/nokogiri.rb +12 -4
  112. data/lib/xsd/xmlparser/nokogiri.rb +1 -1
  113. metadata +2 -2
@@ -25,9 +25,9 @@ extern "C" {
25
25
  #endif
26
26
 
27
27
  XML_DEPRECATED
28
- XMLPUBFUN void XMLCALL xmlInitGlobals(void);
28
+ XMLPUBFUN void xmlInitGlobals(void);
29
29
  XML_DEPRECATED
30
- XMLPUBFUN void XMLCALL xmlCleanupGlobals(void);
30
+ XMLPUBFUN void xmlCleanupGlobals(void);
31
31
 
32
32
  /**
33
33
  * xmlParserInputBufferCreateFilenameFunc:
@@ -60,9 +60,9 @@ typedef xmlOutputBufferPtr (*xmlOutputBufferCreateFilenameFunc) (const char *URI
60
60
  int compression);
61
61
 
62
62
  XMLPUBFUN xmlParserInputBufferCreateFilenameFunc
63
- XMLCALL xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func);
63
+ xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func);
64
64
  XMLPUBFUN xmlOutputBufferCreateFilenameFunc
65
- XMLCALL xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func);
65
+ xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func);
66
66
 
67
67
  /*
68
68
  * Externally global symbols which need to be protected for backwards
@@ -175,24 +175,23 @@ struct _xmlGlobalState
175
175
  extern "C" {
176
176
  #endif
177
177
 
178
- XMLPUBFUN void XMLCALL xmlInitializeGlobalState(xmlGlobalStatePtr gs);
178
+ XMLPUBFUN void xmlInitializeGlobalState(xmlGlobalStatePtr gs);
179
179
 
180
- XMLPUBFUN void XMLCALL xmlThrDefSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler);
180
+ XMLPUBFUN void xmlThrDefSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler);
181
181
 
182
- XMLPUBFUN void XMLCALL xmlThrDefSetStructuredErrorFunc(void *ctx, xmlStructuredErrorFunc handler);
182
+ XMLPUBFUN void xmlThrDefSetStructuredErrorFunc(void *ctx, xmlStructuredErrorFunc handler);
183
183
 
184
- XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlRegisterNodeDefault(xmlRegisterNodeFunc func);
185
- XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlThrDefRegisterNodeDefault(xmlRegisterNodeFunc func);
186
- XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlDeregisterNodeDefault(xmlDeregisterNodeFunc func);
187
- XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlThrDefDeregisterNodeDefault(xmlDeregisterNodeFunc func);
184
+ XMLPUBFUN xmlRegisterNodeFunc xmlRegisterNodeDefault(xmlRegisterNodeFunc func);
185
+ XMLPUBFUN xmlRegisterNodeFunc xmlThrDefRegisterNodeDefault(xmlRegisterNodeFunc func);
186
+ XMLPUBFUN xmlDeregisterNodeFunc xmlDeregisterNodeDefault(xmlDeregisterNodeFunc func);
187
+ XMLPUBFUN xmlDeregisterNodeFunc xmlThrDefDeregisterNodeDefault(xmlDeregisterNodeFunc func);
188
188
 
189
- XMLPUBFUN xmlOutputBufferCreateFilenameFunc XMLCALL
189
+ XMLPUBFUN xmlOutputBufferCreateFilenameFunc
190
190
  xmlThrDefOutputBufferCreateFilenameDefault(xmlOutputBufferCreateFilenameFunc func);
191
- XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLCALL
191
+ XMLPUBFUN xmlParserInputBufferCreateFilenameFunc
192
192
  xmlThrDefParserInputBufferCreateFilenameDefault(
193
193
  xmlParserInputBufferCreateFilenameFunc func);
194
194
 
195
- /** DOC_DISABLE */
196
195
  /*
197
196
  * In general the memory allocation entry points are not kept
198
197
  * thread specific but this can be overridden by LIBXML_THREAD_ALLOC_ENABLED
@@ -204,8 +203,10 @@ XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLCALL
204
203
  */
205
204
 
206
205
  #ifdef LIBXML_THREAD_ALLOC_ENABLED
206
+ /** DOC_DISABLE */
207
+
207
208
  #ifdef LIBXML_THREAD_ENABLED
208
- XMLPUBFUN xmlMallocFunc * XMLCALL __xmlMalloc(void);
209
+ XMLPUBFUN xmlMallocFunc * __xmlMalloc(void);
209
210
  #define xmlMalloc \
210
211
  (*(__xmlMalloc()))
211
212
  #else
@@ -213,7 +214,7 @@ XMLPUBVAR xmlMallocFunc xmlMalloc;
213
214
  #endif
214
215
 
215
216
  #ifdef LIBXML_THREAD_ENABLED
216
- XMLPUBFUN xmlMallocFunc * XMLCALL __xmlMallocAtomic(void);
217
+ XMLPUBFUN xmlMallocFunc * __xmlMallocAtomic(void);
217
218
  #define xmlMallocAtomic \
218
219
  (*(__xmlMallocAtomic()))
219
220
  #else
@@ -221,7 +222,7 @@ XMLPUBVAR xmlMallocFunc xmlMallocAtomic;
221
222
  #endif
222
223
 
223
224
  #ifdef LIBXML_THREAD_ENABLED
224
- XMLPUBFUN xmlReallocFunc * XMLCALL __xmlRealloc(void);
225
+ XMLPUBFUN xmlReallocFunc * __xmlRealloc(void);
225
226
  #define xmlRealloc \
226
227
  (*(__xmlRealloc()))
227
228
  #else
@@ -229,7 +230,7 @@ XMLPUBVAR xmlReallocFunc xmlRealloc;
229
230
  #endif
230
231
 
231
232
  #ifdef LIBXML_THREAD_ENABLED
232
- XMLPUBFUN xmlFreeFunc * XMLCALL __xmlFree(void);
233
+ XMLPUBFUN xmlFreeFunc * __xmlFree(void);
233
234
  #define xmlFree \
234
235
  (*(__xmlFree()))
235
236
  #else
@@ -237,13 +238,14 @@ XMLPUBVAR xmlFreeFunc xmlFree;
237
238
  #endif
238
239
 
239
240
  #ifdef LIBXML_THREAD_ENABLED
240
- XMLPUBFUN xmlStrdupFunc * XMLCALL __xmlMemStrdup(void);
241
+ XMLPUBFUN xmlStrdupFunc * __xmlMemStrdup(void);
241
242
  #define xmlMemStrdup \
242
243
  (*(__xmlMemStrdup()))
243
244
  #else
244
245
  XMLPUBVAR xmlStrdupFunc xmlMemStrdup;
245
246
  #endif
246
247
 
248
+ /** DOC_ENABLE */
247
249
  #else /* !LIBXML_THREAD_ALLOC_ENABLED */
248
250
  XMLPUBVAR xmlMallocFunc xmlMalloc;
249
251
  XMLPUBVAR xmlMallocFunc xmlMallocAtomic;
@@ -253,16 +255,18 @@ XMLPUBVAR xmlStrdupFunc xmlMemStrdup;
253
255
  #endif /* LIBXML_THREAD_ALLOC_ENABLED */
254
256
 
255
257
  #ifdef LIBXML_HTML_ENABLED
256
- XMLPUBFUN xmlSAXHandlerV1 * XMLCALL __htmlDefaultSAXHandler(void);
258
+ XML_DEPRECATED
259
+ XMLPUBFUN xmlSAXHandlerV1 * __htmlDefaultSAXHandler(void);
257
260
  #ifdef LIBXML_THREAD_ENABLED
258
261
  #define htmlDefaultSAXHandler \
259
262
  (*(__htmlDefaultSAXHandler()))
260
263
  #else
264
+ XML_DEPRECATED
261
265
  XMLPUBVAR xmlSAXHandlerV1 htmlDefaultSAXHandler;
262
266
  #endif
263
267
  #endif
264
268
 
265
- XMLPUBFUN xmlError * XMLCALL __xmlLastError(void);
269
+ XMLPUBFUN xmlError * __xmlLastError(void);
266
270
  #ifdef LIBXML_THREAD_ENABLED
267
271
  #define xmlLastError \
268
272
  (*(__xmlLastError()))
@@ -277,59 +281,71 @@ XMLPUBVAR xmlError xmlLastError;
277
281
  */
278
282
 
279
283
 
280
- XMLPUBFUN int * XMLCALL __oldXMLWDcompatibility(void);
284
+ XML_DEPRECATED
285
+ XMLPUBFUN int * __oldXMLWDcompatibility(void);
281
286
  #ifdef LIBXML_THREAD_ENABLED
282
287
  #define oldXMLWDcompatibility \
283
288
  (*(__oldXMLWDcompatibility()))
284
289
  #else
290
+ XML_DEPRECATED
285
291
  XMLPUBVAR int oldXMLWDcompatibility;
286
292
  #endif
287
293
 
288
- XMLPUBFUN xmlBufferAllocationScheme * XMLCALL __xmlBufferAllocScheme(void);
294
+ XML_DEPRECATED
295
+ XMLPUBFUN xmlBufferAllocationScheme * __xmlBufferAllocScheme(void);
289
296
  #ifdef LIBXML_THREAD_ENABLED
290
297
  #define xmlBufferAllocScheme \
291
298
  (*(__xmlBufferAllocScheme()))
292
299
  #else
300
+ XML_DEPRECATED
293
301
  XMLPUBVAR xmlBufferAllocationScheme xmlBufferAllocScheme;
294
302
  #endif
295
- XMLPUBFUN xmlBufferAllocationScheme XMLCALL
303
+ XML_DEPRECATED
304
+ XMLPUBFUN xmlBufferAllocationScheme
296
305
  xmlThrDefBufferAllocScheme(xmlBufferAllocationScheme v);
297
306
 
298
- XMLPUBFUN int * XMLCALL __xmlDefaultBufferSize(void);
307
+ XML_DEPRECATED
308
+ XMLPUBFUN int * __xmlDefaultBufferSize(void);
299
309
  #ifdef LIBXML_THREAD_ENABLED
300
310
  #define xmlDefaultBufferSize \
301
311
  (*(__xmlDefaultBufferSize()))
302
312
  #else
313
+ XML_DEPRECATED
303
314
  XMLPUBVAR int xmlDefaultBufferSize;
304
315
  #endif
305
- XMLPUBFUN int XMLCALL xmlThrDefDefaultBufferSize(int v);
316
+ XML_DEPRECATED
317
+ XMLPUBFUN int xmlThrDefDefaultBufferSize(int v);
306
318
 
307
- XMLPUBFUN xmlSAXHandlerV1 * XMLCALL __xmlDefaultSAXHandler(void);
319
+ XML_DEPRECATED
320
+ XMLPUBFUN xmlSAXHandlerV1 * __xmlDefaultSAXHandler(void);
308
321
  #ifdef LIBXML_THREAD_ENABLED
309
322
  #define xmlDefaultSAXHandler \
310
323
  (*(__xmlDefaultSAXHandler()))
311
324
  #else
325
+ XML_DEPRECATED
312
326
  XMLPUBVAR xmlSAXHandlerV1 xmlDefaultSAXHandler;
313
327
  #endif
314
328
 
315
- XMLPUBFUN xmlSAXLocator * XMLCALL __xmlDefaultSAXLocator(void);
329
+ XML_DEPRECATED
330
+ XMLPUBFUN xmlSAXLocator * __xmlDefaultSAXLocator(void);
316
331
  #ifdef LIBXML_THREAD_ENABLED
317
332
  #define xmlDefaultSAXLocator \
318
333
  (*(__xmlDefaultSAXLocator()))
319
334
  #else
335
+ XML_DEPRECATED
320
336
  XMLPUBVAR xmlSAXLocator xmlDefaultSAXLocator;
321
337
  #endif
322
338
 
323
- XMLPUBFUN int * XMLCALL __xmlDoValidityCheckingDefaultValue(void);
339
+ XMLPUBFUN int * __xmlDoValidityCheckingDefaultValue(void);
324
340
  #ifdef LIBXML_THREAD_ENABLED
325
341
  #define xmlDoValidityCheckingDefaultValue \
326
342
  (*(__xmlDoValidityCheckingDefaultValue()))
327
343
  #else
328
344
  XMLPUBVAR int xmlDoValidityCheckingDefaultValue;
329
345
  #endif
330
- XMLPUBFUN int XMLCALL xmlThrDefDoValidityCheckingDefaultValue(int v);
346
+ XMLPUBFUN int xmlThrDefDoValidityCheckingDefaultValue(int v);
331
347
 
332
- XMLPUBFUN xmlGenericErrorFunc * XMLCALL __xmlGenericError(void);
348
+ XMLPUBFUN xmlGenericErrorFunc * __xmlGenericError(void);
333
349
  #ifdef LIBXML_THREAD_ENABLED
334
350
  #define xmlGenericError \
335
351
  (*(__xmlGenericError()))
@@ -337,7 +353,7 @@ XMLPUBFUN xmlGenericErrorFunc * XMLCALL __xmlGenericError(void);
337
353
  XMLPUBVAR xmlGenericErrorFunc xmlGenericError;
338
354
  #endif
339
355
 
340
- XMLPUBFUN xmlStructuredErrorFunc * XMLCALL __xmlStructuredError(void);
356
+ XMLPUBFUN xmlStructuredErrorFunc * __xmlStructuredError(void);
341
357
  #ifdef LIBXML_THREAD_ENABLED
342
358
  #define xmlStructuredError \
343
359
  (*(__xmlStructuredError()))
@@ -345,7 +361,7 @@ XMLPUBFUN xmlStructuredErrorFunc * XMLCALL __xmlStructuredError(void);
345
361
  XMLPUBVAR xmlStructuredErrorFunc xmlStructuredError;
346
362
  #endif
347
363
 
348
- XMLPUBFUN void * * XMLCALL __xmlGenericErrorContext(void);
364
+ XMLPUBFUN void * * __xmlGenericErrorContext(void);
349
365
  #ifdef LIBXML_THREAD_ENABLED
350
366
  #define xmlGenericErrorContext \
351
367
  (*(__xmlGenericErrorContext()))
@@ -353,7 +369,7 @@ XMLPUBFUN void * * XMLCALL __xmlGenericErrorContext(void);
353
369
  XMLPUBVAR void * xmlGenericErrorContext;
354
370
  #endif
355
371
 
356
- XMLPUBFUN void * * XMLCALL __xmlStructuredErrorContext(void);
372
+ XMLPUBFUN void * * __xmlStructuredErrorContext(void);
357
373
  #ifdef LIBXML_THREAD_ENABLED
358
374
  #define xmlStructuredErrorContext \
359
375
  (*(__xmlStructuredErrorContext()))
@@ -361,70 +377,73 @@ XMLPUBFUN void * * XMLCALL __xmlStructuredErrorContext(void);
361
377
  XMLPUBVAR void * xmlStructuredErrorContext;
362
378
  #endif
363
379
 
364
- XMLPUBFUN int * XMLCALL __xmlGetWarningsDefaultValue(void);
380
+ XMLPUBFUN int * __xmlGetWarningsDefaultValue(void);
365
381
  #ifdef LIBXML_THREAD_ENABLED
366
382
  #define xmlGetWarningsDefaultValue \
367
383
  (*(__xmlGetWarningsDefaultValue()))
368
384
  #else
369
385
  XMLPUBVAR int xmlGetWarningsDefaultValue;
370
386
  #endif
371
- XMLPUBFUN int XMLCALL xmlThrDefGetWarningsDefaultValue(int v);
387
+ XMLPUBFUN int xmlThrDefGetWarningsDefaultValue(int v);
372
388
 
373
- XMLPUBFUN int * XMLCALL __xmlIndentTreeOutput(void);
389
+ XMLPUBFUN int * __xmlIndentTreeOutput(void);
374
390
  #ifdef LIBXML_THREAD_ENABLED
375
391
  #define xmlIndentTreeOutput \
376
392
  (*(__xmlIndentTreeOutput()))
377
393
  #else
378
394
  XMLPUBVAR int xmlIndentTreeOutput;
379
395
  #endif
380
- XMLPUBFUN int XMLCALL xmlThrDefIndentTreeOutput(int v);
396
+ XMLPUBFUN int xmlThrDefIndentTreeOutput(int v);
381
397
 
382
- XMLPUBFUN const char * * XMLCALL __xmlTreeIndentString(void);
398
+ XMLPUBFUN const char * * __xmlTreeIndentString(void);
383
399
  #ifdef LIBXML_THREAD_ENABLED
384
400
  #define xmlTreeIndentString \
385
401
  (*(__xmlTreeIndentString()))
386
402
  #else
387
403
  XMLPUBVAR const char * xmlTreeIndentString;
388
404
  #endif
389
- XMLPUBFUN const char * XMLCALL xmlThrDefTreeIndentString(const char * v);
405
+ XMLPUBFUN const char * xmlThrDefTreeIndentString(const char * v);
390
406
 
391
- XMLPUBFUN int * XMLCALL __xmlKeepBlanksDefaultValue(void);
407
+ XMLPUBFUN int * __xmlKeepBlanksDefaultValue(void);
392
408
  #ifdef LIBXML_THREAD_ENABLED
393
409
  #define xmlKeepBlanksDefaultValue \
394
410
  (*(__xmlKeepBlanksDefaultValue()))
395
411
  #else
396
412
  XMLPUBVAR int xmlKeepBlanksDefaultValue;
397
413
  #endif
398
- XMLPUBFUN int XMLCALL xmlThrDefKeepBlanksDefaultValue(int v);
414
+ XMLPUBFUN int xmlThrDefKeepBlanksDefaultValue(int v);
399
415
 
400
- XMLPUBFUN int * XMLCALL __xmlLineNumbersDefaultValue(void);
416
+ XML_DEPRECATED
417
+ XMLPUBFUN int * __xmlLineNumbersDefaultValue(void);
401
418
  #ifdef LIBXML_THREAD_ENABLED
402
419
  #define xmlLineNumbersDefaultValue \
403
420
  (*(__xmlLineNumbersDefaultValue()))
404
421
  #else
422
+ XML_DEPRECATED
405
423
  XMLPUBVAR int xmlLineNumbersDefaultValue;
406
424
  #endif
407
- XMLPUBFUN int XMLCALL xmlThrDefLineNumbersDefaultValue(int v);
425
+ XML_DEPRECATED
426
+ XMLPUBFUN int xmlThrDefLineNumbersDefaultValue(int v);
408
427
 
409
- XMLPUBFUN int * XMLCALL __xmlLoadExtDtdDefaultValue(void);
428
+ XMLPUBFUN int * __xmlLoadExtDtdDefaultValue(void);
410
429
  #ifdef LIBXML_THREAD_ENABLED
411
430
  #define xmlLoadExtDtdDefaultValue \
412
431
  (*(__xmlLoadExtDtdDefaultValue()))
413
432
  #else
414
433
  XMLPUBVAR int xmlLoadExtDtdDefaultValue;
415
434
  #endif
416
- XMLPUBFUN int XMLCALL xmlThrDefLoadExtDtdDefaultValue(int v);
435
+ XMLPUBFUN int xmlThrDefLoadExtDtdDefaultValue(int v);
417
436
 
418
- XMLPUBFUN int * XMLCALL __xmlParserDebugEntities(void);
437
+ XMLPUBFUN int * __xmlParserDebugEntities(void);
419
438
  #ifdef LIBXML_THREAD_ENABLED
420
439
  #define xmlParserDebugEntities \
421
440
  (*(__xmlParserDebugEntities()))
422
441
  #else
423
442
  XMLPUBVAR int xmlParserDebugEntities;
424
443
  #endif
425
- XMLPUBFUN int XMLCALL xmlThrDefParserDebugEntities(int v);
444
+ XMLPUBFUN int xmlThrDefParserDebugEntities(int v);
426
445
 
427
- XMLPUBFUN const char * * XMLCALL __xmlParserVersion(void);
446
+ XMLPUBFUN const char * * __xmlParserVersion(void);
428
447
  #ifdef LIBXML_THREAD_ENABLED
429
448
  #define xmlParserVersion \
430
449
  (*(__xmlParserVersion()))
@@ -432,63 +451,74 @@ XMLPUBFUN const char * * XMLCALL __xmlParserVersion(void);
432
451
  XMLPUBVAR const char * xmlParserVersion;
433
452
  #endif
434
453
 
435
- XMLPUBFUN int * XMLCALL __xmlPedanticParserDefaultValue(void);
454
+ XML_DEPRECATED
455
+ XMLPUBFUN int * __xmlPedanticParserDefaultValue(void);
436
456
  #ifdef LIBXML_THREAD_ENABLED
437
457
  #define xmlPedanticParserDefaultValue \
438
458
  (*(__xmlPedanticParserDefaultValue()))
439
459
  #else
460
+ XML_DEPRECATED
440
461
  XMLPUBVAR int xmlPedanticParserDefaultValue;
441
462
  #endif
442
- XMLPUBFUN int XMLCALL xmlThrDefPedanticParserDefaultValue(int v);
463
+ XML_DEPRECATED
464
+ XMLPUBFUN int xmlThrDefPedanticParserDefaultValue(int v);
443
465
 
444
- XMLPUBFUN int * XMLCALL __xmlSaveNoEmptyTags(void);
466
+ XMLPUBFUN int * __xmlSaveNoEmptyTags(void);
445
467
  #ifdef LIBXML_THREAD_ENABLED
446
468
  #define xmlSaveNoEmptyTags \
447
469
  (*(__xmlSaveNoEmptyTags()))
448
470
  #else
449
471
  XMLPUBVAR int xmlSaveNoEmptyTags;
450
472
  #endif
451
- XMLPUBFUN int XMLCALL xmlThrDefSaveNoEmptyTags(int v);
473
+ XMLPUBFUN int xmlThrDefSaveNoEmptyTags(int v);
452
474
 
453
- XMLPUBFUN int * XMLCALL __xmlSubstituteEntitiesDefaultValue(void);
475
+ XMLPUBFUN int * __xmlSubstituteEntitiesDefaultValue(void);
454
476
  #ifdef LIBXML_THREAD_ENABLED
455
477
  #define xmlSubstituteEntitiesDefaultValue \
456
478
  (*(__xmlSubstituteEntitiesDefaultValue()))
457
479
  #else
458
480
  XMLPUBVAR int xmlSubstituteEntitiesDefaultValue;
459
481
  #endif
460
- XMLPUBFUN int XMLCALL xmlThrDefSubstituteEntitiesDefaultValue(int v);
482
+ XMLPUBFUN int xmlThrDefSubstituteEntitiesDefaultValue(int v);
461
483
 
462
- XMLPUBFUN xmlRegisterNodeFunc * XMLCALL __xmlRegisterNodeDefaultValue(void);
484
+ XML_DEPRECATED
485
+ XMLPUBFUN xmlRegisterNodeFunc * __xmlRegisterNodeDefaultValue(void);
463
486
  #ifdef LIBXML_THREAD_ENABLED
464
487
  #define xmlRegisterNodeDefaultValue \
465
488
  (*(__xmlRegisterNodeDefaultValue()))
466
489
  #else
490
+ XML_DEPRECATED
467
491
  XMLPUBVAR xmlRegisterNodeFunc xmlRegisterNodeDefaultValue;
468
492
  #endif
469
493
 
470
- XMLPUBFUN xmlDeregisterNodeFunc * XMLCALL __xmlDeregisterNodeDefaultValue(void);
494
+ XML_DEPRECATED
495
+ XMLPUBFUN xmlDeregisterNodeFunc * __xmlDeregisterNodeDefaultValue(void);
471
496
  #ifdef LIBXML_THREAD_ENABLED
472
497
  #define xmlDeregisterNodeDefaultValue \
473
498
  (*(__xmlDeregisterNodeDefaultValue()))
474
499
  #else
500
+ XML_DEPRECATED
475
501
  XMLPUBVAR xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue;
476
502
  #endif
477
503
 
478
- XMLPUBFUN xmlParserInputBufferCreateFilenameFunc * XMLCALL \
504
+ XML_DEPRECATED
505
+ XMLPUBFUN xmlParserInputBufferCreateFilenameFunc * \
479
506
  __xmlParserInputBufferCreateFilenameValue(void);
480
507
  #ifdef LIBXML_THREAD_ENABLED
481
508
  #define xmlParserInputBufferCreateFilenameValue \
482
509
  (*(__xmlParserInputBufferCreateFilenameValue()))
483
510
  #else
511
+ XML_DEPRECATED
484
512
  XMLPUBVAR xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue;
485
513
  #endif
486
514
 
487
- XMLPUBFUN xmlOutputBufferCreateFilenameFunc * XMLCALL __xmlOutputBufferCreateFilenameValue(void);
515
+ XML_DEPRECATED
516
+ XMLPUBFUN xmlOutputBufferCreateFilenameFunc * __xmlOutputBufferCreateFilenameValue(void);
488
517
  #ifdef LIBXML_THREAD_ENABLED
489
518
  #define xmlOutputBufferCreateFilenameValue \
490
519
  (*(__xmlOutputBufferCreateFilenameValue()))
491
520
  #else
521
+ XML_DEPRECATED
492
522
  XMLPUBVAR xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue;
493
523
  #endif
494
524
 
@@ -103,48 +103,48 @@ typedef void (*xmlHashScannerFull)(void *payload, void *data,
103
103
  /*
104
104
  * Constructor and destructor.
105
105
  */
106
- XMLPUBFUN xmlHashTablePtr XMLCALL
106
+ XMLPUBFUN xmlHashTablePtr
107
107
  xmlHashCreate (int size);
108
- XMLPUBFUN xmlHashTablePtr XMLCALL
108
+ XMLPUBFUN xmlHashTablePtr
109
109
  xmlHashCreateDict(int size,
110
110
  xmlDictPtr dict);
111
- XMLPUBFUN void XMLCALL
111
+ XMLPUBFUN void
112
112
  xmlHashFree (xmlHashTablePtr table,
113
113
  xmlHashDeallocator f);
114
- XMLPUBFUN void XMLCALL
114
+ XMLPUBFUN void
115
115
  xmlHashDefaultDeallocator(void *entry,
116
116
  const xmlChar *name);
117
117
 
118
118
  /*
119
119
  * Add a new entry to the hash table.
120
120
  */
121
- XMLPUBFUN int XMLCALL
121
+ XMLPUBFUN int
122
122
  xmlHashAddEntry (xmlHashTablePtr table,
123
123
  const xmlChar *name,
124
124
  void *userdata);
125
- XMLPUBFUN int XMLCALL
125
+ XMLPUBFUN int
126
126
  xmlHashUpdateEntry(xmlHashTablePtr table,
127
127
  const xmlChar *name,
128
128
  void *userdata,
129
129
  xmlHashDeallocator f);
130
- XMLPUBFUN int XMLCALL
130
+ XMLPUBFUN int
131
131
  xmlHashAddEntry2(xmlHashTablePtr table,
132
132
  const xmlChar *name,
133
133
  const xmlChar *name2,
134
134
  void *userdata);
135
- XMLPUBFUN int XMLCALL
135
+ XMLPUBFUN int
136
136
  xmlHashUpdateEntry2(xmlHashTablePtr table,
137
137
  const xmlChar *name,
138
138
  const xmlChar *name2,
139
139
  void *userdata,
140
140
  xmlHashDeallocator f);
141
- XMLPUBFUN int XMLCALL
141
+ XMLPUBFUN int
142
142
  xmlHashAddEntry3(xmlHashTablePtr table,
143
143
  const xmlChar *name,
144
144
  const xmlChar *name2,
145
145
  const xmlChar *name3,
146
146
  void *userdata);
147
- XMLPUBFUN int XMLCALL
147
+ XMLPUBFUN int
148
148
  xmlHashUpdateEntry3(xmlHashTablePtr table,
149
149
  const xmlChar *name,
150
150
  const xmlChar *name2,
@@ -155,13 +155,13 @@ XMLPUBFUN int XMLCALL
155
155
  /*
156
156
  * Remove an entry from the hash table.
157
157
  */
158
- XMLPUBFUN int XMLCALL
158
+ XMLPUBFUN int
159
159
  xmlHashRemoveEntry(xmlHashTablePtr table, const xmlChar *name,
160
160
  xmlHashDeallocator f);
161
- XMLPUBFUN int XMLCALL
161
+ XMLPUBFUN int
162
162
  xmlHashRemoveEntry2(xmlHashTablePtr table, const xmlChar *name,
163
163
  const xmlChar *name2, xmlHashDeallocator f);
164
- XMLPUBFUN int XMLCALL
164
+ XMLPUBFUN int
165
165
  xmlHashRemoveEntry3(xmlHashTablePtr table, const xmlChar *name,
166
166
  const xmlChar *name2, const xmlChar *name3,
167
167
  xmlHashDeallocator f);
@@ -169,29 +169,29 @@ XMLPUBFUN int XMLCALL
169
169
  /*
170
170
  * Retrieve the userdata.
171
171
  */
172
- XMLPUBFUN void * XMLCALL
172
+ XMLPUBFUN void *
173
173
  xmlHashLookup (xmlHashTablePtr table,
174
174
  const xmlChar *name);
175
- XMLPUBFUN void * XMLCALL
175
+ XMLPUBFUN void *
176
176
  xmlHashLookup2 (xmlHashTablePtr table,
177
177
  const xmlChar *name,
178
178
  const xmlChar *name2);
179
- XMLPUBFUN void * XMLCALL
179
+ XMLPUBFUN void *
180
180
  xmlHashLookup3 (xmlHashTablePtr table,
181
181
  const xmlChar *name,
182
182
  const xmlChar *name2,
183
183
  const xmlChar *name3);
184
- XMLPUBFUN void * XMLCALL
184
+ XMLPUBFUN void *
185
185
  xmlHashQLookup (xmlHashTablePtr table,
186
186
  const xmlChar *name,
187
187
  const xmlChar *prefix);
188
- XMLPUBFUN void * XMLCALL
188
+ XMLPUBFUN void *
189
189
  xmlHashQLookup2 (xmlHashTablePtr table,
190
190
  const xmlChar *name,
191
191
  const xmlChar *prefix,
192
192
  const xmlChar *name2,
193
193
  const xmlChar *prefix2);
194
- XMLPUBFUN void * XMLCALL
194
+ XMLPUBFUN void *
195
195
  xmlHashQLookup3 (xmlHashTablePtr table,
196
196
  const xmlChar *name,
197
197
  const xmlChar *prefix,
@@ -203,27 +203,27 @@ XMLPUBFUN void * XMLCALL
203
203
  /*
204
204
  * Helpers.
205
205
  */
206
- XMLPUBFUN xmlHashTablePtr XMLCALL
206
+ XMLPUBFUN xmlHashTablePtr
207
207
  xmlHashCopy (xmlHashTablePtr table,
208
208
  xmlHashCopier f);
209
- XMLPUBFUN int XMLCALL
209
+ XMLPUBFUN int
210
210
  xmlHashSize (xmlHashTablePtr table);
211
- XMLPUBFUN void XMLCALL
211
+ XMLPUBFUN void
212
212
  xmlHashScan (xmlHashTablePtr table,
213
213
  xmlHashScanner f,
214
214
  void *data);
215
- XMLPUBFUN void XMLCALL
215
+ XMLPUBFUN void
216
216
  xmlHashScan3 (xmlHashTablePtr table,
217
217
  const xmlChar *name,
218
218
  const xmlChar *name2,
219
219
  const xmlChar *name3,
220
220
  xmlHashScanner f,
221
221
  void *data);
222
- XMLPUBFUN void XMLCALL
222
+ XMLPUBFUN void
223
223
  xmlHashScanFull (xmlHashTablePtr table,
224
224
  xmlHashScannerFull f,
225
225
  void *data);
226
- XMLPUBFUN void XMLCALL
226
+ XMLPUBFUN void
227
227
  xmlHashScanFull3(xmlHashTablePtr table,
228
228
  const xmlChar *name,
229
229
  const xmlChar *name2,
@@ -52,79 +52,79 @@ typedef int (*xmlListDataCompare) (const void *data0, const void *data1);
52
52
  typedef int (*xmlListWalker) (const void *data, void *user);
53
53
 
54
54
  /* Creation/Deletion */
55
- XMLPUBFUN xmlListPtr XMLCALL
55
+ XMLPUBFUN xmlListPtr
56
56
  xmlListCreate (xmlListDeallocator deallocator,
57
57
  xmlListDataCompare compare);
58
- XMLPUBFUN void XMLCALL
58
+ XMLPUBFUN void
59
59
  xmlListDelete (xmlListPtr l);
60
60
 
61
61
  /* Basic Operators */
62
- XMLPUBFUN void * XMLCALL
62
+ XMLPUBFUN void *
63
63
  xmlListSearch (xmlListPtr l,
64
64
  void *data);
65
- XMLPUBFUN void * XMLCALL
65
+ XMLPUBFUN void *
66
66
  xmlListReverseSearch (xmlListPtr l,
67
67
  void *data);
68
- XMLPUBFUN int XMLCALL
68
+ XMLPUBFUN int
69
69
  xmlListInsert (xmlListPtr l,
70
70
  void *data) ;
71
- XMLPUBFUN int XMLCALL
71
+ XMLPUBFUN int
72
72
  xmlListAppend (xmlListPtr l,
73
73
  void *data) ;
74
- XMLPUBFUN int XMLCALL
74
+ XMLPUBFUN int
75
75
  xmlListRemoveFirst (xmlListPtr l,
76
76
  void *data);
77
- XMLPUBFUN int XMLCALL
77
+ XMLPUBFUN int
78
78
  xmlListRemoveLast (xmlListPtr l,
79
79
  void *data);
80
- XMLPUBFUN int XMLCALL
80
+ XMLPUBFUN int
81
81
  xmlListRemoveAll (xmlListPtr l,
82
82
  void *data);
83
- XMLPUBFUN void XMLCALL
83
+ XMLPUBFUN void
84
84
  xmlListClear (xmlListPtr l);
85
- XMLPUBFUN int XMLCALL
85
+ XMLPUBFUN int
86
86
  xmlListEmpty (xmlListPtr l);
87
- XMLPUBFUN xmlLinkPtr XMLCALL
87
+ XMLPUBFUN xmlLinkPtr
88
88
  xmlListFront (xmlListPtr l);
89
- XMLPUBFUN xmlLinkPtr XMLCALL
89
+ XMLPUBFUN xmlLinkPtr
90
90
  xmlListEnd (xmlListPtr l);
91
- XMLPUBFUN int XMLCALL
91
+ XMLPUBFUN int
92
92
  xmlListSize (xmlListPtr l);
93
93
 
94
- XMLPUBFUN void XMLCALL
94
+ XMLPUBFUN void
95
95
  xmlListPopFront (xmlListPtr l);
96
- XMLPUBFUN void XMLCALL
96
+ XMLPUBFUN void
97
97
  xmlListPopBack (xmlListPtr l);
98
- XMLPUBFUN int XMLCALL
98
+ XMLPUBFUN int
99
99
  xmlListPushFront (xmlListPtr l,
100
100
  void *data);
101
- XMLPUBFUN int XMLCALL
101
+ XMLPUBFUN int
102
102
  xmlListPushBack (xmlListPtr l,
103
103
  void *data);
104
104
 
105
105
  /* Advanced Operators */
106
- XMLPUBFUN void XMLCALL
106
+ XMLPUBFUN void
107
107
  xmlListReverse (xmlListPtr l);
108
- XMLPUBFUN void XMLCALL
108
+ XMLPUBFUN void
109
109
  xmlListSort (xmlListPtr l);
110
- XMLPUBFUN void XMLCALL
110
+ XMLPUBFUN void
111
111
  xmlListWalk (xmlListPtr l,
112
112
  xmlListWalker walker,
113
113
  void *user);
114
- XMLPUBFUN void XMLCALL
114
+ XMLPUBFUN void
115
115
  xmlListReverseWalk (xmlListPtr l,
116
116
  xmlListWalker walker,
117
117
  void *user);
118
- XMLPUBFUN void XMLCALL
118
+ XMLPUBFUN void
119
119
  xmlListMerge (xmlListPtr l1,
120
120
  xmlListPtr l2);
121
- XMLPUBFUN xmlListPtr XMLCALL
121
+ XMLPUBFUN xmlListPtr
122
122
  xmlListDup (const xmlListPtr old);
123
- XMLPUBFUN int XMLCALL
123
+ XMLPUBFUN int
124
124
  xmlListCopy (xmlListPtr cur,
125
125
  const xmlListPtr old);
126
126
  /* Link operators */
127
- XMLPUBFUN void * XMLCALL
127
+ XMLPUBFUN void *
128
128
  xmlLinkGetData (xmlLinkPtr lk);
129
129
 
130
130
  /* xmlListUnique() */