glib2 3.2.5-x86-mingw32 → 3.2.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (325) hide show
  1. checksums.yaml +4 -4
  2. data/COPYING.LIB +502 -0
  3. data/README.md +42 -0
  4. data/Rakefile +8 -7
  5. data/ext/glib2/glib2.def +5 -0
  6. data/ext/glib2/rbglib-gc.c +89 -0
  7. data/ext/glib2/rbglib-variant-type.c +17 -0
  8. data/ext/glib2/rbglib.c +3 -0
  9. data/ext/glib2/rbglib.h +6 -1
  10. data/ext/glib2/rbglib2conversions.h +1 -1
  11. data/ext/glib2/rbgobj_boxed.c +49 -30
  12. data/ext/glib2/rbgobj_closure.c +3 -2
  13. data/ext/glib2/rbgobj_convert.c +1 -2
  14. data/ext/glib2/rbgobj_enums.c +32 -14
  15. data/ext/glib2/rbgobj_flags.c +31 -14
  16. data/ext/glib2/rbgobj_param.c +43 -23
  17. data/ext/glib2/rbgobj_signal.c +78 -66
  18. data/ext/glib2/rbgobj_type.c +22 -10
  19. data/ext/glib2/rbgobject.h +2 -0
  20. data/ext/glib2/rbgprivate.h +11 -0
  21. data/glib2.gemspec +48 -0
  22. data/lib/2.2/glib2.so +0 -0
  23. data/lib/2.3/glib2.so +0 -0
  24. data/lib/2.4/glib2.so +0 -0
  25. data/lib/2.5/glib2.so +0 -0
  26. data/lib/gnome2/rake/package-task.rb +17 -5
  27. data/lib/gnome2/rake/package.rb +2 -2
  28. data/lib/gnome2/rake/windows-binary-build-task.rb +39 -6
  29. data/lib/mkmf-gnome2.rb +4 -3
  30. data/sample/bookmarkfile.rb +2 -2
  31. data/sample/type-register.rb +6 -6
  32. data/sample/type-register2.rb +6 -6
  33. data/test/{test_enum.rb → test-enum.rb} +0 -0
  34. data/test/{test_file_utils.rb → test-file-utils.rb} +0 -0
  35. data/test/{test_flags.rb → test-flags.rb} +0 -0
  36. data/test/{test_glib2.rb → test-glib2.rb} +0 -0
  37. data/test/{test_key_file.rb → test-key-file.rb} +0 -0
  38. data/test/{test_mkenums.rb → test-mkenums.rb} +0 -0
  39. data/test/{test_poll_fd.rb → test-poll-fd.rb} +0 -0
  40. data/test/{test_signal.rb → test-signal.rb} +34 -2
  41. data/test/{test_source.rb → test-source.rb} +0 -0
  42. data/test/{test_spawn.rb → test-spawn.rb} +0 -0
  43. data/test/{test_timeout.rb → test-timeout.rb} +0 -0
  44. data/test/{test_unicode.rb → test-unicode.rb} +0 -0
  45. data/test/{test_utils.rb → test-utils.rb} +0 -0
  46. data/test/{test_value.rb → test-value.rb} +0 -0
  47. data/test/test-variant.rb +27 -0
  48. data/test/{test_win32.rb → test-win32.rb} +0 -0
  49. data/vendor/local/bin/asn1Coding.exe +0 -0
  50. data/vendor/local/bin/asn1Decoding.exe +0 -0
  51. data/vendor/local/bin/asn1Parser.exe +0 -0
  52. data/vendor/local/bin/envsubst.exe +0 -0
  53. data/vendor/local/bin/gdbus.exe +0 -0
  54. data/vendor/local/bin/gettext.exe +0 -0
  55. data/vendor/local/bin/gio-querymodules.exe +0 -0
  56. data/vendor/local/bin/gio.exe +0 -0
  57. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  58. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  59. data/vendor/local/bin/glib-genmarshal +1 -1
  60. data/vendor/local/bin/glib-gettextize +1 -1
  61. data/vendor/local/bin/glib-mkenums +4 -2
  62. data/vendor/local/bin/gobject-query.exe +0 -0
  63. data/vendor/local/bin/gresource.exe +0 -0
  64. data/vendor/local/bin/gsettings.exe +0 -0
  65. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  66. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  67. data/vendor/local/bin/iconv.exe +0 -0
  68. data/vendor/local/bin/idn2.exe +0 -0
  69. data/vendor/local/bin/libasprintf-0.dll +0 -0
  70. data/vendor/local/bin/libcharset-1.dll +0 -0
  71. data/vendor/local/bin/libffi-6.dll +0 -0
  72. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  73. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  74. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  75. data/vendor/local/bin/libgmp-10.dll +0 -0
  76. data/vendor/local/bin/libgnutls-30.dll +0 -0
  77. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  78. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  79. data/vendor/local/bin/libhogweed-4-2.dll +0 -0
  80. data/vendor/local/bin/libiconv-2.dll +0 -0
  81. data/vendor/local/bin/libidn2-0.dll +0 -0
  82. data/vendor/local/bin/libintl-8.dll +0 -0
  83. data/vendor/local/bin/libnettle-6-2.dll +0 -0
  84. data/vendor/local/bin/libp11-kit-0.dll +0 -0
  85. data/vendor/local/bin/libpcre-1.dll +0 -0
  86. data/vendor/local/bin/libpcrecpp-0.dll +0 -0
  87. data/vendor/local/bin/libpcreposix-0.dll +0 -0
  88. data/vendor/local/bin/libtasn1-6.dll +0 -0
  89. data/vendor/local/bin/nettle-hash.exe +0 -0
  90. data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
  91. data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
  92. data/vendor/local/bin/ngettext.exe +0 -0
  93. data/vendor/local/bin/p11-kit.exe +0 -0
  94. data/vendor/local/bin/pcregrep.exe +0 -0
  95. data/vendor/local/bin/pcretest.exe +0 -0
  96. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  97. data/vendor/local/bin/sexp-conv.exe +0 -0
  98. data/vendor/local/bin/trust.exe +0 -0
  99. data/vendor/local/include/idn2.h +5 -3
  100. data/vendor/local/include/p11-kit-1/p11-kit/iter.h +25 -1
  101. data/vendor/local/include/p11-kit-1/p11-kit/p11-kit.h +6 -0
  102. data/vendor/local/include/p11-kit-1/p11-kit/pkcs11.h +133 -4
  103. data/vendor/local/include/p11-kit-1/p11-kit/pkcs11x.h +1 -0
  104. data/vendor/local/include/p11-kit-1/p11-kit/remote.h +15 -0
  105. data/vendor/local/include/p11-kit-1/p11-kit/uri.h +32 -12
  106. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  107. data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
  108. data/vendor/local/lib/libasprintf.a +0 -0
  109. data/vendor/local/lib/libasprintf.dll.a +0 -0
  110. data/vendor/local/lib/libasprintf.la +1 -1
  111. data/vendor/local/lib/libcharset.a +0 -0
  112. data/vendor/local/lib/libcharset.dll.a +0 -0
  113. data/vendor/local/lib/libcharset.la +1 -1
  114. data/vendor/local/lib/libffi.dll.a +0 -0
  115. data/vendor/local/lib/libffi.la +1 -1
  116. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  117. data/vendor/local/lib/libgio-2.0.la +2 -2
  118. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  119. data/vendor/local/lib/libglib-2.0.la +2 -2
  120. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  121. data/vendor/local/lib/libgmodule-2.0.la +2 -2
  122. data/vendor/local/lib/libgmp.dll.a +0 -0
  123. data/vendor/local/lib/libgnutls.dll.a +0 -0
  124. data/vendor/local/lib/libgnutls.la +1 -1
  125. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  126. data/vendor/local/lib/libgobject-2.0.la +2 -2
  127. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  128. data/vendor/local/lib/libgthread-2.0.la +2 -2
  129. data/vendor/local/lib/libhogweed.dll.a +0 -0
  130. data/vendor/local/lib/libiconv.dll.a +0 -0
  131. data/vendor/local/lib/libiconv.la +1 -1
  132. data/vendor/local/lib/libidn2.a +0 -0
  133. data/vendor/local/lib/libidn2.dll.a +0 -0
  134. data/vendor/local/lib/libidn2.la +2 -2
  135. data/vendor/local/lib/libintl.a +0 -0
  136. data/vendor/local/lib/libintl.dll.a +0 -0
  137. data/vendor/local/lib/libintl.la +1 -1
  138. data/vendor/local/lib/libnettle.dll.a +0 -0
  139. data/vendor/local/lib/libp11-kit.dll.a +0 -0
  140. data/vendor/local/lib/libp11-kit.la +3 -3
  141. data/vendor/local/lib/libpcre.a +0 -0
  142. data/vendor/local/lib/libpcre.dll.a +0 -0
  143. data/vendor/local/lib/libpcre.la +1 -1
  144. data/vendor/local/lib/libpcrecpp.dll.a +0 -0
  145. data/vendor/local/lib/libpcrecpp.la +1 -1
  146. data/vendor/local/lib/libpcreposix.a +0 -0
  147. data/vendor/local/lib/libpcreposix.dll.a +0 -0
  148. data/vendor/local/lib/libpcreposix.la +1 -1
  149. data/vendor/local/lib/libtasn1.dll.a +0 -0
  150. data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
  151. data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
  152. data/vendor/local/lib/pkcs11/p11-kit-trust.la +3 -3
  153. data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
  154. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  155. data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
  156. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  157. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  158. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  159. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
  160. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  161. data/vendor/local/lib/pkgconfig/libidn2.pc +1 -1
  162. data/vendor/local/lib/pkgconfig/p11-kit-1.pc +1 -1
  163. data/vendor/local/libexec/p11-kit/p11-kit-remote.exe +0 -0
  164. data/vendor/local/libexec/p11-kit/p11-kit-server.exe +0 -0
  165. data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2/glib2/vendor/local/lib/{libglib-2.0.so.0.5600.0-gdb.py → libglib-2.0.so.0.5600.1-gdb.py} +0 -0
  166. data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2/glib2/vendor/local/lib/{libgobject-2.0.so.0.5600.0-gdb.py → libgobject-2.0.so.0.5600.1-gdb.py} +0 -0
  167. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  168. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  169. data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
  170. data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
  171. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
  172. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
  173. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
  174. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
  175. data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
  176. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  177. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  178. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
  179. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
  180. data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
  181. data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
  182. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  183. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  184. data/vendor/local/share/glib-2.0/gdb/gobject_gdb.py +1 -1
  185. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +35 -13
  186. data/vendor/local/share/gtk-doc/html/gio/gio.html +0 -4
  187. data/vendor/local/share/gtk-doc/html/gio/index.html +1 -1
  188. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +2 -2
  189. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +2 -2
  190. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1 -1
  191. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +1 -1
  192. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +2 -2
  193. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +3 -3
  194. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +3 -3
  195. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +1 -1
  196. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +4 -4
  197. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +2 -2
  198. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +3 -3
  199. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +4 -4
  200. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +4 -4
  201. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +4 -4
  202. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +1 -1
  203. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +1 -1
  204. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +1 -1
  205. data/vendor/local/share/gtk-doc/html/glib/index.html +1 -1
  206. data/vendor/local/share/gtk-doc/html/gobject/index.html +1 -1
  207. data/vendor/local/share/gtk-doc/html/libidn2/api-index-full.html +4 -10
  208. data/vendor/local/share/gtk-doc/html/libidn2/home.png +0 -0
  209. data/vendor/local/share/gtk-doc/html/libidn2/index.html +3 -3
  210. data/vendor/local/share/gtk-doc/html/libidn2/left-insensitive.png +0 -0
  211. data/vendor/local/share/gtk-doc/html/libidn2/left.png +0 -0
  212. data/vendor/local/share/gtk-doc/html/libidn2/libidn2-idn2.html +67 -75
  213. data/vendor/local/share/gtk-doc/html/libidn2/libidn2.devhelp2 +1 -0
  214. data/vendor/local/share/gtk-doc/html/libidn2/libidn2.html +2 -2
  215. data/vendor/local/share/gtk-doc/html/libidn2/right-insensitive.png +0 -0
  216. data/vendor/local/share/gtk-doc/html/libidn2/right.png +0 -0
  217. data/vendor/local/share/gtk-doc/html/libidn2/style.css +4 -0
  218. data/vendor/local/share/gtk-doc/html/libidn2/up-insensitive.png +0 -0
  219. data/vendor/local/share/gtk-doc/html/libidn2/up.png +0 -0
  220. data/vendor/local/share/gtk-doc/html/p11-kit/config-example.html +3 -3
  221. data/vendor/local/share/gtk-doc/html/p11-kit/config-files.html +3 -3
  222. data/vendor/local/share/gtk-doc/html/p11-kit/config.html +3 -3
  223. data/vendor/local/share/gtk-doc/html/p11-kit/devel-building-style.html +3 -3
  224. data/vendor/local/share/gtk-doc/html/p11-kit/devel-building.html +4 -4
  225. data/vendor/local/share/gtk-doc/html/p11-kit/devel-commands.html +3 -3
  226. data/vendor/local/share/gtk-doc/html/p11-kit/devel-debugging.html +3 -3
  227. data/vendor/local/share/gtk-doc/html/p11-kit/devel-paths.html +3 -3
  228. data/vendor/local/share/gtk-doc/html/p11-kit/devel-testing.html +4 -4
  229. data/vendor/local/share/gtk-doc/html/p11-kit/devel.html +5 -5
  230. data/vendor/local/share/gtk-doc/html/p11-kit/index.html +5 -4
  231. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Deprecated.html +3 -3
  232. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +292 -19
  233. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +22 -16
  234. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +19 -19
  235. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +262 -21
  236. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +5 -5
  237. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.devhelp2 +21 -1
  238. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.html +18 -5
  239. data/vendor/local/share/gtk-doc/html/p11-kit/pkcs11-conf.html +6 -4
  240. data/vendor/local/share/gtk-doc/html/p11-kit/reference.html +43 -3
  241. data/vendor/local/share/gtk-doc/html/p11-kit/remoting.html +230 -0
  242. data/vendor/local/share/gtk-doc/html/p11-kit/sharing-managed.html +3 -3
  243. data/vendor/local/share/gtk-doc/html/p11-kit/sharing.html +5 -5
  244. data/vendor/local/share/gtk-doc/html/p11-kit/tools.html +3 -3
  245. data/vendor/local/share/gtk-doc/html/p11-kit/trust-disable.html +3 -3
  246. data/vendor/local/share/gtk-doc/html/p11-kit/trust-glib-networking.html +3 -3
  247. data/vendor/local/share/gtk-doc/html/p11-kit/trust-module.html +5 -5
  248. data/vendor/local/share/gtk-doc/html/p11-kit/trust-nss.html +3 -3
  249. data/vendor/local/share/gtk-doc/html/p11-kit/trust.html +42 -7
  250. data/vendor/local/share/info/libidn2.info +94 -54
  251. data/vendor/local/share/locale/cs/LC_MESSAGES/libidn2.mo +0 -0
  252. data/vendor/local/share/locale/da/LC_MESSAGES/libidn2.mo +0 -0
  253. data/vendor/local/share/locale/de/LC_MESSAGES/libidn2.mo +0 -0
  254. data/vendor/local/share/locale/eo/LC_MESSAGES/libidn2.mo +0 -0
  255. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  256. data/vendor/local/share/locale/es/LC_MESSAGES/libidn2.mo +0 -0
  257. data/vendor/local/share/locale/fi/LC_MESSAGES/libidn2.mo +0 -0
  258. data/vendor/local/share/locale/fr/LC_MESSAGES/libidn2.mo +0 -0
  259. data/vendor/local/share/locale/fur/LC_MESSAGES/libidn2.mo +0 -0
  260. data/vendor/local/share/locale/hr/LC_MESSAGES/libidn2.mo +0 -0
  261. data/vendor/local/share/locale/hu/LC_MESSAGES/libidn2.mo +0 -0
  262. data/vendor/local/share/locale/id/LC_MESSAGES/libidn2.mo +0 -0
  263. data/vendor/local/share/locale/it/LC_MESSAGES/libidn2.mo +0 -0
  264. data/vendor/local/share/locale/ja/LC_MESSAGES/libidn2.mo +0 -0
  265. data/vendor/local/share/locale/nl/LC_MESSAGES/libidn2.mo +0 -0
  266. data/vendor/local/share/locale/pl/LC_MESSAGES/libidn2.mo +0 -0
  267. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  268. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libidn2.mo +0 -0
  269. data/vendor/local/share/locale/ro/LC_MESSAGES/glib-networking.mo +0 -0
  270. data/vendor/local/share/locale/ro/LC_MESSAGES/libidn2.mo +0 -0
  271. data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
  272. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  273. data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
  274. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  275. data/vendor/local/share/locale/sr/LC_MESSAGES/libidn2.mo +0 -0
  276. data/vendor/local/share/locale/sv/LC_MESSAGES/glib-networking.mo +0 -0
  277. data/vendor/local/share/locale/sv/LC_MESSAGES/libidn2.mo +0 -0
  278. data/vendor/local/share/locale/uk/LC_MESSAGES/libidn2.mo +0 -0
  279. data/vendor/local/share/locale/vi/LC_MESSAGES/libidn2.mo +0 -0
  280. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib-networking.mo +0 -0
  281. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libidn2.mo +0 -0
  282. data/vendor/local/share/man/man1/gapplication.1 +1 -1
  283. data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
  284. data/vendor/local/share/man/man1/gdbus.1 +1 -1
  285. data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
  286. data/vendor/local/share/man/man1/gio.1 +1 -6
  287. data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
  288. data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
  289. data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
  290. data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
  291. data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
  292. data/vendor/local/share/man/man1/gobject-query.1 +1 -1
  293. data/vendor/local/share/man/man1/gresource.1 +1 -1
  294. data/vendor/local/share/man/man1/gsettings.1 +1 -1
  295. data/vendor/local/share/man/man1/gtester-report.1 +1 -1
  296. data/vendor/local/share/man/man1/gtester.1 +1 -1
  297. data/vendor/local/share/man/man3/idn2_check_version.3 +1 -1
  298. data/vendor/local/share/man/man3/idn2_free.3 +1 -1
  299. data/vendor/local/share/man/man3/idn2_lookup_u8.3 +1 -1
  300. data/vendor/local/share/man/man3/idn2_lookup_ul.3 +1 -1
  301. data/vendor/local/share/man/man3/idn2_register_u8.3 +1 -1
  302. data/vendor/local/share/man/man3/idn2_register_ul.3 +3 -2
  303. data/vendor/local/share/man/man3/idn2_strerror.3 +1 -1
  304. data/vendor/local/share/man/man3/idn2_strerror_name.3 +1 -1
  305. data/vendor/local/share/man/man3/idn2_to_ascii_4i.3 +6 -3
  306. data/vendor/local/share/man/man3/idn2_to_ascii_4z.3 +6 -3
  307. data/vendor/local/share/man/man3/idn2_to_ascii_8z.3 +6 -3
  308. data/vendor/local/share/man/man3/idn2_to_ascii_lz.3 +6 -3
  309. data/vendor/local/share/man/man3/idn2_to_unicode_44i.3 +1 -1
  310. data/vendor/local/share/man/man3/idn2_to_unicode_4z4z.3 +1 -1
  311. data/vendor/local/share/man/man3/idn2_to_unicode_8z4z.3 +1 -1
  312. data/vendor/local/share/man/man3/idn2_to_unicode_8z8z.3 +1 -1
  313. data/vendor/local/share/man/man3/idn2_to_unicode_8zlz.3 +1 -1
  314. data/vendor/local/share/man/man3/idn2_to_unicode_lzlz.3 +1 -1
  315. data/vendor/local/share/p11-kit/modules/p11-kit-trust.module +3 -0
  316. data/version.rb +30 -0
  317. metadata +52 -71
  318. data/vendor/local/share/installed-tests/glib-networking/certificate.test +0 -3
  319. data/vendor/local/share/installed-tests/glib-networking/connection.test +0 -3
  320. data/vendor/local/share/installed-tests/glib-networking/dtls-connection.test +0 -3
  321. data/vendor/local/share/installed-tests/glib-networking/file-database.test +0 -3
  322. data/vendor/local/share/installed-tests/glib-networking/pkcs11-array.test +0 -3
  323. data/vendor/local/share/installed-tests/glib-networking/pkcs11-pin.test +0 -3
  324. data/vendor/local/share/installed-tests/glib-networking/pkcs11-slot.test +0 -3
  325. data/vendor/local/share/installed-tests/glib-networking/pkcs11-util.test +0 -3
