Imported Upstream version 0.14
Simon Josefsson
7 years ago
39 | 39 | Prepare building with |
40 | 40 | |
41 | 41 | $ ./bootstrap |
42 | $ ./configure | |
42 | $ ./configure --enable-gtk-doc --enable-gtk-doc-pdf --enable-gcc-warnings --enable-valgrind-tests | |
43 | ||
44 | You may want to use --gnulib-srcdir=/foo/bar/gnulib to avoid having to | |
45 | checkout gnulib every time. Make sure the gnulib directory you point | |
46 | to is up to date. | |
43 | 47 | |
44 | 48 | Then build the project normally: |
45 | 49 | |
46 | 50 | $ make |
47 | 51 | $ make check |
52 | ||
53 | The release process consists of: | |
54 | ||
55 | * Make sure version number is updated in configure.ac and idn2.h.in. | |
56 | ||
57 | * Make sure library version is updated in configure.ac. | |
58 | ||
59 | * Prepare NEWS. | |
60 | ||
61 | * Do 'make release' | |
48 | 62 | |
49 | 63 | Happy hacking! |
50 | 64 |
0 | 2016-12-30 Simon Josefsson <simon@josefsson.org> | |
1 | ||
2 | * NEWS: Version 0.14. | |
3 | ||
4 | 2016-12-30 Simon Josefsson <simon@josefsson.org> | |
5 | ||
6 | * CONTRIBUTING, configure.ac, idn2.h.in: Bump versions. | |
7 | ||
8 | 2016-12-30 Simon Josefsson <simon@josefsson.org> | |
9 | ||
10 | * Makefile.am, NEWS, gen-tables-from-iana.pl: Fix gentr46map build. | |
11 | ||
0 | 12 | 2016-12-29 Simon Josefsson <simon@josefsson.org> |
1 | 13 | |
2 | 14 | * COPYING.unicode, cfg.mk: Syntax-check fixes. |
55 | 55 | NFCQC_URL = http://www.unicode.org/Public/6.3.0/ucd/DerivedNormalizationProps.txt |
56 | 56 | |
57 | 57 | BUILT_SOURCES = data.c tr46map.c |
58 | CLEANFILES = gentr46map | |
59 | 58 | DISTCLEANFILES = tr46map.c |
60 | 59 | MAINTAINERCLEANFILES = $(IDNA_TABLE) $(TR46MAP) $(NFCQC) |
61 | EXTRA_DIST += gen-tables-from-iana.pl $(IDNA_TABLE) $(TR46MAP) $(NFCQC) tr46map.c gentr46map.c data.c | |
60 | EXTRA_DIST += gen-tables-from-iana.pl $(IDNA_TABLE) $(TR46MAP) $(NFCQC) tr46map.c data.c | |
62 | 61 | |
63 | 62 | data.c: $(srcdir)/gen-tables-from-iana.pl $(IDNA_TABLE) |
64 | cat $(IDNA_TABLE) | $(srcdir)/gen-tables-from-iana.pl | |
63 | cat $(IDNA_TABLE) | $(srcdir)/gen-tables-from-iana.pl > $@.new | |
64 | mv $@.new $@ | |
65 | ||
66 | noinst_PROGRAMS = gentr46map | |
67 | gentr46map_LDADD = $(LTLIBUNISTRING) | |
68 | ||
69 | tr46map.c: gentr46map.c gentr46map$(EXEEXT) $(TR46MAP) $(NFCQC) | |
70 | $(builddir)/gentr46map$(EXEEXT) > $@.new | |
71 | mv $@.new $@ | |
65 | 72 | |
66 | 73 | $(IDNA_TABLE): |
67 | 74 | if ! echo "4ebaf0c72061474d20078897d254768d894507de $(IDNA_TABLE)" | sha1sum -c -; then \ |
84 | 91 | echo "8f220108eebacb130fe4b36469c25d6d2e613a97 $(NFCQC)" | sha1sum -c -; \ |
85 | 92 | fi |
86 | 93 | |
87 | tr46map.c: gentr46map $(TR46MAP) $(NFCQC) | |
88 | ./gentr46map >tr46map.c | |
89 | ||
90 | gentr46map: $(srcdir)/gentr46map.c | |
91 | $(COMPILE) $(srcdir)/gentr46map.c -o gentr46map $(LTLIBUNISTRING) | |
92 | ||
93 | TLD_URL = https://www.iana.org/domains/root/db/ | |
94 | tv.c: $(srcdir)/gen-idn-tld-tv.pl | |
95 | (cat tld-cache || wget -O - $(TLD_URL)) | $(srcdir)/gen-idn-tld-tv.pl | |
96 | ||
97 | 94 | if HAVE_LD_VERSION_SCRIPT |
98 | 95 | libidn2_la_LDFLAGS += -Wl,--version-script=$(srcdir)/idn2.map |
99 | 96 | else |
100 | 97 | libidn2_la_LDFLAGS += -export-symbols-regex '^idn2_.*|_idn2_punycode_..code' |
101 | 98 | endif |
102 | ||
103 | backup: | |
104 | rsync -av . jas@yxa-vi.extundo.com:libidn2 | |
105 | 99 | |
106 | 100 | check-valgrind: |
107 | 101 | TESTS_ENVIRONMENT="valgrind --error-exitcode=301 --leak-check=yes --show-reachable=yes --track-origins=yes" $(MAKE) check |
27 | 27 | |
28 | 28 | # You should have received a copy of the GNU General Public License |
29 | 29 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
30 | ||
30 | 31 | |
31 | 32 | |
32 | 33 | VPATH = @srcdir@ |
92 | 93 | POST_UNINSTALL = : |
93 | 94 | build_triplet = @build@ |
94 | 95 | host_triplet = @host@ |
96 | noinst_PROGRAMS = gentr46map$(EXEEXT) | |
95 | 97 | @HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = -Wl,--version-script=$(srcdir)/idn2.map |
96 | 98 | @HAVE_LD_VERSION_SCRIPT_FALSE@am__append_2 = -export-symbols-regex '^idn2_.*|_idn2_punycode_..code' |
97 | 99 | subdir = . |
194 | 196 | libidn2_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ |
195 | 197 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
196 | 198 | $(libidn2_la_LDFLAGS) $(LDFLAGS) -o $@ |
199 | PROGRAMS = $(noinst_PROGRAMS) | |
200 | gentr46map_SOURCES = gentr46map.c | |
201 | gentr46map_OBJECTS = gentr46map.$(OBJEXT) | |
202 | gentr46map_DEPENDENCIES = $(am__DEPENDENCIES_1) | |
197 | 203 | AM_V_P = $(am__v_P_@AM_V@) |
198 | 204 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) |
199 | 205 | am__v_P_0 = false |
228 | 234 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) |
229 | 235 | am__v_CCLD_0 = @echo " CCLD " $@; |
230 | 236 | am__v_CCLD_1 = |
231 | SOURCES = $(libidn2_la_SOURCES) | |
232 | DIST_SOURCES = $(libidn2_la_SOURCES) | |
237 | SOURCES = $(libidn2_la_SOURCES) gentr46map.c | |
238 | DIST_SOURCES = $(libidn2_la_SOURCES) gentr46map.c | |
233 | 239 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ |
234 | 240 | ctags-recursive dvi-recursive html-recursive info-recursive \ |
235 | 241 | install-data-recursive install-dvi-recursive \ |
608 | 614 | SUBDIRS = lib . src doc examples tests po |
609 | 615 | ACLOCAL_AMFLAGS = -I m4 |
610 | 616 | EXTRA_DIST = m4/gnulib-cache.m4 CONTRIBUTING gen-tables-from-iana.pl \ |
611 | $(IDNA_TABLE) $(TR46MAP) $(NFCQC) tr46map.c gentr46map.c \ | |
612 | data.c | |
617 | $(IDNA_TABLE) $(TR46MAP) $(NFCQC) tr46map.c data.c | |
613 | 618 | AM_CPPFLAGS = -DIDN2_BUILDING -I$(top_builddir)/lib \ |
614 | 619 | -I$(top_srcdir)/lib |
615 | 620 | AM_CFLAGS = $(WARN_CFLAGS) $(CFLAG_VISIBILITY) |
630 | 635 | NFCQC = DerivedNormalizationProps.txt |
631 | 636 | NFCQC_URL = http://www.unicode.org/Public/6.3.0/ucd/DerivedNormalizationProps.txt |
632 | 637 | BUILT_SOURCES = data.c tr46map.c |
633 | CLEANFILES = gentr46map | |
634 | 638 | DISTCLEANFILES = tr46map.c |
635 | 639 | MAINTAINERCLEANFILES = $(IDNA_TABLE) $(TR46MAP) $(NFCQC) |
636 | TLD_URL = https://www.iana.org/domains/root/db/ | |
640 | gentr46map_LDADD = $(LTLIBUNISTRING) | |
637 | 641 | LCOV_INFO = libidn2.info |
638 | 642 | all: $(BUILT_SOURCES) config.h |
639 | 643 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
730 | 734 | libidn2.la: $(libidn2_la_OBJECTS) $(libidn2_la_DEPENDENCIES) $(EXTRA_libidn2_la_DEPENDENCIES) |
731 | 735 | $(AM_V_CCLD)$(libidn2_la_LINK) -rpath $(libdir) $(libidn2_la_OBJECTS) $(libidn2_la_LIBADD) $(LIBS) |
732 | 736 | |
737 | clean-noinstPROGRAMS: | |
738 | @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ | |
739 | echo " rm -f" $$list; \ | |
740 | rm -f $$list || exit $$?; \ | |
741 | test -n "$(EXEEXT)" || exit 0; \ | |
742 | list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ | |
743 | echo " rm -f" $$list; \ | |
744 | rm -f $$list | |
745 | ||
746 | gentr46map$(EXEEXT): $(gentr46map_OBJECTS) $(gentr46map_DEPENDENCIES) $(EXTRA_gentr46map_DEPENDENCIES) | |
747 | @rm -f gentr46map$(EXEEXT) | |
748 | $(AM_V_CCLD)$(LINK) $(gentr46map_OBJECTS) $(gentr46map_LDADD) $(LIBS) | |
749 | ||
733 | 750 | mostlyclean-compile: |
734 | 751 | -rm -f *.$(OBJEXT) |
735 | 752 | |
741 | 758 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/data.Plo@am__quote@ |
742 | 759 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@ |
743 | 760 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/free.Plo@am__quote@ |
761 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gentr46map.Po@am__quote@ | |
744 | 762 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idna.Plo@am__quote@ |
745 | 763 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lookup.Plo@am__quote@ |
746 | 764 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/punycode.Plo@am__quote@ |
1100 | 1118 | check-am: all-am |
1101 | 1119 | check: $(BUILT_SOURCES) |
1102 | 1120 | $(MAKE) $(AM_MAKEFLAGS) check-recursive |
1103 | all-am: Makefile $(LTLIBRARIES) $(HEADERS) config.h | |
1121 | all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) config.h | |
1104 | 1122 | installdirs: installdirs-recursive |
1105 | 1123 | installdirs-am: |
1106 | 1124 | for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \ |
1129 | 1147 | mostlyclean-generic: |
1130 | 1148 | |
1131 | 1149 | clean-generic: |
1132 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) | |
1133 | 1150 | |
1134 | 1151 | distclean-generic: |
1135 | 1152 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
1144 | 1161 | clean: clean-recursive |
1145 | 1162 | |
1146 | 1163 | clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \ |
1147 | mostlyclean-am | |
1164 | clean-noinstPROGRAMS mostlyclean-am | |
1148 | 1165 | |
1149 | 1166 | distclean: distclean-recursive |
1150 | 1167 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
1220 | 1237 | |
1221 | 1238 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ |
1222 | 1239 | am--refresh check check-am clean clean-cscope clean-generic \ |
1223 | clean-libLTLIBRARIES clean-libtool clean-local cscope \ | |
1224 | cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ | |
1225 | dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ | |
1226 | distcheck distclean distclean-compile distclean-generic \ | |
1227 | distclean-hdr distclean-libtool distclean-tags distcleancheck \ | |
1228 | distdir distuninstallcheck dvi dvi-am html html-am info \ | |
1229 | info-am install install-am install-data install-data-am \ | |
1230 | install-dvi install-dvi-am install-exec install-exec-am \ | |
1231 | install-html install-html-am install-includeHEADERS \ | |
1232 | install-info install-info-am install-libLTLIBRARIES \ | |
1233 | install-man install-pdf install-pdf-am install-ps \ | |
1234 | install-ps-am install-strip installcheck installcheck-am \ | |
1235 | installdirs installdirs-am maintainer-clean \ | |
1240 | clean-libLTLIBRARIES clean-libtool clean-local \ | |
1241 | clean-noinstPROGRAMS cscope cscopelist-am ctags ctags-am dist \ | |
1242 | dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ | |
1243 | dist-xz dist-zip distcheck distclean distclean-compile \ | |
1244 | distclean-generic distclean-hdr distclean-libtool \ | |
1245 | distclean-tags distcleancheck distdir distuninstallcheck dvi \ | |
1246 | dvi-am html html-am info info-am install install-am \ | |
1247 | install-data install-data-am install-dvi install-dvi-am \ | |
1248 | install-exec install-exec-am install-html install-html-am \ | |
1249 | install-includeHEADERS install-info install-info-am \ | |
1250 | install-libLTLIBRARIES install-man install-pdf install-pdf-am \ | |
1251 | install-ps install-ps-am install-strip installcheck \ | |
1252 | installcheck-am installdirs installdirs-am maintainer-clean \ | |
1236 | 1253 | maintainer-clean-generic mostlyclean mostlyclean-compile \ |
1237 | 1254 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ |
1238 | 1255 | tags tags-am uninstall uninstall-am uninstall-includeHEADERS \ |
1240 | 1257 | |
1241 | 1258 | |
1242 | 1259 | data.c: $(srcdir)/gen-tables-from-iana.pl $(IDNA_TABLE) |
1243 | cat $(IDNA_TABLE) | $(srcdir)/gen-tables-from-iana.pl | |
1260 | cat $(IDNA_TABLE) | $(srcdir)/gen-tables-from-iana.pl > $@.new | |
1261 | mv $@.new $@ | |
1262 | ||
1263 | tr46map.c: gentr46map.c gentr46map$(EXEEXT) $(TR46MAP) $(NFCQC) | |
1264 | $(builddir)/gentr46map$(EXEEXT) > $@.new | |
1265 | mv $@.new $@ | |
1244 | 1266 | |
1245 | 1267 | $(IDNA_TABLE): |
1246 | 1268 | if ! echo "4ebaf0c72061474d20078897d254768d894507de $(IDNA_TABLE)" | sha1sum -c -; then \ |
1262 | 1284 | wget $(NFCQC_URL); \ |
1263 | 1285 | echo "8f220108eebacb130fe4b36469c25d6d2e613a97 $(NFCQC)" | sha1sum -c -; \ |
1264 | 1286 | fi |
1265 | ||
1266 | tr46map.c: gentr46map $(TR46MAP) $(NFCQC) | |
1267 | ./gentr46map >tr46map.c | |
1268 | ||
1269 | gentr46map: $(srcdir)/gentr46map.c | |
1270 | $(COMPILE) $(srcdir)/gentr46map.c -o gentr46map $(LTLIBUNISTRING) | |
1271 | tv.c: $(srcdir)/gen-idn-tld-tv.pl | |
1272 | (cat tld-cache || wget -O - $(TLD_URL)) | $(srcdir)/gen-idn-tld-tv.pl | |
1273 | ||
1274 | backup: | |
1275 | rsync -av . jas@yxa-vi.extundo.com:libidn2 | |
1276 | 1287 | |
1277 | 1288 | check-valgrind: |
1278 | 1289 | TESTS_ENVIRONMENT="valgrind --error-exitcode=301 --leak-check=yes --show-reachable=yes --track-origins=yes" $(MAKE) check |
0 | 0 | Libidn2 NEWS -- History of user-visible changes. -*- outline -*- |
1 | 1 | Copyright (C) 2011-2016 Simon Josefsson |
2 | 2 | See the end for copying conditions. |
3 | ||
4 | * Version 0.14 (released 2016-12-30) [alpha] | |
5 | ||
6 | ** build: Fix gentr46map build. | |
3 | 7 | |
4 | 8 | * Version 0.13 (released 2016-12-29) [alpha] |
5 | 9 |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for libidn2 0.13. | |
2 | # Generated by GNU Autoconf 2.69 for libidn2 0.14. | |
3 | 3 | # |
4 | 4 | # Report bugs to <simon@josefsson.org>. |
5 | 5 | # |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='libidn2' |
591 | 591 | PACKAGE_TARNAME='libidn2' |
592 | PACKAGE_VERSION='0.13' | |
593 | PACKAGE_STRING='libidn2 0.13' | |
592 | PACKAGE_VERSION='0.14' | |
593 | PACKAGE_STRING='libidn2 0.14' | |
594 | 594 | PACKAGE_BUGREPORT='simon@josefsson.org' |
595 | 595 | PACKAGE_URL='http://www.gnu.org/software/libidn/#libidn2' |
596 | 596 | |
1533 | 1533 | # Omit some internal or obsolete options to make the list less imposing. |
1534 | 1534 | # This message is too long to be a string in the A/UX 3.1 sh. |
1535 | 1535 | cat <<_ACEOF |
1536 | \`configure' configures libidn2 0.13 to adapt to many kinds of systems. | |
1536 | \`configure' configures libidn2 0.14 to adapt to many kinds of systems. | |
1537 | 1537 | |
1538 | 1538 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1539 | 1539 | |
1603 | 1603 | |
1604 | 1604 | if test -n "$ac_init_help"; then |
1605 | 1605 | case $ac_init_help in |
1606 | short | recursive ) echo "Configuration of libidn2 0.13:";; | |
1606 | short | recursive ) echo "Configuration of libidn2 0.14:";; | |
1607 | 1607 | esac |
1608 | 1608 | cat <<\_ACEOF |
1609 | 1609 | |
1738 | 1738 | test -n "$ac_init_help" && exit $ac_status |
1739 | 1739 | if $ac_init_version; then |
1740 | 1740 | cat <<\_ACEOF |
1741 | libidn2 configure 0.13 | |
1741 | libidn2 configure 0.14 | |
1742 | 1742 | generated by GNU Autoconf 2.69 |
1743 | 1743 | |
1744 | 1744 | Copyright (C) 2012 Free Software Foundation, Inc. |
2390 | 2390 | This file contains any messages produced by compilers while |
2391 | 2391 | running configure, to aid debugging if configure makes a mistake. |
2392 | 2392 | |
2393 | It was created by libidn2 $as_me 0.13, which was | |
2393 | It was created by libidn2 $as_me 0.14, which was | |
2394 | 2394 | generated by GNU Autoconf 2.69. Invocation command line was |
2395 | 2395 | |
2396 | 2396 | $ $0 $@ |
2751 | 2751 | # Interfaces removed: AGE=0 |
2752 | 2752 | LT_CURRENT=1 |
2753 | 2753 | |
2754 | LT_REVISION=1 | |
2754 | LT_REVISION=2 | |
2755 | 2755 | |
2756 | 2756 | LT_AGE=1 |
2757 | 2757 | |
3274 | 3274 | |
3275 | 3275 | # Define the identity of the package. |
3276 | 3276 | PACKAGE='libidn2' |
3277 | VERSION='0.13' | |
3277 | VERSION='0.14' | |
3278 | 3278 | |
3279 | 3279 | |
3280 | 3280 | cat >>confdefs.h <<_ACEOF |
22442 | 22442 | # report actual input values of CONFIG_FILES etc. instead of their |
22443 | 22443 | # values after options handling. |
22444 | 22444 | ac_log=" |
22445 | This file was extended by libidn2 $as_me 0.13, which was | |
22445 | This file was extended by libidn2 $as_me 0.14, which was | |
22446 | 22446 | generated by GNU Autoconf 2.69. Invocation command line was |
22447 | 22447 | |
22448 | 22448 | CONFIG_FILES = $CONFIG_FILES |
22514 | 22514 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
22515 | 22515 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
22516 | 22516 | ac_cs_version="\\ |
22517 | libidn2 config.status 0.13 | |
22517 | libidn2 config.status 0.14 | |
22518 | 22518 | configured by $0, generated by GNU Autoconf 2.69, |
22519 | 22519 | with options \\"\$ac_cs_config\\" |
22520 | 22520 |
12 | 12 | # You should have received a copy of the GNU General Public License |
13 | 13 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
14 | 14 | |
15 | AC_INIT([libidn2], [0.13], [simon@josefsson.org],, | |
15 | AC_INIT([libidn2], [0.14], [simon@josefsson.org],, | |
16 | 16 | [http://www.gnu.org/software/libidn/#libidn2]) |
17 | 17 | |
18 | 18 | # Library code modified: REVISION++ |
20 | 20 | # Interfaces added: AGE++ |
21 | 21 | # Interfaces removed: AGE=0 |
22 | 22 | AC_SUBST(LT_CURRENT, 1) |
23 | AC_SUBST(LT_REVISION, 1) | |
23 | AC_SUBST(LT_REVISION, 2) | |
24 | 24 | AC_SUBST(LT_AGE, 1) |
25 | 25 | |
26 | 26 | AC_CONFIG_AUX_DIR([build-aux]) |
0 | 0 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4. |
1 | .TH IDN2 "1" "December 2016" "idn2 (libidn2) 0.13" "User Commands" | |
1 | .TH IDN2 "1" "December 2016" "idn2 (libidn2) 0.14" "User Commands" | |
2 | 2 | .SH NAME |
3 | 3 | idn2 \- Libidn2 Internationalized Domain Names (IDNA2008/TR46) conversion |
4 | 4 | .SH SYNOPSIS |
0 | 0 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
1 | 1 | <html> |
2 | <!-- This manual is for Libidn2 (version 0.13, 27 December 2016), | |
2 | <!-- This manual is for Libidn2 (version 0.14, 27 December 2016), | |
3 | 3 | an implementation of IDNA2008/TR46 internationalized domain names. |
4 | 4 | |
5 | 5 | Copyright (C) 2011-2016 Simon Josefsson --> |
6 | 6 | <!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ --> |
7 | 7 | <head> |
8 | <title>Libidn2 0.13</title> | |
9 | ||
10 | <meta name="description" content="Libidn2 0.13"> | |
11 | <meta name="keywords" content="Libidn2 0.13"> | |
8 | <title>Libidn2 0.14</title> | |
9 | ||
10 | <meta name="description" content="Libidn2 0.14"> | |
11 | <meta name="keywords" content="Libidn2 0.14"> | |
12 | 12 | <meta name="resource-type" content="document"> |
13 | 13 | <meta name="distribution" content="global"> |
14 | 14 | <meta name="Generator" content="makeinfo"> |
95 | 95 | </head> |
96 | 96 | |
97 | 97 | <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> |
98 | <h1 class="settitle" align="center">Libidn2 0.13</h1> | |
98 | <h1 class="settitle" align="center">Libidn2 0.14</h1> | |
99 | 99 | |
100 | 100 | |
101 | 101 | |
146 | 146 | <a name="Libidn2"></a> |
147 | 147 | <h1 class="top">Libidn2</h1> |
148 | 148 | |
149 | <p>This manual is for Libidn2 (version 0.13, 27 December 2016), | |
149 | <p>This manual is for Libidn2 (version 0.14, 27 December 2016), | |
150 | 150 | an implementation of IDNA2008/TR46 internationalized domain names. |
151 | 151 | </p> |
152 | 152 | <p>Copyright © 2011-2016 Simon Josefsson |
Binary diff not shown
Binary diff not shown
0 | 0 | .\" DO NOT MODIFY THIS FILE! It was generated by gdoc. |
1 | .TH "idn2_check_version" 3 "0.13" "libidn2" "libidn2" | |
1 | .TH "idn2_check_version" 3 "0.14" "libidn2" "libidn2" | |
2 | 2 | .SH NAME |
3 | 3 | idn2_check_version \- API function |
4 | 4 | .SH SYNOPSIS |
0 | 0 | .\" DO NOT MODIFY THIS FILE! It was generated by gdoc. |
1 | .TH "idn2_free" 3 "0.13" "libidn2" "libidn2" | |
1 | .TH "idn2_free" 3 "0.14" "libidn2" "libidn2" | |
2 | 2 | .SH NAME |
3 | 3 | idn2_free \- API function |
4 | 4 | .SH SYNOPSIS |
0 | 0 | .\" DO NOT MODIFY THIS FILE! It was generated by gdoc. |
1 | .TH "idn2_lookup_u8" 3 "0.13" "libidn2" "libidn2" | |
1 | .TH "idn2_lookup_u8" 3 "0.14" "libidn2" "libidn2" | |
2 | 2 | .SH NAME |
3 | 3 | idn2_lookup_u8 \- API function |
4 | 4 | .SH SYNOPSIS |
0 | 0 | .\" DO NOT MODIFY THIS FILE! It was generated by gdoc. |
1 | .TH "idn2_lookup_ul" 3 "0.13" "libidn2" "libidn2" | |
1 | .TH "idn2_lookup_ul" 3 "0.14" "libidn2" "libidn2" | |
2 | 2 | .SH NAME |
3 | 3 | idn2_lookup_ul \- API function |
4 | 4 | .SH SYNOPSIS |
0 | 0 | .\" DO NOT MODIFY THIS FILE! It was generated by gdoc. |
1 | .TH "idn2_register_u8" 3 "0.13" "libidn2" "libidn2" | |
1 | .TH "idn2_register_u8" 3 "0.14" "libidn2" "libidn2" | |
2 | 2 | .SH NAME |
3 | 3 | idn2_register_u8 \- API function |
4 | 4 | .SH SYNOPSIS |
0 | 0 | .\" DO NOT MODIFY THIS FILE! It was generated by gdoc. |
1 | .TH "idn2_register_ul" 3 "0.13" "libidn2" "libidn2" | |
1 | .TH "idn2_register_ul" 3 "0.14" "libidn2" "libidn2" | |
2 | 2 | .SH NAME |
3 | 3 | idn2_register_ul \- API function |
4 | 4 | .SH SYNOPSIS |
0 | 0 | .\" DO NOT MODIFY THIS FILE! It was generated by gdoc. |
1 | .TH "idn2_strerror" 3 "0.13" "libidn2" "libidn2" | |
1 | .TH "idn2_strerror" 3 "0.14" "libidn2" "libidn2" | |
2 | 2 | .SH NAME |
3 | 3 | idn2_strerror \- API function |
4 | 4 | .SH SYNOPSIS |
0 | 0 | .\" DO NOT MODIFY THIS FILE! It was generated by gdoc. |
1 | .TH "idn2_strerror_name" 3 "0.13" "libidn2" "libidn2" | |
1 | .TH "idn2_strerror_name" 3 "0.14" "libidn2" "libidn2" | |
2 | 2 | .SH NAME |
3 | 3 | idn2_strerror_name \- API function |
4 | 4 | .SH SYNOPSIS |
14 | 14 | <div> |
15 | 15 | <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Libidn2 Reference Manual</p></th></tr></table></div> |
16 | 16 | <div><p class="releaseinfo"> |
17 | for Libidn2 0.13 | |
17 | for Libidn2 0.14 | |
18 | 18 | |
19 | 19 | The latest version of this documentation can be found on-line at |
20 | 20 | <a class="ulink" href="http://www.gnu.org/software/libidn/#libidn2" target="_top"> |
542 | 542 | <a name="libidn2-idn2.other_details"></a><h2>Types and Values</h2> |
543 | 543 | <div class="refsect2"> |
544 | 544 | <a name="IDN2-VERSION:CAPS"></a><h3>IDN2_VERSION</h3> |
545 | <pre class="programlisting">#define IDN2_VERSION "0.13" | |
545 | <pre class="programlisting">#define IDN2_VERSION "0.14" | |
546 | 546 | </pre> |
547 | 547 | <p>Pre-processor symbol with a string that describe the header file |
548 | 548 | version number. Used together with <a class="link" href="libidn2-idn2.html#idn2-check-version" title="idn2_check_versionĀ ()"><code class="function">idn2_check_version()</code></a> to verify |
551 | 551 | <hr> |
552 | 552 | <div class="refsect2"> |
553 | 553 | <a name="IDN2-VERSION-NUMBER:CAPS"></a><h3>IDN2_VERSION_NUMBER</h3> |
554 | <pre class="programlisting">#define IDN2_VERSION_NUMBER 0x00130000 | |
554 | <pre class="programlisting">#define IDN2_VERSION_NUMBER 0x00140000 | |
555 | 555 | </pre> |
556 | 556 | <p>Pre-processor symbol with a hexadecimal value describing the header |
557 | 557 | file version number. For example, when the header version is |
Binary diff not shown
0 | 0 | @set UPDATED 27 December 2016 |
1 | 1 | @set UPDATED-MONTH December 2016 |
2 | @set EDITION 0.13 | |
3 | @set VERSION 0.13 | |
2 | @set EDITION 0.14 | |
3 | @set VERSION 0.14 |
0 | 0 | @set UPDATED 27 December 2016 |
1 | 1 | @set UPDATED-MONTH December 2016 |
2 | @set EDITION 0.13 | |
3 | @set VERSION 0.13 | |
2 | @set EDITION 0.14 | |
3 | @set VERSION 0.14 |
20 | 20 | use strict; |
21 | 21 | |
22 | 22 | my ($intable) = 0; |
23 | my ($filename) = "data.c"; | |
24 | 23 | my ($line, $start, $end, $state); |
25 | 24 | my ($tablesize) = 0; |
26 | 25 | |
27 | open(FH, ">$filename") or die "cannot open $filename for writing"; | |
26 | print "/* This file is automatically generated. DO NOT EDIT! */\n\n"; | |
28 | 27 | |
29 | print FH "/* This file is automatically generated. DO NOT EDIT! */\n\n"; | |
30 | ||
31 | print FH "#include <config.h>\n"; | |
32 | print FH "#include \"data.h\"\n"; | |
33 | print FH "\n"; | |
34 | print FH "const struct idna_table idna_table\[\] = {\n"; | |
28 | print "#include <config.h>\n"; | |
29 | print "#include \"data.h\"\n"; | |
30 | print "\n"; | |
31 | print "const struct idna_table idna_table\[\] = {\n"; | |
35 | 32 | |
36 | 33 | while(<>) { |
37 | 34 | $intable = 1 if m,^ Codepoint Property,; |
45 | 42 | $start = $1; |
46 | 43 | $end = $3; |
47 | 44 | $state = $4; |
48 | printf FH " {0x$start, 0x$end, $state},\n" if $end; | |
49 | printf FH " {0x$start, 0x$start, $state},\n" if !$end; | |
45 | printf " {0x$start, 0x$end, $state},\n" if $end; | |
46 | printf " {0x$start, 0x$start, $state},\n" if !$end; | |
50 | 47 | $tablesize++; |
51 | 48 | } else { |
52 | 49 | die "regexp failed on line: -->$_<--"; |
53 | 50 | } |
54 | 51 | } |
55 | 52 | |
56 | print FH "};\n"; | |
57 | print FH "const size_t idna_table_size = $tablesize;\n"; | |
53 | print "};\n"; | |
54 | print "const size_t idna_table_size = $tablesize;\n"; | |
58 | 55 | |
59 | close FH or die "cannot close $filename"; | |
56 | exit 0; |
55 | 55 | * version number. Used together with idn2_check_version() to verify |
56 | 56 | * header file and run-time library consistency. |
57 | 57 | */ |
58 | #define IDN2_VERSION "0.13" | |
58 | #define IDN2_VERSION "0.14" | |
59 | 59 | |
60 | 60 | /** |
61 | 61 | * IDN2_VERSION_NUMBER |
66 | 66 | * digits are used to enumerate development snapshots, but for all |
67 | 67 | * public releases they will be 0000. |
68 | 68 | */ |
69 | #define IDN2_VERSION_NUMBER 0x00130000 | |
69 | #define IDN2_VERSION_NUMBER 0x00140000 | |
70 | 70 | |
71 | 71 | /** |
72 | 72 | * IDN2_LABEL_MAX_LENGTH |
66 | 66 | * digits are used to enumerate development snapshots, but for all |
67 | 67 | * public releases they will be 0000. |
68 | 68 | */ |
69 | #define IDN2_VERSION_NUMBER 0x00130000 | |
69 | #define IDN2_VERSION_NUMBER 0x00140000 | |
70 | 70 | |
71 | 71 | /** |
72 | 72 | * IDN2_LABEL_MAX_LENGTH |
5 | 5 | #, fuzzy |
6 | 6 | msgid "" |
7 | 7 | msgstr "" |
8 | "Project-Id-Version: libidn2 0.13\n" | |
8 | "Project-Id-Version: libidn2 0.14\n" | |
9 | 9 | "Report-Msgid-Bugs-To: bug-libidn2@gnu.org\n" |
10 | "POT-Creation-Date: 2016-12-29 11:11+0100\n" | |
10 | "POT-Creation-Date: 2016-12-30 07:38+0100\n" | |
11 | 11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 | 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
13 | 13 | "Language-Team: LANGUAGE <LL@li.org>\n" |