2019-11-14 Tim Rühsen Fix: Enable test-glibc only on host_os 'linux-gnu' (Fixes #72) 2019-11-14 Tim Rühsen Update NEWS for release 2019-11-14 Tim Rühsen Enable test-glibc only on host_os 'linux-gnu' (Fixes #72) 2019-11-14 Tim Rühsen Prepare for release 2019-10-25 Florian Weimer Turn _idn2_punycode_encode, _idn2_punycode_decode into compat symbols These internal symbols should not be used by applications, but were previously exported. Contrary to our expectations, outright removal is not possible due to some use in old GNUTLS versions. The aliases are required because internal hidden references turn the target symbol into a hidden symbol. It would have been possible to preserve the internal API using another __asm__ alias, but this commit renames the call sites instead, for simplicity. The -export-symbols-regex argument in lib/Makefile.am is not adjusted because targets which do not support version scripts probably do not have stringent backwards compatibility requirements. Fixes libidn/libidn2#74. 2019-07-24 Tim Rühsen Update NEWS for CVE-2019-12290 2019-06-23 Nikos Mavrogiannopoulos NOTES: removed; this file no longer reflects development approach Signed-off-by: Nikos Mavrogiannopoulos 2019-06-22 Orivej Desh Update data tables from Unicode 6.3.0 to Unicode 11.0.0 2019-06-22 Orivej Desh Generate data.c from idna-tables-properties.csv This simplifies the generation of data.c and allows to distclean it since that becomes independent from perl. The generated data.c is identical. 2019-06-21 Nikos Mavrogiannopoulos doc: updated conversion from libidn instructions This now uses the IDN2_USE_STD3_ASCII_RULES and recommends using the default flags rather than explicitly specify the transitional. Signed-off-by: Nikos Mavrogiannopoulos 2019-05-24 Tim Rühsen Set gnulib-tool's --test_base to gl/tests 2019-05-23 Tim Rühsen Update NEWS and configure.ac for release 2019-05-23 Tim Rühsen Fix generation of idn2.1 man page file 2019-05-23 Tim Rühsen Skip sc_prohibit_gnu_make_extensions in 'make syntax-check' 2019-05-23 Tim Rühsen Fix some gtk-doc issues 2019-05-23 Tim Rühsen Update gnulib 2019-05-13 Tim Rühsen * doc/gdoc: Fix URL to online manual 2019-04-11 Nikos Mavrogiannopoulos abi-check: simplify ABI comparison using libabigail tools These have output ABI format compatibility and that means we can take snapshots to test ABI against. We also hard-code explicitly the SONAME version to ensure no accidental SONAME bumps happen. Signed-off-by: Nikos Mavrogiannopoulos 2019-04-11 Nikos Mavrogiannopoulos .gitlab-ci.yml: add config.log in artifacts Signed-off-by: Nikos Mavrogiannopoulos 2019-04-11 Nikos Mavrogiannopoulos .gitlab-ci.yml: fedora: moved to f29 Signed-off-by: Nikos Mavrogiannopoulos 2019-04-11 Tim Rühsen Fix strncasecmp conflicts 2019-04-11 Tim Rühsen Add test for round-trip failure 2019-04-11 Tim Rühsen Fix lookup round-trip check 2019-04-09 Florian Weimer Add test-glibc, based on API traces from the glibc AI_IDN tests This test should ensure that future libidn2 changes do not break the expectations of the glibc test suite. 2019-04-09 Tim Rühsen Perform A-Label roundtrip for lookup functions by default This adds another check to avoid unexpected results. It was a longstanding FIXME. Thanks to Jonathan Birch of Microsoft Corporation, Florian Weimer (GNU glibc) and Nikos Mavrogiannopoulos (GnuTLS) for investigation, discussion and testing. 2019-04-10 Nikos Mavrogiannopoulos coverage badge: generate line coverage Previously we were reporting the highest number from the coverage html. We now switch to the first number which is the line coverage. Resolves: #70 Signed-off-by: Nikos Mavrogiannopoulos 2019-02-24 Tim Rühsen Stricter check of punycode-decode input 2019-02-24 Tim Rühsen Fix overflow introduced in ce0d453222ca51c056f4f442988710eb0b696365 2019-02-23 Tim Rühsen Fix decoding with no ASCII chars but given delimiter Reported-by: Florian Weimer 2019-02-20 Tim Rühsen idn2: Respect --no-tr46 (was a no-op) 2019-02-20 Tim Rühsen Allow _ as basic code point in domain labels 2019-02-09 Tim Rühsen Fail make if 'ronn' doesn't existi when building docs 2019-02-09 Tim Rühsen Update contrib/release to create -latest files 2019-02-09 Tim Rühsen Revert "Remove redundant input check in idn2_to_ascii_4i()" This reverts commit 144f4ba6f8fe899fa15516524a495c9175dff6cb. Undoing a stupid failure... 2019-01-26 Tim Rühsen Remove redundant input check in idn2_to_ascii_4i() 2019-02-08 Tim Rühsen Update NEWS for release 2019-01-29 Tim Rühsen Adjust green of fuzz-coverage badge 2019-01-29 Tim Rühsen Create pages via CI for master only 2019-01-29 Tim Rühsen Create SVG badge for fuzz coverage 2019-01-28 Tim Rühsen Don't export _idn2_* symbols for non-ld linkers 2019-01-28 Tim Rühsen register_fuzzer: Add NULL input/output tests 2019-01-28 Tim Rühsen ascii_8z_fuzzer: Add NULL input/output tests 2019-01-28 Tim Rühsen unicode_8z8z_fuzzer: Add NULL input/output tests 2019-01-25 Tim Rühsen Revert SONAME bump See discussion at https://gitlab.com/libidn/libidn2/merge_requests/69 and at https://gitlab.com/libidn/libidn2/issues/63 2019-01-25 Tim Rühsen Cleanup tests/test-lookup.c 2019-01-25 Tim Rühsen Fuzz error code 2019-01-22 Tim Rühsen tests/test-lookup.c: Fix printf() crash on Solaris 2019-01-22 Tim Rühsen Punycode encode: Check input for valid unicode 2019-01-22 Tim Rühsen fuzz/main.c: Avoid alloca() / VLA / heap allocation 2019-01-20 Tim Rühsen Avoid excessive CPU usage with large inputs to idn2_lookup_u8() The punycode encoding was done on any input sizes, the output length check happended afterwards. Due to the O(N^2) nature of the encoding, this lead to excessive CPU usage on large inputs. This was unneeded because the result was IDN2_TOO_BIG_DOMAIN anyways. It allowed a Denial-Of-Service (DOS) if the calling functions didn't have their own length check. In fact we saw this as timeout issues when fuzzing GnuTLS via OSS-Fuzz. The affected functions are idn2_lookup_u8(), idn2_lookup_ul(), idn2_to_ascii_4i, idn2_to_ascii_4i2(), idn2_to_ascii_4z(), idn2_to_ascii_8z(), idn2_to_ascii_lz(). Also the tool 'idn2' is affected in lookup/toASCII mode. 2019-01-20 Tim Rühsen test-lookup.c: Remove non UTF-8 chars from comment 2019-01-19 Tim Rühsen README.md: Add fuzzing section [skip ci] 2019-01-19 Tim Rühsen README.md: Fix several links [skip ci] 2019-01-19 Tim Rühsen Update oss-fuzz corpora 2019-01-19 Tim Rühsen run-clang.sh: Fix -I directory 2019-01-12 Tim Rühsen Use gnulib repo from git.savannah.gnu.org 2019-01-12 Tim Rühsen Add compiler-suggested function attributes 2019-01-11 Tim Rühsen Update fuzzer corpora from oss-fuzz 2019-01-10 Tim Rühsen Fix include in lib/tr64map.h 2019-01-10 Tim Rühsen Fix gcc attributes and header guards 2019-01-10 Tim Rühsen Deprecate idn2_to_ascii_4i(), add idn2_to_ascii_4i2() 2019-01-09 Tim Rühsen Publish fuzzing code coverage, add a reference to README.md 2019-01-09 Tim Rühsen Add fuzzing of version and error functions 2019-01-09 Tim Rühsen Remove overhead from error.c, add missing TR46 values 2019-01-09 Tim Rühsen Update fuzz corpora from oss-fuzz 2019-01-09 Tim Rühsen get_ossfuzz_corpora: Improve download speed 2019-01-09 Tim Rühsen Add crash reproducer from oss-fuzz 2019-01-09 Tim Rühsen idn2_to_ascii_4i(): Restrict output length to 63 2019-01-06 Tim Rühsen Fix libidn2_to_ascii_8z_fuzzer for C++ 2019-01-05 Tim Rühsen Update NEWS 2019-01-05 Tim Rühsen Improve libidn2_to_ascii_8z_fuzzer 2019-01-05 Tim Rühsen Fix free of random (stack) value in idn2_to_ascii_4i() 2019-01-05 Tim Rühsen Update NEWS 2019-01-05 Tim Rühsen Add libidn2_register_fuzzer and corpora 2019-01-04 Tim Rühsen Fix version for release 2019-01-04 Tim Rühsen Update NEWS and configure.ac for release 2019-01-04 Tim Rühsen Update gnulib 2018-12-28 Tim Rühsen Fix typos found by contrib/spell-checker 2018-12-28 Tim Rühsen Add contrib/spell-checker 2018-12-21 Tim Rühsen Fix label length check for idn2_register_u8() idn2_register_u8() returned IDN2_TOO_BIG_LABEL even in cases where the a-label was <= 63 characters (but the ulabel was > 63 chars). Reported-by: Mauro Lozano Bug report at https://gitlab.com/libidn/libidn2/issues/60 2018-11-17 Tim Rühsen bootstrap: Fix if 'python' command isn't found 2018-05-30 Tim Rühsen Improve CI tarball build 2018-11-15 Tim Rühsen Test tarball build in CI 2018-06-13 Tim Rühsen Update gnulib submodule 2018-07-12 Tim Rühsen Fix typo 2018-07-12 Tim Rühsen Do not expose _idn2_punycode_* functions 2018-07-10 Tim Rühsen Fix typos in docs of lib/lookup.c 2018-07-10 Tim Rühsen Amend fuzz/ to clang-6.0 2018-07-10 Tim Rühsen Stricter checks for input and output of punycode_decode() 2018-07-06 Tim Rühsen Check codepoint validity in punycode_decode() punycode_decode() was able to generate invalid unicode values returned with IDN2_OK. The only affected function was idn2_to_unicode_8z4z(). Reported-by: Mike Schiffman (Farsight Security, Inc.) 2018-07-02 Nikos Mavrogiannopoulos idn2_to_unicode: clarify that @flags are unused Resolves #55 2018-06-28 Tim Rühsen Add missing errors in idn2_strerror_name() 2018-06-13 Tim Rühsen Cleanup .gitignore (fixes CI build) 2018-06-13 Tim Rühsen Exclude bootstrap in cfg.mk 2018-06-13 Tim Rühsen Fix 'AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS' 2018-06-13 Tim Rühsen Use python gnulib-tool if possible (much faster) 2018-06-13 Tim Rühsen Fix gcc warning 'nested extern' 2018-06-13 Tim Rühsen Do not remove docs with 'make check' Removing them break tarball builds without developer tools after 'make clean'. 2018-05-30 Tim Rühsen Use printf's %u instead of %zu for better compatibility 2018-05-30 Tim Rühsen Makefile.am: Check for .git directory before calling git 2018-05-18 Tim Rühsen Remove hard-coded gcc warn flag -Wno-missing-field-initializers That flag is not understood by e.g. Solaris cc. 2018-05-18 Tim Rühsen Update release date in NEWS 2018-05-16 Tim Rühsen Fix configure.ac for older versions of gtk-doc 2018-05-15 Nikos Mavrogiannopoulos NEWS: corrected typo [ci skip] Signed-off-by: Nikos Mavrogiannopoulos 2018-05-15 Nikos Mavrogiannopoulos doc: document new flags and behavior Signed-off-by: Nikos Mavrogiannopoulos 2018-05-14 Nikos Mavrogiannopoulos configure.ac: bumped version to 2.0.5 Signed-off-by: Nikos Mavrogiannopoulos 2018-05-12 Nikos Mavrogiannopoulos apply TR#46 non-transitional processing by default This switches the default library behavior from "pure" IDNA2008 to IDNA2008 + non-transitional processing. This can be API and ABI break for certain applications which intentionally needed the non amended IDNA2008. It is done in the interest of interoperability based on the fact that this is what most application writers care about rather than strict compliance with a particular protocol. Resolves #49 Signed-off-by: Nikos Mavrogiannopoulos 2018-05-06 Nikos Mavrogiannopoulos introduced flag to disable TR46 processing These introduce flag IDN2_NO_TR46 which can be used by applications to explicitly disable TR46 processing which is now the default option. Signed-off-by: Nikos Mavrogiannopoulos 2018-05-12 Nikos Mavrogiannopoulos tests: removed IdnaTest.inc as it is generated from txt Signed-off-by: Nikos Mavrogiannopoulos 2018-05-11 Nikos Mavrogiannopoulos gen-utc-test.pl: skip lines which would have generated empty tests Resolves #50 Signed-off-by: Nikos Mavrogiannopoulos 2018-04-13 Tim Rühsen Add gnulib module getopt-gnu 2018-03-31 Tim Rühsen Fix 'make check-valgrind' 2018-03-31 Tim Rühsen Fix linking of libunistring The fix allows to link libunistring with rpath, e.g. when installing an own version in /usr/local for testing, this will be linked to the fuzzers and linkers. Before this fix, the system installed version was linked. 2018-03-31 Tim Rühsen Fix uninitialized var in src/idn2.c 2018-03-23 Nikos Mavrogiannopoulos doc: corrected typo 2018-03-22 Nikos Mavrogiannopoulos doc: updated idn2 command line options 2018-03-22 Nikos Mavrogiannopoulos documentation clarifications Signed-off-by: Nikos Mavrogiannopoulos 2018-03-21 Nikos Mavrogiannopoulos idn2_to_ascii: clarified documentation on default flags [ci skip] Signed-off-by: Nikos Mavrogiannopoulos 2018-03-21 Nikos Mavrogiannopoulos doc: mention that stringprep is not included and obsolete Provide an advice on what applications requiring stringprep should do, and what new applications which require similar processing should do. Resolves #28 Signed-off-by: Nikos Mavrogiannopoulos 2018-03-21 Nikos Mavrogiannopoulos README.md: the homepage of libidn2 is de facto the gitlab site and the manual Signed-off-by: Nikos Mavrogiannopoulos 2018-03-19 Nikos Mavrogiannopoulos documented changes since 2.0.4 [ci skip] 2018-03-16 Nikos Mavrogiannopoulos abi-check target was updated to check against the previous release As abi-dumper and abi-compliance-checker tools are not always reliable when run across systems, we compare the previous tag ABI with the current compiled library. Resolves #42 2018-03-16 Nikos Mavrogiannopoulos Revert "Update abi-compliance-checker dump files" This reverts commit 65513357cabdb8911d05c0ff5d10ff3fb2f8d575. 2018-03-16 Nikos Mavrogiannopoulos Revert "Remove abi-compliance-check from Gitlab CI" This reverts commit a620d7dbaf83526e31449ad8529d929a302ff7da. 2018-03-16 Tim Rühsen Fix memleak in idn2_to_unicode_8zlz() 2018-03-16 Tim Rühsen Return error (IDN2_ICOV_FAIL) on charset conversion errors 2018-02-18 Tim Rühsen Fix idn2 --nostd3asciirules to --usestd3asciirules 2018-02-08 Tim Rühsen Fix STD3 ASCII rules 2018-02-02 Tim Rühsen Fix --disable-doc configure option 2017-12-16 Tim Rühsen Use fedora27 image in .gitlab-ci.yml 2017-12-16 Tim Rühsen Remove abi-check from dist-hook 2017-12-16 Tim Rühsen Remove abi-compliance-check from Gitlab CI 2017-12-16 Tim Rühsen syntax-check: Use $(PATH_SEPARATOR) in Makefile.am 2017-12-16 Tim Rühsen Update abi-compliance-checker dump files 2017-12-16 Tim Rühsen Let 'make abi-check' fail early 2017-12-16 Tim Rühsen Let ./bootstrap download latest translations (.po files) 2017-12-04 Nikos Mavrogiannopoulos libidn2.texi: document the IDN2_USE_STD3_ASCII_RULES transition 2017-11-26 Tim Rühsen Fix idn_free to idn2_free in test-lookup.c 2017-09-04 Tim Rühsen Fix abi-check and abi-dump make targets 2017-09-04 Tim Rühsen Add ABI infos for 2.0.3 and 2.0.4 2017-08-31 Tim Rühsen Check for gtk-doc 2017-08-31 Tim Rühsen Improve .gitignore 2017-08-31 Tim Rühsen gtk-doc: Remove auto-generated files from repository 2017-08-30 Tim Rühsen Fix sanitizer run 2017-08-30 Tim Rühsen Remove /libidn2.info from CLEANFILES 2017-08-30 Tim Rühsen Use instead make in cfg.mk 2017-08-30 Tim Rühsen Add --enable-gtk-doc-pdf to automatic configure runs 2017-08-30 Tim Rühsen Prepare release 2017-08-30 Tim Rühsen Fix generating idn2.1 2017-08-28 Tim Rühsen Fix gitlab yaml 2017-08-28 Tim Rühsen Add config.log to CI artifacts 2017-08-28 Tim Rühsen Fix idna_free() to idn_free() 2017-08-08 Nikos Mavrogiannopoulos doc: document the idn2_flags in functions using them 2017-08-08 Nikos Mavrogiannopoulos README.md: corrected typo 2017-08-01 Tim Rühsen Update fuzzer corpora 2017-08-01 Tim Rühsen lib/puny_decode: Fix integer overflow (found by fuzzing) 2017-08-01 Tim Rühsen lib/bidi: Fix integer overflow (found by fuzzing) 2017-08-01 Tim Rühsen * fuzz/README.md : Add -fsanitize=undefined,integer,nullability to CFLAGS 2017-07-28 Tim Rühsen Don't check for ronn and makeinfo in bootstrap.conf Ronn is not packaged for every distribution. And maybe someone doesn't want to build the docs at all. 2017-07-28 Tim Rühsen Add --disable-gcc-warnings to DISTCHECK_CONFIGURE_FLAGS 2017-07-28 Tim Rühsen Move check for ronn and makeinfo into bootstrapi.conf 2017-07-28 Tim Rühsen Split punycode.c into encoding/decoding 2017-07-28 Tim Rühsen Update fuzz corpora 2017-07-26 Tim Rühsen Improve fuzzing 2017-07-24 Tim Rühsen Fuzzing reworked 2017-07-24 Tim Rühsen Prepare release 2017-07-22 Nikos Mavrogiannopoulos gnulib: updated to latest master 2017-07-21 Tim Rühsen Fix docs for IDN2_USE_STD3_ASCII_RULES and IDN2_INVALID_FLAGS 2017-07-19 Tim Rühsen Remove tests/*.c from coverage report 2017-07-19 Nikos Mavrogiannopoulos .gitlab-ci.yml: added test rule for pages 2017-07-19 Tim Rühsen Remove GTKDOC test 2017-07-19 Tim Rühsen Fix coverage build 2017-07-19 Tim Rühsen Disable gtk-doc for make distcheck on CIs 2017-07-19 Tim Rühsen Fix C++ build errors 2017-07-17 Tim Rühsen TR46: Disable STD3 ASCII rules by default 2017-07-18 Tim Rühsen Move check for makeinfo to configure.ac 2017-07-18 Tim Rühsen Revert "Check for 'gengetopt' in configure run" This reverts commit 80696f6d0a9946c2fa73177ec0292e63709d1d79. 2017-07-18 Tim Rühsen Check for gengetopt and makeinfo in bootstrap.conf 2017-07-18 Tim Rühsen Document func/param attributes in idn2.h.in 2017-07-18 Simon Josefsson Doc fixes. 2017-07-17 Tim Rühsen Fix space-tab sequence in gtk-doc.make 2017-07-17 Tim Rühsen Fix links for git and perl in CONTRIBUTING.md 2017-07-17 Simon Josefsson Bump version. 2017-07-17 Simon Josefsson Mention abi-compliance-checker. 2017-07-17 Tim Rühsen Reference 'ronn' in CONTRIBUTING.md 2017-07-17 Tim Rühsen Check for 'gengetopt' in configure run 2017-07-17 Tim Rühsen Check for ronn if doc build is requested 2017-07-17 Simon Josefsson Fix gtk-doc more. 2017-07-17 Simon Josefsson Doc fixes. 2017-07-17 Simon Josefsson Fix upstream bugs. 2017-07-17 Simon Josefsson Modernize gtk-doc building. 2017-07-17 Simon Josefsson Update from gnulib. 2017-06-19 Nikos Mavrogiannopoulos README.md: updated to no longer refer to libidn [ci skip] Signed-off-by: Nikos Mavrogiannopoulos 2017-06-07 Nikos Mavrogiannopoulos manual: removed trailing space Signed-off-by: Nikos Mavrogiannopoulos 2017-06-07 Nikos Mavrogiannopoulos manual: updated intro Added URI of libidn2 hosting, and removed text on being used extensively (no longer the case). Reformatted the references to RFCs as an itemized list. Signed-off-by: Nikos Mavrogiannopoulos 2017-05-06 Nikos Mavrogiannopoulos doc: updated documentation on IDNA2003 fallback The example provided only falls back to IDNA2003 if there are disallowed characters in the IDNA2008 set. That follows the behavior used in curl. Signed-off-by: Nikos Mavrogiannopoulos 2017-04-28 Nikos Mavrogiannopoulos doc: document Tim's backwards compatible construction This introduces text allowing to operate like browsers like firefox do. Relates: #28 Signed-off-by: Nikos Mavrogiannopoulos 2017-04-27 Tim Rühsen contrib/release: Fix contributor list creation [skip ci] 2017-04-27 Tim Rühsen NEWS: Update release date 2017-04-27 Tim Rühsen Gitlab CI: Split Debian runner 2017-04-27 Tim Rühsen fuzz/main.c: Exlude from sc_require_config_h and sc_require_config_h_first 2017-04-27 Tim Rühsen idn2.h: Don't use symbols from config.h 2017-04-26 Tim Rühsen ABI-Check: Fix for gtk-doc 2017-04-26 Tim Rühsen Prepare release 2017-04-26 Tim Rühsen Docs: Fix several gtk-doc warnings 2017-04-26 Tim Rühsen contrib/release: Update script [skip ci] 2017-04-25 Tim Rühsen Travis CI: Initial commit 2017-04-25 Tim Rühsen Makefile.am: Do not use TMPDIR and TMPFILE Reassigning TMPDIR may cause havoc with build tools that use it for temporary files/directories, like 'ar' on OSX. Reported-by: Dominyk Tiller 2017-04-24 Tim Rühsen lib/idna.c (_idn2_ascii_p): Quick return on false 2017-04-24 Tim Rühsen Fix TR46 transitional Transitional label processing accidentally went through IDNA 2008 tests. That made lookup functions fail on disallowed characters, that are allowed regarding IDNA 2003. The only transitonal test cases we had just covered 'deviation' codepoints, e.g. german sharp s. This patch also adds a non-deviation codepoint to the tests. Reported-by: Daniel Stenberg Closes #25 2017-04-23 Tim Rühsen fuzz: Fix memleak in idn2_to_unicode_8z8z_fuzzer 2017-04-23 Nikos Mavrogiannopoulos doc: clarify expected input and output forms in examples Signed-off-by: Nikos Mavrogiannopoulos 2017-04-23 Nikos Mavrogiannopoulos doc: improved text on converting from libidn Signed-off-by: Nikos Mavrogiannopoulos 2017-04-23 Nikos Mavrogiannopoulos doc: corrected typo Signed-off-by: Nikos Mavrogiannopoulos 2017-04-23 Nikos Mavrogiannopoulos README.md: switched download site to ftp.gnu.org Signed-off-by: Nikos Mavrogiannopoulos 2017-04-22 Tim Rühsen Prepared release 2017-04-22 Nikos Mavrogiannopoulos doc: do not utilize the NFC_INPUT flag on examples That flag is implicitly enabled in non-transitiional encoding. Signed-off-by: Nikos Mavrogiannopoulos 2017-04-07 Nikos Mavrogiannopoulos doc: added value assignment in conversion example 2017-04-07 Tim Rühsen * src/Makefile.am: Do not install idn2_noinstall 2017-04-06 Nikos Mavrogiannopoulos doc: include code snippets instead of just functions in compatibility section 2017-04-06 Nikos Mavrogiannopoulos texinfo.css: improved HTML presentation 2017-04-06 Nikos Mavrogiannopoulos doc: improved documentation on switching from libidn 2017-04-04 Nikos Mavrogiannopoulos doc: fixed version in idn2_to_unicode functions 2017-04-04 Nikos Mavrogiannopoulos idn2_to_ascii: corrected documentation These functions were documented as equivalent to idn2_lookup_ul() with %IDN2_NONTRANSITIONAL and %IDN2_NFC_INPUT flags, however was not the case. The idna_to_ascii functions were setting these flags by default. 2017-04-04 Nikos Mavrogiannopoulos examples: use non-transitional IDNA2008 2017-04-02 Nikos Mavrogiannopoulos idn2: enable TR#46 non-transitional processing by default Signed-off-by: Nikos Mavrogiannopoulos 2017-04-02 Nikos Mavrogiannopoulos idn2: use idn2_to_ascii_lz instead of idn2_lookup_ul Signed-off-by: Nikos Mavrogiannopoulos 2017-04-03 Tim Rühsen Fix contrib/release script [skip ci] 2017-03-29 Tim Rühsen Prepare for release 2017-03-29 Tim Rühsen ChangeLog: Create with 'git log' 2017-03-28 Nikos Mavrogiannopoulos configure: replace simon@josefsson.org by help-libidn@gnu.org Resolves #21 Signed-off-by: Nikos Mavrogiannopoulos 2017-03-28 Tim Rühsen Add automatic version defines for idn2.h 2017-03-28 Nikos Mavrogiannopoulos doc: added section on converting from libidn Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Tim Rühsen Add contrib/release script [ci skip] 2017-03-25 Tim Rühsen README.md: Fix mentioning INSTALL 2017-03-24 Nikos Mavrogiannopoulos m4: added ax_prog_cc_for_build.m4 This allows compiling the library from repository without requiring autoconf-archive package being installed. Resolves #19 Signed-off-by: Nikos Mavrogiannopoulos 2017-03-23 Nikos Mavrogiannopoulos README.md: added section on cross-compiling Resolves #8 Signed-off-by: Nikos Mavrogiannopoulos 2017-03-20 Nikos Mavrogiannopoulos .gitlab-ci.yml: introduced a -Werror build in Debian build Signed-off-by: Nikos Mavrogiannopoulos 2017-03-19 Nikos Mavrogiannopoulos gnulib: use local submodule from gitlab This will allow faster checkouts on CI Signed-off-by: Nikos Mavrogiannopoulos 2017-03-19 Nikos Mavrogiannopoulos CONTRIBUTING.md: added git2cl and ronn dependencies Signed-off-by: Nikos Mavrogiannopoulos 2017-03-19 Nikos Mavrogiannopoulos Automatically generate changelog on make dist Resolves #15 Signed-off-by: Nikos Mavrogiannopoulos 2017-03-19 Tim Rühsen Check malloc() return value in _tr46() 2017-03-17 Tim Rühsen Change several http:// links to https:// 2017-03-17 Nikos Mavrogiannopoulos doc: set default encoding of manual to be utf-8 This allows printing UTF-8 characters from .c files. Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Nikos Mavrogiannopoulos doc: improved intro section Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Nikos Mavrogiannopoulos doc: added examples for ToASCII and ToUnicode operations Also listed all the major new functions at the introduction. The examples brought, bring the library in par with libidn documentation, allowing one to switch easily, but also use UTF-8 input and output by default. There is no point to promote the locale encoded version of the functions, as UTF-8 is today used ubituously. Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Nikos Mavrogiannopoulos doc: added Since version tag in functions 2017-03-17 Nikos Mavrogiannopoulos doc: added description for idn2_to_unicode functions Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Nikos Mavrogiannopoulos README.md: removed copyright information and extended description The copyright information in the README file were a distraction from reading the text (were as long as the previous text), and were not accurate anyway. Extended the description to include more information on the library and the libidn compatibility. Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Tim Rühsen Update AUTHORS 2017-03-17 Nikos Mavrogiannopoulos README.md: build badge points to pipelines page [ci skip] Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Nikos Mavrogiannopoulos Revert "README.md: build badge points to pipelines page [ci skip]" This reverts commit 91c091490a8efe6090d37ad8acb5a08a1e355e9a. 2017-03-17 Nikos Mavrogiannopoulos README.md: build badge points to pipelines page [ci skip] Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Nikos Mavrogiannopoulos doc: updated idn2 commands in manual Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Nikos Mavrogiannopoulos configure.ac: bumped version to 2.0 Relates #12 Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Nikos Mavrogiannopoulos CONTRIBUTING.md: recommend using merge requests for patches Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Nikos Mavrogiannopoulos doc update Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Nikos Mavrogiannopoulos doc: generate the idn2 man-page using ronn That is, no longer use help2man and ship a markdown version of the manual. The manual page is generated from markdown using ronn. Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Tim Rühsen docs: Deploy libidn2 manual 2017-03-17 Tim Rühsen README.md: Add link to online coverage report and API docs [ci skip] 2017-03-17 Tim Rühsen docs: Deploy HTML docs [ci skip] 2017-03-17 Tim Rühsen Add Coverity badge 2017-03-17 Nikos Mavrogiannopoulos valgrind: use suppressions file by default Also introduce an initial suppressions file to ignore unistring issues. Resolves #11 Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Nikos Mavrogiannopoulos tests: enable run under valgrind by using LOG_COMPILER Signed-off-by: Nikos Mavrogiannopoulos 2017-03-17 Tim Rühsen CI: Merge Debian runners 2017-03-16 Mike Frysinger fix IdnaTest.inc generation w/out of tree builds The current rule will always look for IdnaTest.txt in the current directory (and output IdnaTest.inc to the current directory). When doing an out-of-tree build, the Makefile (via vpaths) will find the source files, but when the rule runs, it won't. Change the rules to use automatic makefile variables so it can deal with srcdir/builddir dynamically. It does mean that always write IdnaTest.txt to the builddir and not the sourcedir, but I think that's what the code intends. When doing a `make dist`, it'll source the right file and save it to the right place in the tarball. 2017-03-16 Tim Rühsen pages: simplified 2017-03-15 Tim Rühsen Coverage: Test code coverage as artifact 2017-03-16 Tim Rühsen Update gnulib 2017-03-16 Tim Rühsen Add gentr46map.c to EXTRA_DIST 2017-03-15 Mike Frysinger fix up tr46map_data.c generation Make the gentr46map handling consistent regardless of cross-compiling, and improve things so we regenerate the source file only when needed. 2017-03-15 Nikos Mavrogiannopoulos gentr46map: initialize variable to avoid clang warning Signed-off-by: Nikos Mavrogiannopoulos 2017-03-15 Nikos Mavrogiannopoulos gentr46map: added mem allocation check to eliminate clang analyzer warning Signed-off-by: Nikos Mavrogiannopoulos 2017-03-15 Nikos Mavrogiannopoulos lib: removed dead assignment (found by clang) Signed-off-by: Nikos Mavrogiannopoulos 2017-03-14 Nikos Mavrogiannopoulos .gitlab-ci.yml: added clang static analyzer run This will allow catching issues that can be detected with a static analyzer. Signed-off-by: Nikos Mavrogiannopoulos 2017-03-14 Nikos Mavrogiannopoulos .gitlab-ci.yml: Added centos7 build Signed-off-by: Nikos Mavrogiannopoulos 2017-03-14 Nikos Mavrogiannopoulos idn2: localcharset is a unistring header This fixes builds in Centos7. Signed-off-by: Nikos Mavrogiannopoulos 2017-03-15 Tim Rühsen tests: Fix -Wpointer-sign 2017-03-15 Tim Rühsen tests: Fix -Wunused-parameter 2017-03-15 Tim Rühsen tests: Fix gcc-7 -Wformat-truncation= 2017-03-15 Tim Rühsen Add assert.h to tests/repro-common.h 2017-03-15 Tim Rühsen syntax-check: Remove #ifdef HAVE_CONFIG_H 2017-03-15 Tim Rühsen lib/tr46map.c: Add empty line after config.h 2017-03-15 Tim Rühsen syntax-check: Add lib/gentr46map.c to config.h excludes 2017-03-15 Tim Rühsen syntax-check: Remove trailing space 2017-03-15 Tim Rühsen syntax-check: Remove empty lines at EOF 2017-03-15 Tim Rühsen syntax-check: Remove assert.h from tests/repro*.c 2017-03-15 Tim Rühsen syntax-check: Add tests/.*interesting.* to excludes 2017-03-15 Tim Rühsen CI: Make syntax-check and distcheck 2017-03-15 Tim Rühsen gentr46map: Fix clang analyzer warning 2017-03-15 Tim Rühsen gentr46map: Remove gnulib dependency 2017-03-15 Tim Rühsen gentr46map: Replace getline() by fgets() 2017-03-15 Tim Rühsen gentr46map: Remove errno.h dependency 2017-03-15 Tim Rühsen gentr46map: Remove libunistring dependency 2017-03-14 Tim Rühsen doc: fix idn2.1 cross-compile build 2017-03-14 Tim Rühsen Fix lib/Makefile.am 2017-03-14 Tim Rühsen Remove make target check-coverage 2017-03-14 Tim Rühsen Rewrite and simplify BIDI check 2017-03-14 Tim Rühsen Cross-compile check for building gentr46map 2017-03-14 Tim Rühsen tr46map: Amend for better cross-compilation experience 2017-03-14 Nikos Mavrogiannopoulos README: switched repositories to libidn/libidn2 Signed-off-by: Nikos Mavrogiannopoulos 2017-03-14 Nikos Mavrogiannopoulos Added gnulib as submodule This prevents breakages of gnulib to be propagated to the libidn2 project. Signed-off-by: Nikos Mavrogiannopoulos 2017-03-14 Tim Rühsen configure.ac: Add better support for cross-compiling 2017-03-14 Tim Rühsen Docs: Skipp making idn2.1 when cross-compiling 2017-03-13 Tim Rühsen .gitignore: Add files and dirs 2017-03-13 Tim Rühsen fuzz: Format *.cc, add TR46 testing 2017-03-10 Nikos Mavrogiannopoulos Added coverage run in CI That "make local-code-coverage-output" will output the percentage of lines of code covered by the test suite. Signed-off-by: Nikos Mavrogiannopoulos 2017-03-10 Nikos Mavrogiannopoulos configure: Add a code coverage option Configure with: ./configure --enable-code-coverage Show coverage output with: make && make check && make code-coverage-capture Signed-off-by: Nikos Mavrogiannopoulos 2017-03-10 Nikos Mavrogiannopoulos tests: added initial corpus of test cases for reproducers Although these do not actually cause an issue, they do provide coverage of the parsers. This is currently not included in the distribution but only in the repository. Signed-off-by: Nikos Mavrogiannopoulos 2017-03-09 Nikos Mavrogiannopoulos fuzz: added manually run fuzzers for basic functions of the library These fuzzers are modeled in a way to be run either in oss-fuzz project (which uses libfuzzer) or using AFL with the wrapper in main.c. Signed-off-by: Nikos Mavrogiannopoulos 2017-03-09 Nikos Mavrogiannopoulos tests: added tools to reproduce issues found by fuzzers Signed-off-by: Nikos Mavrogiannopoulos 2017-03-03 Michael Haubenwallner drop needless ssize_t cast, would need sys/types.h 2017-02-28 Nikos Mavrogiannopoulos .gitlab-ci.yml: use pre-build images for CI Signed-off-by: Nikos Mavrogiannopoulos 2017-02-27 Tim Rühsen README.md: Use HTTPS ifor license link 2017-02-27 Tim Rühsen CONTRIBUTING.md: Use HTTPS where possible 2017-02-27 Nikos Mavrogiannopoulos CONTRIBUTING.md: fixed typos Signed-off-by: Nikos Mavrogiannopoulos 2017-02-27 Nikos Mavrogiannopoulos README.md: introduced dependencies section Signed-off-by: Nikos Mavrogiannopoulos 2017-02-26 Nikos Mavrogiannopoulos CONTRIBUTING.md: added section on test suite Signed-off-by: Nikos Mavrogiannopoulos 2017-02-26 Nikos Mavrogiannopoulos converted main documents to markdown 2017-02-25 Nikos Mavrogiannopoulos tests: test-register: added several casts to silence warnings in windows build Signed-off-by: Nikos Mavrogiannopoulos 2017-02-25 Nikos Mavrogiannopoulos .gitlab-ci.yml: enabled make check in mingw build Also added the iconv package into installed packages. We require iconv to be able to convert from locale to unicode. Signed-off-by: Nikos Mavrogiannopoulos 2017-02-26 Nikos Mavrogiannopoulos use the GL macros to mark internal functions as const or pure We don't use the macros from idn2.h because this header file is not universally included. Signed-off-by: Nikos Mavrogiannopoulos 2017-02-26 Nikos Mavrogiannopoulos idn2.h: Introduced macros to mark pure and constant functions That is, the macros _IDN2_ATTRIBUTE_PURE and _IDN2_ATTRIBUTE_CONST. The functions marked currently are idn2_strerror(), idn2_strerror_name(), as constant, and idn2_check_version() as pure. Signed-off-by: Nikos Mavrogiannopoulos 2017-02-26 Nikos Mavrogiannopoulos error.c: improved bindtextdomain macro We don't check the error code of the function, thus the dummy replacement shouldn't define an error code. That removes a compiler warning for statement without effect. Signed-off-by: Nikos Mavrogiannopoulos 2017-02-25 Nikos Mavrogiannopoulos configure: enable gcc warnings by default Also enable warnings on sign-conversion. Signed-off-by: Nikos Mavrogiannopoulos 2017-02-25 Nikos Mavrogiannopoulos lib: eliminated several sign-conversion related warnings Signed-off-by: Nikos Mavrogiannopoulos 2017-02-26 Nikos Mavrogiannopoulos README: update documentation on iconv Signed-off-by: Nikos Mavrogiannopoulos 2017-02-25 Tim Rühsen tests: test-lookup.c: Fix error msgs and wchar_t portability 2017-02-20 Nikos Mavrogiannopoulos .gitlab-ci.yml: use libasan3 in debian testing The previously used libasan2 is no longer available. Signed-off-by: Nikos Mavrogiannopoulos 2017-02-20 Nikos Mavrogiannopoulos document changes in 0.17 2017-02-20 Simon Josefsson Doc fix. 2017-02-15 Tim Rühsen Fix docs 2017-02-15 Tim Rühsen Fix 'make syntax-check' 2017-02-15 Tim Rühsen Remove trailing empty lines from lib/Makefile.am 2017-02-15 Tim Rühsen Remove gl/version-etc.c from po/POTFILES.in as syntax-check suggests 2017-02-15 Tim Rühsen Update bootstrap from gnulib/build-aux/ 2017-02-15 Tim Rühsen Set source_bae in bootstrap.conf 2017-02-15 Tim Rühsen Fix path in po/POTFILES.in 2017-02-13 Nikos Mavrogiannopoulos .gitlab-ci.yml: added MinGW64 build Signed-off-by: Nikos Mavrogiannopoulos 2017-02-14 Nikos Mavrogiannopoulos renamed idn2/ subdir to lib/ This makes apparent the location of the actual library. Signed-off-by: Nikos Mavrogiannopoulos 2017-02-14 Nikos Mavrogiannopoulos unistring: avoid including twice the posix-malloc module This allows compiling in systems which do require the posix-malloc, but conflict on gnulib symbols as they are available both in libgnu and libunistring. Signed-off-by: Nikos Mavrogiannopoulos 2017-02-14 Nikos Mavrogiannopoulos lib renamed to gl This better distinguishes the gnulib library from the main IDN2 library. Signed-off-by: Nikos Mavrogiannopoulos 2017-02-14 Nikos Mavrogiannopoulos configure: building documentation can be skipped This allows building on systems without texinfo. Signed-off-by: Nikos Mavrogiannopoulos 2017-02-14 Nikos Mavrogiannopoulos unistring library will be included if it is not installed Signed-off-by: Nikos Mavrogiannopoulos 2017-02-14 Nikos Mavrogiannopoulos Moved IDN2 files in idn2 subdir Signed-off-by: Nikos Mavrogiannopoulos 2017-02-10 Tim Rühsen Add test coverage of idna_to_ascii_* functions 2017-02-10 Tim Rühsen Fix docs (params) for idn2_to_ascii_4i 2017-02-10 Tim Rühsen Add IDN2_ALLOW_UNASSIGNED and IDN2_USE_STD3_ASCII_RULES to doc comment 2017-02-10 Nikos Mavrogiannopoulos Add docs to idn2_to_ascii_* in lookup.c 2017-02-08 Tim Rühsen Fix compat enums and defines in idn2.h.in 2017-02-07 Tim Rühsen Libidn toASCII compatibility functions 2017-01-27 Tim Rühsen Start of libidn compatibility layer Define IDN2_SKIP_LIBIDN_COMPAT before including to disable the compatibilty layer. It is also disabled when including before . Just to allow programs to link with libidn and libidn2. 2017-01-27 Tim Rühsen Add more test cases More test cases from Nikos Mavrogiannopoulos 2017-01-27 Tim Rühsen Add bad utf-8 test input to idn2_to_unicode_*() 2017-01-27 Tim Rühsen Add test with bad utf-8 encoding 2017-01-26 Nikos Mavrogiannopoulos .gitlab-ci.yml: use debian-stretch for building Signed-off-by: Nikos Mavrogiannopoulos 2017-01-27 Tim Rühsen Remove unused code from punycode.c 2017-01-27 Tim Rühsen More tests for tests/test-tounicode.c 2017-01-27 Tim Rühsen More tests for tests/test-lookup.c 2017-01-27 Tim Rühsen Fix input checking in decode.c 2017-01-27 Tim Rühsen Reduce 'make check-coverage' to library code 2017-01-27 Tim Rühsen Cleanup tests, remove compiler warnings 2017-01-27 Tim Rühsen Add more testing to tests/test-tounicode.c 2017-01-27 Tim Rühsen Add gnulib module stdio to bootstrap.conf 2017-01-27 Tim Rühsen Add manywarning flags to tests/Makefile.am 2017-01-27 Tim Rühsen Fix string creation in idn2_to_unicode_44i() 2017-01-26 Tim Rühsen Fix double free in idn2_to_unicode_4z4z() 2017-01-26 Tim Rühsen Adjust .gitignore 2017-01-26 Tim Rühsen New test test-tounicode.c 2017-01-26 Tim Rühsen Allow XN-- and xn-- for punycode 2017-01-26 Tim Rühsen Add idn2_to_unicode_* functions for punycode decoding That are idn2_to_unicode_8z4z idn2_to_unicode_4z4z idn2_to_unicode_44i idn2_to_unicode_8z8z idn2_to_unicode_8zlz idn2_to_unicode_lzlz 2017-01-08 Tim Rühsen Add idn2_fromASCII() and idn2 -d 2017-01-30 Nikos Mavrogiannopoulos .gitlab-ci.yml: added ASAN, and UBSAN builds Signed-off-by: Nikos Mavrogiannopoulos 2017-01-29 Nikos Mavrogiannopoulos .gitlab-ci.yml: added ABI check as part of the CI process Signed-off-by: Nikos Mavrogiannopoulos 2017-01-29 Nikos Mavrogiannopoulos .gitlab-ci.yml: keep built artifacts (log files) on failure Signed-off-by: Nikos Mavrogiannopoulos 2017-01-29 Nikos Mavrogiannopoulos Makefile: added abi-dump and abi-check rules These allow dumping and checking the ABI of the produced library. Signed-off-by: Nikos Mavrogiannopoulos 2017-02-07 Tim Rühsen Add 'getline' gnulib module 2017-02-03 Tim Rühsen Add 'error' gnulib module 2017-01-23 userwithuid Add pkg-config file. 2017-01-23 userwithuid Fix parallel make. Ensure gengetopt is only run once to avoid build errors with make -j. 2017-01-16 Simon Josefsson Bump versions. 2017-01-16 Simon Josefsson Typo fix. 2017-01-16 Simon Josefsson Version 0.16. 2017-01-16 Simon Josefsson Add. 2017-01-16 Simon Josefsson Fix @DEFS@. 2017-01-14 Simon Josefsson Fix DEFS. 2017-01-14 Simon Josefsson Fix idn2_cmd.* rules. Copied from libidn. 2017-01-14 Simon Josefsson Bump versions. 2017-01-14 Simon Josefsson Version 0.15. 2017-01-14 Simon Josefsson Indent. 2017-01-14 Simon Josefsson Fix syntax-check rules. 2017-01-14 Simon Josefsson Fixes. 2017-01-14 Simon Josefsson Doc fix. 2017-01-14 Simon Josefsson Update copyright lines. 2017-01-14 Simon Josefsson Add. 2017-01-12 Tim Rühsen Reduce TR46 data by ca 33k 2017-01-12 Tim Rühsen Reduce TR46 map entries to 62 bits (yet unpacked) 2017-01-12 Tim Rühsen Fix out-of-bounds access 2017-01-12 Tim Rühsen Fix printf format specifier 2017-01-12 Tim Rühsen Enable silent make rules by default 2017-01-12 Tim Rühsen Enable gcc color diagnostics even when using ccache 2017-01-11 Tim Rühsen Fix indentation 2017-01-11 Tim Rühsen Make autogenrated array 'mapdata' static 2017-01-11 Tim Rühsen Separate TR46 generated data and data functions 2017-01-11 Tim Rühsen Some code rearranged 2017-01-11 Tim Rühsen Fix printf format string warnings 2017-01-11 Tim Rühsen Fix incorrect check of memory allocation 2017-01-11 Tim Rühsen Add two more lookup tests 2017-01-10 Tim Rühsen Fix NFC Quick Check IDN2_NFC_INPUT with idn2_lookup_*() and non-NFC input resulted in IDN2_NOT_NFC error. Regression from version 0.13. This fixes it. This commit also adds tests to catch non-working IDN2_NFC_INPUT. Reported-by: Daurn Imator 2017-01-10 Tim Rühsen Remove unused flags from TR46 mapping data 2017-01-05 Tim Rühsen Move -DSRCDIR to AM_CPPFLAGS to satisfy syntax-check 2017-01-05 Tim Rühsen Disable sc_GPL_version syntax-check 2016-12-28 Tim Rühsen TR46 mapping codepoints as 8-bit stream 2016-12-30 Simon Josefsson Cleanup. Fix build dependencies. 2016-12-30 Simon Josefsson Bump version. 2016-12-30 Simon Josefsson Update for 0.13. 2016-12-30 Simon Josefsson Version 0.14. 2016-12-30 Simon Josefsson Bump versions. 2016-12-30 Simon Josefsson Fix gentr46map build. 2016-12-29 Simon Josefsson Syntax-check fixes. 2016-12-29 Simon Josefsson Version 0.13. 2016-12-29 Simon Josefsson Doc fixes. 2016-12-29 Simon Josefsson Libunistring required. 2016-12-28 Simon Josefsson Unicode license conditions. 2016-12-28 Tim Rühsen Remove doublettes from TR46 mapping data 2016-12-27 Tim Rühsen Add unicode files to avoid downloading 2016-12-27 Tim Rühsen Add tests/IdnaTest.* 2016-12-27 Tim Rühsen Test downloaded file integrity 2016-12-28 Simon Josefsson Doc fix. 2016-12-28 Simon Josefsson Fix dependencies. 2016-12-28 Simon Josefsson Make sure ChangeLog is re-generated. 2016-12-28 Simon Josefsson Mark libunistring as optional. 2016-12-28 Simon Josefsson Make self-tests work with non-system libunistring. 2016-12-28 Simon Josefsson Doc fix. 2016-12-28 Simon Josefsson Simplify. 2016-12-28 Simon Josefsson Re-add some libunistring modules, if absent from system. 2016-12-28 Simon Josefsson Drop. 2016-12-28 Simon Josefsson Ignore more. 2016-12-28 Simon Josefsson Add po/Makefile.in after gettext simplification. 2016-12-28 Simon Josefsson Simplify. 2016-12-28 Simon Josefsson Prettify. 2016-12-28 Simon Josefsson Prettyify output. 2016-12-28 Simon Josefsson Typo fix. 2016-12-28 Simon Josefsson Ignore more. 2016-12-28 Simon Josefsson Fix test output. 2016-12-28 Simon Josefsson More dependency fixes. 2016-12-28 Simon Josefsson Fix build deps. 2016-12-28 Simon Josefsson Doc fixes. 2016-12-28 Simon Josefsson Typo. 2016-12-28 Simon Josefsson Automake requires that ChangeLog exist. (snippet from coreutils) 2016-12-28 Simon Josefsson Modernize. 2016-12-28 Simon Josefsson Add gitlab CI rules. 2016-12-28 Simon Josefsson Remove, should be automatically generated by git2cl. 2016-12-28 Simon Josefsson Rename for gitlab. 2016-12-27 Simon Josefsson Clarify license. Suggested by Nikos Mavrogiannopoulos. 2016-12-26 Simon Josefsson Bump after release. 2016-12-26 Simon Josefsson Ignore more. 2016-12-26 Simon Josefsson Version 0.12. 2016-12-26 Simon Josefsson Doc fixes. 2016-12-26 Simon Josefsson Doc fix. 2016-12-26 Simon Josefsson More text. 2016-12-26 Simon Josefsson Don't modify .gitignore. 2016-12-26 Simon Josefsson Don't assume C99/C11. 2016-12-26 Simon Josefsson Fix coverage rules. 2016-12-26 Simon Josefsson Drop unused code. 2016-12-26 Simon Josefsson Fix broken indent. 2016-12-26 Simon Josefsson Use COMPILE instead of CC (this should be an implicit automake rule). 2016-12-26 Simon Josefsson Indent sources. 2016-12-26 Simon Josefsson Syntax-check cleanups. 2016-12-26 Simon Josefsson Remove. 2016-12-26 Simon Josefsson Unrelease 0.12. 2016-12-26 Simon Josefsson Mention Tim. 2016-12-26 Simon Josefsson Re-add some gnulib modules. Fix license. 2016-12-21 Tim Rühsen Prepare for release 2016-12-26 Tim Rühsen Add texinfo to prerequisite list in README-alpha 2016-12-25 Tim Rühsen Add uninorm/base to bootstrap.conf 2016-12-25 Tim Rühsen Use gettext 0.19.3 in configure.ac 2016-12-22 Tim Rühsen Fix tests/Makefile.am 2016-12-22 Tim Rühsen Fix in src/ 2016-12-22 Tim Rühsen Fix 'make clean' for docs 2016-12-22 Tim Rühsen docs: Adjust IGNORE_HFILES 2016-12-21 Tim Rühsen Fix make distcheck 2016-12-08 Tim Rühsen Add NFC quick check to avoid unneeded NFC normalizations 2016-12-08 Tim Rühsen Add test cases to cover more code paths 2016-12-08 Tim Rühsen Add new test test-strerror.c Cover code paths in idn2_strerror() and idn2_strerror_name(). 2016-12-08 Tim Rühsen Use idn2_free() instead of free() in tests 2016-12-08 Tim Rühsen Add make target 'check-coverage' For this to work, you need 'lcov' and 'genhtml' installed. After 'make check-coverage', view lcov/index.html for results. 2016-12-08 Tim Rühsen Fix test-lookup.c for libunistring <= 0.9.3 2016-12-07 Tim Rühsen Clean built sources with 'make clean' 2016-12-07 Tim Rühsen Add make target 'check-valgrind' 2016-11-29 Tim Rühsen Link with libunistring This patch uses libunistring instead of code copied from gnulib. It also introduces ./bootstrap initialization. 2016-12-07 Tim Rühsen Remove tests/IdnaTest.inc and tests/IdnaTest.txt from repo 2016-11-30 Tim Rühsen Add testing of official test suite 2016-11-29 Tim Rühsen Add -T/--tr46t and -N/--tr46nt to idn2 utility 2016-11-29 Tim Rühsen idn2.c: Refactor code into process_input() 2016-11-27 Tim Rühsen Add TR46 support * Makefile.am: Add tr46map.h, tr46map.c to libidn2_la_SOURCES. Download IdnaMappingTable.txt, DerivedNormalizationProps.txt. Create tr46map.c via gentr46map. * gentr46map.c: New file, generates tr46map.c from downloaded files. * idn2.h.in: Add IDN2_TRANSITIONAL and IDN2_NONTRANSITIONAL flags. Add error codes IDN2_INVALID_FLAGS, IDN2_DOT_IN_LABEL, IDN2_INVALID_TRANSITIONAL and IDN2_INVALID_NONTRANSITIONAL. * idna.c (_idn2_label_test): Add tests for TEST_TRANSITIONAL and TEST_NONTRANSITIONAL. * idna.h: Add test flags TEST_TRANSITIONAL and TEST_NONTRANSITIONAL. * lookup.c: New function _tr46() implements TR46 processing. (idn2_lookup_u8): Call _tr46() if requested. 2016-11-30 Tim Rühsen Update IDNA tests to Unicode 6.3.0 2016-11-30 Tim Rühsen Remove tests/IdnaTest.inc and tests/IdnaTest.txt from git repo 2016-11-21 Tim Rühsen Makefile cleanup, use HTTPS URLs for download 2016-11-20 Tim Rühsen Set lookup test result for U+19DA to IDN2_DISALLOWED 2016-11-20 Tim Rühsen Update from 5.2.0 to 6.3.0 IDNA tables 2016-11-20 Tim Rühsen Remove auto-generated data.c from repo 2016-11-20 Tim Rühsen Add config.cache to .gitignore 2016-11-26 Tim Rühsen Fix crash in idn2_register_ul() * register.c (idn2_register_ul): Do not crash if 'ulabel' is NULL 2016-11-26 Tim Rühsen Fix crash in lookup functions * lookup.c (idn2_lookup_ul): Do not crash if 'src' is NULL. (idn2_lookup_u8): Set output to NULL if input is NULL. 2016-11-26 Tim Rühsen * register.c: Do not taint insertname on error This patch - does not taint output variable on error - does only allocate memory on success - allows insertname being NULL for testing 2016-11-26 Tim Rühsen * lookup.c (idn2_lookup_u8): Do not taint lookupname on error This patch - does not taint output variable on error - does only allocate memory on success - allows lookupname being NULL for testing 2016-11-25 Tim Rühsen Use binary instead of linear search in idna table Also return UNASSIGNED instead of calling abort() in tables.c. Do not not call abort() in a library, you never know who/what relies on it. Instead, return a reasonable value. If there were an error return and/or logging facility, that should be used. 2016-11-06 Simon Josefsson Trivial memleak fix. Patch from Hanno Böck . 2016-11-03 Simon Josefsson Don't install examples. Reported by Dagobert Michelsen . 2016-11-03 Simon Josefsson Version 0.11. 2016-11-03 Simon Josefsson Fix PGP key. 2016-11-03 Simon Josefsson Update for 0.10. 2016-11-03 Simon Josefsson Bump versions. 2016-11-03 Simon Josefsson Update copyright years. 2016-11-03 Simon Josefsson Export _idn2_punycode_??code for non-version script platforms. Reported by Dagobert Michelsen . 2016-11-03 Simon Josefsson Fix stack underflow in 'idn2' command line tool. Reported by Hanno Böck . 2016-11-03 Simon Josefsson Update from libidn. 2015-05-18 Simon Josefsson Move from gitorious to gitlab. 2014-10-02 Simon Josefsson Update gnulib files. 2014-06-25 Simon Josefsson Version 0.10. 2014-06-25 Simon Josefsson Fix syntax-check. 2014-06-25 Simon Josefsson Ignore more. 2014-06-25 Simon Josefsson Dual-license the library. 2014-06-25 Simon Josefsson Bump copyright years. 2014-06-25 Simon Josefsson Upgrade gnulib. 2013-07-24 Simon Josefsson Bump version. 2013-07-24 Simon Josefsson Ignore more. 2013-07-24 Simon Josefsson Use devhelp2 format. 2013-07-24 Simon Josefsson Fix syntax-check. 2013-07-23 Simon Josefsson Version 0.9. 2013-07-23 Simon Josefsson Fix copyright year. 2013-07-23 Simon Josefsson Fix release target. 2013-07-23 Simon Josefsson Fix broken IANA link. 2013-07-23 Simon Josefsson Add. 2013-07-23 Simon Josefsson Update copyright headers. 2013-07-23 Simon Josefsson Use update-copyright intervals. 2013-07-23 Simon Josefsson Add update-copyright gnulib module. 2013-07-23 Simon Josefsson Ignore more. 2013-07-23 Simon Josefsson Update gnulib files. 2013-07-23 Simon Josefsson Work around automake problem. 2012-08-08 Simon Josefsson Add another self-test. 2012-03-07 Simon Josefsson Ignore more. 2011-11-20 Simon Josefsson Update gnulib files. 2011-11-13 Simon Josefsson Bump versions. 2011-11-13 Simon Josefsson Update gnulib files. 2011-09-28 Simon Josefsson Update for 0.8. 2011-09-28 Simon Josefsson Update for 0.6. 2011-09-28 Simon Josefsson Ignore more. 2011-09-28 Simon Josefsson Version 0.8. 2011-09-28 Simon Josefsson Bump version. 2011-09-28 Simon Josefsson Enable warnings for src/ and fix some issues. 2011-09-28 Simon Josefsson Update gnulib files. Add manywarnings module to src/. 2011-08-11 Simon Josefsson Version 0.7. 2011-08-11 Simon Josefsson Ignore idn2_cmd.h header file too. 2011-08-11 Simon Josefsson Update gnulib files in src/. 2011-08-11 Simon Josefsson Update gnulib files. Add strchrnul and strverscmp modules. Reported by Ray Satiro . 2011-08-11 Simon Josefsson Update gnulib files. 2011-05-25 Simon Josefsson Version 0.6. 2011-05-25 Simon Josefsson Update gnulib files. 2011-05-25 Simon Josefsson Bump versions. 2011-05-25 Simon Josefsson tests: Use -no-install instead of -static to fix --disable-static. Reported by Robert Scheck . 2011-05-25 Simon Josefsson Add linenumbers to IdnaTest.inc. 2011-05-19 Simon Josefsson Doc fix. 2011-05-18 Simon Josefsson Add. 2011-05-18 Simon Josefsson Version 0.5. 2011-05-18 Simon Josefsson Describe valgrind change. 2011-05-18 Simon Josefsson Update gnulib files. 2011-05-18 Simon Josefsson Disable valgrind by default for users. 2011-05-18 Simon Josefsson Fix NFC check to compare entire strings. Some non-NFC strings were permitted when they should have been rejected. Reported by Robert Scheck . 2011-05-09 Simon Josefsson Update gnulib files. 2011-05-08 Simon Josefsson Bump versions. 2011-05-08 Simon Josefsson Add gnupload module. 2011-05-08 Simon Josefsson Handle if ChangeLog is already commited. 2011-05-06 Simon Josefsson Fix release target. 2011-05-06 Simon Josefsson Version 0.4. 2011-05-06 Simon Josefsson Rewrite release target. 2011-05-06 Simon Josefsson Add. 2011-05-06 Simon Josefsson Use modern libtool calls. 2011-05-06 Simon Josefsson Add license. 2011-05-06 Simon Josefsson Prepare for GNU upload more. 2011-05-06 Simon Josefsson Doc fix for return codes. 2011-05-06 Simon Josefsson Prepare for upload to GNU. 2011-05-05 Simon Josefsson Update gnulib files. Add clang rules. 2011-05-05 Simon Josefsson tests: Added several new Arabic test vectors. 2011-05-05 Simon Josefsson libidn2: Fix domain name maximum size issue. 2011-05-05 Simon Josefsson Documentation clarification of IDN2_DOMAIN_MAX_LENGTH. 2011-05-05 Simon Josefsson Fix return codes for overlong ASCII labels/domains. 2011-05-05 Simon Josefsson Only check ASCII labels for max length. Note that non-ASCII labels are checked implicitely by punycode_encode() and will yield IDN2_PUNYCODE_BIG_OUTPUT. 2011-05-05 Simon Josefsson Test some corner cases. 2011-05-05 Simon Josefsson Drop errorenous max domain length check applied to UTF-8 encoded values. 2011-04-20 Simon Josefsson Bump versions. 2011-04-20 Simon Josefsson Version 0.3. 2011-04-20 Simon Josefsson Add texinfo manual and man pages. 2011-04-19 Simon Josefsson Add examples. 2011-04-19 Simon Josefsson Add. 2011-04-11 Simon Josefsson Update gnulib files. Fix syntax-check warning. 2011-03-31 Simon Josefsson Reduce code duplication. 2011-03-31 Simon Josefsson Add. 2011-03-31 Simon Josefsson Add U+19DA test vector. 2011-03-30 Simon Josefsson Bump version. 2011-03-30 Simon Josefsson Dist more. 2011-03-30 Simon Josefsson Bump versions. 2011-03-30 Simon Josefsson Fix release target. 2011-03-30 Simon Josefsson Version 0.2. 2011-03-30 Simon Josefsson Fix. 2011-03-30 Simon Josefsson Indent. 2011-03-30 Simon Josefsson Add command line tool. 2011-03-30 Simon Josefsson Workaround genhtml bugs. 2011-03-30 Simon Josefsson Update gnulib files. 2011-03-29 Simon Josefsson Improve utc tests. 2011-03-29 Simon Josefsson Drop UTC's test vectors. 2011-03-29 Simon Josefsson Fix UTC tests. 2011-03-29 Simon Josefsson Hack it. 2011-03-29 Simon Josefsson Add UTC test vectors. 2011-03-29 Simon Josefsson Bump versions. 2011-03-29 Simon Josefsson Version 0.1. 2011-03-29 Simon Josefsson Add test vectors. 2011-03-29 Simon Josefsson Fix U+200C. 2011-03-29 Simon Josefsson Use valgrind. 2011-03-29 Simon Josefsson Namespace fixes for gtk-doc. 2011-03-28 Simon Josefsson Doc fixes. 2011-03-28 Simon Josefsson Doc fix. 2011-03-28 Simon Josefsson Warning cleanup. 2011-03-28 Simon Josefsson More warnings. 2011-03-28 Simon Josefsson Fix warning. 2011-03-28 Simon Josefsson Use visibility. 2011-03-28 Simon Josefsson Update gnulib files. 2011-03-28 Simon Josefsson C++ fix. 2011-03-28 Simon Josefsson Fix cludge. 2011-03-28 Simon Josefsson Doc fix. 2011-03-28 Simon Josefsson Register test vectors. 2011-03-28 Simon Josefsson More register. 2011-03-28 Simon Josefsson More register. 2011-03-28 Simon Josefsson More register. 2011-03-28 Simon Josefsson More register. 2011-03-28 Simon Josefsson More register. 2011-03-28 Simon Josefsson Add backup rule. 2011-03-28 Simon Josefsson Generalize. 2011-03-28 Simon Josefsson Fix. 2011-03-28 Simon Josefsson Simplify what. 2011-03-28 Simon Josefsson Revamp ascii. 2011-03-28 Simon Josefsson Revamp allocation. 2011-03-27 Simon Josefsson Rewrite lookup. 2011-03-27 Simon Josefsson Drop getopt stuff. 2011-03-27 Simon Josefsson Fix comment. 2011-03-27 Simon Josefsson Add constants. 2011-03-27 Simon Josefsson Add data.c, for offline work. 2011-03-27 Simon Josefsson Build static to make valgrind produce useful output. 2011-03-27 Simon Josefsson Constify. 2011-03-22 Simon Josefsson Fix tests. 2011-03-22 Simon Josefsson Drop striconv stuff. 2011-03-22 Simon Josefsson Remove unused gnulib module. 2011-03-22 Simon Josefsson Ignore more. 2011-03-22 Simon Josefsson Fix U+200C rule. 2011-03-22 Simon Josefsson Add. 2011-03-22 Simon Josefsson Add joiningtype gnulib module. 2011-03-20 Simon Josefsson Parts of U+200C rule. 2011-03-20 Simon Josefsson More self tests. 2011-03-19 Simon Josefsson doc fix 2011-03-19 Simon Josefsson fix 2011-03-19 Simon Josefsson Add more. 2011-03-19 Simon Josefsson Ignore more. 2011-03-19 Simon Josefsson Fix U+200D contet rule. Fix combining mark bug. 2011-03-09 Simon Josefsson Bump version. 2011-03-09 Simon Josefsson Fix release target. 2011-03-09 Simon Josefsson No .clcopying. 2011-03-09 Simon Josefsson Update gtk-doc files. 2011-03-09 Simon Josefsson Fix. 2011-03-09 Simon Josefsson Fix version. 2011-03-09 Simon Josefsson Version 0.0. 2011-03-09 Simon Josefsson Add. 2011-03-09 Simon Josefsson Hard code version for now. 2011-03-08 Simon Josefsson Version fix. 2011-03-08 Simon Josefsson Version fixes. 2011-03-08 Simon Josefsson Add. 2011-03-08 Simon Josefsson Fix name. 2011-03-08 Simon Josefsson Fix. 2011-03-08 Simon Josefsson Fix. 2011-03-08 Simon Josefsson Reorder. 2011-03-08 Simon Josefsson Split up. 2011-03-08 Simon Josefsson Improve errors. 2011-03-08 Simon Josefsson Reorder. 2011-03-07 Simon Josefsson Simplify. 2011-03-07 Simon Josefsson Add FIXME. 2011-03-07 Simon Josefsson Add nl_langinfo replacement. 2011-03-07 Simon Josefsson Add striconv. 2011-03-07 Simon Josefsson Doc fix. 2011-03-07 Simon Josefsson Fix errcodes. 2011-03-07 Simon Josefsson Fix version. 2011-03-07 Simon Josefsson Fix version. 2011-03-07 Simon Josefsson Ignore more. 2011-03-07 Simon Josefsson Revamp punycode. 2011-03-07 Simon Josefsson Doc fix. 2011-03-07 Simon Josefsson Doc fix. 2011-03-07 Simon Josefsson Add gtk-doc. 2011-03-07 Simon Josefsson Header cleanup. 2011-03-07 Simon Josefsson Reorder. 2011-03-07 Simon Josefsson Error handling. 2011-03-07 Simon Josefsson Internalize punycode too. 2011-03-07 Simon Josefsson Update. 2011-03-07 Simon Josefsson Move gnulib to gl/. 2011-03-07 Simon Josefsson Move self-tests to tests/. 2011-03-07 Simon Josefsson Internalize some interfaces. 2011-03-07 Simon Josefsson Improve self checks. 2011-03-02 Simon Josefsson Fix. 2011-03-02 Simon Josefsson Improve self-test. 2011-03-02 Simon Josefsson Add. 2011-03-02 Simon Josefsson Add more. 2011-03-02 Simon Josefsson Cleanup self-tests. 2011-03-02 Simon Josefsson Ignore more. 2011-03-02 Simon Josefsson Add strerror functions. 2011-03-02 Simon Josefsson Fix some syntax-check bugs. 2011-03-02 Simon Josefsson Ignore gnulib files. 2011-03-01 Simon Josefsson Update gnulib files. 2011-02-28 Simon Josefsson Update gnulib files. 2011-02-28 Simon Josefsson Relicense under GPLv3+. 2011-02-24 Simon Josefsson Handle empty strings. 2011-02-24 Simon Josefsson Add. 2011-02-24 Simon Josefsson Add. 2011-02-24 Simon Josefsson Add. 2011-02-24 Simon Josefsson New. 2011-02-24 Simon Josefsson Fix off by one bug. 2011-02-24 Simon Josefsson Fix. 2011-02-23 Simon Josefsson Fix. 2011-02-23 Simon Josefsson Add. 2011-02-23 Simon Josefsson Update. 2011-02-23 Simon Josefsson Commit old stuff. 2011-01-30 Simon Josefsson Rename APIs. 2011-01-30 Simon Josefsson Stick at Unicode 5.2 files. 2011-01-30 Simon Josefsson More testing. 2011-01-25 Simon Josefsson Fixup punycode. 2011-01-25 Simon Josefsson Revamp punycode implementation. 2011-01-13 Simon Josefsson Simplistic ace. 2011-01-11 Simon Josefsson Fix output. 2011-01-11 Simon Josefsson Rename. 2011-01-11 Simon Josefsson Fix. 2011-01-11 Simon Josefsson Rename from libidna to libidn2. 2011-01-09 Simon Josefsson Goodnight. 2011-01-09 Simon Josefsson Add u8-from-locale. 2011-01-09 Simon Josefsson Add hyphen-startend. 2011-01-09 Simon Josefsson Update. 2011-01-09 Simon Josefsson Update bidi. 2011-01-09 Simon Josefsson Fix warning. 2011-01-09 Simon Josefsson Update libunistring to 5.2.0. 2011-01-09 Simon Josefsson Improve bidi. 2011-01-09 Simon Josefsson Add bidi functions. 2011-01-09 Simon Josefsson Bidi template. 2011-01-09 Simon Josefsson Unassigned. 2011-01-09 Simon Josefsson Update. 2011-01-09 Simon Josefsson contexto-has-rule. 2011-01-08 Simon Josefsson Add. 2011-01-08 Simon Josefsson Update. 2011-01-08 Simon Josefsson Fix. 2011-01-08 Simon Josefsson Add. 2011-01-08 Simon Josefsson Update. 2011-01-08 Simon Josefsson Fixes. 2011-01-08 Simon Josefsson Fixes. 2011-01-08 Simon Josefsson Add context rule template. 2011-01-08 Simon Josefsson Fix first bug. 2011-01-08 Simon Josefsson Improve. 2011-01-08 Simon Josefsson Improve. 2011-01-08 Simon Josefsson Add contextj. 2011-01-08 Simon Josefsson Dist tables.h. 2011-01-08 Simon Josefsson Drop NFC api. 2011-01-06 Simon Josefsson Add. 2011-01-06 Simon Josefsson Add. 2011-01-06 Simon Josefsson Terminate array. 2011-01-05 Simon Josefsson LGPLv3+ 2011-01-05 Simon Josefsson Add test vectors. 2011-01-05 Simon Josefsson Add. 2011-01-05 Simon Josefsson Update. 2011-01-05 Simon Josefsson Use uint32 internally. 2011-01-05 Simon Josefsson Fix. 2011-01-05 Simon Josefsson Add. 2011-01-05 Simon Josefsson Add. 2011-01-05 Simon Josefsson Add. 2011-01-05 Simon Josefsson Add. 2011-01-05 Simon Josefsson Add. 2011-01-05 Simon Josefsson Update. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Fix. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Fix. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Fix. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson More. 2011-01-04 Simon Josefsson Update. 2011-01-04 Simon Josefsson Update. 2011-01-04 Simon Josefsson Update. 2011-01-04 Simon Josefsson Fix. 2011-01-04 Simon Josefsson Add NFC module. 2011-01-04 Simon Josefsson Update. 2011-01-04 Simon Josefsson Typo. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Fix range. 2011-01-04 Simon Josefsson Update. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Update. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Update. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Add. 2011-01-04 Simon Josefsson Add.