Codebase list libidn2 / 1fbf0af
Imported Upstream version 0.14 Simon Josefsson 7 years ago
28 changed file(s) with 137 addition(s) and 105 deletion(s). Raw diff Collapse all Expand all
3939 Prepare building with
4040
4141 $ ./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.
4347
4448 Then build the project normally:
4549
4650 $ make
4751 $ 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'
4862
4963 Happy hacking!
5064
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
012 2016-12-29 Simon Josefsson <simon@josefsson.org>
113
214 * COPYING.unicode, cfg.mk: Syntax-check fixes.
5555 NFCQC_URL = http://www.unicode.org/Public/6.3.0/ucd/DerivedNormalizationProps.txt
5656
5757 BUILT_SOURCES = data.c tr46map.c
58 CLEANFILES = gentr46map
5958 DISTCLEANFILES = tr46map.c
6059 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
6261
6362 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 $@
6572
6673 $(IDNA_TABLE):
6774 if ! echo "4ebaf0c72061474d20078897d254768d894507de $(IDNA_TABLE)" | sha1sum -c -; then \
8491 echo "8f220108eebacb130fe4b36469c25d6d2e613a97 $(NFCQC)" | sha1sum -c -; \
8592 fi
8693
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
9794 if HAVE_LD_VERSION_SCRIPT
9895 libidn2_la_LDFLAGS += -Wl,--version-script=$(srcdir)/idn2.map
9996 else
10097 libidn2_la_LDFLAGS += -export-symbols-regex '^idn2_.*|_idn2_punycode_..code'
10198 endif
102
103 backup:
104 rsync -av . jas@yxa-vi.extundo.com:libidn2
10599
106100 check-valgrind:
107101 TESTS_ENVIRONMENT="valgrind --error-exitcode=301 --leak-check=yes --show-reachable=yes --track-origins=yes" $(MAKE) check
2727
2828 # You should have received a copy of the GNU General Public License
2929 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
3031
3132
3233 VPATH = @srcdir@
9293 POST_UNINSTALL = :
9394 build_triplet = @build@
9495 host_triplet = @host@
96 noinst_PROGRAMS = gentr46map$(EXEEXT)
9597 @HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = -Wl,--version-script=$(srcdir)/idn2.map
9698 @HAVE_LD_VERSION_SCRIPT_FALSE@am__append_2 = -export-symbols-regex '^idn2_.*|_idn2_punycode_..code'
9799 subdir = .
194196 libidn2_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
195197 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
196198 $(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)
197203 AM_V_P = $(am__v_P_@AM_V@)
198204 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
199205 am__v_P_0 = false
228234 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
229235 am__v_CCLD_0 = @echo " CCLD " $@;
230236 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
233239 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
234240 ctags-recursive dvi-recursive html-recursive info-recursive \
235241 install-data-recursive install-dvi-recursive \
608614 SUBDIRS = lib . src doc examples tests po
609615 ACLOCAL_AMFLAGS = -I m4
610616 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
613618 AM_CPPFLAGS = -DIDN2_BUILDING -I$(top_builddir)/lib \
614619 -I$(top_srcdir)/lib
615620 AM_CFLAGS = $(WARN_CFLAGS) $(CFLAG_VISIBILITY)
630635 NFCQC = DerivedNormalizationProps.txt
631636 NFCQC_URL = http://www.unicode.org/Public/6.3.0/ucd/DerivedNormalizationProps.txt
632637 BUILT_SOURCES = data.c tr46map.c
633 CLEANFILES = gentr46map
634638 DISTCLEANFILES = tr46map.c
635639 MAINTAINERCLEANFILES = $(IDNA_TABLE) $(TR46MAP) $(NFCQC)
636 TLD_URL = https://www.iana.org/domains/root/db/
640 gentr46map_LDADD = $(LTLIBUNISTRING)
637641 LCOV_INFO = libidn2.info
638642 all: $(BUILT_SOURCES) config.h
639643 $(MAKE) $(AM_MAKEFLAGS) all-recursive
730734 libidn2.la: $(libidn2_la_OBJECTS) $(libidn2_la_DEPENDENCIES) $(EXTRA_libidn2_la_DEPENDENCIES)
731735 $(AM_V_CCLD)$(libidn2_la_LINK) -rpath $(libdir) $(libidn2_la_OBJECTS) $(libidn2_la_LIBADD) $(LIBS)
732736
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
733750 mostlyclean-compile:
734751 -rm -f *.$(OBJEXT)
735752
741758 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/data.Plo@am__quote@
742759 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@
743760 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/free.Plo@am__quote@
761 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gentr46map.Po@am__quote@
744762 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idna.Plo@am__quote@
745763 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lookup.Plo@am__quote@
746764 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/punycode.Plo@am__quote@
11001118 check-am: all-am
11011119 check: $(BUILT_SOURCES)
11021120 $(MAKE) $(AM_MAKEFLAGS) check-recursive
1103 all-am: Makefile $(LTLIBRARIES) $(HEADERS) config.h
1121 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) config.h
11041122 installdirs: installdirs-recursive
11051123 installdirs-am:
11061124 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \
11291147 mostlyclean-generic:
11301148
11311149 clean-generic:
1132 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
11331150
11341151 distclean-generic:
11351152 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
11441161 clean: clean-recursive
11451162
11461163 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \
1147 mostlyclean-am
1164 clean-noinstPROGRAMS mostlyclean-am
11481165
11491166 distclean: distclean-recursive
11501167 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
12201237
12211238 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
12221239 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 \
12361253 maintainer-clean-generic mostlyclean mostlyclean-compile \
12371254 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
12381255 tags tags-am uninstall uninstall-am uninstall-includeHEADERS \
12401257
12411258
12421259 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 $@
12441266
12451267 $(IDNA_TABLE):
12461268 if ! echo "4ebaf0c72061474d20078897d254768d894507de $(IDNA_TABLE)" | sha1sum -c -; then \
12621284 wget $(NFCQC_URL); \
12631285 echo "8f220108eebacb130fe4b36469c25d6d2e613a97 $(NFCQC)" | sha1sum -c -; \
12641286 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
12761287
12771288 check-valgrind:
12781289 TESTS_ENVIRONMENT="valgrind --error-exitcode=301 --leak-check=yes --show-reachable=yes --track-origins=yes" $(MAKE) check
00 Libidn2 NEWS -- History of user-visible changes. -*- outline -*-
11 Copyright (C) 2011-2016 Simon Josefsson
22 See the end for copying conditions.
3
4 * Version 0.14 (released 2016-12-30) [alpha]
5
6 ** build: Fix gentr46map build.
37
48 * Version 0.13 (released 2016-12-29) [alpha]
59
00 #! /bin/sh
11 # 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.
33 #
44 # Report bugs to <simon@josefsson.org>.
55 #
589589 # Identity of this package.
590590 PACKAGE_NAME='libidn2'
591591 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'
594594 PACKAGE_BUGREPORT='simon@josefsson.org'
595595 PACKAGE_URL='http://www.gnu.org/software/libidn/#libidn2'
596596
15331533 # Omit some internal or obsolete options to make the list less imposing.
15341534 # This message is too long to be a string in the A/UX 3.1 sh.
15351535 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.
15371537
15381538 Usage: $0 [OPTION]... [VAR=VALUE]...
15391539
16031603
16041604 if test -n "$ac_init_help"; then
16051605 case $ac_init_help in
1606 short | recursive ) echo "Configuration of libidn2 0.13:";;
1606 short | recursive ) echo "Configuration of libidn2 0.14:";;
16071607 esac
16081608 cat <<\_ACEOF
16091609
17381738 test -n "$ac_init_help" && exit $ac_status
17391739 if $ac_init_version; then
17401740 cat <<\_ACEOF
1741 libidn2 configure 0.13
1741 libidn2 configure 0.14
17421742 generated by GNU Autoconf 2.69
17431743
17441744 Copyright (C) 2012 Free Software Foundation, Inc.
23902390 This file contains any messages produced by compilers while
23912391 running configure, to aid debugging if configure makes a mistake.
23922392
2393 It was created by libidn2 $as_me 0.13, which was
2393 It was created by libidn2 $as_me 0.14, which was
23942394 generated by GNU Autoconf 2.69. Invocation command line was
23952395
23962396 $ $0 $@
27512751 # Interfaces removed: AGE=0
27522752 LT_CURRENT=1
27532753
2754 LT_REVISION=1
2754 LT_REVISION=2
27552755
27562756 LT_AGE=1
27572757
32743274
32753275 # Define the identity of the package.
32763276 PACKAGE='libidn2'
3277 VERSION='0.13'
3277 VERSION='0.14'
32783278
32793279
32803280 cat >>confdefs.h <<_ACEOF
2244222442 # report actual input values of CONFIG_FILES etc. instead of their
2244322443 # values after options handling.
2244422444 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
2244622446 generated by GNU Autoconf 2.69. Invocation command line was
2244722447
2244822448 CONFIG_FILES = $CONFIG_FILES
2251422514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2251522515 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2251622516 ac_cs_version="\\
22517 libidn2 config.status 0.13
22517 libidn2 config.status 0.14
2251822518 configured by $0, generated by GNU Autoconf 2.69,
2251922519 with options \\"\$ac_cs_config\\"
2252022520
1212 # You should have received a copy of the GNU General Public License
1313 # along with this program. If not, see <http://www.gnu.org/licenses/>.
1414
15 AC_INIT([libidn2], [0.13], [simon@josefsson.org],,
15 AC_INIT([libidn2], [0.14], [simon@josefsson.org],,
1616 [http://www.gnu.org/software/libidn/#libidn2])
1717
1818 # Library code modified: REVISION++
2020 # Interfaces added: AGE++
2121 # Interfaces removed: AGE=0
2222 AC_SUBST(LT_CURRENT, 1)
23 AC_SUBST(LT_REVISION, 1)
23 AC_SUBST(LT_REVISION, 2)
2424 AC_SUBST(LT_AGE, 1)
2525
2626 AC_CONFIG_AUX_DIR([build-aux])
00 .\" 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"
22 .SH NAME
33 idn2 \- Libidn2 Internationalized Domain Names (IDNA2008/TR46) conversion
44 .SH SYNOPSIS
00 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
11 <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),
33 an implementation of IDNA2008/TR46 internationalized domain names.
44
55 Copyright (C) 2011-2016 Simon Josefsson -->
66 <!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
77 <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">
1212 <meta name="resource-type" content="document">
1313 <meta name="distribution" content="global">
1414 <meta name="Generator" content="makeinfo">
9595 </head>
9696
9797 <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>
9999
100100
101101
146146 <a name="Libidn2"></a>
147147 <h1 class="top">Libidn2</h1>
148148
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),
150150 an implementation of IDNA2008/TR46 internationalized domain names.
151151 </p>
152152 <p>Copyright &copy; 2011-2016 Simon Josefsson
Binary diff not shown
Binary diff not shown
00 .\" 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"
22 .SH NAME
33 idn2_check_version \- API function
44 .SH SYNOPSIS
00 .\" 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"
22 .SH NAME
33 idn2_free \- API function
44 .SH SYNOPSIS
00 .\" 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"
22 .SH NAME
33 idn2_lookup_u8 \- API function
44 .SH SYNOPSIS
00 .\" 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"
22 .SH NAME
33 idn2_lookup_ul \- API function
44 .SH SYNOPSIS
00 .\" 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"
22 .SH NAME
33 idn2_register_u8 \- API function
44 .SH SYNOPSIS
00 .\" 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"
22 .SH NAME
33 idn2_register_ul \- API function
44 .SH SYNOPSIS
00 .\" 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"
22 .SH NAME
33 idn2_strerror \- API function
44 .SH SYNOPSIS
00 .\" 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"
22 .SH NAME
33 idn2_strerror_name \- API function
44 .SH SYNOPSIS
1414 <div>
1515 <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>
1616 <div><p class="releaseinfo">
17 for Libidn2 0.13
17 for Libidn2 0.14
1818
1919 The latest version of this documentation can be found on-line at
2020 <a class="ulink" href="http://www.gnu.org/software/libidn/#libidn2" target="_top">
542542 <a name="libidn2-idn2.other_details"></a><h2>Types and Values</h2>
543543 <div class="refsect2">
544544 <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"
546546 </pre>
547547 <p>Pre-processor symbol with a string that describe the header file
548548 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
551551 <hr>
552552 <div class="refsect2">
553553 <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
555555 </pre>
556556 <p>Pre-processor symbol with a hexadecimal value describing the header
557557 file version number. For example, when the header version is
Binary diff not shown
00 @set UPDATED 27 December 2016
11 @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
00 @set UPDATED 27 December 2016
11 @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
2020 use strict;
2121
2222 my ($intable) = 0;
23 my ($filename) = "data.c";
2423 my ($line, $start, $end, $state);
2524 my ($tablesize) = 0;
2625
27 open(FH, ">$filename") or die "cannot open $filename for writing";
26 print "/* This file is automatically generated. DO NOT EDIT! */\n\n";
2827
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";
3532
3633 while(<>) {
3734 $intable = 1 if m,^ Codepoint Property,;
4542 $start = $1;
4643 $end = $3;
4744 $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;
5047 $tablesize++;
5148 } else {
5249 die "regexp failed on line: -->$_<--";
5350 }
5451 }
5552
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";
5855
59 close FH or die "cannot close $filename";
56 exit 0;
5555 * version number. Used together with idn2_check_version() to verify
5656 * header file and run-time library consistency.
5757 */
58 #define IDN2_VERSION "0.13"
58 #define IDN2_VERSION "0.14"
5959
6060 /**
6161 * IDN2_VERSION_NUMBER
6666 * digits are used to enumerate development snapshots, but for all
6767 * public releases they will be 0000.
6868 */
69 #define IDN2_VERSION_NUMBER 0x00130000
69 #define IDN2_VERSION_NUMBER 0x00140000
7070
7171 /**
7272 * IDN2_LABEL_MAX_LENGTH
6666 * digits are used to enumerate development snapshots, but for all
6767 * public releases they will be 0000.
6868 */
69 #define IDN2_VERSION_NUMBER 0x00130000
69 #define IDN2_VERSION_NUMBER 0x00140000
7070
7171 /**
7272 * IDN2_LABEL_MAX_LENGTH
55 #, fuzzy
66 msgid ""
77 msgstr ""
8 "Project-Id-Version: libidn2 0.13\n"
8 "Project-Id-Version: libidn2 0.14\n"
99 "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"
1111 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313 "Language-Team: LANGUAGE <LL@li.org>\n"