glib2 3.2.1-x86-mingw32 → 3.2.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (927) hide show
  1. checksums.yaml +5 -5
  2. data/Rakefile +16 -15
  3. data/ext/glib2/glib2.def +3 -0
  4. data/ext/glib2/rbglib-bytes.c +1 -0
  5. data/ext/glib2/rbglib.h +5 -1
  6. data/ext/glib2/rbgobj_object.c +30 -17
  7. data/ext/glib2/rbgobj_type.c +246 -130
  8. data/ext/glib2/rbgobject.h +12 -1
  9. data/lib/2.2/glib2.so +0 -0
  10. data/lib/2.3/glib2.so +0 -0
  11. data/lib/2.4/glib2.so +0 -0
  12. data/lib/2.5/glib2.so +0 -0
  13. data/lib/gnome2/rake/external-package.rb +32 -12
  14. data/lib/gnome2/rake/windows-binary-build-task.rb +53 -52
  15. data/lib/mkmf-gnome2.rb +0 -10
  16. data/vendor/local/bin/asn1Coding.exe +0 -0
  17. data/vendor/local/bin/asn1Decoding.exe +0 -0
  18. data/vendor/local/bin/asn1Parser.exe +0 -0
  19. data/vendor/local/bin/envsubst.exe +0 -0
  20. data/vendor/local/bin/gdbus-codegen +13 -1
  21. data/vendor/local/bin/gdbus.exe +0 -0
  22. data/vendor/local/bin/gettext.exe +0 -0
  23. data/vendor/local/bin/gio-querymodules.exe +0 -0
  24. data/vendor/local/bin/gio.exe +0 -0
  25. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  26. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  27. data/vendor/local/bin/glib-genmarshal +25 -14
  28. data/vendor/local/bin/glib-gettextize +2 -2
  29. data/vendor/local/bin/glib-mkenums +48 -21
  30. data/vendor/local/bin/gobject-query.exe +0 -0
  31. data/vendor/local/bin/gresource.exe +0 -0
  32. data/vendor/local/bin/gsettings.exe +0 -0
  33. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  34. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  35. data/vendor/local/bin/iconv.exe +0 -0
  36. data/vendor/local/bin/idn2.exe +0 -0
  37. data/vendor/local/bin/libasprintf-0.dll +0 -0
  38. data/vendor/local/bin/libcharset-1.dll +0 -0
  39. data/vendor/local/bin/libffi-6.dll +0 -0
  40. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  41. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  42. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  43. data/vendor/local/bin/libgmp-10.dll +0 -0
  44. data/vendor/local/bin/libgnutls-30.dll +0 -0
  45. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  46. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  47. data/vendor/local/bin/libhogweed-4-2.dll +0 -0
  48. data/vendor/local/bin/libiconv-2.dll +0 -0
  49. data/vendor/local/bin/libidn2-0.dll +0 -0
  50. data/vendor/local/bin/libintl-8.dll +0 -0
  51. data/vendor/local/bin/libnettle-6-2.dll +0 -0
  52. data/vendor/local/bin/libp11-kit-0.dll +0 -0
  53. data/vendor/local/bin/libpcre-1.dll +0 -0
  54. data/vendor/local/bin/libpcrecpp-0.dll +0 -0
  55. data/vendor/local/bin/libpcreposix-0.dll +0 -0
  56. data/vendor/local/bin/libtasn1-6.dll +0 -0
  57. data/vendor/local/bin/nettle-hash.exe +0 -0
  58. data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
  59. data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
  60. data/vendor/local/bin/ngettext.exe +0 -0
  61. data/vendor/local/bin/p11-kit.exe +0 -0
  62. data/vendor/local/bin/pcre-config +1 -1
  63. data/vendor/local/bin/pcregrep.exe +0 -0
  64. data/vendor/local/bin/pcretest.exe +0 -0
  65. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  66. data/vendor/local/bin/sexp-conv.exe +0 -0
  67. data/vendor/local/bin/trust.exe +0 -0
  68. data/vendor/local/include/glib-2.0/gio/gappinfo.h +6 -6
  69. data/vendor/local/include/glib-2.0/gio/gapplication.h +9 -1
  70. data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +3 -3
  71. data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +3 -3
  72. data/vendor/local/include/glib-2.0/gio/gdbuserror.h +2 -2
  73. data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +1 -1
  74. data/vendor/local/include/glib-2.0/gio/gfile.h +21 -0
  75. data/vendor/local/include/glib-2.0/gio/gioenums.h +4 -4
  76. data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +1 -1
  77. data/vendor/local/include/glib-2.0/gio/giomodule.h +24 -0
  78. data/vendor/local/include/glib-2.0/gio/giotypes.h +9 -3
  79. data/vendor/local/include/glib-2.0/gio/gmountoperation.h +15 -0
  80. data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +1 -1
  81. data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +1 -1
  82. data/vendor/local/include/glib-2.0/gio/gsocket.h +12 -0
  83. data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +1 -1
  84. data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +1 -1
  85. data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +1 -1
  86. data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +2 -2
  87. data/vendor/local/include/glib-2.0/glib/gatomic.h +23 -23
  88. data/vendor/local/include/glib-2.0/glib/gbacktrace.h +3 -0
  89. data/vendor/local/include/glib-2.0/glib/gconvert.h +9 -3
  90. data/vendor/local/include/glib-2.0/glib/gdate.h +2 -0
  91. data/vendor/local/include/glib-2.0/glib/gdatetime.h +4 -0
  92. data/vendor/local/include/glib-2.0/glib/gfileutils.h +4 -8
  93. data/vendor/local/include/glib-2.0/glib/gkeyfile.h +5 -0
  94. data/vendor/local/include/glib-2.0/glib/gmacros.h +37 -6
  95. data/vendor/local/include/glib-2.0/glib/gmain.h +44 -12
  96. data/vendor/local/include/glib-2.0/glib/gmem.h +5 -4
  97. data/vendor/local/include/glib-2.0/glib/gmessages.h +69 -68
  98. data/vendor/local/include/glib-2.0/glib/gregex.h +3 -3
  99. data/vendor/local/include/glib-2.0/glib/gspawn.h +1 -1
  100. data/vendor/local/include/glib-2.0/glib/gtestutils.h +14 -5
  101. data/vendor/local/include/glib-2.0/glib/gtypes.h +2 -2
  102. data/vendor/local/include/glib-2.0/glib/gunicode.h +4 -4
  103. data/vendor/local/include/glib-2.0/glib/gutils.h +3 -1
  104. data/vendor/local/include/glib-2.0/glib/gversionmacros.h +24 -0
  105. data/vendor/local/include/glib-2.0/gobject/gobject.h +111 -4
  106. data/vendor/local/include/glib-2.0/gobject/gtype.h +8 -8
  107. data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
  108. data/vendor/local/include/glib-2.0/gobject/gvalue.h +2 -0
  109. data/vendor/local/include/idn2.h +347 -0
  110. data/vendor/local/include/libtasn1.h +1 -1
  111. data/vendor/local/include/nettle/nettle-stdint.h +1 -1
  112. data/vendor/local/include/p11-kit-1/p11-kit/iter.h +2 -0
  113. data/vendor/local/include/p11-kit-1/p11-kit/pkcs11.h +27 -6
  114. data/vendor/local/include/p11-kit-1/p11-kit/uri.h +12 -0
  115. data/vendor/local/lib/charset.alias +1 -1
  116. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  117. data/vendor/local/lib/glib-2.0/include/glibconfig.h +7 -2
  118. data/vendor/local/lib/libasprintf.a +0 -0
  119. data/vendor/local/lib/libasprintf.dll.a +0 -0
  120. data/vendor/local/lib/libasprintf.la +2 -2
  121. data/vendor/local/lib/libcharset.a +0 -0
  122. data/vendor/local/lib/libcharset.dll.a +0 -0
  123. data/vendor/local/lib/libcharset.la +2 -2
  124. data/vendor/local/lib/libffi.a +0 -0
  125. data/vendor/local/lib/libffi.dll.a +0 -0
  126. data/vendor/local/lib/libffi.la +2 -2
  127. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  128. data/vendor/local/lib/libgio-2.0.la +6 -6
  129. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  130. data/vendor/local/lib/libglib-2.0.la +6 -6
  131. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  132. data/vendor/local/lib/libgmodule-2.0.la +6 -6
  133. data/vendor/local/lib/libgmp.dll.a +0 -0
  134. data/vendor/local/lib/libgmp.la +2 -2
  135. data/vendor/local/lib/libgnutls.dll.a +0 -0
  136. data/vendor/local/lib/libgnutls.la +2 -2
  137. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  138. data/vendor/local/lib/libgobject-2.0.la +6 -6
  139. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  140. data/vendor/local/lib/libgthread-2.0.la +6 -6
  141. data/vendor/local/lib/libhogweed.a +0 -0
  142. data/vendor/local/lib/libhogweed.dll.a +0 -0
  143. data/vendor/local/lib/libiconv.dll.a +0 -0
  144. data/vendor/local/lib/libiconv.la +2 -2
  145. data/vendor/local/lib/libidn2.a +0 -0
  146. data/vendor/local/lib/libidn2.dll.a +0 -0
  147. data/vendor/local/lib/libidn2.la +41 -0
  148. data/vendor/local/lib/libintl.a +0 -0
  149. data/vendor/local/lib/libintl.dll.a +0 -0
  150. data/vendor/local/lib/libintl.la +2 -2
  151. data/vendor/local/lib/libnettle.a +0 -0
  152. data/vendor/local/lib/libnettle.dll.a +0 -0
  153. data/vendor/local/lib/libp11-kit.dll.a +0 -0
  154. data/vendor/local/lib/libp11-kit.la +6 -6
  155. data/vendor/local/lib/libpcre.a +0 -0
  156. data/vendor/local/lib/libpcre.dll.a +0 -0
  157. data/vendor/local/lib/libpcre.la +2 -2
  158. data/vendor/local/lib/libpcrecpp.a +0 -0
  159. data/vendor/local/lib/libpcrecpp.dll.a +0 -0
  160. data/vendor/local/lib/libpcrecpp.la +2 -2
  161. data/vendor/local/lib/libpcreposix.a +0 -0
  162. data/vendor/local/lib/libpcreposix.dll.a +0 -0
  163. data/vendor/local/lib/libpcreposix.la +2 -2
  164. data/vendor/local/lib/libtasn1.a +0 -0
  165. data/vendor/local/lib/libtasn1.dll.a +0 -0
  166. data/vendor/local/lib/libtasn1.la +3 -3
  167. data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
  168. data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
  169. data/vendor/local/lib/pkcs11/p11-kit-trust.la +6 -6
  170. data/vendor/local/lib/pkgconfig/gio-2.0.pc +3 -3
  171. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +2 -2
  172. data/vendor/local/lib/pkgconfig/glib-2.0.pc +3 -3
  173. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +2 -2
  174. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +2 -2
  175. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +2 -2
  176. data/vendor/local/lib/pkgconfig/gnutls.pc +3 -3
  177. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +3 -3
  178. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +2 -2
  179. data/vendor/local/lib/pkgconfig/hogweed.pc +1 -1
  180. data/vendor/local/lib/pkgconfig/libffi.pc +1 -1
  181. data/vendor/local/lib/pkgconfig/libidn2.pc +11 -0
  182. data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
  183. data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
  184. data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
  185. data/vendor/local/lib/pkgconfig/libtasn1.pc +2 -2
  186. data/vendor/local/lib/pkgconfig/nettle.pc +1 -1
  187. data/vendor/local/lib/pkgconfig/p11-kit-1.pc +3 -2
  188. data/vendor/local/libexec/p11-kit/p11-kit-remote.exe +0 -0
  189. data/vendor/local/{lib → libexec}/p11-kit/trust-extract-compat +0 -0
  190. data/vendor/local/share/aclocal/glib-2.0.m4 +4 -1
  191. data/vendor/local/share/aclocal/glib-gettext.m4 +4 -1
  192. data/vendor/local/share/aclocal/gsettings.m4 +3 -0
  193. data/vendor/local/share/bash-completion/completions/gsettings +6 -2
  194. data/vendor/local/share/doc/gettext/gettext.1.html +1 -1
  195. data/vendor/local/share/doc/gettext/ngettext.1.html +1 -1
  196. data/vendor/local/share/gdb/auto-load/home/vagrant/{ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.so.0.5400.1-gdb.py → ruby-gnome2/glib2/vendor/local/lib/libglib-2.0.so.0.5600.0-gdb.py} +1 -1
  197. data/vendor/local/share/gdb/auto-load/home/vagrant/{ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.so.0.5400.1-gdb.py → ruby-gnome2/glib2/vendor/local/lib/libgobject-2.0.so.0.5600.0-gdb.py} +1 -1
  198. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  199. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  200. data/vendor/local/share/glib-2.0/codegen/codegen.py +2392 -2369
  201. data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
  202. data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
  203. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.py +3 -5
  204. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
  205. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
  206. data/vendor/local/share/glib-2.0/codegen/codegen_main.py +100 -55
  207. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
  208. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
  209. data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
  210. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  211. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  212. data/vendor/local/share/glib-2.0/codegen/dbustypes.py +9 -2
  213. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
  214. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
  215. data/vendor/local/share/glib-2.0/codegen/parser.py +3 -2
  216. data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
  217. data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
  218. data/vendor/local/share/glib-2.0/codegen/utils.py +40 -0
  219. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  220. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  221. data/vendor/local/share/glib-2.0/schemas/gschema.dtd +3 -2
  222. data/vendor/local/share/gtk-doc/html/gio/GAction.html +11 -11
  223. data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +14 -14
  224. data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +31 -31
  225. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +71 -68
  226. data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +4 -4
  227. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +162 -25
  228. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +87 -89
  229. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +74 -74
  230. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +58 -49
  231. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +10 -10
  232. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +2 -2
  233. data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +4 -4
  234. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +27 -27
  235. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +2 -2
  236. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +7 -7
  237. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +3 -3
  238. data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +7 -5
  239. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +22 -22
  240. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +148 -141
  241. data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +7 -7
  242. data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +7 -7
  243. data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +7 -5
  244. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +40 -40
  245. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +26 -26
  246. data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +5 -5
  247. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +6 -6
  248. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +25 -24
  249. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +4 -4
  250. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +3 -3
  251. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +2 -2
  252. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +87 -73
  253. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +4 -4
  254. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +55 -38
  255. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +10 -10
  256. data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +11 -11
  257. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +20 -20
  258. data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +7 -7
  259. data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +16 -16
  260. data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +5 -5
  261. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +4 -4
  262. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +6 -6
  263. data/vendor/local/share/gtk-doc/html/gio/GFile.html +503 -218
  264. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +4 -4
  265. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +31 -31
  266. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +8 -8
  267. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +4 -4
  268. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +20 -20
  269. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +8 -8
  270. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +3 -3
  271. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +4 -4
  272. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +4 -4
  273. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +3 -3
  274. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +3 -3
  275. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +32 -11
  276. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +11 -11
  277. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +11 -11
  278. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +3 -3
  279. data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +3 -3
  280. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +3 -3
  281. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +8 -8
  282. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +30 -30
  283. data/vendor/local/share/gtk-doc/html/gio/GListModel.html +6 -6
  284. data/vendor/local/share/gtk-doc/html/gio/GListStore.html +10 -10
  285. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +11 -11
  286. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +6 -6
  287. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +15 -15
  288. data/vendor/local/share/gtk-doc/html/gio/GMenu.html +57 -57
  289. data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +14 -14
  290. data/vendor/local/share/gtk-doc/html/gio/GMount.html +31 -29
  291. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +9 -9
  292. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +9 -9
  293. data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +12 -18
  294. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +3 -3
  295. data/vendor/local/share/gtk-doc/html/gio/GNotification.html +12 -8
  296. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +40 -40
  297. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +6 -6
  298. data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +7 -7
  299. data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +11 -7
  300. data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +7 -7
  301. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +10 -10
  302. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +4 -4
  303. data/vendor/local/share/gtk-doc/html/gio/GProxyAddressEnumerator.html +170 -0
  304. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +11 -11
  305. data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +4 -4
  306. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +25 -25
  307. data/vendor/local/share/gtk-doc/html/gio/GResource.html +37 -33
  308. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +16 -9
  309. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +99 -96
  310. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +17 -17
  311. data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +18 -18
  312. data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +4 -4
  313. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +107 -106
  314. data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +2 -2
  315. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +2 -2
  316. data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +4 -4
  317. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +209 -53
  318. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +3 -3
  319. data/vendor/local/share/gtk-doc/html/gio/GSocketAddressEnumerator.html +291 -0
  320. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +31 -31
  321. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +67 -344
  322. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +10 -10
  323. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +5 -5
  324. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +23 -23
  325. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +3 -3
  326. data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +4 -4
  327. data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +33 -33
  328. data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +25 -20
  329. data/vendor/local/share/gtk-doc/html/gio/GTask.html +360 -357
  330. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +2 -2
  331. data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +3 -3
  332. data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +11 -11
  333. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +23 -23
  334. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +2 -2
  335. data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +7 -7
  336. data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +10 -10
  337. data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +40 -23
  338. data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +9 -9
  339. data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +34 -34
  340. data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +5 -5
  341. data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +6 -6
  342. data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +9 -9
  343. data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +5 -5
  344. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +17 -17
  345. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +3 -3
  346. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +8 -8
  347. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +6 -6
  348. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +3 -3
  349. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +3 -3
  350. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +5 -5
  351. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +15 -15
  352. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +27 -27
  353. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +12 -10
  354. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +4 -4
  355. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +3 -3
  356. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +10 -3
  357. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +71 -11
  358. data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
  359. data/vendor/local/share/gtk-doc/html/gio/async.html +2 -2
  360. data/vendor/local/share/gtk-doc/html/gio/ch01.html +2 -2
  361. data/vendor/local/share/gtk-doc/html/gio/ch02.html +2 -2
  362. data/vendor/local/share/gtk-doc/html/gio/ch03.html +2 -2
  363. data/vendor/local/share/gtk-doc/html/gio/ch32.html +2 -2
  364. data/vendor/local/share/gtk-doc/html/gio/ch33.html +31 -31
  365. data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +2 -2
  366. data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +2 -2
  367. data/vendor/local/share/gtk-doc/html/gio/ch34.html +2 -2
  368. data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +2 -2
  369. data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +2 -2
  370. data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +2 -2
  371. data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +2 -2
  372. data/vendor/local/share/gtk-doc/html/gio/ch34s06.html +2 -2
  373. data/vendor/local/share/gtk-doc/html/gio/ch34s07.html +2 -2
  374. data/vendor/local/share/gtk-doc/html/gio/ch35.html +2 -2
  375. data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +2 -2
  376. data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +60 -60
  377. data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +15 -15
  378. data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
  379. data/vendor/local/share/gtk-doc/html/gio/data-models.html +2 -2
  380. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
  381. data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
  382. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
  383. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
  384. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
  385. data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +2 -2
  386. data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +285 -199
  387. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
  388. data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +9 -9
  389. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
  390. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +2 -2
  391. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +15 -13
  392. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +23 -23
  393. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +3 -3
  394. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +70 -21
  395. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +18 -18
  396. data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +2 -2
  397. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +12 -12
  398. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +3 -3
  399. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +3 -3
  400. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +39 -39
  401. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +3 -3
  402. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +7 -7
  403. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +5 -5
  404. data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +2 -2
  405. data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +58 -58
  406. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +3 -3
  407. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +3 -3
  408. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +127 -127
  409. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +14 -14
  410. data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +2 -2
  411. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +114 -24
  412. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +13 -13
  413. data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +3 -3
  414. data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +14 -14
  415. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +6 -6
  416. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +2 -2
  417. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +31 -14
  418. data/vendor/local/share/gtk-doc/html/gio/gio.html +2 -2
  419. data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +2 -2
  420. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
  421. data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
  422. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -4
  423. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
  424. data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
  425. data/vendor/local/share/gtk-doc/html/gio/index.html +9 -3
  426. data/vendor/local/share/gtk-doc/html/gio/migrating.html +2 -2
  427. data/vendor/local/share/gtk-doc/html/gio/networking.html +2 -2
  428. data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
  429. data/vendor/local/share/gtk-doc/html/gio/pt01.html +2 -2
  430. data/vendor/local/share/gtk-doc/html/gio/pt02.html +8 -2
  431. data/vendor/local/share/gtk-doc/html/gio/registry.html +2 -2
  432. data/vendor/local/share/gtk-doc/html/gio/resolver.html +8 -2
  433. data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
  434. data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +2 -2
  435. data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
  436. data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
  437. data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +2 -2
  438. data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
  439. data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
  440. data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
  441. data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
  442. data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
  443. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
  444. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +6 -4
  445. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +47 -3
  446. data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
  447. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +25 -23
  448. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +7 -7
  449. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +11 -11
  450. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +7 -7
  451. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +5 -5
  452. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +23 -21
  453. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +19 -15
  454. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +36 -32
  455. data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +2 -2
  456. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +55 -43
  457. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +4 -4
  458. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +3 -3
  459. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +169 -108
  460. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +91 -91
  461. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +6 -5
  462. data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +8 -7
  463. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +33 -23
  464. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +50 -10
  465. data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +56 -56
  466. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +13 -6
  467. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +45 -38
  468. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +42 -42
  469. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +116 -117
  470. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +57 -47
  471. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +106 -12
  472. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +5 -4
  473. data/vendor/local/share/gtk-doc/html/glib/glib-GUuid.html +4 -3
  474. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +258 -249
  475. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +26 -25
  476. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +3 -3
  477. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +52 -43
  478. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +6 -5
  479. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +3 -2
  480. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +51 -51
  481. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +20 -20
  482. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +237 -50
  483. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +57 -38
  484. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +3 -2
  485. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +36 -30
  486. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +33 -33
  487. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +109 -70
  488. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +180 -74
  489. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +147 -91
  490. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +12 -8
  491. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +2 -2
  492. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +102 -102
  493. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +24 -22
  494. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +8 -8
  495. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +3 -3
  496. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +3 -3
  497. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +43 -41
  498. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +16 -15
  499. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +74 -74
  500. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +26 -18
  501. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +88 -82
  502. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +7 -7
  503. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +3 -3
  504. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +48 -41
  505. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +29 -29
  506. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +264 -124
  507. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +284 -180
  508. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +2 -2
  509. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +192 -191
  510. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +2 -2
  511. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +4 -4
  512. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +12 -12
  513. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +4 -4
  514. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +14 -13
  515. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +49 -37
  516. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +43 -4
  517. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +46 -26
  518. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +10 -10
  519. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +108 -99
  520. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
  521. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +2 -2
  522. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
  523. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +2 -2
  524. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
  525. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
  526. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +2 -2
  527. data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +2 -2
  528. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2 -2
  529. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +2 -2
  530. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +7 -2
  531. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
  532. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +16 -2
  533. data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
  534. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +2 -2
  535. data/vendor/local/share/gtk-doc/html/glib/gtester.html +2 -2
  536. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +157 -157
  537. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +9 -9
  538. data/vendor/local/share/gtk-doc/html/glib/index.html +3 -3
  539. data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
  540. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +35 -34
  541. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +71 -60
  542. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +7 -7
  543. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +4 -2
  544. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +10 -2
  545. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +15 -15
  546. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +32 -32
  547. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +64 -64
  548. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +4 -4
  549. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +24 -24
  550. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +98 -21
  551. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +349 -61
  552. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +21 -21
  553. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +164 -162
  554. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +31 -31
  555. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +12 -12
  556. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +51 -49
  557. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +67 -65
  558. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +55 -52
  559. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +392 -222
  560. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +254 -254
  561. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +20 -19
  562. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +2 -2
  563. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
  564. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +91 -91
  565. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +2 -2
  566. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +2 -0
  567. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +18 -18
  568. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +72 -72
  569. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +117 -117
  570. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +26 -26
  571. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +10 -10
  572. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +14 -14
  573. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +46 -46
  574. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +42 -42
  575. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +134 -134
  576. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +29 -29
  577. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +39 -39
  578. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +72 -72
  579. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +61 -61
  580. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +67 -67
  581. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +64 -64
  582. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +27 -27
  583. data/vendor/local/share/gtk-doc/html/gobject/index.html +3 -3
  584. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +2 -2
  585. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +2 -2
  586. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +2 -2
  587. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +2 -2
  588. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +2 -2
  589. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +2 -2
  590. data/vendor/local/share/gtk-doc/html/gobject/signal.html +19 -19
  591. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
  592. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
  593. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +9 -9
  594. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
  595. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
  596. data/vendor/local/share/gtk-doc/html/libidn2/api-index-full.html +214 -0
  597. data/vendor/local/share/gtk-doc/html/libidn2/home.png +0 -0
  598. data/vendor/local/share/gtk-doc/html/libidn2/index.html +38 -0
  599. data/vendor/local/share/gtk-doc/html/libidn2/left-insensitive.png +0 -0
  600. data/vendor/local/share/gtk-doc/html/libidn2/left.png +0 -0
  601. data/vendor/local/share/gtk-doc/html/libidn2/libidn2-idn2.html +1806 -0
  602. data/vendor/local/share/gtk-doc/html/libidn2/libidn2.devhelp2 +104 -0
  603. data/vendor/local/share/gtk-doc/html/libidn2/libidn2.html +35 -0
  604. data/vendor/local/share/gtk-doc/html/libidn2/right-insensitive.png +0 -0
  605. data/vendor/local/share/gtk-doc/html/libidn2/right.png +0 -0
  606. data/vendor/local/share/gtk-doc/html/libidn2/style.css +479 -0
  607. data/vendor/local/share/gtk-doc/html/libidn2/up-insensitive.png +0 -0
  608. data/vendor/local/share/gtk-doc/html/libidn2/up.png +0 -0
  609. data/vendor/local/share/gtk-doc/html/p11-kit/config-example.html +7 -7
  610. data/vendor/local/share/gtk-doc/html/p11-kit/config-files.html +3 -3
  611. data/vendor/local/share/gtk-doc/html/p11-kit/config.html +3 -3
  612. data/vendor/local/share/gtk-doc/html/p11-kit/devel-building-style.html +3 -3
  613. data/vendor/local/share/gtk-doc/html/p11-kit/devel-building.html +4 -4
  614. data/vendor/local/share/gtk-doc/html/p11-kit/devel-commands.html +3 -3
  615. data/vendor/local/share/gtk-doc/html/p11-kit/devel-debugging.html +3 -3
  616. data/vendor/local/share/gtk-doc/html/p11-kit/devel-paths.html +3 -3
  617. data/vendor/local/share/gtk-doc/html/p11-kit/devel-testing.html +3 -3
  618. data/vendor/local/share/gtk-doc/html/p11-kit/devel.html +3 -3
  619. data/vendor/local/share/gtk-doc/html/p11-kit/index.html +4 -4
  620. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Deprecated.html +44 -44
  621. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +180 -90
  622. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +107 -66
  623. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +58 -58
  624. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +303 -64
  625. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +17 -17
  626. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.devhelp2 +10 -0
  627. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.html +7 -5
  628. data/vendor/local/share/gtk-doc/html/p11-kit/pkcs11-conf.html +6 -6
  629. data/vendor/local/share/gtk-doc/html/p11-kit/reference.html +39 -3
  630. data/vendor/local/share/gtk-doc/html/p11-kit/sharing-managed.html +3 -3
  631. data/vendor/local/share/gtk-doc/html/p11-kit/sharing.html +3 -3
  632. data/vendor/local/share/gtk-doc/html/p11-kit/tools.html +3 -3
  633. data/vendor/local/share/gtk-doc/html/p11-kit/trust-disable.html +3 -3
  634. data/vendor/local/share/gtk-doc/html/p11-kit/trust-glib-networking.html +3 -3
  635. data/vendor/local/share/gtk-doc/html/p11-kit/trust-module.html +3 -3
  636. data/vendor/local/share/gtk-doc/html/p11-kit/trust-nss.html +3 -3
  637. data/vendor/local/share/gtk-doc/html/p11-kit/trust.html +3 -3
  638. data/vendor/local/share/info/dir +4 -7
  639. data/vendor/local/share/info/libidn2.info +1134 -0
  640. data/vendor/local/share/info/libtasn1.info +2 -2
  641. data/vendor/local/share/installed-tests/glib-networking/certificate.test +3 -0
  642. data/vendor/local/share/installed-tests/glib-networking/connection.test +3 -0
  643. data/vendor/local/share/installed-tests/glib-networking/dtls-connection.test +3 -0
  644. data/vendor/local/share/installed-tests/glib-networking/file-database.test +3 -0
  645. data/vendor/local/share/installed-tests/glib-networking/pkcs11-array.test +3 -0
  646. data/vendor/local/share/installed-tests/glib-networking/pkcs11-pin.test +3 -0
  647. data/vendor/local/share/installed-tests/glib-networking/pkcs11-slot.test +3 -0
  648. data/vendor/local/share/installed-tests/glib-networking/pkcs11-util.test +3 -0
  649. data/vendor/local/share/license/glib-networking/COPYING +112 -91
  650. data/vendor/local/share/license/libidn2/AUTHORS +7 -0
  651. data/vendor/local/share/license/libidn2/COPYING +35 -0
  652. data/vendor/local/share/license/{p11-kit → p11-glue/p11-kit}/AUTHORS +0 -0
  653. data/vendor/local/share/license/{p11-kit → p11-glue/p11-kit}/COPYING +0 -0
  654. data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
  655. data/vendor/local/share/locale/an/LC_MESSAGES/glib-networking.mo +0 -0
  656. data/vendor/local/share/locale/an/LC_MESSAGES/glib20.mo +0 -0
  657. data/vendor/local/share/locale/ar/LC_MESSAGES/glib-networking.mo +0 -0
  658. data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
  659. data/vendor/local/share/locale/as/LC_MESSAGES/glib-networking.mo +0 -0
  660. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  661. data/vendor/local/share/locale/be/LC_MESSAGES/glib-networking.mo +0 -0
  662. data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
  663. data/vendor/local/share/locale/bg/LC_MESSAGES/glib-networking.mo +0 -0
  664. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  665. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib-networking.mo +0 -0
  666. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
  667. data/vendor/local/share/locale/bs/LC_MESSAGES/glib-networking.mo +0 -0
  668. data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
  669. data/vendor/local/share/locale/ca/LC_MESSAGES/glib-networking.mo +0 -0
  670. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  671. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib-networking.mo +0 -0
  672. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  673. data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
  674. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  675. data/vendor/local/share/locale/da/LC_MESSAGES/glib-networking.mo +0 -0
  676. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  677. data/vendor/local/share/locale/de/LC_MESSAGES/glib-networking.mo +0 -0
  678. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  679. data/vendor/local/share/locale/el/LC_MESSAGES/glib-networking.mo +0 -0
  680. data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
  681. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib-networking.mo +0 -0
  682. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
  683. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib-networking.mo +0 -0
  684. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
  685. data/vendor/local/share/locale/eo/LC_MESSAGES/glib-networking.mo +0 -0
  686. data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
  687. data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
  688. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  689. data/vendor/local/share/locale/et/LC_MESSAGES/glib-networking.mo +0 -0
  690. data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
  691. data/vendor/local/share/locale/eu/LC_MESSAGES/glib-networking.mo +0 -0
  692. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  693. data/vendor/local/share/locale/fa/LC_MESSAGES/glib-networking.mo +0 -0
  694. data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
  695. data/vendor/local/share/locale/fi/LC_MESSAGES/glib-networking.mo +0 -0
  696. data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
  697. data/vendor/local/share/locale/fr/LC_MESSAGES/glib-networking.mo +0 -0
  698. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  699. data/vendor/local/share/locale/fur/LC_MESSAGES/glib-networking.mo +0 -0
  700. data/vendor/local/share/locale/fur/LC_MESSAGES/glib20.mo +0 -0
  701. data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
  702. data/vendor/local/share/locale/gd/LC_MESSAGES/glib-networking.mo +0 -0
  703. data/vendor/local/share/locale/gd/LC_MESSAGES/glib20.mo +0 -0
  704. data/vendor/local/share/locale/gl/LC_MESSAGES/glib-networking.mo +0 -0
  705. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  706. data/vendor/local/share/locale/gu/LC_MESSAGES/glib-networking.mo +0 -0
  707. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  708. data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
  709. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  710. data/vendor/local/share/locale/hi/LC_MESSAGES/glib-networking.mo +0 -0
  711. data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
  712. data/vendor/local/share/locale/hr/LC_MESSAGES/glib-networking.mo +0 -0
  713. data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
  714. data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
  715. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  716. data/vendor/local/share/locale/id/LC_MESSAGES/glib-networking.mo +0 -0
  717. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  718. data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
  719. data/vendor/local/share/locale/it/LC_MESSAGES/glib-networking.mo +0 -0
  720. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  721. data/vendor/local/share/locale/ja/LC_MESSAGES/glib-networking.mo +0 -0
  722. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  723. data/vendor/local/share/locale/kk/LC_MESSAGES/glib-networking.mo +0 -0
  724. data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
  725. data/vendor/local/share/locale/km/LC_MESSAGES/glib-networking.mo +0 -0
  726. data/vendor/local/share/locale/kn/LC_MESSAGES/glib-networking.mo +0 -0
  727. data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
  728. data/vendor/local/share/locale/ko/LC_MESSAGES/glib-networking.mo +0 -0
  729. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  730. data/vendor/local/share/locale/lt/LC_MESSAGES/glib-networking.mo +0 -0
  731. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  732. data/vendor/local/share/locale/lv/LC_MESSAGES/glib-networking.mo +0 -0
  733. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  734. data/vendor/local/share/locale/ml/LC_MESSAGES/glib-networking.mo +0 -0
  735. data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
  736. data/vendor/local/share/locale/mr/LC_MESSAGES/glib-networking.mo +0 -0
  737. data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
  738. data/vendor/local/share/locale/nb/LC_MESSAGES/glib-networking.mo +0 -0
  739. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  740. data/vendor/local/share/locale/ne/LC_MESSAGES/glib-networking.mo +0 -0
  741. data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
  742. data/vendor/local/share/locale/nl/LC_MESSAGES/glib-networking.mo +0 -0
  743. data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
  744. data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.mo +0 -0
  745. data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
  746. data/vendor/local/share/locale/or/LC_MESSAGES/glib-networking.mo +0 -0
  747. data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
  748. data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.mo +0 -0
  749. data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
  750. data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
  751. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  752. data/vendor/local/share/locale/pt/LC_MESSAGES/glib-networking.mo +0 -0
  753. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  754. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib-networking.mo +0 -0
  755. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  756. data/vendor/local/share/locale/ro/LC_MESSAGES/glib-networking.mo +0 -0
  757. data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
  758. data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
  759. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  760. data/vendor/local/share/locale/sk/LC_MESSAGES/glib-networking.mo +0 -0
  761. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  762. data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
  763. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  764. data/vendor/local/share/locale/sr/LC_MESSAGES/glib-networking.mo +0 -0
  765. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  766. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.mo +0 -0
  767. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  768. data/vendor/local/share/locale/sv/LC_MESSAGES/glib-networking.mo +0 -0
  769. data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
  770. data/vendor/local/share/locale/ta/LC_MESSAGES/glib-networking.mo +0 -0
  771. data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
  772. data/vendor/local/share/locale/te/LC_MESSAGES/glib-networking.mo +0 -0
  773. data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
  774. data/vendor/local/share/locale/tg/LC_MESSAGES/glib-networking.mo +0 -0
  775. data/vendor/local/share/locale/tg/LC_MESSAGES/glib20.mo +0 -0
  776. data/vendor/local/share/locale/th/LC_MESSAGES/glib-networking.mo +0 -0
  777. data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
  778. data/vendor/local/share/locale/tr/LC_MESSAGES/glib-networking.mo +0 -0
  779. data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
  780. data/vendor/local/share/locale/ug/LC_MESSAGES/glib-networking.mo +0 -0
  781. data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
  782. data/vendor/local/share/locale/uk/LC_MESSAGES/glib-networking.mo +0 -0
  783. data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
  784. data/vendor/local/share/locale/vi/LC_MESSAGES/glib-networking.mo +0 -0
  785. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  786. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib-networking.mo +0 -0
  787. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  788. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib-networking.mo +0 -0
  789. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  790. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib-networking.mo +0 -0
  791. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  792. data/vendor/local/share/man/man1/asn1Coding.1 +1 -1
  793. data/vendor/local/share/man/man1/asn1Decoding.1 +1 -1
  794. data/vendor/local/share/man/man1/asn1Parser.1 +1 -1
  795. data/vendor/local/share/man/man1/gapplication.1 +1 -1
  796. data/vendor/local/share/man/man1/gdbus-codegen.1 +107 -17
  797. data/vendor/local/share/man/man1/gdbus.1 +1 -1
  798. data/vendor/local/share/man/man1/gettext.1 +1 -1
  799. data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
  800. data/vendor/local/share/man/man1/gio.1 +1 -1
  801. data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
  802. data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
  803. data/vendor/local/share/man/man1/glib-genmarshal.1 +55 -1
  804. data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
  805. data/vendor/local/share/man/man1/glib-mkenums.1 +241 -23
  806. data/vendor/local/share/man/man1/gobject-query.1 +1 -1
  807. data/vendor/local/share/man/man1/gresource.1 +1 -1
  808. data/vendor/local/share/man/man1/gsettings.1 +5 -3
  809. data/vendor/local/share/man/man1/gtester-report.1 +1 -1
  810. data/vendor/local/share/man/man1/gtester.1 +1 -1
  811. data/vendor/local/share/man/man1/idn2.1 +72 -0
  812. data/vendor/local/share/man/man1/ngettext.1 +1 -1
  813. data/vendor/local/share/man/man3/idn2_check_version.3 +40 -0
  814. data/vendor/local/share/man/man3/idn2_free.3 +33 -0
  815. data/vendor/local/share/man/man3/idn2_lookup_u8.3 +62 -0
  816. data/vendor/local/share/man/man3/idn2_lookup_ul.3 +55 -0
  817. data/vendor/local/share/man/man3/idn2_register_u8.3 +52 -0
  818. data/vendor/local/share/man/man3/idn2_register_ul.3 +51 -0
  819. data/vendor/local/share/man/man3/idn2_strerror.3 +32 -0
  820. data/vendor/local/share/man/man3/idn2_strerror_name.3 +36 -0
  821. data/vendor/local/share/man/man3/idn2_to_ascii_4i.3 +57 -0
  822. data/vendor/local/share/man/man3/idn2_to_ascii_4z.3 +42 -0
  823. data/vendor/local/share/man/man3/idn2_to_ascii_8z.3 +42 -0
  824. data/vendor/local/share/man/man3/idn2_to_ascii_lz.3 +43 -0
  825. data/vendor/local/share/man/man3/idn2_to_unicode_44i.3 +46 -0
  826. data/vendor/local/share/man/man3/idn2_to_unicode_4z4z.3 +39 -0
  827. data/vendor/local/share/man/man3/idn2_to_unicode_8z4z.3 +39 -0
  828. data/vendor/local/share/man/man3/idn2_to_unicode_8z8z.3 +39 -0
  829. data/vendor/local/share/man/man3/idn2_to_unicode_8zlz.3 +40 -0
  830. data/vendor/local/share/man/man3/idn2_to_unicode_lzlz.3 +40 -0
  831. data/vendor/local/share/p11-kit/modules/p11-kit-trust.module +1 -1
  832. metadata +64 -105
  833. data/vendor/local/bin/idn.exe +0 -0
  834. data/vendor/local/bin/libidn-11.def +0 -77
  835. data/vendor/local/bin/libidn-11.dll +0 -0
  836. data/vendor/local/include/idn-free.h +0 -74
  837. data/vendor/local/include/idn-int.h +0 -1
  838. data/vendor/local/include/idna.h +0 -123
  839. data/vendor/local/include/pr29.h +0 -73
  840. data/vendor/local/include/punycode.h +0 -239
  841. data/vendor/local/include/stringprep.h +0 -242
  842. data/vendor/local/include/tld.h +0 -135
  843. data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
  844. data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
  845. data/vendor/local/lib/gio/modules/libgiognutls.la +0 -41
  846. data/vendor/local/lib/libidn.a +0 -0
  847. data/vendor/local/lib/libidn.dll.a +0 -0
  848. data/vendor/local/lib/libidn.la +0 -41
  849. data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
  850. data/vendor/local/lib/pkgconfig/libidn.pc +0 -23
  851. data/vendor/local/share/emacs/site-lisp/idna.el +0 -192
  852. data/vendor/local/share/emacs/site-lisp/punycode.el +0 -182
  853. data/vendor/local/share/gtk-doc/html/p11-kit/index.sgml +0 -189
  854. data/vendor/local/share/info/libidn-components.png +0 -0
  855. data/vendor/local/share/info/libidn.info +0 -4406
  856. data/vendor/local/share/license/glib-networking/AUTHORS +0 -0
  857. data/vendor/local/share/license/libidn/AUTHORS +0 -794
  858. data/vendor/local/share/license/libidn/COPYING +0 -30
  859. data/vendor/local/share/locale/cs/LC_MESSAGES/libidn.mo +0 -0
  860. data/vendor/local/share/locale/da/LC_MESSAGES/libidn.mo +0 -0
  861. data/vendor/local/share/locale/de/LC_MESSAGES/libidn.mo +0 -0
  862. data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/libidn.mo +0 -0
  863. data/vendor/local/share/locale/en@quot/LC_MESSAGES/libidn.mo +0 -0
  864. data/vendor/local/share/locale/eo/LC_MESSAGES/libidn.mo +0 -0
  865. data/vendor/local/share/locale/fi/LC_MESSAGES/libidn.mo +0 -0
  866. data/vendor/local/share/locale/fr/LC_MESSAGES/libidn.mo +0 -0
  867. data/vendor/local/share/locale/hr/LC_MESSAGES/libidn.mo +0 -0
  868. data/vendor/local/share/locale/hu/LC_MESSAGES/libidn.mo +0 -0
  869. data/vendor/local/share/locale/id/LC_MESSAGES/libidn.mo +0 -0
  870. data/vendor/local/share/locale/it/LC_MESSAGES/libidn.mo +0 -0
  871. data/vendor/local/share/locale/ja/LC_MESSAGES/libidn.mo +0 -0
  872. data/vendor/local/share/locale/nl/LC_MESSAGES/libidn.mo +0 -0
  873. data/vendor/local/share/locale/pl/LC_MESSAGES/libidn.mo +0 -0
  874. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libidn.mo +0 -0
  875. data/vendor/local/share/locale/ro/LC_MESSAGES/libidn.mo +0 -0
  876. data/vendor/local/share/locale/sr/LC_MESSAGES/libidn.mo +0 -0
  877. data/vendor/local/share/locale/uk/LC_MESSAGES/libidn.mo +0 -0
  878. data/vendor/local/share/locale/vi/LC_MESSAGES/libidn.mo +0 -0
  879. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libidn.mo +0 -0
  880. data/vendor/local/share/man/man1/idn.1 +0 -92
  881. data/vendor/local/share/man/man3/idn_free.3 +0 -49
  882. data/vendor/local/share/man/man3/idna_strerror.3 +0 -80
  883. data/vendor/local/share/man/man3/idna_to_ascii_4i.3 +0 -70
  884. data/vendor/local/share/man/man3/idna_to_ascii_4z.3 +0 -51
  885. data/vendor/local/share/man/man3/idna_to_ascii_8z.3 +0 -51
  886. data/vendor/local/share/man/man3/idna_to_ascii_lz.3 +0 -52
  887. data/vendor/local/share/man/man3/idna_to_unicode_44i.3 +0 -75
  888. data/vendor/local/share/man/man3/idna_to_unicode_4z4z.3 +0 -52
  889. data/vendor/local/share/man/man3/idna_to_unicode_8z4z.3 +0 -52
  890. data/vendor/local/share/man/man3/idna_to_unicode_8z8z.3 +0 -52
  891. data/vendor/local/share/man/man3/idna_to_unicode_8zlz.3 +0 -53
  892. data/vendor/local/share/man/man3/idna_to_unicode_lzlz.3 +0 -54
  893. data/vendor/local/share/man/man3/pr29_4.3 +0 -51
  894. data/vendor/local/share/man/man3/pr29_4z.3 +0 -49
  895. data/vendor/local/share/man/man3/pr29_8z.3 +0 -50
  896. data/vendor/local/share/man/man3/pr29_strerror.3 +0 -55
  897. data/vendor/local/share/man/man3/punycode_decode.3 +0 -73
  898. data/vendor/local/share/man/man3/punycode_encode.3 +0 -76
  899. data/vendor/local/share/man/man3/punycode_strerror.3 +0 -56
  900. data/vendor/local/share/man/man3/stringprep.3 +0 -65
  901. data/vendor/local/share/man/man3/stringprep_4i.3 +0 -70
  902. data/vendor/local/share/man/man3/stringprep_4zi.3 +0 -62
  903. data/vendor/local/share/man/man3/stringprep_check_version.3 +0 -50
  904. data/vendor/local/share/man/man3/stringprep_convert.3 +0 -50
  905. data/vendor/local/share/man/man3/stringprep_locale_charset.3 +0 -57
  906. data/vendor/local/share/man/man3/stringprep_locale_to_utf8.3 +0 -46
  907. data/vendor/local/share/man/man3/stringprep_profile.3 +0 -63
  908. data/vendor/local/share/man/man3/stringprep_strerror.3 +0 -86
  909. data/vendor/local/share/man/man3/stringprep_ucs4_nfkc_normalize.3 +0 -48
  910. data/vendor/local/share/man/man3/stringprep_ucs4_to_utf8.3 +0 -56
  911. data/vendor/local/share/man/man3/stringprep_unichar_to_utf8.3 +0 -48
  912. data/vendor/local/share/man/man3/stringprep_utf8_nfkc_normalize.3 +0 -59
  913. data/vendor/local/share/man/man3/stringprep_utf8_to_locale.3 +0 -46
  914. data/vendor/local/share/man/man3/stringprep_utf8_to_ucs4.3 +0 -54
  915. data/vendor/local/share/man/man3/stringprep_utf8_to_unichar.3 +0 -46
  916. data/vendor/local/share/man/man3/tld_check_4.3 +0 -62
  917. data/vendor/local/share/man/man3/tld_check_4t.3 +0 -58
  918. data/vendor/local/share/man/man3/tld_check_4tz.3 +0 -55
  919. data/vendor/local/share/man/man3/tld_check_4z.3 +0 -59
  920. data/vendor/local/share/man/man3/tld_check_8z.3 +0 -61
  921. data/vendor/local/share/man/man3/tld_check_lz.3 +0 -61
  922. data/vendor/local/share/man/man3/tld_default_table.3 +0 -51
  923. data/vendor/local/share/man/man3/tld_get_4.3 +0 -51
  924. data/vendor/local/share/man/man3/tld_get_4z.3 +0 -48
  925. data/vendor/local/share/man/man3/tld_get_table.3 +0 -49
  926. data/vendor/local/share/man/man3/tld_get_z.3 +0 -49
  927. data/vendor/local/share/man/man3/tld_strerror.3 +0 -60