@@ -3,12 +3,12 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>Managed modules: p11-kit</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
6
+ <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
7
7
  <link rel="home" href="index.html" title="p11-kit">
8
8
  <link rel="up" href="sharing.html" title="Sharing PKCS#11 modules">
9
9
  <link rel="prev" href="sharing.html" title="Sharing PKCS#11 modules">
10
10
  <link rel="next" href="sharing.html" title="Proxy Module">
11
- <meta name="generator" content="GTK-Doc V1.25 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.27 (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">
@@ -73,6 +73,6 @@
73
73
  </ul></div>
74
74
  </div>
75
75
  <div class="footer">
76
- <hr>Generated by GTK-Doc V1.25</div>
76
+ <hr>Generated by GTK-Doc V1.27</div>
77
77
  </body>
78
78
  </html>
@@ -3,12 +3,12 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>Proxy Module: p11-kit</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
6
+ <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
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-managed.html" title="Managed modules">
10
- <link rel="next" href="trust-module.html" title="Trust Policy Module">
11
- <meta name="generator" content="GTK-Doc V1.25 (XML mode)">
10
+ <link rel="next" href="remoting.html" title="Remoting / Forwarding">
11
+ <meta name="generator" content="GTK-Doc V1.27 (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">
@@ -17,7 +17,7 @@
17
17
  <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
