cairo 1.12.4-x86-mingw32 → 1.12.5-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 cairo might be problematic. Click here for more details.

Files changed (931) hide show
  1. data/NEWS +8 -0
  2. data/Rakefile +357 -31
  3. data/ext/cairo/rb_cairo.h +1 -1
  4. data/lib/1.9/cairo.so +0 -0
  5. data/lib/2.0/cairo.so +0 -0
  6. data/vendor/local/bin/fc-cache.exe +0 -0
  7. data/vendor/local/bin/fc-cat.exe +0 -0
  8. data/vendor/local/bin/fc-list.exe +0 -0
  9. data/vendor/local/bin/fc-match.exe +0 -0
  10. data/vendor/local/bin/fc-pattern.exe +0 -0
  11. data/vendor/local/bin/fc-query.exe +0 -0
  12. data/vendor/local/bin/fc-scan.exe +0 -0
  13. data/vendor/local/bin/fc-validate.exe +0 -0
  14. data/vendor/local/bin/freetype-config +14 -16
  15. data/vendor/local/bin/libcairo-2.dll +0 -0
  16. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  17. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  18. data/vendor/local/bin/libfontconfig-1.dll +0 -0
  19. data/vendor/local/bin/libfreetype-6.dll +0 -0
  20. data/vendor/local/bin/libpixman-1-0.dll +0 -0
  21. data/vendor/local/bin/libpng-config +127 -0
  22. data/vendor/local/bin/libpng16-16.dll +0 -0
  23. data/vendor/local/bin/libpng16-config +127 -0
  24. data/vendor/local/bin/libxml2-2.dll +0 -0
  25. data/vendor/local/bin/xml2-config +106 -0
  26. data/vendor/local/bin/xmlcatalog.exe +0 -0
  27. data/vendor/local/bin/xmllint.exe +0 -0
  28. data/vendor/local/bin/zlib1.dll +0 -0
  29. data/vendor/local/etc/fonts/conf.d/10-scale-bitmap-fonts.conf +81 -0
  30. data/vendor/local/etc/fonts/conf.d/20-unhint-small-vera.conf +48 -0
  31. data/vendor/local/etc/fonts/conf.d/30-metric-aliases.conf +291 -0
  32. data/vendor/local/etc/fonts/conf.d/30-urw-aliases.conf +40 -0
  33. data/vendor/local/etc/fonts/conf.d/40-nonlatin.conf +231 -0
  34. data/vendor/local/etc/fonts/conf.d/45-latin.conf +173 -0
  35. data/vendor/local/etc/fonts/conf.d/49-sansserif.conf +21 -0
  36. data/vendor/local/etc/fonts/conf.d/50-user.conf +15 -0
  37. data/vendor/local/etc/fonts/conf.d/51-local.conf +6 -0
  38. data/vendor/local/etc/fonts/conf.d/60-latin.conf +70 -0
  39. data/vendor/local/etc/fonts/conf.d/65-fonts-persian.conf +419 -0
  40. data/vendor/local/etc/fonts/conf.d/65-nonlatin.conf +196 -0
  41. data/vendor/local/etc/fonts/conf.d/69-unifont.conf +28 -0
  42. data/vendor/local/etc/fonts/conf.d/80-delicious.conf +19 -0
  43. data/vendor/local/etc/fonts/conf.d/90-synthetic.conf +64 -0
  44. data/vendor/local/etc/fonts/conf.d/README +23 -0
  45. data/vendor/local/etc/fonts/fonts.conf +8 -4
  46. data/vendor/local/include/cairo/cairo-features.h +4 -0
  47. data/vendor/local/include/cairo/cairo-ft.h +36 -0
  48. data/vendor/local/include/cairo/cairo-gobject.h +3 -1
  49. data/vendor/local/include/cairo/cairo-pdf.h +4 -4
  50. data/vendor/local/include/cairo/cairo-ps.h +5 -3
  51. data/vendor/local/include/cairo/cairo-script-interpreter.h +7 -0
  52. data/vendor/local/include/cairo/cairo-script.h +98 -0
  53. data/vendor/local/include/cairo/cairo-svg.h +5 -3
  54. data/vendor/local/include/cairo/cairo-version.h +2 -2
  55. data/vendor/local/include/cairo/cairo.h +642 -209
  56. data/vendor/local/include/fontconfig/fcfreetype.h +2 -2
  57. data/vendor/local/include/fontconfig/fcprivate.h +2 -2
  58. data/vendor/local/include/fontconfig/fontconfig.h +59 -19
  59. data/vendor/local/include/freetype2/freetype/config/ftconfig.h +74 -5
  60. data/vendor/local/include/freetype2/freetype/config/ftheader.h +27 -1
  61. data/vendor/local/include/freetype2/freetype/config/ftoption.h +24 -2
  62. data/vendor/local/include/freetype2/freetype/config/ftstdlib.h +2 -2
  63. data/vendor/local/include/freetype2/freetype/freetype.h +46 -16
  64. data/vendor/local/include/freetype2/freetype/ftautoh.h +349 -0
  65. data/vendor/local/include/freetype2/freetype/ftcffdrv.h +150 -0
  66. data/vendor/local/include/freetype2/freetype/ftchapters.h +28 -0
  67. data/vendor/local/include/freetype2/freetype/fterrdef.h +5 -1
  68. data/vendor/local/include/freetype2/freetype/fterrors.h +7 -16
  69. data/vendor/local/include/freetype2/freetype/ftglyph.h +1 -1
  70. data/vendor/local/include/freetype2/freetype/ftimage.h +1 -1
  71. data/vendor/local/include/freetype2/freetype/ftlcdfil.h +38 -0
  72. data/vendor/local/include/freetype2/freetype/ftmodapi.h +156 -5
  73. data/vendor/local/include/freetype2/freetype/ftmoderr.h +51 -13
  74. data/vendor/local/include/freetype2/freetype/ftoutln.h +2 -0
  75. data/vendor/local/include/freetype2/freetype/ftstroke.h +1 -1
  76. data/vendor/local/include/freetype2/freetype/fttrigon.h +5 -5
  77. data/vendor/local/include/freetype2/freetype/fttypes.h +19 -9
  78. data/vendor/local/include/freetype2/freetype/ttnameid.h +5 -15
  79. data/vendor/local/include/freetype2/freetype/tttables.h +14 -1
  80. data/vendor/local/include/libpng16/png.h +3304 -0
  81. data/vendor/local/include/libpng16/pngconf.h +616 -0
  82. data/vendor/local/include/libpng16/pnglibconf.h +209 -0
  83. data/vendor/local/include/libxml2/libxml/DOCBparser.h +96 -0
  84. data/vendor/local/include/libxml2/libxml/HTMLparser.h +306 -0
  85. data/vendor/local/include/libxml2/libxml/HTMLtree.h +147 -0
  86. data/vendor/local/include/libxml2/libxml/SAX.h +173 -0
  87. data/vendor/local/include/libxml2/libxml/SAX2.h +176 -0
  88. data/vendor/local/include/libxml2/libxml/c14n.h +126 -0
  89. data/vendor/local/include/libxml2/libxml/catalog.h +182 -0
  90. data/vendor/local/include/libxml2/libxml/chvalid.h +230 -0
  91. data/vendor/local/include/libxml2/libxml/debugXML.h +217 -0
  92. data/vendor/local/include/libxml2/libxml/dict.h +80 -0
  93. data/vendor/local/include/libxml2/libxml/encoding.h +240 -0
  94. data/vendor/local/include/libxml2/libxml/entities.h +151 -0
  95. data/vendor/local/include/libxml2/libxml/globals.h +502 -0
  96. data/vendor/local/include/libxml2/libxml/hash.h +233 -0
  97. data/vendor/local/include/libxml2/libxml/list.h +137 -0
  98. data/vendor/local/include/libxml2/libxml/nanoftp.h +163 -0
  99. data/vendor/local/include/libxml2/libxml/nanohttp.h +81 -0
  100. data/vendor/local/include/libxml2/libxml/parser.h +1241 -0
  101. data/vendor/local/include/libxml2/libxml/parserInternals.h +644 -0
  102. data/vendor/local/include/libxml2/libxml/pattern.h +100 -0
  103. data/vendor/local/include/libxml2/libxml/relaxng.h +213 -0
  104. data/vendor/local/include/libxml2/libxml/schemasInternals.h +958 -0
  105. data/vendor/local/include/libxml2/libxml/schematron.h +142 -0
  106. data/vendor/local/include/libxml2/libxml/threads.h +84 -0
  107. data/vendor/local/include/libxml2/libxml/tree.h +1303 -0
  108. data/vendor/local/include/libxml2/libxml/uri.h +94 -0
  109. data/vendor/local/include/libxml2/libxml/valid.h +458 -0
  110. data/vendor/local/include/libxml2/libxml/xinclude.h +129 -0
  111. data/vendor/local/include/libxml2/libxml/xlink.h +189 -0
  112. data/vendor/local/include/libxml2/libxml/xmlIO.h +366 -0
  113. data/vendor/local/include/libxml2/libxml/xmlautomata.h +146 -0
  114. data/vendor/local/include/libxml2/libxml/xmlerror.h +945 -0
  115. data/vendor/local/include/libxml2/libxml/xmlexports.h +162 -0
  116. data/vendor/local/include/libxml2/libxml/xmlmemory.h +224 -0
  117. data/vendor/local/include/libxml2/libxml/xmlmodule.h +57 -0
  118. data/vendor/local/include/libxml2/libxml/xmlreader.h +428 -0
  119. data/vendor/local/include/libxml2/libxml/xmlregexp.h +222 -0
  120. data/vendor/local/include/libxml2/libxml/xmlsave.h +88 -0
  121. data/vendor/local/include/libxml2/libxml/xmlschemas.h +246 -0
  122. data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +151 -0
  123. data/vendor/local/include/libxml2/libxml/xmlstring.h +140 -0
  124. data/vendor/local/include/libxml2/libxml/xmlunicode.h +202 -0
  125. data/vendor/local/include/libxml2/libxml/xmlversion.h +489 -0
  126. data/vendor/local/include/libxml2/libxml/xmlwriter.h +488 -0
  127. data/vendor/local/include/libxml2/libxml/xpath.h +557 -0
  128. data/vendor/local/include/libxml2/libxml/xpathInternals.h +632 -0
  129. data/vendor/local/include/libxml2/libxml/xpointer.h +114 -0
  130. data/vendor/local/include/pixman-1/pixman-version.h +50 -0
  131. data/vendor/local/include/pixman-1/pixman.h +1111 -0
  132. data/vendor/local/include/png.h +1993 -1426
  133. data/vendor/local/include/pngconf.h +462 -1398
  134. data/vendor/local/include/pnglibconf.h +209 -0
  135. data/vendor/local/include/zconf.h +141 -91
  136. data/vendor/local/include/zlib.h +273 -94
  137. data/vendor/local/lib/fontconfig.def +11 -1
  138. data/vendor/local/lib/libcairo-gobject.a +0 -0
  139. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  140. data/vendor/local/lib/libcairo-gobject.la +41 -0
  141. data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
  142. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  143. data/vendor/local/lib/libcairo-script-interpreter.la +41 -0
  144. data/vendor/local/lib/libcairo.a +0 -0
  145. data/vendor/local/lib/libcairo.dll.a +0 -0
  146. data/vendor/local/lib/libcairo.la +41 -0
  147. data/vendor/local/lib/libfontconfig.a +0 -0
  148. data/vendor/local/lib/libfontconfig.dll.a +0 -0
  149. data/vendor/local/lib/libfontconfig.la +41 -0
  150. data/vendor/local/lib/libfreetype.a +0 -0
  151. data/vendor/local/lib/libfreetype.dll.a +0 -0
  152. data/vendor/local/lib/libfreetype.la +41 -0
  153. data/vendor/local/lib/libpixman-1.a +0 -0
  154. data/vendor/local/lib/libpixman-1.dll.a +0 -0
  155. data/vendor/local/lib/libpixman-1.la +41 -0
  156. data/vendor/local/lib/libpng.a +0 -0
  157. data/vendor/local/lib/libpng.dll.a +0 -0
  158. data/vendor/local/lib/libpng.la +41 -0
  159. data/vendor/local/lib/libpng16.a +0 -0
  160. data/vendor/local/lib/libpng16.dll.a +0 -0
  161. data/vendor/local/lib/libpng16.la +41 -0
  162. data/vendor/local/lib/libxml2.a +0 -0
  163. data/vendor/local/lib/libxml2.dll.a +0 -0
  164. data/vendor/local/lib/libxml2.la +41 -0
  165. data/vendor/local/lib/libz.a +0 -0
  166. data/vendor/local/lib/libz.dll.a +0 -0
  167. data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
  168. data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
  169. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
  170. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
  171. data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
  172. data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
  173. data/vendor/local/lib/pkgconfig/cairo-script.pc +12 -0
  174. data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
  175. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
  176. data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
  177. data/vendor/local/lib/pkgconfig/cairo.pc +3 -3
  178. data/vendor/local/lib/pkgconfig/fontconfig.pc +7 -2
  179. data/vendor/local/lib/pkgconfig/freetype2.pc +6 -6
  180. data/vendor/local/lib/pkgconfig/libpng.pc +3 -3
  181. data/vendor/local/lib/pkgconfig/libpng16.pc +11 -0
  182. data/vendor/local/lib/pkgconfig/libxml-2.0.pc +13 -0
  183. data/vendor/local/lib/pkgconfig/pixman-1.pc +11 -0
  184. data/vendor/local/lib/pkgconfig/zlib.pc +13 -0
  185. data/vendor/local/lib/xml2Conf.sh +8 -0
  186. data/vendor/local/share/aclocal/libxml.m4 +188 -0
  187. data/vendor/local/share/doc/libxml2-2.9.1/Copyright +23 -0
  188. data/vendor/local/share/doc/libxml2-2.9.1/examples/testHTML.c +880 -0
  189. data/vendor/local/share/doc/libxml2-2.9.1/examples/testSAX.c +1198 -0
  190. data/vendor/local/share/doc/libxml2-2.9.1/examples/testXPath.c +229 -0
  191. data/vendor/local/share/doc/libxml2-2.9.1/examples/xmllint.c +3776 -0
  192. data/vendor/local/share/doc/libxml2-2.9.1/html/DOM.gif +0 -0
  193. data/vendor/local/share/doc/libxml2-2.9.1/html/FAQ.html +282 -0
  194. data/vendor/local/share/doc/libxml2-2.9.1/html/Libxml2-Logo-180x168.gif +0 -0
  195. data/vendor/local/share/doc/libxml2-2.9.1/html/Libxml2-Logo-90x34.gif +0 -0
  196. data/vendor/local/share/doc/libxml2-2.9.1/html/encoding.html +207 -0
  197. data/vendor/local/share/doc/libxml2-2.9.1/html/examples.xml +751 -0
  198. data/vendor/local/share/doc/libxml2-2.9.1/html/examples.xsl +174 -0
  199. data/vendor/local/share/doc/libxml2-2.9.1/html/html/book1.html +13 -0
  200. data/vendor/local/share/doc/libxml2-2.9.1/html/html/home.png +0 -0
  201. data/vendor/local/share/doc/libxml2-2.9.1/html/html/index.html +13 -0
  202. data/vendor/local/share/doc/libxml2-2.9.1/html/html/left.png +0 -0
  203. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-DOCBparser.html +51 -0
  204. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-HTMLparser.html +184 -0
  205. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-HTMLtree.html +73 -0
  206. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-SAX.html +125 -0
  207. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-SAX2.html +128 -0
  208. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-c14n.html +38 -0
  209. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-catalog.html +142 -0
  210. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-chvalid.html +72 -0
  211. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-debugXML.html +120 -0
  212. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-dict.html +58 -0
  213. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-encoding.html +124 -0
  214. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-entities.html +79 -0
  215. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-globals.html +152 -0
  216. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-hash.html +116 -0
  217. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-lib.html +13 -0
  218. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-list.html +120 -0
  219. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-nanoftp.html +94 -0
  220. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-nanohttp.html +65 -0
  221. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-parser.html +559 -0
  222. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-parserInternals.html +322 -0
  223. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-pattern.html +76 -0
  224. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-relaxng.html +162 -0
  225. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-schemasInternals.html +373 -0
  226. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-schematron.html +81 -0
  227. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-threads.html +72 -0
  228. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-tree.html +990 -0
  229. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-uri.html +73 -0
  230. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-valid.html +289 -0
  231. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xinclude.html +59 -0
  232. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xlink.html +82 -0
  233. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlIO.html +212 -0
  234. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlautomata.html +85 -0
  235. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlerror.html +865 -0
  236. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlexports.html +20 -0
  237. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlmemory.html +107 -0
  238. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlmodule.html +38 -0
  239. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlreader.html +330 -0
  240. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlregexp.html +143 -0
  241. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlsave.html +60 -0
  242. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlschemas.html +185 -0
  243. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlschemastypes.html +123 -0
  244. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlstring.html +108 -0
  245. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlunicode.html +512 -0
  246. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlversion.html +63 -0
  247. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xmlwriter.html +261 -0
  248. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xpath.html +316 -0
  249. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xpathInternals.html +394 -0
  250. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xpointer.html +83 -0
  251. data/vendor/local/share/doc/libxml2-2.9.1/html/html/libxml-xzlib.html +16 -0
  252. data/vendor/local/share/doc/libxml2-2.9.1/html/html/right.png +0 -0
  253. data/vendor/local/share/doc/libxml2-2.9.1/html/html/up.png +0 -0
  254. data/vendor/local/share/doc/libxml2-2.9.1/html/index.html +14 -0
  255. data/vendor/local/share/doc/libxml2-2.9.1/html/io1.c +166 -0
  256. data/vendor/local/share/doc/libxml2-2.9.1/html/io1.res +5 -0
  257. data/vendor/local/share/doc/libxml2-2.9.1/html/io2.c +58 -0
  258. data/vendor/local/share/doc/libxml2-2.9.1/html/io2.res +2 -0
  259. data/vendor/local/share/doc/libxml2-2.9.1/html/libxml.gif +0 -0
  260. data/vendor/local/share/doc/libxml2-2.9.1/html/parse1.c +56 -0
  261. data/vendor/local/share/doc/libxml2-2.9.1/html/parse2.c +72 -0
  262. data/vendor/local/share/doc/libxml2-2.9.1/html/parse3.c +60 -0
  263. data/vendor/local/share/doc/libxml2-2.9.1/html/parse4.c +143 -0
  264. data/vendor/local/share/doc/libxml2-2.9.1/html/reader1.c +107 -0
  265. data/vendor/local/share/doc/libxml2-2.9.1/html/reader1.res +14 -0
  266. data/vendor/local/share/doc/libxml2-2.9.1/html/reader2.c +122 -0
  267. data/vendor/local/share/doc/libxml2-2.9.1/html/reader3.c +120 -0
  268. data/vendor/local/share/doc/libxml2-2.9.1/html/reader3.res +13 -0
  269. data/vendor/local/share/doc/libxml2-2.9.1/html/reader4.c +122 -0
  270. data/vendor/local/share/doc/libxml2-2.9.1/html/reader4.res +3 -0
  271. data/vendor/local/share/doc/libxml2-2.9.1/html/redhat.gif +0 -0
  272. data/vendor/local/share/doc/libxml2-2.9.1/html/smallfootonly.gif +0 -0
  273. data/vendor/local/share/doc/libxml2-2.9.1/html/structure.gif +0 -0
  274. data/vendor/local/share/doc/libxml2-2.9.1/html/test1.xml +1 -0
  275. data/vendor/local/share/doc/libxml2-2.9.1/html/test2.xml +13 -0
  276. data/vendor/local/share/doc/libxml2-2.9.1/html/test3.xml +39 -0
  277. data/vendor/local/share/doc/libxml2-2.9.1/html/testWriter.c +1198 -0
  278. data/vendor/local/share/doc/libxml2-2.9.1/html/tree1.c +94 -0
  279. data/vendor/local/share/doc/libxml2-2.9.1/html/tree1.res +4 -0
  280. data/vendor/local/share/doc/libxml2-2.9.1/html/tree2.c +118 -0
  281. data/vendor/local/share/doc/libxml2-2.9.1/html/tree2.res +18 -0
  282. data/vendor/local/share/doc/libxml2-2.9.1/html/tst.xml +7 -0
  283. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/apa.html +8 -0
  284. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/apb.html +14 -0
  285. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/apc.html +82 -0
  286. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/apd.html +76 -0
  287. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ape.html +78 -0
  288. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/apf.html +67 -0
  289. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/apg.html +75 -0
  290. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/aph.html +76 -0
  291. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/api.html +4 -0
  292. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s02.html +14 -0
  293. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s03.html +47 -0
  294. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s04.html +54 -0
  295. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s05.html +55 -0
  296. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s06.html +35 -0
  297. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s07.html +30 -0
  298. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s08.html +38 -0
  299. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ar01s09.html +63 -0
  300. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/blank.png +0 -0
  301. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/1.png +0 -0
  302. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/10.png +0 -0
  303. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/2.png +0 -0
  304. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/3.png +0 -0
  305. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/4.png +0 -0
  306. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/5.png +0 -0
  307. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/6.png +0 -0
  308. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/7.png +0 -0
  309. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/8.png +0 -0
  310. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/callouts/9.png +0 -0
  311. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/caution.png +0 -0
  312. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/draft.png +0 -0
  313. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/home.png +0 -0
  314. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/important.png +0 -0
  315. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/next.png +0 -0
  316. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/note.png +0 -0
  317. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/prev.png +0 -0
  318. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/tip.png +0 -0
  319. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/toc-blank.png +0 -0
  320. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/toc-minus.png +0 -0
  321. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/toc-plus.png +0 -0
  322. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/up.png +0 -0
  323. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/images/warning.png +0 -0
  324. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/includeaddattribute.c +64 -0
  325. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/includeaddkeyword.c +75 -0
  326. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/includeconvert.c +73 -0
  327. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/includegetattribute.c +72 -0
  328. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/includekeyword.c +79 -0
  329. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/includexpath.c +74 -0
  330. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/index.html +14 -0
  331. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/ix01.html +1 -0
  332. data/vendor/local/share/doc/libxml2-2.9.1/html/tutorial/xmltutorial.pdf +1336 -0
  333. data/vendor/local/share/doc/libxml2-2.9.1/html/w3c.png +0 -0
  334. data/vendor/local/share/doc/libxml2-2.9.1/html/writer.xml +2 -0
  335. data/vendor/local/share/doc/libxml2-2.9.1/html/xml.html +5715 -0
  336. data/vendor/local/share/doc/libxml2-2.9.1/html/xpath1.c +250 -0
  337. data/vendor/local/share/doc/libxml2-2.9.1/html/xpath1.res +5 -0
  338. data/vendor/local/share/doc/libxml2-2.9.1/html/xpath2.c +190 -0
  339. data/vendor/local/share/doc/libxml2-2.9.1/html/xpath2.res +30 -0
  340. data/vendor/local/share/fontconfig/conf.avail/10-autohint.conf +14 -0
  341. data/vendor/local/share/fontconfig/conf.avail/10-no-sub-pixel.conf +14 -0
  342. data/vendor/local/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf +81 -0
  343. data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf +14 -0
  344. data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf +14 -0
  345. data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf +14 -0
  346. data/vendor/local/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf +14 -0
  347. data/vendor/local/share/fontconfig/conf.avail/10-unhinted.conf +14 -0
  348. data/vendor/local/share/fontconfig/conf.avail/11-lcdfilter-default.conf +16 -0
  349. data/vendor/local/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf +16 -0
  350. data/vendor/local/share/fontconfig/conf.avail/11-lcdfilter-light.conf +16 -0
  351. data/vendor/local/share/fontconfig/conf.avail/20-unhint-small-vera.conf +48 -0
  352. data/vendor/local/share/fontconfig/conf.avail/25-unhint-nonlatin.conf +128 -0
  353. data/vendor/local/share/fontconfig/conf.avail/30-metric-aliases.conf +291 -0
  354. data/vendor/local/share/fontconfig/conf.avail/30-urw-aliases.conf +40 -0
  355. data/vendor/local/share/fontconfig/conf.avail/40-nonlatin.conf +231 -0
  356. data/vendor/local/share/fontconfig/conf.avail/45-latin.conf +173 -0
  357. data/vendor/local/share/fontconfig/conf.avail/49-sansserif.conf +21 -0
  358. data/vendor/local/share/fontconfig/conf.avail/50-user.conf +15 -0
  359. data/vendor/local/share/fontconfig/conf.avail/51-local.conf +6 -0
  360. data/vendor/local/share/fontconfig/conf.avail/60-latin.conf +70 -0
  361. data/vendor/local/share/fontconfig/conf.avail/65-fonts-persian.conf +419 -0
  362. data/vendor/local/share/fontconfig/conf.avail/65-khmer.conf +16 -0
  363. data/vendor/local/share/fontconfig/conf.avail/65-nonlatin.conf +196 -0
  364. data/vendor/local/share/fontconfig/conf.avail/69-unifont.conf +28 -0
  365. data/vendor/local/share/fontconfig/conf.avail/70-no-bitmaps.conf +12 -0
  366. data/vendor/local/share/fontconfig/conf.avail/70-yes-bitmaps.conf +12 -0
  367. data/vendor/local/share/fontconfig/conf.avail/80-delicious.conf +19 -0
  368. data/vendor/local/share/fontconfig/conf.avail/90-synthetic.conf +64 -0
  369. data/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html +10 -10
  370. data/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +4 -4
  371. data/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +4 -4
  372. data/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +4 -4
  373. data/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +4 -4
  374. data/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +17 -4
  375. data/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +6 -6
  376. data/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +7 -7
  377. data/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +6 -6
  378. data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +54 -38
  379. data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +193 -61
  380. data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +95 -89
  381. data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +45 -66
  382. data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +58 -63
  383. data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +249 -232
  384. data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +118 -113
  385. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html +20 -24
  386. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +51 -45
  387. data/vendor/local/share/gtk-doc/html/cairo/cairo-Raster-Sources.html +600 -0
  388. data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +73 -35
  389. data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +102 -126
  390. data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +42 -58
  391. data/vendor/local/share/gtk-doc/html/cairo/cairo-Script-Surfaces.html +360 -0
  392. data/vendor/local/share/gtk-doc/html/cairo/cairo-Transformations.html +57 -73
  393. data/vendor/local/share/gtk-doc/html/cairo/cairo-Types.html +37 -30
  394. data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +91 -129
  395. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +53 -61
  396. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +47 -57
  397. data/vendor/local/share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html +535 -0
  398. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +148 -83
  399. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +170 -0
  400. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +127 -96
  401. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +55 -59
  402. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +96 -87
  403. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +64 -79
  404. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +1069 -229
  405. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +274 -220
  406. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +395 -216
  407. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +409 -409
  408. data/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +7 -4
  409. data/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +6 -6
  410. data/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +7 -9
  411. data/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +13 -4
  412. data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +128 -165
  413. data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +326 -249
  414. data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +29 -8
  415. data/vendor/local/share/gtk-doc/html/cairo/index-1.12.html +193 -0
  416. data/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +19 -4
  417. data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +4 -15
  418. data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +32 -7
  419. data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +15 -4
  420. data/vendor/local/share/gtk-doc/html/cairo/index-all.html +140 -27
  421. data/vendor/local/share/gtk-doc/html/cairo/index.html +18 -8
  422. data/vendor/local/share/gtk-doc/html/cairo/index.sgml +104 -13
  423. data/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +7 -7
  424. data/vendor/local/share/gtk-doc/html/cairo/style.css +2 -1
  425. data/vendor/local/share/gtk-doc/html/libxml2/general.html +38 -0
  426. data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
  427. data/vendor/local/share/gtk-doc/html/libxml2/index.html +67 -0
  428. data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
  429. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +138 -0
  430. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +373 -0
  431. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +172 -0
  432. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +243 -0
  433. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +247 -0
  434. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +91 -0
  435. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +278 -0
  436. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +241 -0
  437. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +225 -0
  438. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +134 -0
  439. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +218 -0
  440. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +166 -0
  441. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +383 -0
  442. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +214 -0
  443. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +226 -0
  444. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +187 -0
  445. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +142 -0
  446. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +766 -0
  447. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +688 -0
  448. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +166 -0
  449. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +278 -0
  450. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +860 -0
  451. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +166 -0
  452. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +161 -0
  453. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +1597 -0
  454. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +154 -0
  455. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +528 -0
  456. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +169 -0
  457. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +160 -0
  458. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +347 -0
  459. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +176 -0
  460. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +953 -0
  461. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +87 -0
  462. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +186 -0
  463. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +97 -0
  464. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +565 -0
  465. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +280 -0
  466. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +133 -0
  467. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +314 -0
  468. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +237 -0
  469. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +217 -0
  470. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +887 -0
  471. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +292 -0
  472. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +479 -0
  473. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +542 -0
  474. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +787 -0
  475. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +171 -0
  476. data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +3573 -0
  477. data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
  478. data/vendor/local/share/gtk-doc/html/libxml2/style.css +66 -0
  479. data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
  480. data/vendor/local/share/license/cairo/AUTHORS +111 -0
  481. data/vendor/local/share/{doc/cairo_1.10.2-2_win32 → license/cairo}/COPYING +0 -0
  482. data/vendor/local/share/{doc/cairo_1.10.2-2_win32 → license/cairo}/COPYING-LGPL-2.1 +0 -0
  483. data/vendor/local/share/{doc/cairo_1.10.2-2_win32 → license/cairo}/COPYING-MPL-1.1 +0 -0
  484. data/vendor/local/share/license/cairo/README +194 -0
  485. data/vendor/local/share/license/cairo/README.win32 +66 -0
  486. data/vendor/local/share/license/fontconfig/AUTHORS +3 -0
  487. data/vendor/local/share/license/fontconfig/COPYING +28 -0
  488. data/vendor/local/share/license/fontconfig/README +1350 -0
  489. data/vendor/local/share/license/freetype/README +83 -0
  490. data/vendor/local/share/license/freetype/README.git +46 -0
  491. data/vendor/local/share/license/libpng/README +202 -0
  492. data/vendor/local/share/license/libxml2/AUTHORS +5 -0
  493. data/vendor/local/share/license/libxml2/COPYING +23 -0
  494. data/vendor/local/share/license/libxml2/README +39 -0
  495. data/vendor/local/share/license/libxml2/README.tests +39 -0
  496. data/vendor/local/share/license/pixman/AUTHORS +0 -0
  497. data/vendor/local/share/license/pixman/COPYING +42 -0
  498. data/vendor/local/share/license/pixman/README +116 -0
  499. data/vendor/local/share/license/zlib/README +115 -0
  500. data/vendor/local/share/man/man1/xml2-config.1 +30 -0
  501. data/vendor/local/share/man/man1/xmlcatalog.1 +340 -0
  502. data/vendor/local/share/man/man1/xmllint.1 +650 -0
  503. data/vendor/local/share/man/man3/libpng.3 +2332 -863
  504. data/vendor/local/share/man/man3/libpngpf.3 +6 -790
  505. data/vendor/local/share/man/man3/libxml.3 +71 -0
  506. data/vendor/local/share/man/man5/png.5 +1 -1
  507. data/vendor/local/share/xml/fontconfig/fonts.dtd +233 -0
  508. metadata +447 -490
  509. data/vendor/local/bin/freetype6.dll +0 -0
  510. data/vendor/local/bin/libexpat-1.dll +0 -0
  511. data/vendor/local/bin/libpng14-14.dll +0 -0
  512. data/vendor/local/bin/xmlwf.exe +0 -0
  513. data/vendor/local/etc/fonts/fonts.dtd +0 -224
  514. data/vendor/local/include/expat.h +0 -1047
  515. data/vendor/local/include/expat_external.h +0 -115
  516. data/vendor/local/include/libpng14/png.h +0 -2737
  517. data/vendor/local/include/libpng14/pngconf.h +0 -1552
  518. data/vendor/local/lib/cairo.def +0 -322
  519. data/vendor/local/lib/cairo.lib +0 -0
  520. data/vendor/local/lib/expat.lib +0 -0
  521. data/vendor/local/lib/fontconfig.lib +0 -0
  522. data/vendor/local/lib/freetype.def +0 -189
  523. data/vendor/local/lib/freetype.lib +0 -0
  524. data/vendor/local/lib/libexpat.def +0 -73
  525. data/vendor/local/lib/libexpat.dll.a +0 -0
  526. data/vendor/local/lib/libpng.def +0 -192
  527. data/vendor/local/lib/libpng.lib +0 -0
  528. data/vendor/local/lib/libpng14.dll.a +0 -0
  529. data/vendor/local/lib/pkgconfig/libpng14.pc +0 -11
  530. data/vendor/local/lib/zdll.lib +0 -0
  531. data/vendor/local/lib/zlib.def +0 -67
  532. data/vendor/local/manifest/cairo-dev_1.10.2-2_win32.mft +0 -86
  533. data/vendor/local/manifest/cairo_1.10.2-2_win32.mft +0 -7
  534. data/vendor/local/manifest/expat-dev_2.1.0-1_win32.mft +0 -10
  535. data/vendor/local/manifest/expat_2.1.0-1_win32.mft +0 -2
  536. data/vendor/local/manifest/fontconfig-dev_2.8.0-2_win32.mft +0 -387
  537. data/vendor/local/manifest/fontconfig_2.8.0-2_win32.mft +0 -3
  538. data/vendor/local/manifest/freetype-dev_2.4.10-1_win32.mft +0 -57
  539. data/vendor/local/manifest/freetype_2.4.10-1_win32.mft +0 -2
  540. data/vendor/local/manifest/libpng-dev_1.4.12-1_win32.mft +0 -15
  541. data/vendor/local/manifest/libpng_1.4.12-1_win32.mft +0 -2
  542. data/vendor/local/manifest/zlib-dev_1.2.5-2_win32.mft +0 -8
  543. data/vendor/local/manifest/zlib_1.2.5-2_win32.mft +0 -2
  544. data/vendor/local/share/doc/fontconfig/fontconfig-devel.pdf +4 -42484
  545. data/vendor/local/share/doc/fontconfig/fontconfig-devel.txt +0 -5046
  546. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomiccreate.html +0 -224
  547. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicdeletenew.html +0 -216
  548. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicdestroy.html +0 -210
  549. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomiclock.html +0 -223
  550. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicnewfile.html +0 -222
  551. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicorigfile.html +0 -221
  552. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicreplaceorig.html +0 -223
  553. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcatomicunlock.html +0 -216
  554. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblanksadd.html +0 -222
  555. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblankscreate.html +0 -216
  556. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblanksdestroy.html +0 -216
  557. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcblanksismember.html +0 -211
  558. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachecopyset.html +0 -228
  559. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachedir.html +0 -221
  560. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachenumfont.html +0 -211
  561. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachenumsubdir.html +0 -221
  562. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccachesubdir.html +0 -244
  563. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetaddchar.html +0 -226
  564. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcopy.html +0 -227
  565. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcount.html +0 -221
  566. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcoverage.html +0 -249
  567. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetcreate.html +0 -220
  568. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetdestroy.html +0 -226
  569. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetequal.html +0 -232
  570. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetfirstpage.html +0 -238
  571. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsethaschar.html +0 -231
  572. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetintersect.html +0 -232
  573. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetintersectcount.html +0 -231
  574. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetissubset.html +0 -231
  575. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetmerge.html +0 -261
  576. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetnew.html +0 -208
  577. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetnextpage.html +0 -243
  578. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetsubtract.html +0 -231
  579. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetsubtractcount.html +0 -231
  580. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fccharsetunion.html +0 -231
  581. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigappfontadddir.html +0 -229
  582. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigappfontaddfile.html +0 -228
  583. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigappfontclear.html +0 -222
  584. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigbuildfonts.html +0 -224
  585. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigcreate.html +0 -216
  586. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigdestroy.html +0 -219
  587. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigenablehome.html +0 -230
  588. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigfilename.html +0 -237
  589. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetblanks.html +0 -225
  590. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetcache.html +0 -217
  591. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetcachedirs.html +0 -227
  592. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetconfigdirs.html +0 -228
  593. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetconfigfiles.html +0 -227
  594. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetcurrent.html +0 -216
  595. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetfontdirs.html +0 -229
  596. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetfonts.html +0 -234
  597. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiggetrescaninterval.html +0 -230
  598. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfighome.html +0 -221
  599. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigparseandload.html +0 -220
  600. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigreference.html +0 -231
  601. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsetcurrent.html +0 -222
  602. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsetrescaninterval.html +0 -229
  603. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsubstitute.html +0 -233
  604. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfigsubstitutewithpat.html +0 -251
  605. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcconfiguptodate.html +0 -228
  606. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdefaultsubstitute.html +0 -234
  607. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheload.html +0 -239
  608. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheloadfile.html +0 -233
  609. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheread.html +0 -239
  610. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheunlink.html +0 -239
  611. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircacheunload.html +0 -211
  612. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdircachevalid.html +0 -222
  613. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdirsave.html +0 -245
  614. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcdirscan.html +0 -266
  615. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfileisdir.html +0 -222
  616. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfilescan.html +0 -276
  617. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfini.html +0 -219
  618. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontlist.html +0 -244
  619. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontmatch.html +0 -262
  620. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontrenderprepare.html +0 -259
  621. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetadd.html +0 -223
  622. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetcreate.html +0 -216
  623. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetdestroy.html +0 -217
  624. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetlist.html +0 -261
  625. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetmatch.html +0 -273
  626. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetprint.html +0 -224
  627. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetsort.html +0 -303
  628. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsetsortdestroy.html +0 -222
  629. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfontsort.html +0 -289
  630. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypecharindex.html +0 -226
  631. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypecharset.html +0 -225
  632. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypecharsetandspacing.html +0 -241
  633. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypequery.html +0 -233
  634. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcfreetypequeryface.html +0 -222
  635. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcgetlangs.html +0 -216
  636. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcgetversion.html +0 -216
  637. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinit.html +0 -219
  638. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitbringuptodate.html +0 -208
  639. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitloadconfig.html +0 -217
  640. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitloadconfigandfonts.html +0 -217
  641. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcinitreinitialize.html +0 -219
  642. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcislower.html +0 -222
  643. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcisupper.html +0 -222
  644. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclanggetcharset.html +0 -205
  645. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetadd.html +0 -239
  646. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcompare.html +0 -239
  647. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcontains.html +0 -259
  648. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcopy.html +0 -225
  649. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetcreate.html +0 -219
  650. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetdestroy.html +0 -220
  651. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetequal.html +0 -232
  652. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsetgetlangs.html +0 -221
  653. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsethash.html +0 -233
  654. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fclangsethaslang.html +0 -255
  655. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixcopy.html +0 -225
  656. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixequal.html +0 -236
  657. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixinit.html +0 -225
  658. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixmultiply.html +0 -246
  659. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixrotate.html +0 -261
  660. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixscale.html +0 -261
  661. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcmatrixshear.html +0 -250
  662. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameconstant.html +0 -221
  663. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnamegetconstant.html +0 -221
  664. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnamegetobjecttype.html +0 -210
  665. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameparse.html +0 -221
  666. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameregisterconstants.html +0 -228
  667. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameregisterobjecttypes.html +0 -228
  668. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameunparse.html +0 -218
  669. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameunregisterconstants.html +0 -228
  670. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcnameunregisterobjecttypes.html +0 -226
  671. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetadd.html +0 -222
  672. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetbuild.html +0 -262
  673. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetcreate.html +0 -216
  674. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcobjectsetdestroy.html +0 -216
  675. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternadd-type.html +0 -404
  676. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternadd.html +0 -240
  677. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternaddweak.html +0 -242
  678. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternbuild.html +0 -313
  679. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatterncreate.html +0 -216
  680. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatterndel.html +0 -222
  681. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatterndestroy.html +0 -217
  682. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternduplicate.html +0 -223
  683. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternequal.html +0 -231
  684. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternequalsubset.html +0 -242
  685. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternfilter.html +0 -244
  686. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternformat.html +0 -602
  687. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternget-type.html +0 -435
  688. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternget.html +0 -249
  689. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternhash.html +0 -217
  690. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternprint.html +0 -218
  691. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternreference.html +0 -222
  692. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcpatternremove.html +0 -227
  693. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrbasename.html +0 -212
  694. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcmp.html +0 -232
  695. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcmpignorecase.html +0 -233
  696. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcopy.html +0 -226
  697. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrcopyfilename.html +0 -234
  698. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrdirname.html +0 -223
  699. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrdowncase.html +0 -222
  700. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrfree.html +0 -217
  701. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrlistcreate.html +0 -221
  702. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrlistdone.html +0 -210
  703. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrlistnext.html +0 -221
  704. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrplus.html +0 -233
  705. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetadd.html +0 -231
  706. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetaddfilename.html +0 -233
  707. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetcreate.html +0 -216
  708. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetdel.html +0 -237
  709. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetdestroy.html +0 -221
  710. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetequal.html +0 -233
  711. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrsetmember.html +0 -232
  712. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrstr.html +0 -244
  713. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcstrstrignorecase.html +0 -244
  714. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fctolower.html +0 -222
  715. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcucs4toutf8.html +0 -233
  716. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf16len.html +0 -278
  717. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf16toucs4.html +0 -265
  718. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf8len.html +0 -261
  719. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcutf8toucs4.html +0 -249
  720. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvaluedestroy.html +0 -222
  721. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvalueequal.html +0 -212
  722. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvalueprint.html +0 -223
  723. data/vendor/local/share/doc/fontconfig/fontconfig-devel/fcvaluesave.html +0 -227
  724. data/vendor/local/share/doc/fontconfig/fontconfig-devel/ln12.html +0 -128
  725. data/vendor/local/share/doc/fontconfig/fontconfig-devel/t1.html +0 -133
  726. data/vendor/local/share/doc/fontconfig/fontconfig-devel/x102.html +0 -1463
  727. data/vendor/local/share/doc/fontconfig/fontconfig-devel/x19.html +0 -264
  728. data/vendor/local/share/doc/fontconfig/fontconfig-devel/x31.html +0 -590
  729. data/vendor/local/share/doc/fontconfig/fontconfig-user.html +0 -1352
  730. data/vendor/local/share/doc/fontconfig/fontconfig-user.pdf +0 -0
  731. data/vendor/local/share/doc/fontconfig/fontconfig-user.txt +0 -644
  732. data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +0 -340
  733. data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp +0 -477
  734. data/vendor/local/share/man/man1/fc-cache.1 +0 -70
  735. data/vendor/local/share/man/man1/fc-cat.1 +0 -44
  736. data/vendor/local/share/man/man1/fc-list.1 +0 -72
  737. data/vendor/local/share/man/man1/fc-match.1 +0 -73
  738. data/vendor/local/share/man/man1/fc-query.1 +0 -57
  739. data/vendor/local/share/man/man1/fc-scan.1 +0 -52
  740. data/vendor/local/share/man/man1/xmlwf.1 +0 -251
  741. data/vendor/local/share/man/man3/FcAtomicCreate.3 +0 -19
  742. data/vendor/local/share/man/man3/FcAtomicDeleteNew.3 +0 -16
  743. data/vendor/local/share/man/man3/FcAtomicDestroy.3 +0 -16
  744. data/vendor/local/share/man/man3/FcAtomicLock.3 +0 -18
  745. data/vendor/local/share/man/man3/FcAtomicNewFile.3 +0 -17
  746. data/vendor/local/share/man/man3/FcAtomicOrigFile.3 +0 -16
  747. data/vendor/local/share/man/man3/FcAtomicReplaceOrig.3 +0 -18
  748. data/vendor/local/share/man/man3/FcAtomicUnlock.3 +0 -16
  749. data/vendor/local/share/man/man3/FcBlanksAdd.3 +0 -18
  750. data/vendor/local/share/man/man3/FcBlanksCreate.3 +0 -16
  751. data/vendor/local/share/man/man3/FcBlanksDestroy.3 +0 -16
  752. data/vendor/local/share/man/man3/FcBlanksIsMember.3 +0 -18
  753. data/vendor/local/share/man/man3/FcCacheCopySet.3 +0 -18
  754. data/vendor/local/share/man/man3/FcCacheDir.3 +0 -16
  755. data/vendor/local/share/man/man3/FcCacheNumFont.3 +0 -17
  756. data/vendor/local/share/man/man3/FcCacheNumSubdir.3 +0 -16
  757. data/vendor/local/share/man/man3/FcCacheSubdir.3 +0 -20
  758. data/vendor/local/share/man/man3/FcCharSetAddChar.3 +0 -19
  759. data/vendor/local/share/man/man3/FcCharSetCopy.3 +0 -17
  760. data/vendor/local/share/man/man3/FcCharSetCount.3 +0 -16
  761. data/vendor/local/share/man/man3/FcCharSetCoverage.3 +0 -23
  762. data/vendor/local/share/man/man3/FcCharSetCreate.3 +0 -17
  763. data/vendor/local/share/man/man3/FcCharSetDestroy.3 +0 -18
  764. data/vendor/local/share/man/man3/FcCharSetEqual.3 +0 -18
  765. data/vendor/local/share/man/man3/FcCharSetFirstPage.3 +0 -20
  766. data/vendor/local/share/man/man3/FcCharSetHasChar.3 +0 -17
  767. data/vendor/local/share/man/man3/FcCharSetIntersect.3 +0 -18
  768. data/vendor/local/share/man/man3/FcCharSetIntersectCount.3 +0 -17
  769. data/vendor/local/share/man/man3/FcCharSetIsSubset.3 +0 -17
  770. data/vendor/local/share/man/man3/FcCharSetMerge.3 +0 -23
  771. data/vendor/local/share/man/man3/FcCharSetNew.3 +0 -16
  772. data/vendor/local/share/man/man3/FcCharSetNextPage.3 +0 -20
  773. data/vendor/local/share/man/man3/FcCharSetSubtract.3 +0 -17
  774. data/vendor/local/share/man/man3/FcCharSetSubtractCount.3 +0 -17
  775. data/vendor/local/share/man/man3/FcCharSetUnion.3 +0 -17
  776. data/vendor/local/share/man/man3/FcConfigAppFontAddDir.3 +0 -20
  777. data/vendor/local/share/man/man3/FcConfigAppFontAddFile.3 +0 -19
  778. data/vendor/local/share/man/man3/FcConfigAppFontClear.3 +0 -17
  779. data/vendor/local/share/man/man3/FcConfigBuildFonts.3 +0 -19
  780. data/vendor/local/share/man/man3/FcConfigCreate.3 +0 -16
  781. data/vendor/local/share/man/man3/FcConfigDestroy.3 +0 -19
  782. data/vendor/local/share/man/man3/FcConfigEnableHome.3 +0 -20
  783. data/vendor/local/share/man/man3/FcConfigFilename.3 +0 -26
  784. data/vendor/local/share/man/man3/FcConfigGetBlanks.3 +0 -20
  785. data/vendor/local/share/man/man3/FcConfigGetCache.3 +0 -17
  786. data/vendor/local/share/man/man3/FcConfigGetCacheDirs.3 +0 -19
  787. data/vendor/local/share/man/man3/FcConfigGetConfigDirs.3 +0 -18
  788. data/vendor/local/share/man/man3/FcConfigGetConfigFiles.3 +0 -17
  789. data/vendor/local/share/man/man3/FcConfigGetCurrent.3 +0 -16
  790. data/vendor/local/share/man/man3/FcConfigGetFontDirs.3 +0 -19
  791. data/vendor/local/share/man/man3/FcConfigGetFonts.3 +0 -20
  792. data/vendor/local/share/man/man3/FcConfigGetRescanInterval.3 +0 -20
  793. data/vendor/local/share/man/man3/FcConfigHome.3 +0 -18
  794. data/vendor/local/share/man/man3/FcConfigParseAndLoad.3 +0 -23
  795. data/vendor/local/share/man/man3/FcConfigReference.3 +0 -21
  796. data/vendor/local/share/man/man3/FcConfigSetCurrent.3 +0 -17
  797. data/vendor/local/share/man/man3/FcConfigSetRescanInterval.3 +0 -20
  798. data/vendor/local/share/man/man3/FcConfigSubstitute.3 +0 -20
  799. data/vendor/local/share/man/man3/FcConfigSubstituteWithPat.3 +0 -24
  800. data/vendor/local/share/man/man3/FcConfigUptoDate.3 +0 -18
  801. data/vendor/local/share/man/man3/FcDefaultSubstitute.3 +0 -27
  802. data/vendor/local/share/man/man3/FcDirCacheLoad.3 +0 -21
  803. data/vendor/local/share/man/man3/FcDirCacheLoadFile.3 +0 -19
  804. data/vendor/local/share/man/man3/FcDirCacheRead.3 +0 -21
  805. data/vendor/local/share/man/man3/FcDirCacheUnlink.3 +0 -20
  806. data/vendor/local/share/man/man3/FcDirCacheUnload.3 +0 -17
  807. data/vendor/local/share/man/man3/FcDirCacheValid.3 +0 -17
  808. data/vendor/local/share/man/man3/FcDirSave.3 +0 -22
  809. data/vendor/local/share/man/man3/FcDirScan.3 +0 -26
  810. data/vendor/local/share/man/man3/FcFileIsDir.3 +0 -17
  811. data/vendor/local/share/man/man3/FcFileScan.3 +0 -31
  812. data/vendor/local/share/man/man3/FcFini.3 +0 -19
  813. data/vendor/local/share/man/man3/FcFontList.3 +0 -21
  814. data/vendor/local/share/man/man3/FcFontMatch.3 +0 -25
  815. data/vendor/local/share/man/man3/FcFontRenderPrepare.3 +0 -21
  816. data/vendor/local/share/man/man3/FcFontSetAdd.3 +0 -19
  817. data/vendor/local/share/man/man3/FcFontSetCreate.3 +0 -16
  818. data/vendor/local/share/man/man3/FcFontSetDestroy.3 +0 -17
  819. data/vendor/local/share/man/man3/FcFontSetList.3 +0 -25
  820. data/vendor/local/share/man/man3/FcFontSetMatch.3 +0 -28
  821. data/vendor/local/share/man/man3/FcFontSetPrint.3 +0 -19
  822. data/vendor/local/share/man/man3/FcFontSetSort.3 +0 -39
  823. data/vendor/local/share/man/man3/FcFontSetSortDestroy.3 +0 -19
  824. data/vendor/local/share/man/man3/FcFontSort.3 +0 -33
  825. data/vendor/local/share/man/man3/FcFreeTypeCharIndex.3 +0 -22
  826. data/vendor/local/share/man/man3/FcFreeTypeCharSet.3 +0 -21
  827. data/vendor/local/share/man/man3/FcFreeTypeCharSetAndSpacing.3 +0 -28
  828. data/vendor/local/share/man/man3/FcFreeTypeQuery.3 +0 -21
  829. data/vendor/local/share/man/man3/FcFreeTypeQueryFace.3 +0 -21
  830. data/vendor/local/share/man/man3/FcGetLangs.3 +0 -16
  831. data/vendor/local/share/man/man3/FcGetVersion.3 +0 -16
  832. data/vendor/local/share/man/man3/FcInit.3 +0 -19
  833. data/vendor/local/share/man/man3/FcInitBringUptoDate.3 +0 -19
  834. data/vendor/local/share/man/man3/FcInitLoadConfig.3 +0 -17
  835. data/vendor/local/share/man/man3/FcInitLoadConfigAndFonts.3 +0 -17
  836. data/vendor/local/share/man/man3/FcInitReinitialize.3 +0 -19
  837. data/vendor/local/share/man/man3/FcIsLower.3 +0 -17
  838. data/vendor/local/share/man/man3/FcIsUpper.3 +0 -17
  839. data/vendor/local/share/man/man3/FcLangGetCharSet.3 +0 -16
  840. data/vendor/local/share/man/man3/FcLangSetAdd.3 +0 -20
  841. data/vendor/local/share/man/man3/FcLangSetCompare.3 +0 -22
  842. data/vendor/local/share/man/man3/FcLangSetContains.3 +0 -22
  843. data/vendor/local/share/man/man3/FcLangSetCopy.3 +0 -17
  844. data/vendor/local/share/man/man3/FcLangSetCreate.3 +0 -16
  845. data/vendor/local/share/man/man3/FcLangSetDestroy.3 +0 -17
  846. data/vendor/local/share/man/man3/FcLangSetEqual.3 +0 -18
  847. data/vendor/local/share/man/man3/FcLangSetGetLangs.3 +0 -16
  848. data/vendor/local/share/man/man3/FcLangSetHasLang.3 +0 -23
  849. data/vendor/local/share/man/man3/FcLangSetHash.3 +0 -20
  850. data/vendor/local/share/man/man3/FcMatrixCopy.3 +0 -17
  851. data/vendor/local/share/man/man3/FcMatrixEqual.3 +0 -19
  852. data/vendor/local/share/man/man3/FcMatrixInit.3 +0 -17
  853. data/vendor/local/share/man/man3/FcMatrixMultiply.3 +0 -20
  854. data/vendor/local/share/man/man3/FcMatrixRotate.3 +0 -27
  855. data/vendor/local/share/man/man3/FcMatrixScale.3 +0 -27
  856. data/vendor/local/share/man/man3/FcMatrixShear.3 +0 -27
  857. data/vendor/local/share/man/man3/FcNameConstant.3 +0 -18
  858. data/vendor/local/share/man/man3/FcNameGetConstant.3 +0 -16
  859. data/vendor/local/share/man/man3/FcNameGetObjectType.3 +0 -16
  860. data/vendor/local/share/man/man3/FcNameParse.3 +0 -16
  861. data/vendor/local/share/man/man3/FcNameRegisterConstants.3 +0 -19
  862. data/vendor/local/share/man/man3/FcNameRegisterObjectTypes.3 +0 -19
  863. data/vendor/local/share/man/man3/FcNameUnparse.3 +0 -18
  864. data/vendor/local/share/man/man3/FcNameUnregisterConstants.3 +0 -19
  865. data/vendor/local/share/man/man3/FcNameUnregisterObjectTypes.3 +0 -17
  866. data/vendor/local/share/man/man3/FcObjectSetAdd.3 +0 -18
  867. data/vendor/local/share/man/man3/FcObjectSetBuild.3 +0 -26
  868. data/vendor/local/share/man/man3/FcObjectSetCreate.3 +0 -16
  869. data/vendor/local/share/man/man3/FcObjectSetDestroy.3 +0 -16
  870. data/vendor/local/share/man/man3/FcPatternAdd-Type.3 +0 -49
  871. data/vendor/local/share/man/man3/FcPatternAdd.3 +0 -23
  872. data/vendor/local/share/man/man3/FcPatternAddWeak.3 +0 -20
  873. data/vendor/local/share/man/man3/FcPatternBuild.3 +0 -50
  874. data/vendor/local/share/man/man3/FcPatternCreate.3 +0 -16
  875. data/vendor/local/share/man/man3/FcPatternDel.3 +0 -18
  876. data/vendor/local/share/man/man3/FcPatternDestroy.3 +0 -17
  877. data/vendor/local/share/man/man3/FcPatternDuplicate.3 +0 -18
  878. data/vendor/local/share/man/man3/FcPatternEqual.3 +0 -17
  879. data/vendor/local/share/man/man3/FcPatternEqualSubset.3 +0 -19
  880. data/vendor/local/share/man/man3/FcPatternFilter.3 +0 -20
  881. data/vendor/local/share/man/man3/FcPatternFormat.3 +0 -205
  882. data/vendor/local/share/man/man3/FcPatternGet-Type.3 +0 -56
  883. data/vendor/local/share/man/man3/FcPatternGet.3 +0 -22
  884. data/vendor/local/share/man/man3/FcPatternHash.3 +0 -17
  885. data/vendor/local/share/man/man3/FcPatternPrint.3 +0 -18
  886. data/vendor/local/share/man/man3/FcPatternReference.3 +0 -17
  887. data/vendor/local/share/man/man3/FcPatternRemove.3 +0 -19
  888. data/vendor/local/share/man/man3/FcStrBasename.3 +0 -18
  889. data/vendor/local/share/man/man3/FcStrCmp.3 +0 -18
  890. data/vendor/local/share/man/man3/FcStrCmpIgnoreCase.3 +0 -19
  891. data/vendor/local/share/man/man3/FcStrCopy.3 +0 -18
  892. data/vendor/local/share/man/man3/FcStrCopyFilename.3 +0 -23
  893. data/vendor/local/share/man/man3/FcStrDirname.3 +0 -18
  894. data/vendor/local/share/man/man3/FcStrDowncase.3 +0 -17
  895. data/vendor/local/share/man/man3/FcStrFree.3 +0 -17
  896. data/vendor/local/share/man/man3/FcStrListCreate.3 +0 -16
  897. data/vendor/local/share/man/man3/FcStrListDone.3 +0 -16
  898. data/vendor/local/share/man/man3/FcStrListNext.3 +0 -16
  899. data/vendor/local/share/man/man3/FcStrPlus.3 +0 -19
  900. data/vendor/local/share/man/man3/FcStrSetAdd.3 +0 -17
  901. data/vendor/local/share/man/man3/FcStrSetAddFilename.3 +0 -19
  902. data/vendor/local/share/man/man3/FcStrSetCreate.3 +0 -16
  903. data/vendor/local/share/man/man3/FcStrSetDel.3 +0 -18
  904. data/vendor/local/share/man/man3/FcStrSetDestroy.3 +0 -16
  905. data/vendor/local/share/man/man3/FcStrSetEqual.3 +0 -19
  906. data/vendor/local/share/man/man3/FcStrSetMember.3 +0 -18
  907. data/vendor/local/share/man/man3/FcStrStr.3 +0 -20
  908. data/vendor/local/share/man/man3/FcStrStrIgnoreCase.3 +0 -20
  909. data/vendor/local/share/man/man3/FcToLower.3 +0 -17
  910. data/vendor/local/share/man/man3/FcUcs4ToUtf8.3 +0 -19
  911. data/vendor/local/share/man/man3/FcUtf16Len.3 +0 -27
  912. data/vendor/local/share/man/man3/FcUtf16ToUcs4.3 +0 -23
  913. data/vendor/local/share/man/man3/FcUtf8Len.3 +0 -24
  914. data/vendor/local/share/man/man3/FcUtf8ToUcs4.3 +0 -21
  915. data/vendor/local/share/man/man3/FcValueDestroy.3 +0 -17
  916. data/vendor/local/share/man/man3/FcValueEqual.3 +0 -19
  917. data/vendor/local/share/man/man3/FcValuePrint.3 +0 -18
  918. data/vendor/local/share/man/man3/FcValueSave.3 +0 -17
  919. data/vendor/local/share/man/man5/fonts-conf.5 +0 -644
  920. data/vendor/local/src/dieterv/packaging/cairo_1.10.2-2_win32.log +0 -1315
  921. data/vendor/local/src/dieterv/packaging/cairo_1.10.2-2_win32.sh +0 -251
  922. data/vendor/local/src/dieterv/packaging/expat_2.1.0-1_win32.log +0 -181
  923. data/vendor/local/src/dieterv/packaging/expat_2.1.0-1_win32.sh +0 -76
  924. data/vendor/local/src/dieterv/packaging/freetype_2.4.10-1_win32.log +0 -363
  925. data/vendor/local/src/dieterv/packaging/freetype_2.4.10-1_win32.sh +0 -92
  926. data/vendor/local/src/dieterv/packaging/libpng_1.4.12-1_win32.log +0 -283
  927. data/vendor/local/src/dieterv/packaging/libpng_1.4.12-1_win32.sh +0 -71
  928. data/vendor/local/src/tml/packaging/fontconfig_2.8.0-2_win32.log +0 -999
  929. data/vendor/local/src/tml/packaging/fontconfig_2.8.0-2_win32.sh +0 -79
  930. data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.log +0 -42
  931. data/vendor/local/src/tml/packaging/zlib_1.2.5-2_win32.sh +0 -189