@@ -3,12 +3,12 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>Trust Policy Module: p11-kit</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7
7
  <link rel="home" href="index.html" title="p11-kit">
8
8
  <link rel="up" href="index.html" title="p11-kit">
9
9
  <link rel="prev" href="sharing.html" title="Proxy Module">
10
10
  <link rel="next" href="trust-nss.html" title="Using the Trust Policy Module with NSS">
11
- <meta name="generator" content="GTK-Doc V1.24 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.25 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -90,6 +90,6 @@ $ pkg-config --variable p11_trust_paths p11-kit-1
90
90
  </div>
91
91
  </div>
92
92
  <div class="footer">
93
- <hr>Generated by GTK-Doc V1.24</div>
93
+ <hr>Generated by GTK-Doc V1.25</div>
94
94
  </body>
95
95
  </html>
@@ -3,12 +3,12 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>Using the Trust Policy Module with NSS: p11-kit</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7
7
  <link rel="home" href="index.html" title="p11-kit">
8
8
  <link rel="up" href="trust-module.html" title="Trust Policy Module">
9
9
  <link rel="prev" href="trust-module.html" title="Trust Policy Module">
10
10
  <link rel="next" href="trust-glib-networking.html" title="Using the Trust Policy Module with glib-networking">
11
- <meta name="generator" content="GTK-Doc V1.24 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.25 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,6 +35,6 @@
35
35
  GUI or command line configuration.</p>