18
18
  <td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
19
19
  <td><a accesskey="p" href="sharing-managed.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
20
- <td><a accesskey="n" href="trust-module.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
20
+ <td><a accesskey="n" href="remoting.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
21
21
  </tr></table>
22
22
  <div class="chapter">
23
23
  <div class="titlepage"><div><div><h1 class="title">
@@ -43,6 +43,6 @@
43
43
  managed instances are released when the proxy module is unloaded.</p>
44
44
  </div>
45
45
  <div class="footer">
46
- <hr>Generated by GTK-Doc V1.25</div>
46
+ <hr>Generated by GTK-Doc V1.27</div>
47
47
  </body>
48
48
  </html>
@@ -3,12 +3,12 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>Manual Pages: p11-kit</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
6
+ <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
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="trust-disable.html" title="Disabling the Trust Policy Module">
10
10
  <link rel="next" href="p11-kit.html" title="p11-kit">
11
- <meta name="generator" content="GTK-Doc V1.25 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.27 (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
  </dl></div>
36
36
  </div>
37
37
  <div class="footer">
38
- <hr>Generated by GTK-Doc V1.25</div>
38
+ <hr>Generated by GTK-Doc V1.27</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>Disabling the Trust Policy Module: p11-kit</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
6
+ <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
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-glib-networking.html" title="Using the Trust Policy Module with glib-networking">
10
10
  <link rel="next" href="tools.html" title="Manual Pages">
11
- <meta name="generator" content="GTK-Doc V1.25 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.27 (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">
@@ -39,6 +39,6 @@
39
39
  </ul></div>
40
40
  </div>
41
41
  <div class="footer">
42
- <hr>Generated by GTK-Doc V1.25</div>
42
+ <hr>Generated by GTK-Doc V1.27</div>
43
43
  </body>
44
44
  </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 glib-networking: p11-kit</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
6
+ <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
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-nss.html" title="Using the Trust Policy Module with NSS">
10
10
  <link rel="next" href="trust-disable.html" title="Disabling the Trust Policy Module">
11
- <meta name="generator" content="GTK-Doc V1.25 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.27 (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">
@@ -29,6 +29,6 @@
29
29
  backend is selected as the glib-networking TLS backend.</p>
30
30
  </div>
31
31
  <div class="footer">
32
- <hr>Generated by GTK-Doc V1.25</div>
32
+ <hr>Generated by GTK-Doc V1.27</div>
33
33
  </body>
34
34
  </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 Policy Module: p11-kit</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
6
+ <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
7
7
  <link rel="home" href="index.html" title="p11-kit">
8
8
  <link rel="up" href="index.html" title="p11-kit">
9
- <link rel="prev" href="sharing.html" title="Proxy Module">
9
+ <link rel="prev" href="remoting.html" title="Remoting / Forwarding">
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.25 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.27 (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">
@@ -16,7 +16,7 @@
16
16
  <td width="100%" align="left" class="shortcuts"></td>
17
17
  <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
18
18
  <td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
19
- <td><a accesskey="p" href="sharing.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
19
+ <td><a accesskey="p" href="remoting.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
20
20
  <td><a accesskey="n" href="trust-nss.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
21
21
  </tr></table>
22
22
  <div class="chapter">
@@ -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.25</div>
93
+ <hr>Generated by GTK-Doc V1.27</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.79.1">
6
+ <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
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.25 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.27 (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.25</div>
38
+ <hr>Generated by GTK-Doc V1.27</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.79.1">
6
+ <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
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.25 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.27 (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,7 @@
35
35
  </p></div>
36
36
  <div class="cmdsynopsis"><p><code class="command">trust anchor</code> /path/to/certificate.crt
37
37
  </p></div>
38
+ <div class="cmdsynopsis"><p><code class="command">trust dump</code> </p></div>
38
39
  </div>
39
40
  <div class="refsect1">
40
41
  <a name="trust-description"></a><h2>Description</h2>
@@ -154,7 +155,7 @@ $ trust list
154
155
  <pre class="programlisting">
155
156
  $ trust anchor /path/to/certificate.crt
156
157
  $ trust anchor --remove /path/to/certificate.crt
157
- $ trust anchor --remove "pkcs11:id=%AA%BB%CC%DD%EE;object-type=cert"
158
+ $ trust anchor --remove "pkcs11:id=%AA%BB%CC%DD%EE;type=cert"
158
159
  </pre>
159
160
  <p>Store or remove trust anchors in the trust policy store. These are
160
161
  usually root certificate authorities.</p>
@@ -365,24 +366,58 @@ $ trust extract-compat
365
366
  customize this command.</p>
366
367
  </div>
367
368
  <div class="refsect1">
369
+ <a name="trust-dump"></a><h2>Dump</h2>
370
+ <p>Dump PKCS#11 items in the various tokens.</p>
371
+ <pre class="programlisting">
372
+ $ trust dump
373
+ </pre>
374
+ <p>Dump information about the various PKCS#11 items in the tokens.
375
+ Each item is dumped with it's PKCS#11 URI and information in the .p11-kit
376
+ persistence format.</p>
377
+ <p>You can specify the following options to control what to dump.</p>
378
+ <dt><span class="term"><code class="option">--filter=&lt;what&gt;</code></span></dt>
379
+ <dd>
380
+ <p>Specifies what certificates to extract. You can specify the following values:
381
+ </p>
382
+ <div class="variablelist"><table border="0" class="variablelist">
383
+ <colgroup>
384
+ <col align="left" valign="top">
385
+ <col>
386
+ </colgroup>
387
+ <tbody>
388
+ <tr>
389
+ <td><p><span class="term"><code class="option">all</code></span></p></td>
390
+ <td><p>All objects. This is the default</p></td>
391
+ </tr>
392
+ <tr>
393
+ <td><p><span class="term"><code class="option">pkcs11:object=xx</code></span></p></td>
394
+ <td><p>A PKCS#11 URI to filter with</p></td>
395
+ </tr>
396
+ </tbody>
397
+ </table></div>
398
+ <p>
399
+ </p>
400
+ </dd>
401
+ </div>
402
+ <div class="refsect1">
368
403
  <a name="trust-bugs"></a><h2>Bugs</h2>
369
404
  <p>
370
405
  Please send bug reports to either the distribution bug tracker
371
406
  or the upstream bug tracker at
372
- <a class="ulink" href="https://bugs.freedesktop.org/enter_bug.cgi?product=p11-glue&amp;component=p11-kit" target="_top">https://bugs.freedesktop.org/enter_bug.cgi?product=p11-glue&amp;component=p11-kit</a>.
407
+ <a class="ulink" href="https://github.com/p11-glue/p11-kit/issues/" target="_top">https://github.com/p11-glue/p11-kit/issues/</a>.
373
408
  </p>
374
409
  </div>
375
410
  <div class="refsect1">
376
411
  <a name="trust-see-also"></a><h2>See also</h2>
377
412
  <span class="simplelist"><span class="citerefentry"><span class="refentrytitle">p11-kit</span>(8)</span></span><p>An explanatory document about storing trust policy:
378
- <a class="ulink" href="http://p11-glue.freedesktop.org/doc/storing-trust-policy/" target="_top">http://p11-glue.freedesktop.org/doc/storing-trust-policy/</a></p>
413
+ <a class="ulink" href="https://p11-glue.github.io/p11-glue/doc/storing-trust-policy/" target="_top">https://p11-glue.github.io/p11-glue/doc/storing-trust-policy/</a></p>
379
414
  <p>
380
415
  Further details available in the p11-kit online documentation at
381
- <a class="ulink" href="http://p11-glue.freedesktop.org/doc/p11-kit/" target="_top">http://p11-glue.freedesktop.org/doc/p11-kit/</a>.
416
+ <a class="ulink" href="https://p11-glue.github.io/p11-glue/p11-kit/manual/" target="_top">https://p11-glue.github.io/p11-glue/p11-kit/manual/</a>.
382
417
  </p>
383
418
  </div>
384
419
  </div>
385
420
  <div class="footer">
386
- <hr>Generated by GTK-Doc V1.25</div>
421
+ <hr>Generated by GTK-Doc V1.27</div>
387
422
  </body>
388
423
  </html>
@@ -1,7 +1,7 @@
1
- This is libidn2.info, produced by makeinfo version 6.4.90 from
1
+ This is libidn2.info, produced by makeinfo version 6.5 from
2
2
  libidn2.texi.
3
3
 
4
- This manual is for Libidn2 (version 2.0.4, 21 July 2017), an
4
+ This manual is for Libidn2 (version 2.0.5, 16 May 2018), an
5
5
  implementation of IDNA2008/TR46 internationalized domain names.
6
6
 
7
7
  Copyright © 2011-2017 Simon Josefsson
@@ -21,7 +21,7 @@ File: libidn2.info, Node: Top, Next: Introduction, Up: (dir)
21
21
  Libidn2
22
22
  *******
23
23
 
24
- This manual is for Libidn2 (version 2.0.4, 21 July 2017), an
24
+ This manual is for Libidn2 (version 2.0.5, 16 May 2018), an
25
25
  implementation of IDNA2008/TR46 internationalized domain names.
26
26
 
27
27
  Copyright © 2011-2017 Simon Josefsson
@@ -105,8 +105,12 @@ idn2_to_ascii_8z
105
105
  The domain name may contain several labels, separated by dots. The
106
106
  output buffer must be deallocated by the caller.
107
107
 
108
- When unsure, it is recommended to call this function with the
109
- ‘IDN2_NONTRANSITIONAL’ and ‘IDN2_NFC_INPUT’ flags.
108
+ The default behavior of this function (when flags are zero) is to
109
+ apply the IDNA2008 rules without the TR46 amendments. As the TR46
110
+ non-transitional processing is nowdays ubiquitous, when unsure, it
111
+ is recommended to call this function with the
112
+ ‘IDN2_NONTRANSITIONAL’ and the ‘IDN2_NFC_INPUT’ flags for
113
+ compatibility with other software.
110
114
 
111
115
  Return value: Returns ‘IDN2_OK’ on success, or error code.
112
116
 
@@ -238,8 +242,12 @@ idn2_to_ascii_lz
238
242
  separated by dots. The output buffer must be deallocated by the
239
243
  caller.
240
244
 
241
- When unsure, it is recommended to call this function with the
242
- ‘IDN2_NONTRANSITIONAL’ and ‘IDN2_NFC_INPUT’ flags.
245
+ The default behavior of this function (when flags are zero) is to
246
+ apply the IDNA2008 rules without the TR46 amendments. As the TR46
247
+ non-transitional processing is nowdays ubiquitous, when unsure, it
248
+ is recommended to call this function with the
249
+ ‘IDN2_NONTRANSITIONAL’ and the ‘IDN2_NFC_INPUT’ flags for
250
+ compatibility with other software.
243
251
 
244
252
  *Returns:* ‘IDN2_OK’ on success, or error code. Same as described
245
253
  in ‘idn2_lookup_ul()’ documentation.
@@ -361,7 +369,8 @@ idn2_register_ul
361
369
  ‘IDN2_UALABEL_MISMATCH’ is returned, when either of the input
362
370
  labels are too long ‘IDN2_TOO_BIG_LABEL’ is returned, when ‘alabel’
363
371
  does does not appear to be a proper A-label ‘IDN2_INVALID_ALABEL’
364
- is returned, or another error code is returned.
372
+ is returned, when ‘ulabel’ locale to UTF-8 conversion failed
373
+ ‘IDN2_ICONV_FAIL’ is returned, or another error code is returned.
365
374
 
366
375
  2.4 Control Flags
367
376
  =================
@@ -379,7 +388,14 @@ inclusive or of any subset of the parameters:
379
388
  Perform Unicode TR46 transitional processing.
380
389
 
381
390
  -- Global flag: idn2_flags IDN2_NONTRANSITIONAL
382
- Perform Unicode TR46 non-transitional processing.
391
+ Perform Unicode TR46 non-transitional processing (default).
392
+
393
+ -- Global flag: idn2_flags IDN2_NO_TR46
394
+ Disable any TR#46 transitional or non-transitional processing.
395
+
396
+ -- Global flag: idn2_flags IDN2_USE_STD3_ASCII_RULES
397
+ Use STD3 ASCII rules. This is a TR#46 flag and is a no-op when
398
+ IDN2_NO_TR46 is specified.
383
399
 
384
400
  2.5 Error Handling
385
401
  ==================
@@ -585,8 +601,11 @@ libidn2, for switching to IDNA2008.
585
601
  libidn libidn2
586
602
 
587
603
  ------------------------------------------------------------
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)
604
+ rc = idna_to_ascii_8z (buf, &p, 0 /* any flags */);/* The flag IDN2_NONTRANSITIONAL is the default under
605
+ if (rc != IDNA_SUCCESS) * libidn2 2.0.5 or later; we specify it explicitly
606
+ * for earlier versions. */
607
+ rc = idn2_to_ascii_8z (buf, &p, IDN2_NONTRANSITIONAL);
608
+ if (rc != IDN2_OK)
590
609
 
591
610
  rc = idna_to_unicode_8z8z (buf, &p, 0 /* any flags */);rc = idn2_to_unicode_8z8z (buf, &p, 0);
592
611
  if (rc != IDNA_SUCCESS) if (rc != IDN2_OK)
@@ -594,9 +613,11 @@ if (rc != IDNA_SUCCESS) if (rc != IDN2_OK)
594
613
 
595
614
  Note that, although the table only lists the UTF-8 functions, the
596
615
  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.
616
+ toAscii. As the IDNA2003 details differ signicantly to IDNA2008, not
617
+ all flags used in the libidn functions map to any specific flags; it is
618
+ typically safe to use the suggested libidn2 flags. Exceptionally the
619
+ libidn flag ‘IDNA_USE_STD3_ASCII_RULES’ is mapped to
620
+ ‘IDN2_USE_STD3_ASCII_RULES’.
600
621
 
601
622
  3.3 Converting with backwards compatibility
602
623
  ===========================================
@@ -616,8 +637,23 @@ if (rc == IDN2_DISALLOWED)
616
637
 
617
638
  In the special case of software that needs to support both libraries
618
639
  (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.
640
+ ‘IDN2_SKIP_LIBIDN_COMPAT’ prior to including ‘idn2.h’ in order to
641
+ disable compatibility code which overlaps with libidn functionality.
642
+ That would allow software to use both libraries’ functions.
643
+
644
+ 3.5 Stringprep and libidn2
645
+ ==========================
646
+
647
+ The original libidn library includes functionality for the stringprep
648
+ processing in ‘stringprep.h’. That functionality was an integral part
649
+ of an IDNA2003 implementation, but it does not apply to IDNA2008.
650
+ Furthermore, stringprep processing has been replaced by the PRECIS
651
+ framework (RFC8264).
652
+
653
+ For the reasons above, libidn2 does not implement stringprep or any
654
+ other string processing protocols unrelated to IDNA2008. Applications
655
+ requiring the stringprep processing should continue using the original
656
+ libidn, and new applications should consider using the PRECIS framework.
621
657
 
622
658
  
623
659
  File: libidn2.info, Node: Examples, Next: Invoking idn2, Prev: Converting from libidn, Up: Top
@@ -899,7 +935,11 @@ different locale.
899
935
 
900
936
  -T, --tr46t Enable TR46 transitional processing
901
937
 
902
- -N, --tr46nt Enable TR46 non-transitional processing
938
+ -N, --tr46nt Enable TR46 non-transitional processing (default)
939
+
940
+ --no-tr46 Disable TR46 processing
941
+
942
+ --usestd3asciirules Enable STD3 ASCII rules
903
943
 
904
944
  --debug Print debugging information
905
945
 
@@ -1066,19 +1106,19 @@ Interface Index
1066
1106
  [index]
1067
1107
  * Menu:
1068
1108
 
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)
1109
+ * idn2_check_version: Library Functions. (line 474)
1110
+ * idn2_free: Library Functions. (line 453)
1111
+ * idn2_lookup_u8: Library Functions. (line 71)
1112
+ * idn2_lookup_ul: Library Functions. (line 234)
1113
+ * idn2_register_u8: Library Functions. (line 116)
1114
+ * idn2_register_ul: Library Functions. (line 271)
1115
+ * idn2_strerror: Library Functions. (line 335)
1116
+ * idn2_strerror_name: Library Functions. (line 346)
1077
1117
  * 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)
1118
+ * idn2_to_ascii_lz: Library Functions. (line 161)
1119
+ * idn2_to_unicode_8z8z: Library Functions. (line 51)
1120
+ * idn2_to_unicode_8zlz: Library Functions. (line 189)
1121
+ * idn2_to_unicode_lzlz: Library Functions. (line 211)
1082
1122
 
1083
1123
  
1084
1124
  File: libidn2.info, Node: Concept Index, Prev: Interface Index, Up: Top
@@ -1100,31 +1140,31 @@ Concept Index
1100
1140
 
1101
1141
  
1102
1142
  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
1143
+ Node: Top561
1144
+ Node: Introduction1115
1145
+ Node: Library Functions2361
1146
+ Ref: idn2_to_ascii_8z2928
1147
+ Ref: idn2_to_unicode_8z8z3898
1148
+ Ref: idn2_lookup_u84499
1149
+ Ref: idn2_register_u86501
1150
+ Ref: idn2_to_ascii_lz8386
1151
+ Ref: idn2_to_unicode_8zlz9435
1152
+ Ref: idn2_to_unicode_lzlz10130
1153
+ Ref: idn2_lookup_ul10876
1154
+ Ref: idn2_register_ul12490
1155
+ Ref: idn2_strerror15022
1156
+ Ref: idn2_strerror_name15366
1157
+ Ref: idn2_free18421
1158
+ Ref: idn2_check_version19154
1159
+ Node: Converting from libidn20374
1160
+ Node: Examples24302
1161
+ Node: ToASCII24749
1162
+ Node: ToUnicode26277
1163
+ Node: Lookup27803
1164
+ Node: Register28936
1165
+ Node: Invoking idn230062
1166
+ Node: Interface Index37039
1167
+ Node: Concept Index38143
1128
1168
  
1129
1169
  End Tag Table
1130
1170