@@ -1,9 +1,9 @@
1
1
 
2
2
  /* pngconf.h - machine configurable file for libpng
3
3
  *
4
- * libpng version 1.4.12 - July 10, 2012
5
- * For conditions of distribution and use, see copyright notice in png.h
6
- * Copyright (c) 1998-2011 Glenn Randers-Pehrson
4
+ * libpng version 1.6.2 - April 25, 2013
5
+ *
6
+ * Copyright (c) 1998-2013 Glenn Randers-Pehrson
7
7
  * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
8
8
  * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
9
9
  *
@@ -22,1347 +22,324 @@
22
22
  #ifndef PNGCONF_H
23
23
  #define PNGCONF_H
24
24
 
25
- #ifndef PNG_NO_LIMITS_H
26
- # include <limits.h>
27
- #endif
28
-
29
- /* Added at libpng-1.2.9 */
30
-
31
- /* config.h is created by and PNG_CONFIGURE_LIBPNG is set by the "configure"
32
- * script.
33
- */
34
- #ifdef PNG_CONFIGURE_LIBPNG
35
- # ifdef HAVE_CONFIG_H
36
- # include "config.h"
25
+ /* To do: Do all of this in scripts/pnglibconf.dfa */
26
+ #ifdef PNG_SAFE_LIMITS_SUPPORTED
27
+ # ifdef PNG_USER_WIDTH_MAX
28
+ # undef PNG_USER_WIDTH_MAX
29
+ # define PNG_USER_WIDTH_MAX 1000000L
37
30
  # endif
38
- #endif
39
-
40
- /*
41
- * Added at libpng-1.2.8
42
- *
43
- * PNG_USER_CONFIG has to be defined on the compiler command line. This
44
- * includes the resource compiler for Windows DLL configurations.
45
- */
46
- #ifdef PNG_USER_CONFIG
47
- # include "pngusr.h"
48
- # ifndef PNG_USER_PRIVATEBUILD
49
- # define PNG_USER_PRIVATEBUILD
31
+ # ifdef PNG_USER_HEIGHT_MAX
32
+ # undef PNG_USER_HEIGHT_MAX
33
+ # define PNG_USER_HEIGHT_MAX 1000000L
50
34
  # endif
51
- #endif
52
-
53
- /*
54
- * If you create a private DLL you should define in "pngusr.h" the following:
55
- * #define PNG_USER_PRIVATEBUILD <Describes by whom and why this version of
56
- * the DLL was built>
57
- * e.g. #define PNG_USER_PRIVATEBUILD "Build by MyCompany for xyz reasons."
58
- * #define PNG_USER_DLLFNAME_POSTFIX <two-letter postfix that serve to
59
- * distinguish your DLL from those of the official release. These
60
- * correspond to the trailing letters that come after the version
61
- * number and must match your private DLL name>
62
- * e.g. // private DLL "libpng14gx.dll"
63
- * #define PNG_USER_DLLFNAME_POSTFIX "gx"
64
- *
65
- * The following macros are also at your disposal if you want to complete the
66
- * DLL VERSIONINFO structure.
67
- * - PNG_USER_VERSIONINFO_COMMENTS
68
- * - PNG_USER_VERSIONINFO_COMPANYNAME
69
- * - PNG_USER_VERSIONINFO_LEGALTRADEMARKS
70
- */
71
-
72
- #ifdef __STDC__
73
- # ifdef SPECIALBUILD
74
- # pragma message("PNG_LIBPNG_SPECIALBUILD (and deprecated SPECIALBUILD)\
75
- are now LIBPNG reserved macros. Use PNG_USER_PRIVATEBUILD instead.")
35
+ # ifdef PNG_USER_CHUNK_MALLOC_MAX
36
+ # undef PNG_USER_CHUNK_MALLOC_MAX
37
+ # define PNG_USER_CHUNK_MALLOC_MAX 4000000L
76
38
  # endif
77
-
78
- # ifdef PRIVATEBUILD
79
- # pragma message("PRIVATEBUILD is deprecated.\
80
- Use PNG_USER_PRIVATEBUILD instead.")
81
- # define PNG_USER_PRIVATEBUILD PRIVATEBUILD
39
+ # ifdef PNG_USER_CHUNK_CACHE_MAX
40
+ # undef PNG_USER_CHUNK_CACHE_MAX
41
+ # define PNG_USER_CHUNK_CACHE_MAX 128
82
42
  # endif
83
- #endif /* __STDC__ */
84
-
85
- /* End of material added to libpng-1.2.8 */
86
-
87
- /* Added at libpng-1.4.6 */
88
- #ifndef PNG_UNUSED
89
- /* Unused formal parameter warnings are silenced using the following macro
90
- * which is expected to have no bad effects on performance (optimizing
91
- * compilers will probably remove it entirely). Note that if you replace
92
- * it with something other than whitespace, you must include the terminating
93
- * semicolon.
94
- */
95
- # define PNG_UNUSED(param) (void)param;
96
43
  #endif
97
- /* End of material added to libpng-1.4.6 */
98
44
 
99
- #ifndef PNG_VERSION_INFO_ONLY
45
+ #ifndef PNG_BUILDING_SYMBOL_TABLE /* else includes may cause problems */
100
46
 
101
- /* This is the size of the compression buffer, and thus the size of
102
- * an IDAT chunk. Make this whatever size you feel is best for your
103
- * machine. One of these will be allocated per png_struct. When this
104
- * is full, it writes the data to the disk, and does some other
105
- * calculations. Making this an extremely small size will slow
106
- * the library down, but you may want to experiment to determine
107
- * where it becomes significant, if you are concerned with memory
108
- * usage. Note that zlib allocates at least 32Kb also. For readers,
109
- * this describes the size of the buffer available to read the data in.
110
- * Unless this gets smaller than the size of a row (compressed),
111
- * it should not make much difference how big this is.
47
+ /* From libpng 1.6.0 libpng requires an ANSI X3.159-1989 ("ISOC90") compliant C
48
+ * compiler for correct compilation. The following header files are required by
49
+ * the standard. If your compiler doesn't provide these header files, or they
50
+ * do not match the standard, you will need to provide/improve them.
112
51
  */
52
+ #include <limits.h>
53
+ #include <stddef.h>
113
54
 
114
- #ifndef PNG_ZBUF_SIZE
115
- # define PNG_ZBUF_SIZE 8192
116
- #endif
117
-
118
- /* Enable if you want a write-only libpng */
119
-
120
- #ifndef PNG_NO_READ_SUPPORTED
121
- # define PNG_READ_SUPPORTED
122
- #endif
123
-
124
- /* Enable if you want a read-only libpng */
125
-
126
- #ifndef PNG_NO_WRITE_SUPPORTED
127
- # define PNG_WRITE_SUPPORTED
128
- #endif
129
-
130
- /* Enabled in 1.4.0. */
131
- #ifdef PNG_ALLOW_BENIGN_ERRORS
132
- # define png_benign_error png_warning
133
- # define png_chunk_benign_error png_chunk_warning
134
- #else
135
- # ifndef PNG_BENIGN_ERRORS_SUPPORTED
136
- # define png_benign_error png_error
137
- # define png_chunk_benign_error png_chunk_error
138
- # endif
139
- #endif
140
-
141
- /* Added at libpng version 1.4.0 */
142
- #if !defined(PNG_NO_WARNINGS) && !defined(PNG_WARNINGS_SUPPORTED)
143
- # define PNG_WARNINGS_SUPPORTED
144
- #endif
55
+ /* Library header files. These header files are all defined by ISOC90; libpng
56
+ * expects conformant implementations, however, an ISOC90 conformant system need
57
+ * not provide these header files if the functionality cannot be implemented.
58
+ * In this case it will be necessary to disable the relevant parts of libpng in
59
+ * the build of pnglibconf.h.
60
+ *
61
+ * Prior to 1.6.0 string.h was included here; the API changes in 1.6.0 to not
62
+ * include this unnecessary header file.
63
+ */
145
64
 
146
- /* Added at libpng version 1.4.0 */
147
- #if !defined(PNG_NO_ERROR_TEXT) && !defined(PNG_ERROR_TEXT_SUPPORTED)
148
- # define PNG_ERROR_TEXT_SUPPORTED
65
+ #ifdef PNG_STDIO_SUPPORTED
66
+ /* Required for the definition of FILE: */
67
+ # include <stdio.h>
149
68
  #endif
150
69
 
151
- /* Added at libpng version 1.4.0 */
152
- #if !defined(PNG_NO_CHECK_cHRM) && !defined(PNG_CHECK_cHRM_SUPPORTED)
153
- # define PNG_CHECK_cHRM_SUPPORTED
70
+ #ifdef PNG_SETJMP_SUPPORTED
71
+ /* Required for the definition of jmp_buf and the declaration of longjmp: */
72
+ # include <setjmp.h>
154
73
  #endif
155
74
 
156
- /* Added at libpng version 1.4.0 */
157
- #if !defined(PNG_NO_ALIGNED_MEMORY) && !defined(PNG_ALIGNED_MEMORY_SUPPORTED)
158
- # define PNG_ALIGNED_MEMORY_SUPPORTED
75
+ #ifdef PNG_CONVERT_tIME_SUPPORTED
76
+ /* Required for struct tm: */
77
+ # include <time.h>
159
78
  #endif
160
79
 
161
- /* Enabled by default in 1.2.0. You can disable this if you don't need to
162
- support PNGs that are embedded in MNG datastreams */
163
- #ifndef PNG_NO_MNG_FEATURES
164
- # ifndef PNG_MNG_FEATURES_SUPPORTED
165
- # define PNG_MNG_FEATURES_SUPPORTED
166
- # endif
167
- #endif
80
+ #endif /* PNG_BUILDING_SYMBOL_TABLE */
168
81
 
169
- /* Added at libpng version 1.4.0 */
170
- #ifndef PNG_NO_FLOATING_POINT_SUPPORTED
171
- # ifndef PNG_FLOATING_POINT_SUPPORTED
172
- # define PNG_FLOATING_POINT_SUPPORTED
173
- # endif
174
- #endif
175
-
176
- /* Added at libpng-1.4.0beta49 for testing (this test is no longer used
177
- in libpng and png_calloc() is always present)
82
+ /* Prior to 1.6.0 it was possible to turn off 'const' in declarations using
83
+ * PNG_NO_CONST; this is no longer supported except for data declarations which
84
+ * apparently still cause problems in 2011 on some compilers.
178
85
  */
179
- #define PNG_CALLOC_SUPPORTED
86
+ #define PNG_CONST const /* backward compatibility only */
180
87
 
181
- /* If you are running on a machine where you cannot allocate more
182
- * than 64K of memory at once, uncomment this. While libpng will not
183
- * normally need that much memory in a chunk (unless you load up a very
184
- * large file), zlib needs to know how big of a chunk it can use, and
185
- * libpng thus makes sure to check any memory allocation to verify it
186
- * will fit into memory.
187
- #define PNG_MAX_MALLOC_64K
88
+ /* This controls optimization of the reading of 16 and 32 bit values
89
+ * from PNG files. It can be set on a per-app-file basis - it
90
+ * just changes whether a macro is used when the function is called.
91
+ * The library builder sets the default; if read functions are not
92
+ * built into the library the macro implementation is forced on.
188
93
  */
189
- #if defined(MAXSEG_64K) && !defined(PNG_MAX_MALLOC_64K)
190
- # define PNG_MAX_MALLOC_64K
94
+ #ifndef PNG_READ_INT_FUNCTIONS_SUPPORTED
95
+ # define PNG_USE_READ_MACROS
191
96
  #endif
192
-
193
- /* Special munging to support doing things the 'cygwin' way:
194
- * 'Normal' png-on-win32 defines/defaults:
195
- * PNG_BUILD_DLL -- building dll
196
- * PNG_USE_DLL -- building an application, linking to dll
197
- * (no define) -- building static library, or building an
198
- * application and linking to the static lib
199
- * 'Cygwin' defines/defaults:
200
- * PNG_BUILD_DLL -- (ignored) building the dll
201
- * (no define) -- (ignored) building an application, linking to the dll
202
- * PNG_STATIC -- (ignored) building the static lib, or building an
203
- * application that links to the static lib.
204
- * ALL_STATIC -- (ignored) building various static libs, or building an
205
- * application that links to the static libs.
206
- * Thus,
207
- * a cygwin user should define either PNG_BUILD_DLL or PNG_STATIC, and
208
- * this bit of #ifdefs will define the 'correct' config variables based on
209
- * that. If a cygwin user *wants* to define 'PNG_USE_DLL' that's okay, but
210
- * unnecessary.
211
- *
212
- * Also, the precedence order is:
213
- * ALL_STATIC (since we can't #undef something outside our namespace)
214
- * PNG_BUILD_DLL
215
- * PNG_STATIC
216
- * (nothing) == PNG_USE_DLL
217
- *
218
- * CYGWIN (2002-01-20): The preceding is now obsolete. With the advent
219
- * of auto-import in binutils, we no longer need to worry about
220
- * __declspec(dllexport) / __declspec(dllimport) and friends. Therefore,
221
- * we don't need to worry about PNG_STATIC or ALL_STATIC when it comes
222
- * to __declspec() stuff. However, we DO need to worry about
223
- * PNG_BUILD_DLL and PNG_STATIC because those change some defaults
224
- * such as CONSOLE_IO.
225
- */
226
- #ifdef __CYGWIN__
227
- # ifdef ALL_STATIC
228
- # ifdef PNG_BUILD_DLL
229
- # undef PNG_BUILD_DLL
230
- # endif
231
- # ifdef PNG_USE_DLL
232
- # undef PNG_USE_DLL
233
- # endif
234
- # ifdef PNG_DLL
235
- # undef PNG_DLL
236
- # endif
237
- # ifndef PNG_STATIC
238
- # define PNG_STATIC
239
- # endif
240
- # else
241
- # ifdef PNG_BUILD_DLL
242
- # ifdef PNG_STATIC
243
- # undef PNG_STATIC
244
- # endif
245
- # ifdef PNG_USE_DLL
246
- # undef PNG_USE_DLL
247
- # endif
248
- # ifndef PNG_DLL
249
- # define PNG_DLL
250
- # endif
251
- # else
252
- # ifdef PNG_STATIC
253
- # ifdef PNG_USE_DLL
254
- # undef PNG_USE_DLL
255
- # endif
256
- # ifdef PNG_DLL
257
- # undef PNG_DLL
258
- # endif
259
- # else
260
- # ifndef PNG_USE_DLL
261
- # define PNG_USE_DLL
262
- # endif
263
- # ifndef PNG_DLL
264
- # define PNG_DLL
265
- # endif
266
- # endif
267
- # endif
97
+ #if !defined(PNG_NO_USE_READ_MACROS) && !defined(PNG_USE_READ_MACROS)
98
+ # if PNG_DEFAULT_READ_MACROS
99
+ # define PNG_USE_READ_MACROS
268
100
  # endif
269
101
  #endif
270
102
 
271
- /* This protects us against compilers that run on a windowing system
272
- * and thus don't have or would rather us not use the stdio types:
273
- * stdin, stdout, and stderr. The only one currently used is stderr
274
- * in png_error() and png_warning(). #defining PNG_NO_CONSOLE_IO will
275
- * prevent these from being compiled and used. #defining PNG_NO_STDIO
276
- * will also prevent these, plus will prevent the entire set of stdio
277
- * macros and functions (FILE *, printf, etc.) from being compiled and used,
278
- * unless (PNG_DEBUG > 0) has been #defined.
103
+ /* COMPILER SPECIFIC OPTIONS.
279
104
  *
280
- * #define PNG_NO_CONSOLE_IO
281
- * #define PNG_NO_STDIO
105
+ * These options are provided so that a variety of difficult compilers
106
+ * can be used. Some are fixed at build time (e.g. PNG_API_RULE
107
+ * below) but still have compiler specific implementations, others
108
+ * may be changed on a per-file basis when compiling against libpng.
282
109
  */
283
110
 
284
- #ifdef _WIN32_WCE
285
- # define PNG_NO_CONSOLE_IO
286
- # define PNG_NO_STDIO
287
- # define PNG_NO_TIME_RFC1123
288
- # ifdef PNG_DEBUG
289
- # undef PNG_DEBUG
290
- # endif
291
- #endif
292
-
293
- #if !defined(PNG_NO_STDIO) && !defined(PNG_STDIO_SUPPORTED)
294
- # define PNG_STDIO_SUPPORTED
295
- #endif
296
-
297
- #ifdef PNG_BUILD_DLL
298
- # if !defined(PNG_CONSOLE_IO_SUPPORTED) && !defined(PNG_NO_CONSOLE_IO)
299
- # define PNG_NO_CONSOLE_IO
300
- # endif
301
- #endif
302
-
303
- # ifdef PNG_NO_STDIO
304
- # ifndef PNG_NO_CONSOLE_IO
305
- # define PNG_NO_CONSOLE_IO
306
- # endif
307
- # ifdef PNG_DEBUG
308
- # if (PNG_DEBUG > 0)
309
- # include <stdio.h>
310
- # endif
311
- # endif
312
- # else
313
- # include <stdio.h>
314
- # endif
315
-
316
- #if !(defined PNG_NO_CONSOLE_IO) && !defined(PNG_CONSOLE_IO_SUPPORTED)
317
- # define PNG_CONSOLE_IO_SUPPORTED
318
- #endif
319
-
320
- /* This macro protects us against machines that don't have function
321
- * prototypes (ie K&R style headers). If your compiler does not handle
322
- * function prototypes, define this macro and use the included ansi2knr.
323
- * I've always been able to use _NO_PROTO as the indicator, but you may
324
- * need to drag the empty declaration out in front of here, or change the
325
- * ifdef to suit your own needs.
111
+ /* The PNGARG macro was used in versions of libpng prior to 1.6.0 to protect
112
+ * against legacy (pre ISOC90) compilers that did not understand function
113
+ * prototypes. It is not required for modern C compilers.
326
114
  */
327
115
  #ifndef PNGARG
328
-
329
- #ifdef OF /* zlib prototype munger */
330
- # define PNGARG(arglist) OF(arglist)
331
- #else
332
-
333
- #ifdef _NO_PROTO
334
- # define PNGARG(arglist) ()
335
- #else
336
116
  # define PNGARG(arglist) arglist
337
- #endif /* _NO_PROTO */
338
-
339
- #endif /* OF */
340
-
341
- #endif /* PNGARG */
342
-
343
- /* Try to determine if we are compiling on a Mac. Note that testing for
344
- * just __MWERKS__ is not good enough, because the Codewarrior is now used
345
- * on non-Mac platforms.
346
- */
347
- #ifndef MACOS
348
- # if (defined(__MWERKS__) && defined(macintosh)) || defined(applec) || \
349
- defined(THINK_C) || defined(__SC__) || defined(TARGET_OS_MAC)
350
- # define MACOS
351
- # endif
352
- #endif
353
-
354
- /* Enough people need this for various reasons to include it here */
355
- #if !defined(MACOS) && !defined(RISCOS)
356
- # include <sys/types.h>
357
117
  #endif
358
118
 
359
- /* PNG_SETJMP_NOT_SUPPORTED and PNG_NO_SETJMP_SUPPORTED are deprecated. */
360
- #if !defined(PNG_NO_SETJMP) && \
361
- !defined(PNG_SETJMP_NOT_SUPPORTED) && !defined(PNG_NO_SETJMP_SUPPORTED)
362
- # define PNG_SETJMP_SUPPORTED
363
- #endif
364
-
365
- #ifdef PNG_SETJMP_SUPPORTED
366
- /* This is an attempt to force a single setjmp behaviour on Linux. If
367
- * the X config stuff didn't define _BSD_SOURCE we wouldn't need this.
119
+ /* Function calling conventions.
120
+ * =============================
121
+ * Normally it is not necessary to specify to the compiler how to call
122
+ * a function - it just does it - however on x86 systems derived from
123
+ * Microsoft and Borland C compilers ('IBM PC', 'DOS', 'Windows' systems
124
+ * and some others) there are multiple ways to call a function and the
125
+ * default can be changed on the compiler command line. For this reason
126
+ * libpng specifies the calling convention of every exported function and
127
+ * every function called via a user supplied function pointer. This is
128
+ * done in this file by defining the following macros:
368
129
  *
369
- * You can bypass this test if you know that your application uses exactly
370
- * the same setjmp.h that was included when libpng was built. Only define
371
- * PNG_SKIP_SETJMP_CHECK while building your application, prior to the
372
- * application's '#include "png.h"'. Don't define PNG_SKIP_SETJMP_CHECK
373
- * while building a separate libpng library for general use.
374
- */
130
+ * PNGAPI Calling convention for exported functions.
131
+ * PNGCBAPI Calling convention for user provided (callback) functions.
132
+ * PNGCAPI Calling convention used by the ANSI-C library (required
133
+ * for longjmp callbacks and sometimes used internally to
134
+ * specify the calling convention for zlib).
135
+ *
136
+ * These macros should never be overridden. If it is necessary to
137
+ * change calling convention in a private build this can be done
138
+ * by setting PNG_API_RULE (which defaults to 0) to one of the values
139
+ * below to select the correct 'API' variants.
140
+ *
141
+ * PNG_API_RULE=0 Use PNGCAPI - the 'C' calling convention - throughout.
142
+ * This is correct in every known environment.
143
+ * PNG_API_RULE=1 Use the operating system convention for PNGAPI and
144
+ * the 'C' calling convention (from PNGCAPI) for
145
+ * callbacks (PNGCBAPI). This is no longer required
146
+ * in any known environment - if it has to be used
147
+ * please post an explanation of the problem to the
148
+ * libpng mailing list.
149
+ *
150
+ * These cases only differ if the operating system does not use the C
151
+ * calling convention, at present this just means the above cases
152
+ * (x86 DOS/Windows sytems) and, even then, this does not apply to
153
+ * Cygwin running on those systems.
154
+ *
155
+ * Note that the value must be defined in pnglibconf.h so that what
156
+ * the application uses to call the library matches the conventions
157
+ * set when building the library.
158
+ */
159
+
160
+ /* Symbol export
161
+ * =============
162
+ * When building a shared library it is almost always necessary to tell
163
+ * the compiler which symbols to export. The png.h macro 'PNG_EXPORT'
164
+ * is used to mark the symbols. On some systems these symbols can be
165
+ * extracted at link time and need no special processing by the compiler,
166
+ * on other systems the symbols are flagged by the compiler and just
167
+ * the declaration requires a special tag applied (unfortunately) in a
168
+ * compiler dependent way. Some systems can do either.
169
+ *
170
+ * A small number of older systems also require a symbol from a DLL to
171
+ * be flagged to the program that calls it. This is a problem because
172
+ * we do not know in the header file included by application code that
173
+ * the symbol will come from a shared library, as opposed to a statically
174
+ * linked one. For this reason the application must tell us by setting
175
+ * the magic flag PNG_USE_DLL to turn on the special processing before
176
+ * it includes png.h.
177
+ *
178
+ * Four additional macros are used to make this happen:
179
+ *
180
+ * PNG_IMPEXP The magic (if any) to cause a symbol to be exported from
181
+ * the build or imported if PNG_USE_DLL is set - compiler
182
+ * and system specific.
183
+ *
184
+ * PNG_EXPORT_TYPE(type) A macro that pre or appends PNG_IMPEXP to
185
+ * 'type', compiler specific.
186
+ *
187
+ * PNG_DLL_EXPORT Set to the magic to use during a libpng build to
188
+ * make a symbol exported from the DLL. Not used in the
189
+ * public header files; see pngpriv.h for how it is used
190
+ * in the libpng build.
191
+ *
192
+ * PNG_DLL_IMPORT Set to the magic to force the libpng symbols to come
193
+ * from a DLL - used to define PNG_IMPEXP when
194
+ * PNG_USE_DLL is set.
195
+ */
196
+
197
+ /* System specific discovery.
198
+ * ==========================
199
+ * This code is used at build time to find PNG_IMPEXP, the API settings
200
+ * and PNG_EXPORT_TYPE(), it may also set a macro to indicate the DLL
201
+ * import processing is possible. On Windows systems it also sets
202
+ * compiler-specific macros to the values required to change the calling
203
+ * conventions of the various functions.
204
+ */
205
+ #if defined(_Windows) || defined(_WINDOWS) || defined(WIN32) ||\
206
+ defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
207
+ /* Windows system (DOS doesn't support DLLs). Includes builds under Cygwin or
208
+ * MinGW on any architecture currently supported by Windows. Also includes
209
+ * Watcom builds but these need special treatment because they are not
210
+ * compatible with GCC or Visual C because of different calling conventions.
211
+ */
212
+ # if PNG_API_RULE == 2
213
+ /* If this line results in an error, either because __watcall is not
214
+ * understood or because of a redefine just below you cannot use *this*
215
+ * build of the library with the compiler you are using. *This* build was
216
+ * build using Watcom and applications must also be built using Watcom!
217
+ */
218
+ # define PNGCAPI __watcall
219
+ # endif
375
220
 
376
- # ifndef PNG_SKIP_SETJMP_CHECK
377
- # ifdef __linux__
378
- # ifdef _BSD_SOURCE
379
- # define PNG_SAVE_BSD_SOURCE
380
- # undef _BSD_SOURCE
381
- # endif
382
- # ifdef _SETJMP_H
383
- /* If you encounter a compiler error here, see the explanation
384
- * near the end of INSTALL.
221
+ # if defined(__GNUC__) || (defined(_MSC_VER) && (_MSC_VER >= 800))
222
+ # define PNGCAPI __cdecl
223
+ # if PNG_API_RULE == 1
224
+ /* If this line results in an error __stdcall is not understood and
225
+ * PNG_API_RULE should not have been set to '1'.
385
226
  */
386
- __pngconf.h__ in libpng already includes setjmp.h;
387
- __dont__ include it again.;
388
- # endif
389
- # endif /* __linux__ */
390
- # endif /* PNG_SKIP_SETJMP_CHECK */
391
-
392
- /* Include setjmp.h for error handling */
393
- # include <setjmp.h>
394
-
395
- # ifdef __linux__
396
- # ifdef PNG_SAVE_BSD_SOURCE
397
- # ifdef _BSD_SOURCE
398
- # undef _BSD_SOURCE
399
- # endif
400
- # define _BSD_SOURCE
401
- # undef PNG_SAVE_BSD_SOURCE
227
+ # define PNGAPI __stdcall
402
228
  # endif
403
- # endif /* __linux__ */
404
- #endif /* PNG_SETJMP_SUPPORTED */
405
-
406
- #ifdef BSD
407
- # include <strings.h>
408
- #else
409
- # include <string.h>
410
- #endif
411
-
412
- /* Other defines for things like memory and the like can go here. */
413
-
414
- /* This controls how fine the quantizing gets. As this allocates
415
- * a largish chunk of memory (32K), those who are not as concerned
416
- * with quantizing quality can decrease some or all of these.
417
- */
418
-
419
- /* Prior to libpng-1.4.2, these were PNG_DITHER_*_BITS
420
- * These migration aids will be removed from libpng-1.5.0.
421
- */
422
- #ifdef PNG_DITHER_RED_BITS
423
- # define PNG_QUANTIZE_RED_BITS PNG_DITHER_RED_BITS
424
- #endif
425
- #ifdef PNG_DITHER_GREEN_BITS
426
- # define PNG_QUANTIZE_GREEN_BITS PNG_DITHER_GREEN_BITS
427
- #endif
428
- #ifdef PNG_DITHER_BLUE_BITS
429
- # define PNG_QUANTIZE_BLUE_BITS PNG_DITHER_BLUE_BITS
430
- #endif
431
-
432
- #ifndef PNG_QUANTIZE_RED_BITS
433
- # define PNG_QUANTIZE_RED_BITS 5
434
- #endif
435
- #ifndef PNG_QUANTIZE_GREEN_BITS
436
- # define PNG_QUANTIZE_GREEN_BITS 5
437
- #endif
438
- #ifndef PNG_QUANTIZE_BLUE_BITS
439
- # define PNG_QUANTIZE_BLUE_BITS 5
440
- #endif
441
-
442
- /* This controls how fine the gamma correction becomes when you
443
- * are only interested in 8 bits anyway. Increasing this value
444
- * results in more memory being used, and more pow() functions
445
- * being called to fill in the gamma tables. Don't set this value
446
- * less then 8, and even that may not work (I haven't tested it).
447
- */
448
-
449
- #ifndef PNG_MAX_GAMMA_8
450
- # define PNG_MAX_GAMMA_8 11
451
- #endif
452
-
453
- /* This controls how much a difference in gamma we can tolerate before
454
- * we actually start doing gamma conversion.
455
- */
456
- #ifndef PNG_GAMMA_THRESHOLD
457
- # define PNG_GAMMA_THRESHOLD 0.05
458
- #endif
459
-
460
- /* The following uses const char * instead of char * for error
461
- * and warning message functions, so some compilers won't complain.
462
- * If you do not want to use const, define PNG_NO_CONST.
463
- */
464
-
465
- #ifndef PNG_CONST
466
- # ifndef PNG_NO_CONST
467
- # define PNG_CONST const
468
229
  # else
469
- # define PNG_CONST
470
- # endif
471
- #endif
472
-
473
- /* The following defines give you the ability to remove code from the
474
- * library that you will not be using. I wish I could figure out how to
475
- * automate this, but I can't do that without making it seriously hard
476
- * on the users. So if you are not using an ability, change the #define
477
- * to an #undef, or pass in PNG_NO_feature and that part of the library
478
- * will not be compiled.
479
-
480
- * If your linker can't find a function, you may want to make sure the
481
- * ability is defined here. Some of these depend upon some others being
482
- * defined. I haven't figured out all the interactions here, so you may
483
- * have to experiment awhile to get everything to compile. If you are
484
- * creating or using a shared library, you probably shouldn't touch this,
485
- * as it will affect the size of the structures, and this will cause bad
486
- * things to happen if the library and/or application ever change.
487
- */
488
-
489
- /* Any features you will not be using can be undef'ed here */
490
-
491
- /* GR-P, 0.96a: Set "*TRANSFORMS_SUPPORTED as default but allow user
492
- * to turn it off with PNG_NO_READ|WRITE_TRANSFORMS on the compile line,
493
- * then pick and choose which ones to define without having to edit this
494
- * file. It is safe to use the PNG_NO_READ|WRITE_TRANSFORMS
495
- * if you only want to have a png-compliant reader/writer but don't need
496
- * any of the extra transformations. This saves about 80 kbytes in a
497
- * typical installation of the library. (PNG_NO_* form added in version
498
- * 1.0.1c, for consistency; PNG_*_TRANSFORMS_NOT_SUPPORTED deprecated in
499
- * 1.4.0)
500
- */
501
-
502
- /* Ignore attempt to turn off both floating and fixed point support */
503
- #if !defined(PNG_FLOATING_POINT_SUPPORTED) || \
504
- !defined(PNG_NO_FIXED_POINT_SUPPORTED)
505
- # define PNG_FIXED_POINT_SUPPORTED
506
- #endif
507
-
508
- #ifdef PNG_READ_SUPPORTED
509
-
510
- /* PNG_READ_TRANSFORMS_NOT_SUPPORTED is deprecated. */
511
- #if !defined(PNG_READ_TRANSFORMS_NOT_SUPPORTED) && \
512
- !defined(PNG_NO_READ_TRANSFORMS)
513
- # define PNG_READ_TRANSFORMS_SUPPORTED
514
- #endif
515
-
516
- #ifdef PNG_READ_TRANSFORMS_SUPPORTED
517
- # ifndef PNG_NO_READ_EXPAND
518
- # define PNG_READ_EXPAND_SUPPORTED
519
- # endif
520
- # ifndef PNG_NO_READ_SHIFT
521
- # define PNG_READ_SHIFT_SUPPORTED
522
- # endif
523
- # ifndef PNG_NO_READ_PACK
524
- # define PNG_READ_PACK_SUPPORTED
525
- # endif
526
- # ifndef PNG_NO_READ_BGR
527
- # define PNG_READ_BGR_SUPPORTED
528
- # endif
529
- # ifndef PNG_NO_READ_SWAP
530
- # define PNG_READ_SWAP_SUPPORTED
531
- # endif
532
- # ifndef PNG_NO_READ_PACKSWAP
533
- # define PNG_READ_PACKSWAP_SUPPORTED
534
- # endif
535
- # ifndef PNG_NO_READ_INVERT
536
- # define PNG_READ_INVERT_SUPPORTED
537
- # endif
538
- # ifndef PNG_NO_READ_QUANTIZE
539
- /* Prior to libpng-1.4.0 this was PNG_READ_DITHER_SUPPORTED */
540
- # ifndef PNG_NO_READ_DITHER /* This migration aid will be removed */
541
- # define PNG_READ_QUANTIZE_SUPPORTED
230
+ /* An older compiler, or one not detected (erroneously) above,
231
+ * if necessary override on the command line to get the correct
232
+ * variants for the compiler.
233
+ */
234
+ # ifndef PNGCAPI
235
+ # define PNGCAPI _cdecl
542
236
  # endif
543
- # endif
544
- # ifndef PNG_NO_READ_BACKGROUND
545
- # define PNG_READ_BACKGROUND_SUPPORTED
546
- # endif
547
- # ifndef PNG_NO_READ_16_TO_8
548
- # define PNG_READ_16_TO_8_SUPPORTED
549
- # endif
550
- # ifndef PNG_NO_READ_FILLER
551
- # define PNG_READ_FILLER_SUPPORTED
552
- # endif
553
- # ifndef PNG_NO_READ_GAMMA
554
- # define PNG_READ_GAMMA_SUPPORTED
555
- # endif
556
- # ifndef PNG_NO_READ_GRAY_TO_RGB
557
- # define PNG_READ_GRAY_TO_RGB_SUPPORTED
558
- # endif
559
- # ifndef PNG_NO_READ_SWAP_ALPHA
560
- # define PNG_READ_SWAP_ALPHA_SUPPORTED
561
- # endif
562
- # ifndef PNG_NO_READ_INVERT_ALPHA
563
- # define PNG_READ_INVERT_ALPHA_SUPPORTED
564
- # endif
565
- # ifndef PNG_NO_READ_STRIP_ALPHA
566
- # define PNG_READ_STRIP_ALPHA_SUPPORTED
567
- # endif
568
- # ifndef PNG_NO_READ_USER_TRANSFORM
569
- # define PNG_READ_USER_TRANSFORM_SUPPORTED
570
- # endif
571
- # ifndef PNG_NO_READ_RGB_TO_GRAY
572
- # define PNG_READ_RGB_TO_GRAY_SUPPORTED
573
- # endif
574
- #endif /* PNG_READ_TRANSFORMS_SUPPORTED */
575
-
576
- /* PNG_PROGRESSIVE_READ_NOT_SUPPORTED is deprecated. */
577
- #if !defined(PNG_NO_PROGRESSIVE_READ) && \
578
- !defined(PNG_PROGRESSIVE_READ_NOT_SUPPORTED) /* if you don't do progressive */
579
- # define PNG_PROGRESSIVE_READ_SUPPORTED /* reading. This is not talking */
580
- #endif /* about interlacing capability! You'll */
581
- /* still have interlacing unless you change the following define: */
582
-
583
- #define PNG_READ_INTERLACING_SUPPORTED /* required for PNG-compliant decoders */
584
-
585
- /* PNG_NO_SEQUENTIAL_READ_SUPPORTED is deprecated. */
586
- #if !defined(PNG_NO_SEQUENTIAL_READ) && \
587
- !defined(PNG_SEQUENTIAL_READ_SUPPORTED) && \
588
- !defined(PNG_NO_SEQUENTIAL_READ_SUPPORTED)
589
- # define PNG_SEQUENTIAL_READ_SUPPORTED
590
- #endif
591
-
592
- #ifndef PNG_NO_READ_COMPOSITE_NODIV
593
- # ifndef PNG_NO_READ_COMPOSITED_NODIV /* libpng-1.0.x misspelling */
594
- # define PNG_READ_COMPOSITE_NODIV_SUPPORTED /* well tested on Intel, SGI */
595
- # endif
596
- #endif
597
-
598
- #if !defined(PNG_NO_GET_INT_32) || defined(PNG_READ_oFFS_SUPPORTED) || \
599
- defined(PNG_READ_pCAL_SUPPORTED)
600
- # ifndef PNG_GET_INT_32_SUPPORTED
601
- # define PNG_GET_INT_32_SUPPORTED
602
- # endif
603
- #endif
604
-
605
- #endif /* PNG_READ_SUPPORTED */
606
-
607
- #ifdef PNG_WRITE_SUPPORTED
608
-
609
- /* PNG_WRITE_TRANSFORMS_NOT_SUPPORTED is deprecated. */
610
- #if !defined(PNG_WRITE_TRANSFORMS_NOT_SUPPORTED) && \
611
- !defined(PNG_NO_WRITE_TRANSFORMS)
612
- # define PNG_WRITE_TRANSFORMS_SUPPORTED
613
- #endif
614
-
615
- #ifdef PNG_WRITE_TRANSFORMS_SUPPORTED
616
- # ifndef PNG_NO_WRITE_SHIFT
617
- # define PNG_WRITE_SHIFT_SUPPORTED
618
- # endif
619
- # ifndef PNG_NO_WRITE_PACK
620
- # define PNG_WRITE_PACK_SUPPORTED
621
- # endif
622
- # ifndef PNG_NO_WRITE_BGR
623
- # define PNG_WRITE_BGR_SUPPORTED
624
- # endif
625
- # ifndef PNG_NO_WRITE_SWAP
626
- # define PNG_WRITE_SWAP_SUPPORTED
627
- # endif
628
- # ifndef PNG_NO_WRITE_PACKSWAP
629
- # define PNG_WRITE_PACKSWAP_SUPPORTED
630
- # endif
631
- # ifndef PNG_NO_WRITE_INVERT
632
- # define PNG_WRITE_INVERT_SUPPORTED
633
- # endif
634
- # ifndef PNG_NO_WRITE_FILLER
635
- # define PNG_WRITE_FILLER_SUPPORTED /* same as WRITE_STRIP_ALPHA */
636
- # endif
637
- # ifndef PNG_NO_WRITE_SWAP_ALPHA
638
- # define PNG_WRITE_SWAP_ALPHA_SUPPORTED
639
- # endif
640
- # ifndef PNG_NO_WRITE_INVERT_ALPHA
641
- # define PNG_WRITE_INVERT_ALPHA_SUPPORTED
642
- # endif
643
- # ifndef PNG_NO_WRITE_USER_TRANSFORM
644
- # define PNG_WRITE_USER_TRANSFORM_SUPPORTED
645
- # endif
646
- #endif /* PNG_WRITE_TRANSFORMS_SUPPORTED */
647
-
648
- #if !defined(PNG_NO_WRITE_INTERLACING_SUPPORTED) && \
649
- !defined(PNG_WRITE_INTERLACING_SUPPORTED)
650
- /* This is not required for PNG-compliant encoders, but can cause
651
- * trouble if left undefined
652
- */
653
- # define PNG_WRITE_INTERLACING_SUPPORTED
654
- #endif
655
-
656
- #if !defined(PNG_NO_WRITE_WEIGHTED_FILTER) && \
657
- !defined(PNG_WRITE_WEIGHTED_FILTER) && \
658
- defined(PNG_FLOATING_POINT_SUPPORTED)
659
- # define PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
660
- #endif
661
-
662
- #ifndef PNG_NO_WRITE_FLUSH
663
- # define PNG_WRITE_FLUSH_SUPPORTED
664
- #endif
665
-
666
- #if !defined(PNG_NO_SAVE_INT_32) || defined(PNG_WRITE_oFFS_SUPPORTED) || \
667
- defined(PNG_WRITE_pCAL_SUPPORTED)
668
- # ifndef PNG_SAVE_INT_32_SUPPORTED
669
- # define PNG_SAVE_INT_32_SUPPORTED
670
- # endif
671
- #endif
672
-
673
- #endif /* PNG_WRITE_SUPPORTED */
674
-
675
- #define PNG_NO_ERROR_NUMBERS
676
-
677
- #if defined(PNG_READ_USER_TRANSFORM_SUPPORTED) || \
678
- defined(PNG_WRITE_USER_TRANSFORM_SUPPORTED)
679
- # ifndef PNG_NO_USER_TRANSFORM_PTR
680
- # define PNG_USER_TRANSFORM_PTR_SUPPORTED
681
- # endif
682
- #endif
683
-
684
- #if defined(PNG_STDIO_SUPPORTED) && !defined(PNG_TIME_RFC1123_SUPPORTED)
685
- # define PNG_TIME_RFC1123_SUPPORTED
686
- #endif
687
-
688
- /* This adds extra functions in pngget.c for accessing data from the
689
- * info pointer (added in version 0.99)
690
- * png_get_image_width()
691
- * png_get_image_height()
692
- * png_get_bit_depth()
693
- * png_get_color_type()
694
- * png_get_compression_type()
695
- * png_get_filter_type()
696
- * png_get_interlace_type()
697
- * png_get_pixel_aspect_ratio()
698
- * png_get_pixels_per_meter()
699
- * png_get_x_offset_pixels()
700
- * png_get_y_offset_pixels()
701
- * png_get_x_offset_microns()
702
- * png_get_y_offset_microns()
703
- */
704
- #if !defined(PNG_NO_EASY_ACCESS) && !defined(PNG_EASY_ACCESS_SUPPORTED)
705
- # define PNG_EASY_ACCESS_SUPPORTED
706
- #endif
707
-
708
- /* Added at libpng-1.2.0 */
709
- #if !defined(PNG_NO_USER_MEM) && !defined(PNG_USER_MEM_SUPPORTED)
710
- # define PNG_USER_MEM_SUPPORTED
711
- #endif
712
-
713
- /* Added at libpng-1.2.6 */
714
- #ifndef PNG_NO_SET_USER_LIMITS
715
- # ifndef PNG_SET_USER_LIMITS_SUPPORTED
716
- # define PNG_SET_USER_LIMITS_SUPPORTED
717
- # endif
718
- /* Feature added at libpng-1.4.0, this flag added at 1.4.1 */
719
- # ifndef PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED
720
- # define PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED
721
- # endif
722
- /* Feature added at libpng-1.4.1, this flag added at 1.4.1 */
723
- # ifndef PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED
724
- # define PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED
725
- # endif
726
- #endif
237
+ # if PNG_API_RULE == 1 && !defined(PNGAPI)
238
+ # define PNGAPI _stdcall
239
+ # endif
240
+ # endif /* compiler/api */
241
+ /* NOTE: PNGCBAPI always defaults to PNGCAPI. */
727
242
 
728
- /* Added at libpng-1.2.43 */
729
- #ifndef PNG_USER_LIMITS_SUPPORTED
730
- # ifndef PNG_NO_USER_LIMITS
731
- # define PNG_USER_LIMITS_SUPPORTED
243
+ # if defined(PNGAPI) && !defined(PNG_USER_PRIVATEBUILD)
244
+ # error "PNG_USER_PRIVATEBUILD must be defined if PNGAPI is changed"
732
245
  # endif
733
- #endif
734
-
735
- /* Added at libpng-1.0.16 and 1.2.6. To accept all valid PNGs no matter
736
- * how large, set these two limits to 0x7fffffffL
737
- */
738
- #ifndef PNG_USER_WIDTH_MAX
739
- # define PNG_USER_WIDTH_MAX 1000000L
740
- #endif
741
- #ifndef PNG_USER_HEIGHT_MAX
742
- # define PNG_USER_HEIGHT_MAX 1000000L
743
- #endif
744
-
745
- /* Added at libpng-1.2.43. To accept all valid PNGs no matter
746
- * how large, set these two limits to 0.
747
- */
748
- #ifndef PNG_USER_CHUNK_CACHE_MAX
749
- # define PNG_USER_CHUNK_CACHE_MAX 0
750
- #endif
751
246
 
752
- /* Added at libpng-1.2.43 */
753
- #ifndef PNG_USER_CHUNK_MALLOC_MAX
754
- # define PNG_USER_CHUNK_MALLOC_MAX 0
755
- #endif
756
-
757
- /* Added at libpng-1.4.0 */
758
- #if !defined(PNG_NO_IO_STATE) && !defined(PNG_IO_STATE_SUPPORTED)
759
- # define PNG_IO_STATE_SUPPORTED
760
- #endif
761
-
762
- #ifndef PNG_LITERAL_SHARP
763
- # define PNG_LITERAL_SHARP 0x23
764
- #endif
765
- #ifndef PNG_LITERAL_LEFT_SQUARE_BRACKET
766
- # define PNG_LITERAL_LEFT_SQUARE_BRACKET 0x5b
767
- #endif
768
- #ifndef PNG_LITERAL_RIGHT_SQUARE_BRACKET
769
- # define PNG_LITERAL_RIGHT_SQUARE_BRACKET 0x5d
770
- #endif
771
- #ifndef PNG_STRING_NEWLINE
772
- #define PNG_STRING_NEWLINE "\n"
773
- #endif
774
-
775
- /* These are currently experimental features, define them if you want */
776
-
777
- /* Very little testing */
778
- /*
779
- #ifdef PNG_READ_SUPPORTED
780
- # ifndef PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED
781
- # define PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED
782
- # endif
783
- #endif
784
- */
247
+ # if (defined(_MSC_VER) && _MSC_VER < 800) ||\
248
+ (defined(__BORLANDC__) && __BORLANDC__ < 0x500)
249
+ /* older Borland and MSC
250
+ * compilers used '__export' and required this to be after
251
+ * the type.
252
+ */
253
+ # ifndef PNG_EXPORT_TYPE
254
+ # define PNG_EXPORT_TYPE(type) type PNG_IMPEXP
255
+ # endif
256
+ # define PNG_DLL_EXPORT __export
257
+ # else /* newer compiler */
258
+ # define PNG_DLL_EXPORT __declspec(dllexport)
259
+ # ifndef PNG_DLL_IMPORT
260
+ # define PNG_DLL_IMPORT __declspec(dllimport)
261
+ # endif
262
+ # endif /* compiler */
263
+
264
+ #else /* !Windows */
265
+ # if (defined(__IBMC__) || defined(__IBMCPP__)) && defined(__OS2__)
266
+ # define PNGAPI _System
267
+ # else /* !Windows/x86 && !OS/2 */
268
+ /* Use the defaults, or define PNG*API on the command line (but
269
+ * this will have to be done for every compile!)
270
+ */
271
+ # endif /* other system, !OS/2 */
272
+ #endif /* !Windows/x86 */
785
273
 
786
- /* This is only for PowerPC big-endian and 680x0 systems */
787
- /* some testing */
788
- /*
789
- #ifndef PNG_READ_BIG_ENDIAN_SUPPORTED
790
- # define PNG_READ_BIG_ENDIAN_SUPPORTED
274
+ /* Now do all the defaulting . */
275
+ #ifndef PNGCAPI
276
+ # define PNGCAPI
791
277
  #endif
792
- */
793
-
794
- #if !defined(PNG_NO_USE_READ_MACROS) && !defined(PNG_USE_READ_MACROS)
795
- # define PNG_USE_READ_MACROS
278
+ #ifndef PNGCBAPI
279
+ # define PNGCBAPI PNGCAPI
796
280
  #endif
797
-
798
- /* Buggy compilers (e.g., gcc 2.7.2.2) need PNG_NO_POINTER_INDEXING */
799
-
800
- #if !defined(PNG_NO_POINTER_INDEXING) && \
801
- !defined(PNG_POINTER_INDEXING_SUPPORTED)
802
- # define PNG_POINTER_INDEXING_SUPPORTED
281
+ #ifndef PNGAPI
282
+ # define PNGAPI PNGCAPI
803
283
  #endif
804
284
 
805
-
806
- /* Any chunks you are not interested in, you can undef here. The
807
- * ones that allocate memory may be expecially important (hIST,
808
- * tEXt, zTXt, tRNS, pCAL). Others will just save time and make png_info
809
- * a bit smaller.
285
+ /* PNG_IMPEXP may be set on the compilation system command line or (if not set)
286
+ * then in an internal header file when building the library, otherwise (when
287
+ * using the library) it is set here.
810
288
  */
811
-
812
- /* The size of the png_text structure changed in libpng-1.0.6 when
813
- * iTXt support was added. iTXt support was turned off by default through
814
- * libpng-1.2.x, to support old apps that malloc the png_text structure
815
- * instead of calling png_set_text() and letting libpng malloc it. It
816
- * was turned on by default in libpng-1.4.0.
817
- */
818
-
819
- /* PNG_READ_ANCILLARY_CHUNKS_NOT_SUPPORTED is deprecated. */
820
- #if defined(PNG_READ_SUPPORTED) && \
821
- !defined(PNG_READ_ANCILLARY_CHUNKS_NOT_SUPPORTED) && \
822
- !defined(PNG_NO_READ_ANCILLARY_CHUNKS)
823
- # define PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
824
- #endif
825
-
826
- /* PNG_WRITE_ANCILLARY_CHUNKS_NOT_SUPPORTED is deprecated. */
827
- #if defined(PNG_WRITE_SUPPORTED) && \
828
- !defined(PNG_WRITE_ANCILLARY_CHUNKS_NOT_SUPPORTED) && \
829
- !defined(PNG_NO_WRITE_ANCILLARY_CHUNKS)
830
- # define PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
831
- #endif
832
-
833
- #ifdef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
834
-
835
- #ifdef PNG_NO_READ_TEXT
836
- # define PNG_NO_READ_iTXt
837
- # define PNG_NO_READ_tEXt
838
- # define PNG_NO_READ_zTXt
839
- #endif
840
-
841
- #ifndef PNG_NO_READ_bKGD
842
- # define PNG_READ_bKGD_SUPPORTED
843
- # define PNG_bKGD_SUPPORTED
844
- #endif
845
- #ifndef PNG_NO_READ_cHRM
846
- # define PNG_READ_cHRM_SUPPORTED
847
- # define PNG_cHRM_SUPPORTED
848
- #endif
849
- #ifndef PNG_NO_READ_gAMA
850
- # define PNG_READ_gAMA_SUPPORTED
851
- # define PNG_gAMA_SUPPORTED
852
- #endif
853
- #ifndef PNG_NO_READ_hIST
854
- # define PNG_READ_hIST_SUPPORTED
855
- # define PNG_hIST_SUPPORTED
856
- #endif
857
- #ifndef PNG_NO_READ_iCCP
858
- # define PNG_READ_iCCP_SUPPORTED
859
- # define PNG_iCCP_SUPPORTED
860
- #endif
861
- #ifndef PNG_NO_READ_iTXt
862
- # ifndef PNG_READ_iTXt_SUPPORTED
863
- # define PNG_READ_iTXt_SUPPORTED
864
- # endif
865
- # ifndef PNG_iTXt_SUPPORTED
866
- # define PNG_iTXt_SUPPORTED
867
- # endif
868
- #endif
869
- #ifndef PNG_NO_READ_oFFs
870
- # define PNG_READ_oFFs_SUPPORTED
871
- # define PNG_oFFs_SUPPORTED
872
- #endif
873
- #ifndef PNG_NO_READ_pCAL
874
- # define PNG_READ_pCAL_SUPPORTED
875
- # define PNG_pCAL_SUPPORTED
876
- #endif
877
- #ifndef PNG_NO_READ_sCAL
878
- # define PNG_READ_sCAL_SUPPORTED
879
- # define PNG_sCAL_SUPPORTED
880
- #endif
881
- #ifndef PNG_NO_READ_pHYs
882
- # define PNG_READ_pHYs_SUPPORTED
883
- # define PNG_pHYs_SUPPORTED
884
- #endif
885
- #ifndef PNG_NO_READ_sBIT
886
- # define PNG_READ_sBIT_SUPPORTED
887
- # define PNG_sBIT_SUPPORTED
888
- #endif
889
- #ifndef PNG_NO_READ_sPLT
890
- # define PNG_READ_sPLT_SUPPORTED
891
- # define PNG_sPLT_SUPPORTED
892
- #endif
893
- #ifndef PNG_NO_READ_sRGB
894
- # define PNG_READ_sRGB_SUPPORTED
895
- # define PNG_sRGB_SUPPORTED
896
- #endif
897
- #ifndef PNG_NO_READ_tEXt
898
- # define PNG_READ_tEXt_SUPPORTED
899
- # define PNG_tEXt_SUPPORTED
900
- #endif
901
- #ifndef PNG_NO_READ_tIME
902
- # define PNG_READ_tIME_SUPPORTED
903
- # define PNG_tIME_SUPPORTED
904
- #endif
905
- #ifndef PNG_NO_READ_tRNS
906
- # define PNG_READ_tRNS_SUPPORTED
907
- # define PNG_tRNS_SUPPORTED
908
- #endif
909
- #ifndef PNG_NO_READ_zTXt
910
- # define PNG_READ_zTXt_SUPPORTED
911
- # define PNG_zTXt_SUPPORTED
912
- #endif
913
- #ifndef PNG_NO_READ_OPT_PLTE
914
- # define PNG_READ_OPT_PLTE_SUPPORTED /* only affects support of the */
915
- #endif /* optional PLTE chunk in RGB and RGBA images */
916
- #if defined(PNG_READ_iTXt_SUPPORTED) || defined(PNG_READ_tEXt_SUPPORTED) || \
917
- defined(PNG_READ_zTXt_SUPPORTED)
918
- # define PNG_READ_TEXT_SUPPORTED
919
- # define PNG_TEXT_SUPPORTED
920
- #endif
921
-
922
- #endif /* PNG_READ_ANCILLARY_CHUNKS_SUPPORTED */
923
-
924
- #ifndef PNG_NO_READ_UNKNOWN_CHUNKS
925
- # ifndef PNG_READ_UNKNOWN_CHUNKS_SUPPORTED
926
- # define PNG_READ_UNKNOWN_CHUNKS_SUPPORTED
927
- # endif
928
- # ifndef PNG_UNKNOWN_CHUNKS_SUPPORTED
929
- # define PNG_UNKNOWN_CHUNKS_SUPPORTED
930
- # endif
931
- # ifndef PNG_READ_USER_CHUNKS_SUPPORTED
932
- # define PNG_READ_USER_CHUNKS_SUPPORTED
933
- # endif
934
- #endif
935
- #ifndef PNG_NO_READ_USER_CHUNKS
936
- # ifndef PNG_READ_USER_CHUNKS_SUPPORTED
937
- # define PNG_READ_USER_CHUNKS_SUPPORTED
938
- # endif
939
- # ifndef PNG_USER_CHUNKS_SUPPORTED
940
- # define PNG_USER_CHUNKS_SUPPORTED
941
- # endif
942
- #endif
943
- #ifndef PNG_NO_HANDLE_AS_UNKNOWN
944
- # ifndef PNG_HANDLE_AS_UNKNOWN_SUPPORTED
945
- # define PNG_HANDLE_AS_UNKNOWN_SUPPORTED
946
- # endif
947
- #endif
948
-
949
- #ifdef PNG_WRITE_SUPPORTED
950
- #ifdef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
951
-
952
- #ifdef PNG_NO_WRITE_TEXT
953
- # define PNG_NO_WRITE_iTXt
954
- # define PNG_NO_WRITE_tEXt
955
- # define PNG_NO_WRITE_zTXt
956
- #endif
957
- #ifndef PNG_NO_WRITE_bKGD
958
- # define PNG_WRITE_bKGD_SUPPORTED
959
- # ifndef PNG_bKGD_SUPPORTED
960
- # define PNG_bKGD_SUPPORTED
961
- # endif
962
- #endif
963
- #ifndef PNG_NO_WRITE_cHRM
964
- # define PNG_WRITE_cHRM_SUPPORTED
965
- # ifndef PNG_cHRM_SUPPORTED
966
- # define PNG_cHRM_SUPPORTED
967
- # endif
968
- #endif
969
- #ifndef PNG_NO_WRITE_gAMA
970
- # define PNG_WRITE_gAMA_SUPPORTED
971
- # ifndef PNG_gAMA_SUPPORTED
972
- # define PNG_gAMA_SUPPORTED
973
- # endif
974
- #endif
975
- #ifndef PNG_NO_WRITE_hIST
976
- # define PNG_WRITE_hIST_SUPPORTED
977
- # ifndef PNG_hIST_SUPPORTED
978
- # define PNG_hIST_SUPPORTED
979
- # endif
980
- #endif
981
- #ifndef PNG_NO_WRITE_iCCP
982
- # define PNG_WRITE_iCCP_SUPPORTED
983
- # ifndef PNG_iCCP_SUPPORTED
984
- # define PNG_iCCP_SUPPORTED
985
- # endif
986
- #endif
987
- #ifndef PNG_NO_WRITE_iTXt
988
- # ifndef PNG_WRITE_iTXt_SUPPORTED
989
- # define PNG_WRITE_iTXt_SUPPORTED
990
- # endif
991
- # ifndef PNG_iTXt_SUPPORTED
992
- # define PNG_iTXt_SUPPORTED
993
- # endif
994
- #endif
995
- #ifndef PNG_NO_WRITE_oFFs
996
- # define PNG_WRITE_oFFs_SUPPORTED
997
- # ifndef PNG_oFFs_SUPPORTED
998
- # define PNG_oFFs_SUPPORTED
999
- # endif
1000
- #endif
1001
- #ifndef PNG_NO_WRITE_pCAL
1002
- # define PNG_WRITE_pCAL_SUPPORTED
1003
- # ifndef PNG_pCAL_SUPPORTED
1004
- # define PNG_pCAL_SUPPORTED
1005
- # endif
1006
- #endif
1007
- #ifndef PNG_NO_WRITE_sCAL
1008
- # define PNG_WRITE_sCAL_SUPPORTED
1009
- # ifndef PNG_sCAL_SUPPORTED
1010
- # define PNG_sCAL_SUPPORTED
1011
- # endif
1012
- #endif
1013
- #ifndef PNG_NO_WRITE_pHYs
1014
- # define PNG_WRITE_pHYs_SUPPORTED
1015
- # ifndef PNG_pHYs_SUPPORTED
1016
- # define PNG_pHYs_SUPPORTED
1017
- # endif
1018
- #endif
1019
- #ifndef PNG_NO_WRITE_sBIT
1020
- # define PNG_WRITE_sBIT_SUPPORTED
1021
- # ifndef PNG_sBIT_SUPPORTED
1022
- # define PNG_sBIT_SUPPORTED
1023
- # endif
1024
- #endif
1025
- #ifndef PNG_NO_WRITE_sPLT
1026
- # define PNG_WRITE_sPLT_SUPPORTED
1027
- # ifndef PNG_sPLT_SUPPORTED
1028
- # define PNG_sPLT_SUPPORTED
1029
- # endif
1030
- #endif
1031
- #ifndef PNG_NO_WRITE_sRGB
1032
- # define PNG_WRITE_sRGB_SUPPORTED
1033
- # ifndef PNG_sRGB_SUPPORTED
1034
- # define PNG_sRGB_SUPPORTED
1035
- # endif
1036
- #endif
1037
- #ifndef PNG_NO_WRITE_tEXt
1038
- # define PNG_WRITE_tEXt_SUPPORTED
1039
- # ifndef PNG_tEXt_SUPPORTED
1040
- # define PNG_tEXt_SUPPORTED
1041
- # endif
1042
- #endif
1043
- #ifndef PNG_NO_WRITE_tIME
1044
- # define PNG_WRITE_tIME_SUPPORTED
1045
- # ifndef PNG_tIME_SUPPORTED
1046
- # define PNG_tIME_SUPPORTED
1047
- # endif
1048
- #endif
1049
- #ifndef PNG_NO_WRITE_tRNS
1050
- # define PNG_WRITE_tRNS_SUPPORTED
1051
- # ifndef PNG_tRNS_SUPPORTED
1052
- # define PNG_tRNS_SUPPORTED
1053
- # endif
1054
- #endif
1055
- #ifndef PNG_NO_WRITE_zTXt
1056
- # define PNG_WRITE_zTXt_SUPPORTED
1057
- # ifndef PNG_zTXt_SUPPORTED
1058
- # define PNG_zTXt_SUPPORTED
1059
- # endif
1060
- #endif
1061
- #if defined(PNG_WRITE_iTXt_SUPPORTED) || defined(PNG_WRITE_tEXt_SUPPORTED) || \
1062
- defined(PNG_WRITE_zTXt_SUPPORTED)
1063
- # define PNG_WRITE_TEXT_SUPPORTED
1064
- # ifndef PNG_TEXT_SUPPORTED
1065
- # define PNG_TEXT_SUPPORTED
1066
- # endif
1067
- #endif
1068
-
1069
- #ifdef PNG_WRITE_tIME_SUPPORTED
1070
- # ifndef PNG_NO_CONVERT_tIME
1071
- # ifndef _WIN32_WCE
1072
- /* The "tm" structure is not supported on WindowsCE */
1073
- # ifndef PNG_CONVERT_tIME_SUPPORTED
1074
- # define PNG_CONVERT_tIME_SUPPORTED
1075
- # endif
1076
- # endif
1077
- # endif
1078
- #endif
1079
-
1080
- #endif /* PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED */
1081
-
1082
- #ifndef PNG_NO_WRITE_FILTER
1083
- # ifndef PNG_WRITE_FILTER_SUPPORTED
1084
- # define PNG_WRITE_FILTER_SUPPORTED
289
+ #ifndef PNG_IMPEXP
290
+ # if defined(PNG_USE_DLL) && defined(PNG_DLL_IMPORT)
291
+ /* This forces use of a DLL, disallowing static linking */
292
+ # define PNG_IMPEXP PNG_DLL_IMPORT
1085
293
  # endif
1086
- #endif
1087
294
 
1088
- #ifndef PNG_NO_WRITE_UNKNOWN_CHUNKS
1089
- # define PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED
1090
- # ifndef PNG_UNKNOWN_CHUNKS_SUPPORTED
1091
- # define PNG_UNKNOWN_CHUNKS_SUPPORTED
1092
- # endif
1093
- #endif
1094
- #ifndef PNG_NO_HANDLE_AS_UNKNOWN
1095
- # ifndef PNG_HANDLE_AS_UNKNOWN_SUPPORTED
1096
- # define PNG_HANDLE_AS_UNKNOWN_SUPPORTED
295
+ # ifndef PNG_IMPEXP
296
+ # define PNG_IMPEXP
1097
297
  # endif
1098
298
  #endif
1099
- #endif /* PNG_WRITE_SUPPORTED */
1100
-
1101
- /* Turn this off to disable png_read_png() and
1102
- * png_write_png() and leave the row_pointers member
1103
- * out of the info structure.
1104
- */
1105
- #ifndef PNG_NO_INFO_IMAGE
1106
- # define PNG_INFO_IMAGE_SUPPORTED
1107
- #endif
1108
-
1109
- /* Need the time information for converting tIME chunks */
1110
- #ifdef PNG_CONVERT_tIME_SUPPORTED
1111
- /* "time.h" functions are not supported on WindowsCE */
1112
- # include <time.h>
1113
- #endif
1114
-
1115
- /* Some typedefs to get us started. These should be safe on most of the
1116
- * common platforms. The typedefs should be at least as large as the
1117
- * numbers suggest (a png_uint_32 must be at least 32 bits long), but they
1118
- * don't have to be exactly that size. Some compilers dislike passing
1119
- * unsigned shorts as function parameters, so you may be better off using
1120
- * unsigned int for png_uint_16.
1121
- */
1122
-
1123
- #if defined(INT_MAX) && (INT_MAX > 0x7ffffffeL)
1124
- typedef unsigned int png_uint_32;
1125
- typedef int png_int_32;
1126
- #else
1127
- typedef unsigned long png_uint_32;
1128
- typedef long png_int_32;
1129
- #endif
1130
- typedef unsigned short png_uint_16;
1131
- typedef short png_int_16;
1132
- typedef unsigned char png_byte;
1133
-
1134
- #ifdef PNG_NO_SIZE_T
1135
- typedef unsigned int png_size_t;
1136
- #else
1137
- typedef size_t png_size_t;
1138
- #endif
1139
- #define png_sizeof(x) (sizeof (x))
1140
-
1141
- /* The following is needed for medium model support. It cannot be in the
1142
- * pngpriv.h header. Needs modification for other compilers besides
1143
- * MSC. Model independent support declares all arrays and pointers to be
1144
- * large using the far keyword. The zlib version used must also support
1145
- * model independent data. As of version zlib 1.0.4, the necessary changes
1146
- * have been made in zlib. The USE_FAR_KEYWORD define triggers other
1147
- * changes that are needed. (Tim Wegner)
1148
- */
1149
-
1150
- /* Separate compiler dependencies (problem here is that zlib.h always
1151
- * defines FAR. (SJT)
1152
- */
1153
- #ifdef __BORLANDC__
1154
- # if defined(__LARGE__) || defined(__HUGE__) || defined(__COMPACT__)
1155
- # define LDATA 1
1156
- # else
1157
- # define LDATA 0
1158
- # endif
1159
- /* GRR: why is Cygwin in here? Cygwin is not Borland C... */
1160
- # if !defined(__WIN32__) && !defined(__FLAT__) && !defined(__CYGWIN__)
1161
- # define PNG_MAX_MALLOC_64K
1162
- # if (LDATA != 1)
1163
- # ifndef FAR
1164
- # define FAR __far
1165
- # endif
1166
- # define USE_FAR_KEYWORD
1167
- # endif /* LDATA != 1 */
1168
- /* Possibly useful for moving data out of default segment.
1169
- * Uncomment it if you want. Could also define FARDATA as
1170
- * const if your compiler supports it. (SJT)
1171
- # define FARDATA FAR
1172
- */
1173
- # endif /* __WIN32__, __FLAT__, __CYGWIN__ */
1174
- #endif /* __BORLANDC__ */
1175
-
1176
299
 
1177
- /* Suggest testing for specific compiler first before testing for
1178
- * FAR. The Watcom compiler defines both __MEDIUM__ and M_I86MM,
1179
- * making reliance oncertain keywords suspect. (SJT)
300
+ /* In 1.5.2 the definition of PNG_FUNCTION has been changed to always treat
301
+ * 'attributes' as a storage class - the attributes go at the start of the
302
+ * function definition, and attributes are always appended regardless of the
303
+ * compiler. This considerably simplifies these macros but may cause problems
304
+ * if any compilers both need function attributes and fail to handle them as
305
+ * a storage class (this is unlikely.)
1180
306
  */
1181
-
1182
- /* MSC Medium model */
1183
- #ifdef FAR
1184
- # ifdef M_I86MM
1185
- # define USE_FAR_KEYWORD
1186
- # define FARDATA FAR
1187
- # include <dos.h>
1188
- # endif
1189
- #endif
1190
-
1191
- /* SJT: default case */
1192
- #ifndef FAR
1193
- # define FAR
1194
- #endif
1195
-
1196
- /* At this point FAR is always defined */
1197
- #ifndef FARDATA
1198
- # define FARDATA
1199
- #endif
1200
-
1201
- /* Typedef for floating-point numbers that are converted
1202
- to fixed-point with a multiple of 100,000, e.g., int_gamma */
1203
- typedef png_int_32 png_fixed_point;
1204
-
1205
- /* Add typedefs for pointers */
1206
- typedef void FAR * png_voidp;
1207
- typedef png_byte FAR * png_bytep;
1208
- typedef png_uint_32 FAR * png_uint_32p;
1209
- typedef png_int_32 FAR * png_int_32p;
1210
- typedef png_uint_16 FAR * png_uint_16p;
1211
- typedef png_int_16 FAR * png_int_16p;
1212
- typedef PNG_CONST char FAR * png_const_charp;
1213
- typedef char FAR * png_charp;
1214
- typedef png_fixed_point FAR * png_fixed_point_p;
1215
-
1216
- #ifndef PNG_NO_STDIO
1217
- typedef FILE * png_FILE_p;
307
+ #ifndef PNG_FUNCTION
308
+ # define PNG_FUNCTION(type, name, args, attributes) attributes type name args
1218
309
  #endif
1219
310
 
1220
- #ifdef PNG_FLOATING_POINT_SUPPORTED
1221
- typedef double FAR * png_doublep;
311
+ #ifndef PNG_EXPORT_TYPE
312
+ # define PNG_EXPORT_TYPE(type) PNG_IMPEXP type
1222
313
  #endif
1223
314
 
1224
- /* Pointers to pointers; i.e. arrays */
1225
- typedef png_byte FAR * FAR * png_bytepp;
1226
- typedef png_uint_32 FAR * FAR * png_uint_32pp;
1227
- typedef png_int_32 FAR * FAR * png_int_32pp;
1228
- typedef png_uint_16 FAR * FAR * png_uint_16pp;
1229
- typedef png_int_16 FAR * FAR * png_int_16pp;
1230
- typedef PNG_CONST char FAR * FAR * png_const_charpp;
1231
- typedef char FAR * FAR * png_charpp;
1232
- typedef png_fixed_point FAR * FAR * png_fixed_point_pp;
1233
- #ifdef PNG_FLOATING_POINT_SUPPORTED
1234
- typedef double FAR * FAR * png_doublepp;
1235
- #endif
1236
-
1237
- /* Pointers to pointers to pointers; i.e., pointer to array */
1238
- typedef char FAR * FAR * FAR * png_charppp;
1239
-
1240
- /* Define PNG_BUILD_DLL if the module being built is a Windows
1241
- * LIBPNG DLL.
1242
- *
1243
- * Define PNG_USE_DLL if you want to *link* to the Windows LIBPNG DLL.
1244
- * It is equivalent to Microsoft predefined macro _DLL that is
1245
- * automatically defined when you compile using the share
1246
- * version of the CRT (C Run-Time library)
1247
- *
1248
- * The cygwin mods make this behavior a little different:
1249
- * Define PNG_BUILD_DLL if you are building a dll for use with cygwin
1250
- * Define PNG_STATIC if you are building a static library for use with cygwin,
1251
- * -or- if you are building an application that you want to link to the
1252
- * static library.
1253
- * PNG_USE_DLL is defined by default (no user action needed) unless one of
1254
- * the other flags is defined.
1255
- */
315
+ /* The ordinal value is only relevant when preprocessing png.h for symbol
316
+ * table entries, so we discard it here. See the .dfn files in the
317
+ * scripts directory.
318
+ */
319
+ #ifndef PNG_EXPORTA
1256
320
 
1257
- #if !defined(PNG_DLL) && (defined(PNG_BUILD_DLL) || defined(PNG_USE_DLL))
1258
- # define PNG_DLL
321
+ # define PNG_EXPORTA(ordinal, type, name, args, attributes)\
322
+ PNG_FUNCTION(PNG_EXPORT_TYPE(type),(PNGAPI name),PNGARG(args), \
323
+ extern attributes)
1259
324
  #endif
1260
325
 
1261
- /* If you define PNGAPI, e.g., with compiler option "-DPNGAPI=__stdcall",
1262
- * you may get warnings regarding the linkage of png_zalloc and png_zfree.
1263
- * Don't ignore those warnings; you must also reset the default calling
1264
- * convention in your compiler to match your PNGAPI, and you must build
1265
- * zlib and your applications the same way you build libpng.
326
+ /* ANSI-C (C90) does not permit a macro to be invoked with an empty argument,
327
+ * so make something non-empty to satisfy the requirement:
1266
328
  */
329
+ #define PNG_EMPTY /*empty list*/
1267
330
 
1268
- #ifdef __CYGWIN__
1269
- # undef PNGAPI
1270
- # define PNGAPI __cdecl
1271
- # undef PNG_IMPEXP
1272
- # define PNG_IMPEXP
1273
- #endif
331
+ #define PNG_EXPORT(ordinal, type, name, args)\
332
+ PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY)
1274
333
 
1275
- #ifdef __WATCOMC__
1276
- # ifndef PNGAPI
1277
- # define PNGAPI
1278
- # endif
1279
- #endif
1280
-
1281
- #if defined(__MINGW32__) && !defined(PNG_MODULEDEF)
1282
- # ifndef PNG_NO_MODULEDEF
1283
- # define PNG_NO_MODULEDEF
1284
- # endif
334
+ /* Use PNG_REMOVED to comment out a removed interface. */
335
+ #ifndef PNG_REMOVED
336
+ # define PNG_REMOVED(ordinal, type, name, args, attributes)
1285
337
  #endif
1286
338
 
1287
- #if !defined(PNG_IMPEXP) && defined(PNG_BUILD_DLL) && !defined(PNG_NO_MODULEDEF)
1288
- # define PNG_IMPEXP
339
+ #ifndef PNG_CALLBACK
340
+ # define PNG_CALLBACK(type, name, args) type (PNGCBAPI name) PNGARG(args)
1289
341
  #endif
1290
342
 
1291
- #if defined(PNG_DLL) || defined(_DLL) || defined(__DLL__ ) || \
1292
- (( defined(_Windows) || defined(_WINDOWS) || \
1293
- defined(WIN32) || defined(_WIN32) || defined(__WIN32__) ))
1294
-
1295
- # ifndef PNGAPI
1296
- # if defined(__GNUC__) || (defined (_MSC_VER) && (_MSC_VER >= 800))
1297
- # define PNGAPI __cdecl
1298
- # else
1299
- # define PNGAPI _cdecl
1300
- # endif
1301
- # endif
1302
-
1303
- # if !defined(PNG_IMPEXP) && (!defined(PNG_DLL) || \
1304
- 0 /* WINCOMPILER_WITH_NO_SUPPORT_FOR_DECLIMPEXP */)
1305
- # define PNG_IMPEXP
1306
- # endif
1307
-
1308
- # ifndef PNG_IMPEXP
1309
-
1310
- # define PNG_EXPORT_TYPE1(type,symbol) PNG_IMPEXP type PNGAPI symbol
1311
- # define PNG_EXPORT_TYPE2(type,symbol) type PNG_IMPEXP PNGAPI symbol
1312
-
1313
- /* Borland/Microsoft */
1314
- # if defined(_MSC_VER) || defined(__BORLANDC__)
1315
- # if (_MSC_VER >= 800) || (__BORLANDC__ >= 0x500)
1316
- # define PNG_EXPORT PNG_EXPORT_TYPE1
1317
- # else
1318
- # define PNG_EXPORT PNG_EXPORT_TYPE2
1319
- # ifdef PNG_BUILD_DLL
1320
- # define PNG_IMPEXP __export
1321
- # else
1322
- # define PNG_IMPEXP /*__import */ /* doesn't exist AFAIK in VC++ */
1323
- # endif /* Exists in Borland C++ for
1324
- C++ classes (== huge) */
1325
- # endif
1326
- # endif
1327
-
1328
- # ifndef PNG_IMPEXP
1329
- # ifdef PNG_BUILD_DLL
1330
- # define PNG_IMPEXP __declspec(dllexport)
1331
- # else
1332
- # define PNG_IMPEXP __declspec(dllimport)
1333
- # endif
1334
- # endif
1335
- # endif /* PNG_IMPEXP */
1336
- #else /* !(DLL || non-cygwin WINDOWS) */
1337
- # if (defined(__IBMC__) || defined(__IBMCPP__)) && defined(__OS2__)
1338
- # ifndef PNGAPI
1339
- # define PNGAPI _System
1340
- # endif
1341
- # else
1342
- # if 0 /* ... other platforms, with other meanings */
1343
- # endif
1344
- # endif
1345
- #endif
1346
-
1347
- #ifndef PNGAPI
1348
- # define PNGAPI
1349
- #endif
1350
- #ifndef PNG_IMPEXP
1351
- # define PNG_IMPEXP
1352
- #endif
1353
-
1354
- #ifdef PNG_BUILDSYMS
1355
- # ifndef PNG_EXPORT
1356
- # define PNG_EXPORT(type,symbol) PNG_FUNCTION_EXPORT symbol END
1357
- # endif
1358
- #endif
1359
-
1360
- #ifndef PNG_EXPORT
1361
- # define PNG_EXPORT(type,symbol) PNG_IMPEXP type PNGAPI symbol
1362
- #endif
1363
-
1364
- #define PNG_USE_LOCAL_ARRAYS /* Not used in libpng, defined for legacy apps */
1365
-
1366
343
  /* Support for compiler specific function attributes. These are used
1367
344
  * so that where compiler support is available incorrect use of API
1368
345
  * functions in png.h will generate compiler warnings.
@@ -1377,42 +354,71 @@ typedef char FAR * FAR * FAR * png_charppp;
1377
354
  #endif
1378
355
 
1379
356
  #ifdef PNG_PEDANTIC_WARNINGS_SUPPORTED
1380
- /* Support for compiler specific function attributes. These are used
1381
- * so that where compiler support is available incorrect use of API
1382
- * functions in png.h will generate compiler warnings. Added at libpng
1383
- * version 1.2.41.
1384
- */
1385
- # ifdef __GNUC__
357
+ /* Support for compiler specific function attributes. These are used
358
+ * so that where compiler support is available, incorrect use of API
359
+ * functions in png.h will generate compiler warnings. Added at libpng
360
+ * version 1.2.41. Disabling these removes the warnings but may also produce
361
+ * less efficient code.
362
+ */
363
+ # if defined(__GNUC__)
1386
364
  # ifndef PNG_USE_RESULT
1387
365
  # define PNG_USE_RESULT __attribute__((__warn_unused_result__))
1388
366
  # endif
1389
367
  # ifndef PNG_NORETURN
1390
368
  # define PNG_NORETURN __attribute__((__noreturn__))
1391
369
  # endif
370
+ # if __GNUC__ >= 3
371
+ # ifndef PNG_ALLOCATED
372
+ # define PNG_ALLOCATED __attribute__((__malloc__))
373
+ # endif
374
+ # ifndef PNG_DEPRECATED
375
+ # define PNG_DEPRECATED __attribute__((__deprecated__))
376
+ # endif
377
+ # ifndef PNG_PRIVATE
378
+ # if 0 /* Doesn't work so we use deprecated instead*/
379
+ # define PNG_PRIVATE \
380
+ __attribute__((warning("This function is not exported by libpng.")))
381
+ # else
382
+ # define PNG_PRIVATE \
383
+ __attribute__((__deprecated__))
384
+ # endif
385
+ # endif
386
+ # if ((__GNUC__ != 3) || !defined(__GNUC_MINOR__) || (__GNUC_MINOR__ >= 1))
387
+ # ifndef PNG_RESTRICT
388
+ # define PNG_RESTRICT __restrict
389
+ # endif
390
+ # endif /* __GNUC__ == 3.0 */
391
+ # endif /* __GNUC__ >= 3 */
392
+
393
+ # elif defined(_MSC_VER) && (_MSC_VER >= 1300)
394
+ # ifndef PNG_USE_RESULT
395
+ # define PNG_USE_RESULT /* not supported */
396
+ # endif
397
+ # ifndef PNG_NORETURN
398
+ # define PNG_NORETURN __declspec(noreturn)
399
+ # endif
1392
400
  # ifndef PNG_ALLOCATED
1393
- # define PNG_ALLOCATED __attribute__((__malloc__))
401
+ # if (_MSC_VER >= 1400)
402
+ # define PNG_ALLOCATED __declspec(restrict)
403
+ # endif
1394
404
  # endif
1395
405
  # ifndef PNG_DEPRECATED
1396
- # define PNG_DEPRECATED __attribute__((__deprecated__))
1397
- # endif
1398
-
1399
- /* This specifically protects structure members that should only be
1400
- * accessed from within the library, therefore should be empty during
1401
- * a library build.
1402
- */
1403
- # ifndef PNG_DEPSTRUCT
1404
- # define PNG_DEPSTRUCT __attribute__((__deprecated__))
406
+ # define PNG_DEPRECATED __declspec(deprecated)
1405
407
  # endif
1406
408
  # ifndef PNG_PRIVATE
1407
- # if 0 /* Doesn't work so we use deprecated instead*/
1408
- # define PNG_PRIVATE \
1409
- __attribute__((warning("This function is not exported by libpng.")))
1410
- # else
1411
- # define PNG_PRIVATE \
1412
- __attribute__((__deprecated__))
409
+ # define PNG_PRIVATE __declspec(deprecated)
410
+ # endif
411
+ # ifndef PNG_RESTRICT
412
+ # if (_MSC_VER >= 1400)
413
+ # define PNG_RESTRICT __restrict
1413
414
  # endif
1414
- # endif /* PNG_PRIVATE */
1415
- # endif /* __GNUC__ */
415
+ # endif
416
+
417
+ # elif defined(__WATCOMC__)
418
+ # ifndef PNG_RESTRICT
419
+ # define PNG_RESTRICT __restrict
420
+ # endif
421
+ # endif /* _MSC_VER */
1416
422
  #endif /* PNG_PEDANTIC_WARNINGS */
1417
423
 
1418
424
  #ifndef PNG_DEPRECATED
@@ -1427,126 +433,184 @@ typedef char FAR * FAR * FAR * png_charppp;
1427
433
  #ifndef PNG_ALLOCATED
1428
434
  # define PNG_ALLOCATED /* The result of the function is new memory */
1429
435
  #endif
1430
- #ifndef PNG_DEPSTRUCT
1431
- # define PNG_DEPSTRUCT /* Access to this struct member is deprecated */
1432
- #endif
1433
436
  #ifndef PNG_PRIVATE
1434
437
  # define PNG_PRIVATE /* This is a private libpng function */
1435
438
  #endif
439
+ #ifndef PNG_RESTRICT
440
+ # define PNG_RESTRICT /* The C99 "restrict" feature */
441
+ #endif
442
+ #ifndef PNG_FP_EXPORT /* A floating point API. */
443
+ # ifdef PNG_FLOATING_POINT_SUPPORTED
444
+ # define PNG_FP_EXPORT(ordinal, type, name, args)\
445
+ PNG_EXPORT(ordinal, type, name, args);
446
+ # else /* No floating point APIs */
447
+ # define PNG_FP_EXPORT(ordinal, type, name, args)
448
+ # endif
449
+ #endif
450
+ #ifndef PNG_FIXED_EXPORT /* A fixed point API. */
451
+ # ifdef PNG_FIXED_POINT_SUPPORTED
452
+ # define PNG_FIXED_EXPORT(ordinal, type, name, args)\
453
+ PNG_EXPORT(ordinal, type, name, args);
454
+ # else /* No fixed point APIs */
455
+ # define PNG_FIXED_EXPORT(ordinal, type, name, args)
456
+ # endif
457
+ #endif
1436
458
 
1437
- /* Users may want to use these so they are not private. Any library
1438
- * functions that are passed far data must be model-independent.
459
+ #ifndef PNG_BUILDING_SYMBOL_TABLE
460
+ /* Some typedefs to get us started. These should be safe on most of the common
461
+ * platforms.
462
+ *
463
+ * png_uint_32 and png_int_32 may, currently, be larger than required to hold a
464
+ * 32-bit value however this is not normally advisable.
465
+ *
466
+ * png_uint_16 and png_int_16 should always be two bytes in size - this is
467
+ * verified at library build time.
468
+ *
469
+ * png_byte must always be one byte in size.
470
+ *
471
+ * The checks below use constants from limits.h, as defined by the ISOC90
472
+ * standard.
1439
473
  */
474
+ #if CHAR_BIT == 8 && UCHAR_MAX == 255
475
+ typedef unsigned char png_byte;
476
+ #else
477
+ # error "libpng requires 8 bit bytes"
478
+ #endif
1440
479
 
1441
- /* memory model/platform independent fns */
1442
- #ifndef PNG_ABORT
1443
- # if (defined(_Windows) || defined(_WINDOWS) || defined(_WINDOWS_))
1444
- # define PNG_ABORT() ExitProcess(0)
1445
- # else
1446
- # define PNG_ABORT() abort()
1447
- # endif
480
+ #if INT_MIN == -32768 && INT_MAX == 32767
481
+ typedef int png_int_16;
482
+ #elif SHRT_MIN == -32768 && SHRT_MAX == 32767
483
+ typedef short png_int_16;
484
+ #else
485
+ # error "libpng requires a signed 16 bit type"
1448
486
  #endif
1449
487
 
1450
- #ifdef USE_FAR_KEYWORD
1451
- /* Use this to make far-to-near assignments */
1452
- # define CHECK 1
1453
- # define NOCHECK 0
1454
- # define CVT_PTR(ptr) (png_far_to_near(png_ptr,ptr,CHECK))
1455
- # define CVT_PTR_NOCHECK(ptr) (png_far_to_near(png_ptr,ptr,NOCHECK))
1456
- # define png_strcpy _fstrcpy
1457
- # define png_strncpy _fstrncpy /* Added to v 1.2.6 */
1458
- # define png_strlen _fstrlen
1459
- # define png_memcmp _fmemcmp /* SJT: added */
1460
- # define png_memcpy _fmemcpy
1461
- # define png_memset _fmemset
1462
- # define png_sprintf sprintf
488
+ #if UINT_MAX == 65535
489
+ typedef unsigned int png_uint_16;
490
+ #elif USHRT_MAX == 65535
491
+ typedef unsigned short png_uint_16;
1463
492
  #else
1464
- # if (defined(_Windows) || defined(_WINDOWS) || defined(_WINDOWS_))
1465
- # /* Favor Windows over C runtime fns */
1466
- # define CVT_PTR(ptr) (ptr)
1467
- # define CVT_PTR_NOCHECK(ptr) (ptr)
1468
- # define png_strcpy lstrcpyA
1469
- # define png_strncpy lstrcpynA
1470
- # define png_strlen lstrlenA
1471
- # define png_memcmp memcmp
1472
- # define png_memcpy CopyMemory
1473
- # define png_memset memset
1474
- # define png_sprintf wsprintfA
1475
- # else
1476
- # define CVT_PTR(ptr) (ptr)
1477
- # define CVT_PTR_NOCHECK(ptr) (ptr)
1478
- # define png_strcpy strcpy
1479
- # define png_strncpy strncpy /* Added to v 1.2.6 */
1480
- # define png_strlen strlen
1481
- # define png_memcmp memcmp /* SJT: added */
1482
- # define png_memcpy memcpy
1483
- # define png_memset memset
1484
- # define png_sprintf sprintf
1485
- # endif
493
+ # error "libpng requires an unsigned 16 bit type"
1486
494
  #endif
1487
495
 
1488
- #ifndef PNG_NO_SNPRINTF
1489
- # ifdef _MSC_VER
1490
- # define png_snprintf _snprintf /* Added to v 1.2.19 */
1491
- # define png_snprintf2 _snprintf
1492
- # define png_snprintf6 _snprintf
1493
- # else
1494
- # define png_snprintf snprintf /* Added to v 1.2.19 */
1495
- # define png_snprintf2 snprintf
1496
- # define png_snprintf6 snprintf
1497
- # endif
496
+ #if INT_MIN < -2147483646 && INT_MAX > 2147483646
497
+ typedef int png_int_32;
498
+ #elif LONG_MIN < -2147483646 && LONG_MAX > 2147483646
499
+ typedef long int png_int_32;
500
+ #else
501
+ # error "libpng requires a signed 32 bit (or more) type"
502
+ #endif
503
+
504
+ #if UINT_MAX > 4294967294
505
+ typedef unsigned int png_uint_32;
506
+ #elif ULONG_MAX > 4294967294
507
+ typedef unsigned long int png_uint_32;
1498
508
  #else
1499
- /* You don't have or don't want to use snprintf(). Caution: Using
1500
- * sprintf instead of snprintf exposes your application to accidental
1501
- * or malevolent buffer overflows. If you don't have snprintf()
1502
- * as a general rule you should provide one (you can get one from
1503
- * Portable OpenSSH).
509
+ # error "libpng requires an unsigned 32 bit (or more) type"
510
+ #endif
511
+
512
+ /* Prior to 1.6.0 it was possible to disable the use of size_t, 1.6.0, however,
513
+ * requires an ISOC90 compiler and relies on consistent behavior of sizeof.
514
+ */
515
+ typedef size_t png_size_t;
516
+ typedef ptrdiff_t png_ptrdiff_t;
517
+
518
+ /* libpng needs to know the maximum value of 'size_t' and this controls the
519
+ * definition of png_alloc_size_t, below. This maximum value of size_t limits
520
+ * but does not control the maximum allocations the library makes - there is
521
+ * direct application control of this through png_set_user_limits().
522
+ */
523
+ #ifndef PNG_SMALL_SIZE_T
524
+ /* Compiler specific tests for systems where size_t is known to be less than
525
+ * 32 bits (some of these systems may no longer work because of the lack of
526
+ * 'far' support; see above.)
1504
527
  */
1505
- # define png_snprintf(s1,n,fmt,x1) png_sprintf(s1,fmt,x1)
1506
- # define png_snprintf2(s1,n,fmt,x1,x2) png_sprintf(s1,fmt,x1,x2)
1507
- # define png_snprintf6(s1,n,fmt,x1,x2,x3,x4,x5,x6) \
1508
- png_sprintf(s1,fmt,x1,x2,x3,x4,x5,x6)
528
+ # if (defined(__TURBOC__) && !defined(__FLAT__)) ||\
529
+ (defined(_MSC_VER) && defined(MAXSEG_64K))
530
+ # define PNG_SMALL_SIZE_T
531
+ # endif
1509
532
  #endif
1510
533
 
1511
- /* png_alloc_size_t is guaranteed to be no smaller than png_size_t,
1512
- * and no smaller than png_uint_32. Casts from png_size_t or png_uint_32
1513
- * to png_alloc_size_t are not necessary; in fact, it is recommended
1514
- * not to use them at all so that the compiler can complain when something
1515
- * turns out to be problematic.
534
+ /* png_alloc_size_t is guaranteed to be no smaller than png_size_t, and no
535
+ * smaller than png_uint_32. Casts from png_size_t or png_uint_32 to
536
+ * png_alloc_size_t are not necessary; in fact, it is recommended not to use
537
+ * them at all so that the compiler can complain when something turns out to be
538
+ * problematic.
539
+ *
1516
540
  * Casts in the other direction (from png_alloc_size_t to png_size_t or
1517
- * png_uint_32) should be explicitly applied; however, we do not expect
1518
- * to encounter practical situations that require such conversions.
541
+ * png_uint_32) should be explicitly applied; however, we do not expect to
542
+ * encounter practical situations that require such conversions.
543
+ *
544
+ * PNG_SMALL_SIZE_T must be defined if the maximum value of size_t is less than
545
+ * 4294967295 - i.e. less than the maximum value of png_uint_32.
1519
546
  */
1520
- #if defined(__TURBOC__) && !defined(__FLAT__)
1521
- typedef unsigned long png_alloc_size_t;
547
+ #ifdef PNG_SMALL_SIZE_T
548
+ typedef png_uint_32 png_alloc_size_t;
1522
549
  #else
1523
- # if defined(_MSC_VER) && defined(MAXSEG_64K)
1524
- typedef unsigned long png_alloc_size_t;
1525
- # else
1526
- /* This is an attempt to detect an old Windows system where (int) is
1527
- * actually 16 bits, in that case png_malloc must have an argument with a
1528
- * bigger size to accomodate the requirements of the library.
1529
- */
1530
- # if (defined(_Windows) || defined(_WINDOWS) || defined(_WINDOWS_)) && \
1531
- (!defined(INT_MAX) || INT_MAX <= 0x7ffffffeL)
1532
- typedef DWORD png_alloc_size_t;
1533
- # else
1534
- typedef png_size_t png_alloc_size_t;
1535
- # endif
1536
- # endif
550
+ typedef png_size_t png_alloc_size_t;
1537
551
  #endif
1538
- /* End of memory model/platform independent support */
1539
552
 
1540
- /* Just a little check that someone hasn't tried to define something
1541
- * contradictory.
553
+ /* Prior to 1.6.0 libpng offered limited support for Microsoft C compiler
554
+ * implementations of Intel CPU specific support of user-mode segmented address
555
+ * spaces, where 16-bit pointers address more than 65536 bytes of memory using
556
+ * separate 'segment' registers. The implementation requires two different
557
+ * types of pointer (only one of which includes the segment value.)
558
+ *
559
+ * If required this support is available in version 1.2 of libpng and may be
560
+ * available in versions through 1.5, although the correctness of the code has
561
+ * not been verified recently.
562
+ */
563
+
564
+ /* Typedef for floating-point numbers that are converted to fixed-point with a
565
+ * multiple of 100,000, e.g., gamma
1542
566
  */
1543
- #if (PNG_ZBUF_SIZE > 65536L) && defined(PNG_MAX_MALLOC_64K)
1544
- # undef PNG_ZBUF_SIZE
1545
- # define PNG_ZBUF_SIZE 65536L
567
+ typedef png_int_32 png_fixed_point;
568
+
569
+ /* Add typedefs for pointers */
570
+ typedef void * png_voidp;
571
+ typedef const void * png_const_voidp;
572
+ typedef png_byte * png_bytep;
573
+ typedef const png_byte * png_const_bytep;
574
+ typedef png_uint_32 * png_uint_32p;
575
+ typedef const png_uint_32 * png_const_uint_32p;
576
+ typedef png_int_32 * png_int_32p;
577
+ typedef const png_int_32 * png_const_int_32p;
578
+ typedef png_uint_16 * png_uint_16p;
579
+ typedef const png_uint_16 * png_const_uint_16p;
580
+ typedef png_int_16 * png_int_16p;
581
+ typedef const png_int_16 * png_const_int_16p;
582
+ typedef char * png_charp;
583
+ typedef const char * png_const_charp;
584
+ typedef png_fixed_point * png_fixed_point_p;
585
+ typedef const png_fixed_point * png_const_fixed_point_p;
586
+ typedef png_size_t * png_size_tp;
587
+ typedef const png_size_t * png_const_size_tp;
588
+
589
+ #ifdef PNG_STDIO_SUPPORTED
590
+ typedef FILE * png_FILE_p;
1546
591
  #endif
1547
592
 
593
+ #ifdef PNG_FLOATING_POINT_SUPPORTED
594
+ typedef double * png_doublep;
595
+ typedef const double * png_const_doublep;
596
+ #endif
597
+
598
+ /* Pointers to pointers; i.e. arrays */
599
+ typedef png_byte * * png_bytepp;
600
+ typedef png_uint_32 * * png_uint_32pp;
601
+ typedef png_int_32 * * png_int_32pp;
602
+ typedef png_uint_16 * * png_uint_16pp;
603
+ typedef png_int_16 * * png_int_16pp;
604
+ typedef const char * * png_const_charpp;
605
+ typedef char * * png_charpp;
606
+ typedef png_fixed_point * * png_fixed_point_pp;
607
+ #ifdef PNG_FLOATING_POINT_SUPPORTED
608
+ typedef double * * png_doublepp;
609
+ #endif
610
+
611
+ /* Pointers to pointers to pointers; i.e., pointer to array */
612
+ typedef char * * * png_charppp;
1548
613
 
1549
- /* Added at libpng-1.2.8 */
1550
- #endif /* PNG_VERSION_INFO_ONLY */
614
+ #endif /* PNG_BUILDING_SYMBOL_TABLE */
1551
615
 
1552
616
  #endif /* PNGCONF_H */