36
36
  </div>
37
37
  <div class="footer">
38
- <hr>Generated by GTK-Doc V1.24</div>
38
+ <hr>Generated by GTK-Doc V1.25</div>
39
39
  </body>
40
40
  </html>
@@ -3,12 +3,12 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>trust: p11-kit</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7
7
  <link rel="home" href="index.html" title="p11-kit">
8
8
  <link rel="up" href="tools.html" title="Manual Pages">
9
9
  <link rel="prev" href="pkcs11-conf.html" title="pkcs11.conf">
10
10
  <link rel="next" href="reference.html" title="API Reference">
11
- <meta name="generator" content="GTK-Doc V1.24 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.25 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -383,6 +383,6 @@ $ trust extract-compat
383
383
  </div>
384
384
  </div>
385
385
  <div class="footer">
386
- <hr>Generated by GTK-Doc V1.24</div>
386
+ <hr>Generated by GTK-Doc V1.25</div>
387
387
  </body>
388
388
  </html>
@@ -5,7 +5,7 @@ The first time you invoke Info you start off looking at this node.
5
5
  File: dir, Node: Top This is the top of the INFO tree
6
6
 
7
7
  This (the Directory node) gives a menu of major topics.
8
- Typing "q" exits, "?" lists all Info commands, "d" returns here,
8
+ Typing "q" exits, "H" lists all Info commands, "d" returns here,
9
9
  "h" gives a primer for first-timers,
10
10
  "mEmacs<Return>" visits the Emacs manual, etc.
11
11
 
@@ -20,18 +20,15 @@ C++ libraries
20
20
  Development
21
21
  * libffi: (libffi). Portable foreign-function interface library.
22
22
 
23
- Emacs
24
- * IDN Library: (libidn)Emacs API.
25
- Emacs API for IDN functions.
26
-
27
23
  GNU libraries
28
24
  * gmp: (gmp). GNU Multiple Precision Arithmetic Library.
29
25
 
30
26
  Localization
31
- * idn: (libidn)Invoking idn. Internationalized Domain Name (IDN) string
27
+ * idn2: (libidn2)Invoking idn2. Internationalized Domain Name (IDNA2008/TR46)
32
28
  conversion.
33
29
 
34
30
  Software libraries
35
- * libidn: (libidn). Internationalized string processing library.
31
+ * libidn2: (libidn2). Internationalized domain names (IDNA2008/TR46)
32
+ processing.
36
33
  * libtasn1: (libtasn1). Library for Abstract Syntax Notation One
37
34
  (ASN.1).
@@ -0,0 +1,1134 @@
1
+ This is libidn2.info, produced by makeinfo version 6.4.90 from
2
+ libidn2.texi.
3
+
4
+ This manual is for Libidn2 (version 2.0.4, 21 July 2017), an
5
+ implementation of IDNA2008/TR46 internationalized domain names.
6
+
7
+ Copyright © 2011-2017 Simon Josefsson
8
+ INFO-DIR-SECTION Software libraries
9
+ START-INFO-DIR-ENTRY
10
+ * libidn2: (libidn2). Internationalized domain names (IDNA2008/TR46) processing.
11
+ END-INFO-DIR-ENTRY
12
+
13
+ INFO-DIR-SECTION Localization
14
+ START-INFO-DIR-ENTRY
15
+ * idn2: (libidn2)Invoking idn2. Internationalized Domain Name (IDNA2008/TR46) conversion.
16
+ END-INFO-DIR-ENTRY
17
+
18
+ 
19
+ File: libidn2.info, Node: Top, Next: Introduction, Up: (dir)
20
+
21
+ Libidn2
22
+ *******
23
+
24
+ This manual is for Libidn2 (version 2.0.4, 21 July 2017), an
25
+ implementation of IDNA2008/TR46 internationalized domain names.
26
+
27
+ Copyright © 2011-2017 Simon Josefsson
28
+
29
+ * Menu:
30
+
31
+ * Introduction:: What is Libidn2?
32
+ * Library Functions:: Library functions.
33
+ * Converting from libidn:: Demonstrate how to convert from libidn.
34
+ * Examples:: Demonstrate how to use the library.
35
+ * Invoking idn2:: Command line interface to the library.
36
+
37
+ * Interface Index::
38
+ * Concept Index::
39
+
40
+ 
41
+ File: libidn2.info, Node: Introduction, Next: Library Functions, Prev: Top, Up: Top
42
+
43
+ 1 Introduction
44
+ **************
45
+
46
+ Libidn2 is a free software implementation of IDNA2008, Punycode and TR46
47
+ in the form a library. It contains functionality to convert
48
+ internationalized domain names to and from ASCII Compatible Encoding
49
+ (ACE), following the IDNA2008 and TR46 standards. It is available at
50
+ <https://gitlab.com/libidn/libidn2>.
51
+
52
+ The library is a rewrite of the popular but legacy libidn library,
53
+ and is backwards (API) compatible with it. See *note Converting from
54
+ libidn:: for more information.
55
+
56
+ For technical reference on IDNA protocols, see
57
+ • RFC 5890 (<https://tools.ietf.org/html/rfc5890>),
58
+ • RFC 5891 (<https://tools.ietf.org/html/rfc5891>),
59
+ • RFC 5892 (<https://tools.ietf.org/html/rfc5892>),
60
+ • RFC 5893 (<https://tools.ietf.org/html/rfc5893>),
61
+ • TR46 (<http://www.unicode.org/reports/tr46/>).
62
+
63
+ Libidn2 uses GNU libunistring
64
+ (<https://www.gnu.org/software/libunistring/>) for Unicode processing
65
+ and optionally GNU libiconv (<https://www.gnu.org/software/libiconv/>)
66
+ for character set conversion.
67
+
68
+ The library is dual-licensed under LGPLv3 or GPLv2, see the file
69
+ COPYING for detailed information.
70
+
71
+ 
72
+ File: libidn2.info, Node: Library Functions, Next: Converting from libidn, Prev: Introduction, Up: Top
73
+
74
+ 2 Library Functions
75
+ *******************
76
+
77
+ Below are the interfaces of the Libidn2 library documented.
78
+
79
+ 2.1 Header file ‘idn2.h’
80
+ ========================
81
+
82
+ To use the functions documented in this chapter, you need to include the
83
+ file ‘idn2.h’ like this:
84
+
85
+ #include <idn2.h>
86
+
87
+ 2.2 Core Functions
88
+ ==================
89
+
90
+ When you have the data encoded in UTF-8 form the direct interfaces to
91
+ the library are as follows.
92
+
93
+ idn2_to_ascii_8z
94
+ ----------------
95
+
96
+ -- Function: int idn2_to_ascii_8z (const char * INPUT, char ** OUTPUT,
97
+ int FLAGS)
98
+ INPUT: zero terminated input UTF-8 string.
99
+
100
+ OUTPUT: pointer to newly allocated output string.
101
+
102
+ FLAGS: optional ‘idn2_flags’ to modify behaviour.
103
+
104
+ Convert UTF-8 domain name to ASCII string using the IDNA2008 rules.
105
+ The domain name may contain several labels, separated by dots. The
106
+ output buffer must be deallocated by the caller.
107
+
108
+ When unsure, it is recommended to call this function with the
109
+ ‘IDN2_NONTRANSITIONAL’ and ‘IDN2_NFC_INPUT’ flags.
110
+
111
+ Return value: Returns ‘IDN2_OK’ on success, or error code.
112
+
113
+ *Since:* 2.0.0
114
+
115
+ idn2_to_unicode_8z8z
116
+ --------------------
117
+
118
+ -- Function: int idn2_to_unicode_8z8z (const char * INPUT, char **
119
+ OUTPUT, int FLAGS)
120
+ INPUT: Input zero-terminated UTF-8 string.
121
+
122
+ OUTPUT: Newly allocated UTF-8 output string.
123
+
124
+ FLAGS: optional ‘idn2_flags’ to modify behaviour.
125
+
126
+ Converts a possibly ACE encoded domain name in UTF-8 format into a
127
+ UTF-8 string (punycode decoding). The output buffer will be
128
+ zero-terminated and must be deallocated by the caller.
129
+
130
+ ‘output’ may be NULL to test lookup of ‘input’ without allocating
131
+ memory.
132
+
133
+ *Since:* 2.0.0
134
+
135
+ idn2_lookup_u8
136
+ --------------
137
+
138
+ -- Function: int idn2_lookup_u8 (const uint8_t * SRC, uint8_t **
139
+ LOOKUPNAME, int FLAGS)
140
+ SRC: input zero-terminated UTF-8 string in Unicode NFC normalized
141
+ form.
142
+
143
+ LOOKUPNAME: newly allocated output variable with name to lookup in
144
+ DNS.
145
+
146
+ FLAGS: optional ‘idn2_flags’ to modify behaviour.
147
+
148
+ Perform IDNA2008 lookup string conversion on domain name ‘src’ , as
149
+ described in section 5 of RFC 5891. Note that the input string
150
+ must be encoded in UTF-8 and be in Unicode NFC form.
151
+
152
+ Pass ‘IDN2_NFC_INPUT’ in ‘flags’ to convert input to NFC form
153
+ before further processing. ‘IDN2_TRANSITIONAL’ and
154
+ ‘IDN2_NONTRANSITIONAL’ do already imply ‘IDN2_NFC_INPUT’ . Pass
155
+ ‘IDN2_ALABEL_ROUNDTRIP’ in ‘flags’ to convert any input A-labels to
156
+ U-labels and perform additional testing (not implemented yet).
157
+ Pass ‘IDN2_TRANSITIONAL’ to enable Unicode TR46 transitional
158
+ processing, and ‘IDN2_NONTRANSITIONAL’ to enable Unicode TR46
159
+ non-transitional processing. Multiple flags may be specified by
160
+ binary or:ing them together.
161
+
162
+ After version 2.0.3: ‘IDN2_USE_STD3_ASCII_RULES’ disabled by
163
+ default. Previously we were eliminating non-STD3 characters from
164
+ domain strings such as _443._tcp.example.com, or IPs 1.2.3.4/24
165
+ provided to libidn2 functions. That was an unexpected regression
166
+ for applications switching from libidn and thus it is no longer
167
+ applied by default. Use ‘IDN2_USE_STD3_ASCII_RULES’ to enable that
168
+ behavior again.
169
+
170
+ After version 0.11: ‘lookupname’ may be NULL to test lookup of
171
+ ‘src’ without allocating memory.
172
+
173
+ *Returns:* On successful conversion ‘IDN2_OK’ is returned, if the
174
+ output domain or any label would have been too long
175
+ ‘IDN2_TOO_BIG_DOMAIN’ or ‘IDN2_TOO_BIG_LABEL’ is returned, or
176
+ another error code is returned.
177
+
178
+ *Since:* 0.1
179
+
180
+ idn2_register_u8
181
+ ----------------
182
+
183
+ -- Function: int idn2_register_u8 (const uint8_t * ULABEL, const
184
+ uint8_t * ALABEL, uint8_t ** INSERTNAME, int FLAGS)
185
+ ULABEL: input zero-terminated UTF-8 and Unicode NFC string, or
186
+ NULL.
187
+
188
+ ALABEL: input zero-terminated ACE encoded string (xn–), or NULL.
189
+
190
+ INSERTNAME: newly allocated output variable with name to register
191
+ in DNS.
192
+
193
+ FLAGS: optional ‘idn2_flags’ to modify behaviour.
194
+
195
+ Perform IDNA2008 register string conversion on domain label
196
+ ‘ulabel’ and ‘alabel’ , as described in section 4 of RFC 5891.
197
+ Note that the input ‘ulabel’ must be encoded in UTF-8 and be in
198
+ Unicode NFC form.
199
+
200
+ Pass ‘IDN2_NFC_INPUT’ in ‘flags’ to convert input ‘ulabel’ to NFC
201
+ form before further processing.
202
+
203
+ It is recommended to supply both ‘ulabel’ and ‘alabel’ for better
204
+ error checking, but supplying just one of them will work. Passing
205
+ in only ‘alabel’ is better than only ‘ulabel’ . See RFC 5891
206
+ section 4 for more information.
207
+
208
+ After version 0.11: ‘insertname’ may be NULL to test conversion of
209
+ ‘src’ without allocating memory.
210
+
211
+ *Returns:* On successful conversion ‘IDN2_OK’ is returned, when the
212
+ given ‘ulabel’ and ‘alabel’ does not match each other
213
+ ‘IDN2_UALABEL_MISMATCH’ is returned, when either of the input
214
+ labels are too long ‘IDN2_TOO_BIG_LABEL’ is returned, when ‘alabel’
215
+ does does not appear to be a proper A-label ‘IDN2_INVALID_ALABEL’
216
+ is returned, or another error code is returned.
217
+
218
+ 2.3 Locale Functions
219
+ ====================
220
+
221
+ As a convenience, the following functions are provided that will convert
222
+ the input from the locale encoding format to UTF-8 and normalize the
223
+ string using NFC, and then apply the core functions described earlier.
224
+
225
+ idn2_to_ascii_lz
226
+ ----------------
227
+
228
+ -- Function: int idn2_to_ascii_lz (const char * INPUT, char ** OUTPUT,
229
+ int FLAGS)
230
+ INPUT: zero terminated input UTF-8 string.
231
+
232
+ OUTPUT: pointer to newly allocated output string.
233
+
234
+ FLAGS: optional ‘idn2_flags’ to modify behaviour.
235
+
236
+ Convert a domain name in locale’s encoding to ASCII string using
237
+ the IDNA2008 rules. The domain name may contain several labels,
238
+ separated by dots. The output buffer must be deallocated by the
239
+ caller.
240
+
241
+ When unsure, it is recommended to call this function with the
242
+ ‘IDN2_NONTRANSITIONAL’ and ‘IDN2_NFC_INPUT’ flags.
243
+
244
+ *Returns:* ‘IDN2_OK’ on success, or error code. Same as described
245
+ in ‘idn2_lookup_ul()’ documentation.
246
+
247
+ *Since:* 2.0.0
248
+
249
+ idn2_to_unicode_8zlz
250
+ --------------------
251
+
252
+ -- Function: int idn2_to_unicode_8zlz (const char * INPUT, char **
253
+ OUTPUT, int FLAGS)
254
+ INPUT: Input zero-terminated UTF-8 string.
255
+
256
+ OUTPUT: Newly allocated output string in current locale’s character
257
+ set.
258
+
259
+ FLAGS: optional ‘idn2_flags’ to modify behaviour.
260
+
261
+ Converts a possibly ACE encoded domain name in UTF-8 format into a
262
+ string encoded in the current locale’s character set (punycode
263
+ decoding). The output buffer will be zero-terminated and must be
264
+ deallocated by the caller.
265
+
266
+ ‘output’ may be NULL to test lookup of ‘input’ without allocating
267
+ memory.
268
+
269
+ *Since:* 2.0.0
270
+
271
+ idn2_to_unicode_lzlz
272
+ --------------------
273
+
274
+ -- Function: int idn2_to_unicode_lzlz (const char * INPUT, char **
275
+ OUTPUT, int FLAGS)
276
+ INPUT: Input zero-terminated string encoded in the current locale’s
277
+ character set.
278
+
279
+ OUTPUT: Newly allocated output string in current locale’s character
280
+ set.
281
+
282
+ FLAGS: optional ‘idn2_flags’ to modify behaviour.
283
+
284
+ Converts a possibly ACE encoded domain name in the locale’s
285
+ character set into a string encoded in the current locale’s
286
+ character set (punycode decoding). The output buffer will be
287
+ zero-terminated and must be deallocated by the caller.
288
+
289
+ ‘output’ may be NULL to test lookup of ‘input’ without allocating
290
+ memory.
291
+
292
+ *Since:* 2.0.0
293
+
294
+ idn2_lookup_ul
295
+ --------------
296
+
297
+ -- Function: int idn2_lookup_ul (const char * SRC, char ** LOOKUPNAME,
298
+ int FLAGS)
299
+ SRC: input zero-terminated locale encoded string.
300
+
301
+ LOOKUPNAME: newly allocated output variable with name to lookup in
302
+ DNS.
303
+
304
+ FLAGS: optional ‘idn2_flags’ to modify behaviour.
305
+
306
+ Perform IDNA2008 lookup string conversion on domain name ‘src’ , as
307
+ described in section 5 of RFC 5891. Note that the input is assumed
308
+ to be encoded in the locale’s default coding system, and will be
309
+ transcoded to UTF-8 and NFC normalized by this function.
310
+
311
+ Pass ‘IDN2_ALABEL_ROUNDTRIP’ in ‘flags’ to convert any input
312
+ A-labels to U-labels and perform additional testing. Pass
313
+ ‘IDN2_TRANSITIONAL’ to enable Unicode TR46 transitional processing,
314
+ and ‘IDN2_NONTRANSITIONAL’ to enable Unicode TR46 non-transitional
315
+ processing. Multiple flags may be specified by binary or:ing them
316
+ together, for example ‘IDN2_ALABEL_ROUNDTRIP’ |
317
+ ‘IDN2_NONTRANSITIONAL’ . The ‘IDN2_NFC_INPUT’ in ‘flags’ is always
318
+ enabled in this function.
319
+
320
+ After version 0.11: ‘lookupname’ may be NULL to test lookup of
321
+ ‘src’ without allocating memory.
322
+
323
+ *Returns:* On successful conversion ‘IDN2_OK’ is returned, if
324
+ conversion from locale to UTF-8 fails then ‘IDN2_ICONV_FAIL’ is
325
+ returned, if the output domain or any label would have been too
326
+ long ‘IDN2_TOO_BIG_DOMAIN’ or ‘IDN2_TOO_BIG_LABEL’ is returned, or
327
+ another error code is returned.
328
+
329
+ *Since:* 0.1
330
+
331
+ idn2_register_ul
332
+ ----------------
333
+
334
+ -- Function: int idn2_register_ul (const char * ULABEL, const char *
335
+ ALABEL, char ** INSERTNAME, int FLAGS)
336
+ ULABEL: input zero-terminated locale encoded string, or NULL.
337
+
338
+ ALABEL: input zero-terminated ACE encoded string (xn–), or NULL.
339
+
340
+ INSERTNAME: newly allocated output variable with name to register
341
+ in DNS.
342
+
343
+ FLAGS: optional ‘idn2_flags’ to modify behaviour.
344
+
345
+ Perform IDNA2008 register string conversion on domain label
346
+ ‘ulabel’ and ‘alabel’ , as described in section 4 of RFC 5891.
347
+ Note that the input ‘ulabel’ is assumed to be encoded in the
348
+ locale’s default coding system, and will be transcoded to UTF-8 and
349
+ NFC normalized by this function.
350
+
351
+ It is recommended to supply both ‘ulabel’ and ‘alabel’ for better
352
+ error checking, but supplying just one of them will work. Passing
353
+ in only ‘alabel’ is better than only ‘ulabel’ . See RFC 5891
354
+ section 4 for more information.
355
+
356
+ After version 0.11: ‘insertname’ may be NULL to test conversion of
357
+ ‘src’ without allocating memory.
358
+
359
+ *Returns:* On successful conversion ‘IDN2_OK’ is returned, when the
360
+ given ‘ulabel’ and ‘alabel’ does not match each other
361
+ ‘IDN2_UALABEL_MISMATCH’ is returned, when either of the input
362
+ labels are too long ‘IDN2_TOO_BIG_LABEL’ is returned, when ‘alabel’
363
+ does does not appear to be a proper A-label ‘IDN2_INVALID_ALABEL’
364
+ is returned, or another error code is returned.
365
+
366
+ 2.4 Control Flags
367
+ =================
368
+
369
+ The ‘flags’ parameter can take on the following values, or a bit-wise
370
+ inclusive or of any subset of the parameters:
371
+
372
+ -- Global flag: idn2_flags IDN2_NFC_INPUT
373
+ Apply NFC normalization on input.
374
+
375
+ -- Global flag: idn2_flags IDN2_ALABEL_ROUNDTRIP
376
+ Apply additional round-trip conversion of A-label inputs.
377
+
378
+ -- Global flag: idn2_flags IDN2_TRANSITIONAL
379
+ Perform Unicode TR46 transitional processing.
380
+
381
+ -- Global flag: idn2_flags IDN2_NONTRANSITIONAL
382
+ Perform Unicode TR46 non-transitional processing.
383
+
384
+ 2.5 Error Handling
385
+ ==================
386
+
387
+ idn2_strerror
388
+ -------------
389
+
390
+ -- Function: const char * idn2_strerror (int RC)
391
+ RC: return code from another libidn2 function.
392
+
393
+ Convert internal libidn2 error code to a humanly readable string.
394
+ The returned pointer must not be de-allocated by the caller.
395
+
396
+ Return value: A humanly readable string describing error.
397
+
398
+ idn2_strerror_name
399
+ ------------------
400
+
401
+ -- Function: const char * idn2_strerror_name (int RC)
402
+ RC: return code from another libidn2 function.
403
+
404
+ Convert internal libidn2 error code to a string corresponding to
405
+ internal header file symbols. For example,
406
+ idn2_strerror_name(IDN2_MALLOC) will return the string
407
+ "IDN2_MALLOC".
408
+
409
+ The caller must not attempt to de-allocate the returned string.
410
+
411
+ Return value: A string corresponding to error code symbol.
412
+
413
+ 2.6 Return Codes
414
+ ================
415
+
416
+ The functions normally return 0 on sucess or a negative error code.
417
+
418
+ -- Return code: idn2_rc IDN2_OK
419
+ Successful return.
420
+
421
+ -- Return code: idn2_rc IDN2_MALLOC
422
+ Memory allocation error.
423
+
424
+ -- Return code: idn2_rc IDN2_NO_CODESET
425
+ Could not determine locale string encoding format.
426
+
427
+ -- Return code: idn2_rc IDN2_ICONV_FAIL
428
+ Could not transcode locale string to UTF-8.
429
+
430
+ -- Return code: idn2_rc IDN2_ENCODING_ERROR
431
+ Unicode data encoding error.
432
+
433
+ -- Return code: idn2_rc IDN2_NFC
434
+ Error normalizing string.
435
+
436
+ -- Return code: idn2_rc IDN2_PUNYCODE_BAD_INPUT
437
+ Punycode invalid input.
438
+
439
+ -- Return code: idn2_rc IDN2_PUNYCODE_BIG_OUTPUT
440
+ Punycode output buffer too small.
441
+
442
+ -- Return code: idn2_rc IDN2_PUNYCODE_OVERFLOW
443
+ Punycode conversion would overflow.
444
+
445
+ -- Return code: idn2_rc IDN2_TOO_BIG_DOMAIN
446
+ Domain name longer than 255 characters.
447
+
448
+ -- Return code: idn2_rc IDN2_TOO_BIG_LABEL
449
+ Domain label longer than 63 characters.
450
+
451
+ -- Return code: idn2_rc IDN2_INVALID_ALABEL
452
+ Input A-label is not valid.
453
+
454
+ -- Return code: idn2_rc IDN2_UALABEL_MISMATCH
455
+ Input A-label and U-label does not match.
456
+
457
+ -- Return code: idn2_rc IDN2_INVALID_FLAGS
458
+ Invalid combination of flags.
459
+
460
+ -- Return code: idn2_rc IDN2_NOT_NFC
461
+ String is not NFC.
462
+
463
+ -- Return code: idn2_rc IDN2_2HYPHEN
464
+ String has forbidden two hyphens.
465
+
466
+ -- Return code: idn2_rc IDN2_HYPHEN_STARTEND
467
+ String has forbidden starting/ending hyphen.
468
+
469
+ -- Return code: idn2_rc IDN2_LEADING_COMBINING
470
+ String has forbidden leading combining character.
471
+
472
+ -- Return code: idn2_rc IDN2_DISALLOWED
473
+ String has disallowed character.
474
+
475
+ -- Return code: idn2_rc IDN2_CONTEXTJ
476
+ String has forbidden context-j character.
477
+
478
+ -- Return code: idn2_rc IDN2_CONTEXTJ_NO_RULE
479
+ String has context-j character with no rull.
480
+
481
+ -- Return code: idn2_rc IDN2_CONTEXTO
482
+ String has forbidden context-o character.
483
+
484
+ -- Return code: idn2_rc IDN2_CONTEXTO_NO_RULE
485
+ String has context-o character with no rull.
486
+
487
+ -- Return code: idn2_rc IDN2_UNASSIGNED
488
+ String has forbidden unassigned character.
489
+
490
+ -- Return code: idn2_rc IDN2_BIDI
491
+ String has forbidden bi-directional properties.
492
+
493
+ -- Return code: idn2_rc IDN2_DOT_IN_LABEL
494
+ Label has forbidden dot (TR46).
495
+
496
+ -- Return code: idn2_rc IDN2_INVALID_TRANSITIONAL
497
+ Label has character forbidden in transitional mode (TR46).
498
+
499
+ -- Return code: idn2_rc IDN2_INVALID_NONTRANSITIONAL
500
+ Label has character forbidden in non-transitional mode (TR46).
501
+
502
+ 2.7 Memory Handling
503
+ ===================
504
+
505
+ idn2_free
506
+ ---------
507
+
508
+ -- Function: void idn2_free (void * PTR)
509
+ PTR: pointer to deallocate
510
+
511
+ Call free(3) on the given pointer.
512
+
513
+ This function is typically only useful on systems where the library
514
+ malloc heap is different from the library caller malloc heap, which
515
+ happens on Windows when the library is a separate DLL.
516
+
517
+ 2.8 Version Check
518
+ =================
519
+
520
+ It is often desirable to check that the version of Libidn2 used is
521
+ indeed one which fits all requirements. Even with binary compatibility
522
+ new features may have been introduced but due to problem with the
523
+ dynamic linker an old version is actually used. So you may want to
524
+ check that the version is okay right after program startup.
525
+
526
+ idn2_check_version
527
+ ------------------
528
+
529
+ -- Function: const char * idn2_check_version (const char * REQ_VERSION)
530
+ REQ_VERSION: version string to compare with, or NULL.
531
+
532
+ Check IDN2 library version. This function can also be used to read
533
+ out the version of the library code used. See ‘IDN2_VERSION’ for a
534
+ suitable ‘req_version’ string, it corresponds to the idn2.h header
535
+ file version. Normally these two version numbers match, but if you
536
+ are using an application built against an older libidn2 with a
537
+ newer libidn2 shared library they will be different.
538
+
539
+ Return value: Check that the version of the library is at minimum
540
+ the one given as a string in ‘req_version’ and return the actual
541
+ version string of the library; return NULL if the condition is not
542
+ met. If NULL is passed to this function no check is done and only
543
+ the version string is returned.
544
+
545
+ The normal way to use the function is to put something similar to the
546
+ following first in your ‘main’:
547
+
548
+ if (!idn2_check_version (IDN2_VERSION))
549
+ {
550
+ printf ("idn2_check_version() failed:\n"
551
+ "Header file incompatible with shared library.\n");
552
+ exit(EXIT_FAILURE);
553
+ }
554
+
555
+ 
556
+ File: libidn2.info, Node: Converting from libidn, Next: Examples, Prev: Library Functions, Up: Top
557
+
558
+ 3 Converting from libidn
559
+ ************************
560
+
561
+ This library is backwards (API) compatible with the libidn library
562
+ (<https://www.gnu.org/software/libidn/>).
563
+
564
+ Although it is recommended for new software to use the native libidn2
565
+ functions (i.e., the ones prefixed with ‘idn2’), old software isn’t
566
+ always feasible to modify.
567
+
568
+ 3.1 Converting with minimal modifications
569
+ =========================================
570
+
571
+ As such, libidn2, provides compatibility macros which switch all libidn
572
+ functions, to libidn2 functions in a backwards compatible way. To take
573
+ advantage of these compatibility functions, it is sufficient to replace
574
+ the ‘idna.h’ header in legacy code, with ‘idn2.h’. That would transform
575
+ the software from using libidn, i.e., IDNA2003, to using libidn2 with
576
+ IDNA2008 non-transitional encoding.
577
+
578
+ 3.2 Converting to native APIs
579
+ =============================
580
+
581
+ However, it is recommended to switch applications to the IDN2 native
582
+ APIs. The following table provides a mapping of libidn code snippets to
583
+ libidn2, for switching to IDNA2008.
584
+
585
+ libidn libidn2
586
+
587
+ ------------------------------------------------------------
588
+ rc = idna_to_ascii_8z (buf, &p, 0 /* any flags */);rc = idn2_to_ascii_8z (buf, &p, IDN2_NONTRANSITIONAL);
589
+ if (rc != IDNA_SUCCESS) if (rc != IDN2_OK)
590
+
591
+ rc = idna_to_unicode_8z8z (buf, &p, 0 /* any flags */);rc = idn2_to_unicode_8z8z (buf, &p, 0);
592
+ if (rc != IDNA_SUCCESS) if (rc != IDN2_OK)
593
+
594
+
595
+ Note that, although the table only lists the UTF-8 functions, the
596
+ mapping is identical for every other one on the family of toUnicode and
597
+ toAscii. As the IDNA2003 details differ signicantly to IDNA2008, no
598
+ flags used in the libidn functions map to any specific flags; it is safe
599
+ to use the suggested libidn2 flags.
600
+
601
+ 3.3 Converting with backwards compatibility
602
+ ===========================================
603
+
604
+ In several cases where IDNA2008 mappings do not exist whereas IDNA2003
605
+ mappings do, software like browsers take a backwards compatible
606
+ approach. That is convert the domain to IDNA2008 form, and if that
607
+ fails try the IDNA2003 conversion. The following example demonstrates
608
+ that approach.
609
+
610
+ rc = idn2_to_ascii_8z (buf, &p, IDN2_NONTRANSITIONAL); /* IDNA2008 */
611
+ if (rc == IDN2_DISALLOWED)
612
+ rc = idn2_to_ascii_8z (buf, &p, IDN2_TRANSITIONAL); /* IDNA2003 - compatible */
613
+
614
+ 3.4 Using libidn and libidn2 code
615
+ =================================
616
+
617
+ In the special case of software that needs to support both libraries
618
+ (e.g., both IDNA2003 and IDNA2008), you must define
619
+ ‘IDN2_SKIP_LIBIDN_COMPAT’ prior to including ‘idn2.h’ in order to be
620
+ able to use both libraries’ functions.
621
+
622
+ 
623
+ File: libidn2.info, Node: Examples, Next: Invoking idn2, Prev: Converting from libidn, Up: Top
624
+
625
+ 4 Examples
626
+ **********
627
+
628
+ This chapter contains example code which illustrate how Libidn2 is used
629
+ when you write your own application.
630
+
631
+ * Menu:
632
+
633
+ * ToASCII:: Example using IDNA ToASCII.
634
+ * ToUnicode:: Example using IDNA ToUnicode.
635
+ * Lookup:: Example IDNA2008 Lookup domain name operation.
636
+ * Register:: Example IDNA2008 Register label operation.
637
+
638
+ 
639
+ File: libidn2.info, Node: ToASCII, Next: ToUnicode, Up: Examples
640
+
641
+ 4.1 ToASCII example
642
+ ===================
643
+
644
+ This example demonstrates how the library is used to convert
645
+ internationalized domain names into ASCII compatible names (ACE). It
646
+ expects input to be in UTF-8 form.
647
+
648
+ /* example-toascii.c --- Example ToASCII() code showing how to use Libidn2.
649
+ *
650
+ * This code is placed under public domain.
651
+ */
652
+
653
+ #include <stdio.h>
654
+ #include <stdlib.h>
655
+ #include <string.h>
656
+ #include <idn2.h> /* idn2_to_ascii_8z() */
657
+
658
+ /*
659
+ * Compiling using pkg-config is recommended:
660
+ *
661
+ * $ cc -o example-toascii example-toascii.c $(pkg-config --cflags --libs libidn2)
662
+ * $ ./example-toascii
663
+ * Input domain encoded as `UTF-8': βόλος.com
664
+ * Read string (length 15): ce b2 cf 8c ce bb ce bf cf 82 2e 63 6f 6d 0a
665
+ * ACE label (length 17): 'xn--nxasmm1c.com'
666
+ *
667
+ */
668
+
669
+ int
670
+ main (void)
671
+ {
672
+ char buf[BUFSIZ];
673
+ char *p;
674
+ int rc;
675
+ size_t i;
676
+
677
+ if (!fgets (buf, BUFSIZ, stdin))
678
+ perror ("fgets");
679
+ buf[strlen (buf) - 1] = '\0';
680
+
681
+ printf ("Read string (length %ld): ", (long int) strlen (buf));
682
+ for (i = 0; i < strlen (buf); i++)
683
+ printf ("%02x ", (unsigned) buf[i] & 0xFF);
684
+ printf ("\n");
685
+
686
+ /* Use non-transitional IDNA2008 */
687
+ rc = idn2_to_ascii_8z (buf, &p, IDN2_NONTRANSITIONAL);
688
+ if (rc != IDNA_SUCCESS)
689
+ {
690
+ printf ("ToASCII() failed (%d): %s\n", rc, idn2_strerror (rc));
691
+ return EXIT_FAILURE;
692
+ }
693
+
694
+ printf ("ACE label (length %ld): '%s'\n", (long int) strlen (p), p);
695
+
696
+ free (p); /* or idn2_free() */
697
+
698
+ return 0;
699
+ }
700
+
701
+ 
702
+ File: libidn2.info, Node: ToUnicode, Next: Lookup, Prev: ToASCII, Up: Examples
703
+
704
+ 4.2 ToUnicode example
705
+ =====================
706
+
707
+ This example demonstrates how the library is used to convert ASCII
708
+ compatible names (ACE) to internationalized domain names. Both input
709
+ and output are in UTF-8 form.
710
+
711
+ /* example-tounicode.c --- Example ToUnicode() code showing how to use Libidn2.
712
+ *
713
+ * This code is placed under public domain.
714
+ */
715
+
716
+ #include <stdio.h>
717
+ #include <stdlib.h>
718
+ #include <string.h>
719
+ #include <idn2.h> /* idn2_to_unicode_8z8z() */
720
+
721
+ /*
722
+ * Compiling using pkg-config is recommended:
723
+ *
724
+ * $ cc -o example-to-unicode example-to-unicode.c $(pkg-config --cflags --libs libidn2)
725
+ * $ ./example-tounicode
726
+ * Input domain (ACE) encoded as `UTF-8': xn--nxasmm1c.com
727
+ *
728
+ * Read string (length 16): 78 6e 2d 2d 6e 78 61 73 6d 6d 31 63 2e 63 6f 6d
729
+ * ACE label (length 14): 'βόλος.com'
730
+ *
731
+ */
732
+
733
+ int
734
+ main (void)
735
+ {
736
+ char buf[BUFSIZ];
737
+ char *p;
738
+ int rc;
739
+ size_t i;
740
+
741
+ if (!fgets (buf, BUFSIZ, stdin))
742
+ perror ("fgets");
743
+ buf[strlen (buf) - 1] = '\0';
744
+
745
+ printf ("Read string (length %ld): ", (long int) strlen (buf));
746
+ for (i = 0; i < strlen (buf); i++)
747
+ printf ("%02x ", (unsigned) buf[i] & 0xFF);
748
+ printf ("\n");
749
+
750
+ rc = idn2_to_unicode_8z8z (buf, &p, 0);
751
+ if (rc != IDNA_SUCCESS)
752
+ {
753
+ printf ("ToUnicode() failed (%d): %s\n", rc, idn2_strerror (rc));
754
+ return EXIT_FAILURE;
755
+ }
756
+
757
+ printf ("ACE label (length %ld): '%s'\n", (long int) strlen (p), p);
758
+
759
+ free (p); /* or idn2_free() */
760
+
761
+ return 0;
762
+ }
763
+
764
+ 
765
+ File: libidn2.info, Node: Lookup, Next: Register, Prev: ToUnicode, Up: Examples
766
+
767
+ 4.3 Lookup
768
+ ==========
769
+
770
+ This example demonstrates how a domain name is processed before it is
771
+ lookup in the DNS. The input expected is in the locale encoding.
772
+
773
+ #include <stdio.h> /* printf, fflush, fgets, stdin, perror, fprintf */
774
+ #include <string.h> /* strlen */
775
+ #include <locale.h> /* setlocale */
776
+ #include <stdlib.h> /* free */
777
+ #include <idn2.h> /* idn2_lookup_ul, IDN2_OK, idn2_strerror, idn2_strerror_name */
778
+
779
+ int
780
+ main (int argc, char *argv[])
781
+ {
782
+ int rc;
783
+ char src[BUFSIZ];
784
+ char *lookupname;
785
+
786
+ setlocale (LC_ALL, "");
787
+
788
+ printf ("Enter (possibly non-ASCII) domain name to lookup: ");
789
+ fflush (stdout);
790
+ if (!fgets (src, sizeof (src), stdin))
791
+ {
792
+ perror ("fgets");
793
+ return 1;
794
+ }
795
+ src[strlen (src) - 1] = '\0';
796
+
797
+ rc = idn2_lookup_ul (src, &lookupname, 0);
798
+ if (rc != IDN2_OK)
799
+ {
800
+ fprintf (stderr, "error: %s (%s, %d)\n",
801
+ idn2_strerror (rc), idn2_strerror_name (rc), rc);
802
+ return 1;
803
+ }
804
+
805
+ printf ("IDNA2008 domain name to lookup in DNS: %s\n", lookupname);
806
+
807
+ free (lookupname);
808
+
809
+ return 0;
810
+ }
811
+
812
+ 
813
+ File: libidn2.info, Node: Register, Prev: Lookup, Up: Examples
814
+
815
+ 4.4 Register
816
+ ============
817
+
818
+ This example demonstrates how a domain label is processed before it is
819
+ registered in the DNS. The input expected is in the locale encoding.
820
+
821
+ #include <stdio.h> /* printf, fflush, fgets, stdin, perror, fprintf */
822
+ #include <string.h> /* strlen */
823
+ #include <locale.h> /* setlocale */
824
+ #include <stdlib.h> /* free */
825
+ #include <idn2.h> /* idn2_register_ul, IDN2_OK, idn2_strerror, idn2_strerror_name */
826
+
827
+ int
828
+ main (int argc, char *argv[])
829
+ {
830
+ int rc;
831
+ char src[BUFSIZ];
832
+ char *insertname;
833
+
834
+ setlocale (LC_ALL, "");
835
+
836
+ printf ("Enter (possibly non-ASCII) label to register: ");
837
+ fflush (stdout);
838
+ if (!fgets (src, sizeof (src), stdin))
839
+ {
840
+ perror ("fgets");
841
+ return 1;
842
+ }
843
+ src[strlen (src) - 1] = '\0';
844
+
845
+ rc = idn2_register_ul (src, NULL, &insertname, 0);
846
+ if (rc != IDN2_OK)
847
+ {
848
+ fprintf (stderr, "error: %s (%s, %d)\n",
849
+ idn2_strerror (rc), idn2_strerror_name (rc), rc);
850
+ return 1;
851
+ }
852
+
853
+ printf ("IDNA2008 label to register in DNS: %s\n", insertname);
854
+
855
+ free (insertname);
856
+
857
+ return 0;
858
+ }
859
+
860
+ 
861
+ File: libidn2.info, Node: Invoking idn2, Next: Interface Index, Prev: Examples, Up: Top
862
+
863
+ 5 Invoking idn2
864
+ ***************
865
+
866
+ ‘idn2’ translates internationalized domain names to the IDNA2008 encoded
867
+ format, either for lookup or registration.
868
+
869
+ If strings are specified on the command line, they are used as input
870
+ and the computed output is printed to standard output ‘stdout’. If no
871
+ strings are specified on the command line, the program read data, line
872
+ by line, from the standard input ‘stdin’, and print the computed output
873
+ to standard output. What processing is performed (e.g., lookup or
874
+ register) is indicated by options. If any errors are encountered, the
875
+ execution of the applications is aborted.
876
+
877
+ All strings are expected to be encoded in the preferred charset used
878
+ by your locale. Use ‘--debug’ to find out what this charset is. On
879
+ POSIX systems you may use the ‘LANG’ environment variable to specify a
880
+ different locale.
881
+
882
+ To process a string that starts with ‘-’, for example ‘-foo’, use
883
+ ‘--’ to signal the end of parameters, as in ‘idn2 -r -- -foo’.
884
+
885
+ 5.1 Options
886
+ ===========
887
+
888
+ ‘idn2’ recognizes these commands:
889
+
890
+ -h, --help Print help and exit
891
+
892
+ -V, --version Print version and exit
893
+
894
+ -d, --decode Decode (punycode) domain name
895
+
896
+ -l, --lookup Lookup domain name (default)
897
+
898
+ -r, --register Register label
899
+
900
+ -T, --tr46t Enable TR46 transitional processing
901
+
902
+ -N, --tr46nt Enable TR46 non-transitional processing
903
+
904
+ --debug Print debugging information
905
+
906
+ --quiet Silent operation
907
+
908
+ 5.2 Environment Variables
909
+ =========================
910
+
911
+ On POSIX systems the LANG environment variable can be used to override
912
+ the system locale for the command being invoked. The system locale may
913
+ influence what character set is used to decode data (i.e., strings on
914
+ the command line or data read from the standard input stream), and to
915
+ encode data to the standard output. If your system is set up correctly,
916
+ however, the application will use the correct locale and character set
917
+ automatically. Example usage:
918
+
919
+ $ LANG=en_US.UTF-8 idn2
920
+ ...
921
+
922
+ 5.3 Examples
923
+ ============
924
+
925
+ Standard usage, reading input from standard input and disabling license
926
+ and usage instructions:
927
+
928
+ jas@latte:~$ idn2 --quiet
929
+ räksmörgås.se
930
+ xn--rksmrgs-5wao1o.se
931
+ ...
932
+
933
+ Reading input from the command line:
934
+
935
+ jas@latte:~$ idn2 räksmörgås.se blåbærgrød.no
936
+ xn--rksmrgs-5wao1o.se
937
+ xn--blbrgrd-fxak7p.no
938
+ jas@latte:~$
939
+
940
+ Testing the IDNA2008 Register function:
941
+
942
+ jas@latte:~$ idn2 --register fußball
943
+ xn--fuball-cta
944
+ jas@latte:~$
945
+
946
+ 5.4 Troubleshooting
947
+ ===================
948
+
949
+ Getting character data encoded right, and making sure Libidn2 use the
950
+ same encoding, can be difficult. The reason for this is that most
951
+ systems may encode character data in more than one character encoding,
952
+ i.e., using ‘UTF-8’ together with ‘ISO-8859-1’ or ‘ISO-2022-JP’. This
953
+ problem is likely to continue to exist until only one character encoding
954
+ come out as the evolutionary winner, or (more likely, at least to some
955
+ extents) forever.
956
+
957
+ The first step to troubleshooting character encoding problems with
958
+ Libidn2 is to use the ‘--debug’ parameter to find out which character
959
+ set encoding ‘idn2’ believe your locale uses.
960
+
961
+ jas@latte:~$ idn2 --debug --quiet ""
962
+ Charset: UTF-8
963
+
964
+ jas@latte:~$
965
+
966
+ If it prints ‘ANSI_X3.4-1968’ (i.e., ‘US-ASCII’), this indicate you
967
+ have not configured your locale properly. To configure the locale, you
968
+ can, for example, use ‘LANG=sv_SE.UTF-8; export LANG’ at a ‘/bin/sh’
969
+ prompt, to set up your locale for a Swedish environment using ‘UTF-8’ as
970
+ the encoding.
971
+
972
+ Sometimes ‘idn2’ appear to be unable to translate from your system
973
+ locale into ‘UTF-8’ (which is used internally), and you will get an
974
+ error message like this:
975
+
976
+ idn2: lookup: could not convert string to UTF-8
977
+
978
+ One explanation is that you didn’t install the ‘iconv’ conversion
979
+ tools. You can find it as a standalone library in GNU Libiconv
980
+ (<https://www.gnu.org/software/libiconv/>). On many GNU/Linux systems,
981
+ this library is part of the system, but you may have to install
982
+ additional packages to be able to use it.
983
+
984
+ Another explanation is that the error is correct and you are feeding
985
+ ‘idn2’ invalid data. This can happen inadvertently if you are not
986
+ careful with the character set encoding you use. For example, if your
987
+ shell run in a ‘ISO-8859-1’ environment, and you invoke ‘idn2’ with the
988
+ ‘LANG’ environment variable as follows, you will feed it ‘ISO-8859-1’
989
+ characters but force it to believe they are ‘UTF-8’. Naturally this
990
+ will lead to an error, unless the byte sequences happen to be valid
991
+ ‘UTF-8’. Note that even if you don’t get an error, the output may be
992
+ incorrect in this situation, because ‘ISO-8859-1’ and ‘UTF-8’ does not
993
+ in general encode the same characters as the same byte sequences.
994
+
995
+ jas@latte:~$ idn2 --quiet --debug ""
996
+ Charset: ISO-8859-1
997
+
998
+ jas@latte:~$ LANG=sv_SE.UTF-8 idn2 --debug räksmörgås
999
+ Charset: UTF-8
1000
+ input[0] = 0x72
1001
+ input[1] = 0xc3
1002
+ input[2] = 0xa4
1003
+ input[3] = 0xc3
1004
+ input[4] = 0xa4
1005
+ input[5] = 0x6b
1006
+ input[6] = 0x73
1007
+ input[7] = 0x6d
1008
+ input[8] = 0xc3
1009
+ input[9] = 0xb6
1010
+ input[10] = 0x72
1011
+ input[11] = 0x67
1012
+ input[12] = 0xc3
1013
+ input[13] = 0xa5
1014
+ input[14] = 0x73
1015
+ UCS-4 input[0] = U+0072
1016
+ UCS-4 input[1] = U+00e4
1017
+ UCS-4 input[2] = U+00e4
1018
+ UCS-4 input[3] = U+006b
1019
+ UCS-4 input[4] = U+0073
1020
+ UCS-4 input[5] = U+006d
1021
+ UCS-4 input[6] = U+00f6
1022
+ UCS-4 input[7] = U+0072
1023
+ UCS-4 input[8] = U+0067
1024
+ UCS-4 input[9] = U+00e5
1025
+ UCS-4 input[10] = U+0073
1026
+ output[0] = 0x72
1027
+ output[1] = 0xc3
1028
+ output[2] = 0xa4
1029
+ output[3] = 0xc3
1030
+ output[4] = 0xa4
1031
+ output[5] = 0x6b
1032
+ output[6] = 0x73
1033
+ output[7] = 0x6d
1034
+ output[8] = 0xc3
1035
+ output[9] = 0xb6
1036
+ output[10] = 0x72
1037
+ output[11] = 0x67
1038
+ output[12] = 0xc3
1039
+ output[13] = 0xa5
1040
+ output[14] = 0x73
1041
+ UCS-4 output[0] = U+0072
1042
+ UCS-4 output[1] = U+00e4
1043
+ UCS-4 output[2] = U+00e4
1044
+ UCS-4 output[3] = U+006b
1045
+ UCS-4 output[4] = U+0073
1046
+ UCS-4 output[5] = U+006d
1047
+ UCS-4 output[6] = U+00f6
1048
+ UCS-4 output[7] = U+0072
1049
+ UCS-4 output[8] = U+0067
1050
+ UCS-4 output[9] = U+00e5
1051
+ UCS-4 output[10] = U+0073
1052
+ xn--rksmrgs-5waap8p
1053
+ jas@latte:~$
1054
+
1055
+ The sense moral here is to forget about ‘LANG’ (instead, configure
1056
+ your system locale properly) unless you know what you are doing, and if
1057
+ you want to use ‘LANG’, do it carefully and after verifying with
1058
+ ‘--debug’ that you get the desired results.
1059
+
1060
+ 
1061
+ File: libidn2.info, Node: Interface Index, Next: Concept Index, Prev: Invoking idn2, Up: Top
1062
+
1063
+ Interface Index
1064
+ ***************
1065
+
1066
+ [index]
1067
+ * Menu:
1068
+
1069
+ * idn2_check_version: Library Functions. (line 458)
1070
+ * idn2_free: Library Functions. (line 437)
1071
+ * idn2_lookup_u8: Library Functions. (line 67)
1072
+ * idn2_lookup_ul: Library Functions. (line 226)
1073
+ * idn2_register_u8: Library Functions. (line 112)
1074
+ * idn2_register_ul: Library Functions. (line 263)
1075
+ * idn2_strerror: Library Functions. (line 319)
1076
+ * idn2_strerror_name: Library Functions. (line 330)
1077
+ * idn2_to_ascii_8z: Library Functions. (line 25)
1078
+ * idn2_to_ascii_lz: Library Functions. (line 157)
1079
+ * idn2_to_unicode_8z8z: Library Functions. (line 47)
1080
+ * idn2_to_unicode_8zlz: Library Functions. (line 181)
1081
+ * idn2_to_unicode_lzlz: Library Functions. (line 203)
1082
+
1083
+ 
1084
+ File: libidn2.info, Node: Concept Index, Prev: Interface Index, Up: Top
1085
+
1086
+ Concept Index
1087
+ *************
1088
+
1089
+ [index]
1090
+ * Menu:
1091
+
1092
+ * command line: Invoking idn2. (line 6)
1093
+ * Examples: Examples. (line 6)
1094
+ * idn2: Invoking idn2. (line 6)
1095
+ * invoking idn2: Invoking idn2. (line 6)
1096
+ * libidn: Converting from libidn.
1097
+ (line 6)
1098
+ * Library Functions: Library Functions. (line 6)
1099
+
1100
+
1101
+ 
1102
+ Tag Table:
1103
+ Node: Top565
1104
+ Node: Introduction1120
1105
+ Node: Library Functions2366
1106
+ Ref: idn2_to_ascii_8z2933
1107
+ Ref: idn2_to_unicode_8z8z3657
1108
+ Ref: idn2_lookup_u84258
1109
+ Ref: idn2_register_u86260
1110
+ Ref: idn2_to_ascii_lz8145
1111
+ Ref: idn2_to_unicode_8zlz8948
1112
+ Ref: idn2_to_unicode_lzlz9643
1113
+ Ref: idn2_lookup_ul10389
1114
+ Ref: idn2_register_ul12003
1115
+ Ref: idn2_strerror14167
1116
+ Ref: idn2_strerror_name14511
1117
+ Ref: idn2_free17566
1118
+ Ref: idn2_check_version18299
1119
+ Node: Converting from libidn19519
1120
+ Node: Examples22370
1121
+ Node: ToASCII22817
1122
+ Node: ToUnicode24345
1123
+ Node: Lookup25871
1124
+ Node: Register27004
1125
+ Node: Invoking idn228130
1126
+ Node: Interface Index34993
1127
+ Node: Concept Index36097
1128
+ 
1129
+ End Tag Table
1130
+
1131
+ 
1132
+ Local Variables:
1133
+ coding: utf-8
1134
+ End: