* idn: Don't crash when string conversion from UTF-8 to locale fails.
* java: Fix build failures.
* java: TestIDNA -a and -u logic was reversed, now fixed.
* API and ABI is backwards compatible with the previous version.
* Version 1.27 (released 2013-06-05) [stable]
** Java library can be built using Maven. Speed improvements.
Thanks to several patches from Stefan Larsson. Testing indicate 70-90
times faster node/name/resource-prep.
** Update gnulib files and translations.
** API and ABI is backwards compatible with the previous version.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
* Version 1.26 (released 2012-12-11) [stable]
** libidn, idna_to_ascii: Propagate error on malloc failure.
Reported by Sarat Chandra Addepalli <s.addepalli@samsung.com>.
** libidn, tld_get_4: Fix out of bounds read access violation.
** i18n: Added Croatian translation. Updated Vietnamese translation.
Thanks to Tomislav Krznar and Trần Ngọc Quân.
** java: Permit usage by Apache projects.
Thanks to Oliver Hitz and Angus Turner.
** tests: Improve tld self-tests.
** API and ABI is backwards compatible with the previous version.
* Version 1.25 (released 2012-05-23) [stable]
** MSVC: Build fixes related to _GL_ATTRIBUTE_CONST and _GL_ATTRIBUTE_PURE.
Reported by Bartosz Brachaczek <b.brachaczek@gmail.com>.
** examples: Fix compiler warning about ignoring return value from fgets.
** tests: Ship with a valgrind suppressions file for the strlen issue.
See tests/libidn.supp and bottom of HACKING for discussion.
** Update gnulib files and translations.
** API and ABI is backwards compatible with the previous version.
* Libraries are re-licensed from LGPLv2+ to dual-GPLv2+|LGPLv3+.
* build: Fix parallel Windows builds.
* libidn: Fix potential infloop in pr29 code.
* libidn: Add 'const' keyword to 'stringprep_ucs4_nfkc_normalize' function.
* Sync glib NFKC code and improve copyright/license statements.
* Update gnulib files and translations.
* API and ABI is backwards compatible with the previous version.
* Version 1.23 (released 2011-11-25) [stable]
** stringprep.h: Now #include's sys/types.h instead of unistd.h for ssize_t.
Some systems (e.g., Mingw with MSVC 9) does not have unistd.h.
** idn-free.h: Protect prototypes with 'extern "C"' marker.
Reported by Bittner Ede <bittner.ede@euronetrt.hu>.
** doc: Update link to experimental TLD tables.
The new link is <https://github.com/gnuthor/tldchk>.
** Update gnulib files and translations.
** QA: Improved cyclo output. Update GTK-DOC files. Various bugfixes.
** API and ABI is backwards compatible with the previous version.
* Add -liconv as static library requirement in libidn.pc, for MinGW.
* Fix memory leak in idna_to_ascii_4z when idna_to_ascii_4i fails.
* Ran clang-analyze on the code. Fixed some dead assignments/initializations.
* Really distribute win32/libidn4win.mk.
* API and ABI is backwards compatible with the previous version.
* Version 1.21 (released 2011-04-24) [stable]
** build/gettext: Demand gettext >= 0.18.1 in order to get newer M4 files.
The old M4 files associated with 0.17 caused problems on Solaris,
hopefully now fixed. Reported by Dagobert Michelsen <dam@opencsw.org>
in <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/25522>.
** build: Improve MinGW cross-compile makefile, see win32/libidn4win.mk.
** build: Visual Studio files fixed to define LIBIDN_BUILDING.
Tiny patch from Waqas Hussain <waqas20@gmail.com>.
** API and ABI is backwards compatible with the previous version.
* Version 1.20 (released 2011-03-01) [?]
** libidn: Fix bug in ToUnicode to compare 'xn--' case-insensitively.
The problem is typically noticed when an upper ACE case string is
converted to Unicode. Before, this would return the input rather than
converting the ACE form to Unicode. Reported by Stepan Golosunov
<stepan@golosunov.pp.ru> in <http://bugs.debian.org/610617>.
** tests: Added self-test tst_idna3 to catch any regression of problem above.
** idn: Only print copyright and license blurb when used interactively.
Reported by "Andrew O. Shadoura" <bugzilla@tut.by> and Roman Mamedov
<rm@romanrm.ru> in <http://bugs.debian.org/615947> and
<http://bugs.debian.org/615949> respectively.
** Update gnulib files and translations.
** API and ABI is backwards compatible with the previous version.
* Version 1.19 (released 2010-05-22) [stable]
** doc: Typo fixes. Added PDF version of API reference manual.
See doc/reference/libidn.pdf.
** build: Update gnulib files.
** build: Use valgrind -q to reduce verbosity.
** API and ABI is backwards compatible with the previous version.
* Version 1.18 (released 2010-02-15) [stable]
** libidn: Put forgotten symbols under old namespace.
Reverts one unnecessary change introduced in 1.17. Suggested by Marco
d'Itri <md@linux.it>.
* Version 1.17 (released 2010-02-05)
** Fix symbol export problem for a few variables.
Applications (that use these rarely used variables) built against
versions before 1.13 did not work with libidn versions 1.13 to 1.16.
Symbol versioning was introduced in version 1.13 but by accident some
symbols that were visible before that release were not exported, and
the consequence was that those symbols were not available in version
1.13 to 1.16. This release fixes the problem, so the symbols are
visible again, making this release backwards compatible with all
earlier releases.
The affected symbols are the following variables:
stringprep_iscsi_prohibit, stringprep_rfc3454_A_1,
stringprep_rfc3454_B_1, stringprep_rfc3454_B_2,
stringprep_rfc3454_B_3, stringprep_rfc3454_C_1_1,
stringprep_rfc3454_C_1_2, stringprep_rfc3454_C_2_1,
stringprep_rfc3454_C_2_2, stringprep_rfc3454_C_3,
stringprep_rfc3454_C_4, stringprep_rfc3454_C_5,
stringprep_rfc3454_C_6, stringprep_rfc3454_C_7,
stringprep_rfc3454_C_8, stringprep_rfc3454_C_9,
stringprep_rfc3454_D_1, stringprep_rfc3454_D_2,
stringprep_saslprep_space_map.
Thanks to Marco d'Itri <md@linux.it> for reporting
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561291> that led to
discovering this problem.
** Really fix the link error of self-tests on MinGW.
** API and ABI is backwards compatible with the previous version.
** java: Add a Maven pom.xml project file.
Contributed by Guus der Kinderen <guus.der.kinderen@gmail.com>.
** Fix a link error on MinGW.
** API and ABI is backwards compatible with the previous version.
* Version 1.15 (released 2009-06-08)
** libidn: Use c_strcasecmp instead of strcasecmp.
For portability to NetWare CLIB. The specification requires a ASCII
comparison, so it is also more appropriate to use c_strcasecmp.
Reported by Guenter Knauf <gk@gknw.de>.
** java: Fix some Java compiler warnings.
** doc: Improved sections for the info manual.
We now follow the advice given by the texinfo manual on which
directory categories to use. In particular, libidn moved from the
'GNU Libraries' section to the 'Software libraries' and 'Invoking idn'
moved from 'GNU utilities' to 'Localization'.
** New configure parameters to set packaging specific information.
The parameters are --with-packager, --with-packager-version, and
--with-packager-bug-reports. See
<http://article.gmane.org/gmane.comp.lib.gnulib.bugs/17791> for more
details.
** API and ABI is backwards compatible with the previous version.
Building with texinfo 4.1 causes build errors mentioning unknown commands
"copying" (according to texinfo NEWS file introduced in texinfo 4.2) and
"ordf" (NEWS tells us texinfo 4.7) before killing the build.
* Version 1.14 (released 2009-04-03)
** libidn: Install a libidn-*.def file when building under MinGW.
The file is useful if you develop programs in Visual Studio that links
to libidn.
** tests/tst_toutf8: Don't crash if stringprep_utf8_to_locale returns NULL.
Reported by Dagobert Michelsen <dam@opencsw.org> in
<http://thread.gmane.org/gmane.comp.gnu.libidn.general/192>.
** API and ABI is backwards compatible with the previous version.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
* Version 1.13 (released 2009-03-06)
** libidn: Use a LD version script on platforms where it is supported.
Currently only GNU LD and the Solaris linker supports it. This helps
Debian package tools to produce better dependencies. Before we used
Libtool -export-symbols-regex that created an anonymous version tag.
Libidn uses -export-symbols-regex if the system does not support LD
version scripts, but that only affect symbol visibility.
** libidn: Compiled with -fvisibility=hidden by default if supported.
Currently only GCC supports it for ELF targets. This hides internal
symbols and has other advantages, see
<http://gcc.gnu.org/wiki/Visibility>.
** libidn: Compiled with warning flags only when GCC is used.
This avoids the problem that some flags confuse non-GCC compilers, for
example -fdiagnostics-show-option. Reported by
jens.rehsack@bayerbbs.com.
** doc: The idn_free function is now documented.
Suggested by "Sisyphus" <sisyphus1@optusnet.com.au>.
** API and ABI is backwards compatible with the previous version.
* Version 1.12 (released 2009-01-23)
** idn: New parameter --no-tld to deprecate the old parameter --tld.
The new parameter --no-tld disable TLD checking of the input string.
The --tld parameter was broken; it behaved opposite to its documented
behaviour. To avoid confusion over what --tld means, we decided to
deprecate it. Now --tld is not printed in the idn --help output, but
will continue to work as before.
** doc: Modernize doxygen configuration.
** doc: Change license on the manual to GFDLv1.3+.
** doc: Improve JavaDoc output.
** Update gnulib files and translations.
** Build with more warnings.
* Version 1.11 (released 2008-10-28)
** libidn: New WARN_CFLAGS configure variable.
It is used internally to add -Werror and other warnings flags, to
catch coding mistakes before releases.
** Win32: Perl is no longer required to build Libidn in Visual Studio.
** Win32: Functions in idna.h are also exported.
Reported by Adam Strzelecki <adam.strzelecki@java.pl>.
** doc: Included cyclomatic code complexity charts of the library code.
See doc/cyclo/.
** tests: Add more self-tests to get more self-test code coverage.
** tests: New 'make coverage' command to generate code coverage reports.
The output is created in doc/coverage/. Requires the LCOV tools. See
http://www.gnu.org/software/libidn/coverage/ for a pre-generated copy.
** Clarify copyright and license for gdoc, man pages, and C# port.
** Update gnulib files and translations.
** API and ABI is backwards compatible with the previous version.
* Version 1.10 (released 2008-08-27)
** idn: accept -n as short form for --nfkc.
Before '-k' was used as the short form, but all documentation has said
'-n'. We now accept both short forms, and -n remains the documented
short form. Reported by John McGowan <jmcgowan@inch.com> in
<http://lists.gnu.org/archive/html/help-libidn/2008-08/msg00000.html>.
** Fix compiler warnings.
** Update gnulib files.
** Update translations.
** API and ABI is backwards compatible with the previous version.
* Version 1.8 (released 2008-04-23)
** Translations files not stored directly in git to avoid merge conflicts.
This allows us to avoid use of --no-location which makes the
translation teams happier.
** Update gnulib files.
** API and ABI is backwards compatible with the previous version.
* Version 1.7 (released 2008-04-10)
** idn: new parameter --nfkc to process string with Unicode v3.2 NFKC.
** Minor build fix for native Win32 builds.
** Update gnulib files.
** API and ABI is backwards compatible with the previous version.
** Don't include wchar.h in idn-int.h.
Fixes problems on uClibc systems which lack a wchar.h. Reported by
Mike Frysinger <vapier@gentoo.org>, see
<http://thread.gmane.org/gmane.comp.gnu.libidn.general/118>.
** Added appendix 'On Label Separators' to the manual.
Thanks to Erik van der Poel <erikv@google.com> for bringing the issue
to our attention and for discussing the matter. See
<http://thread.gmane.org/gmane.comp.gnu.libidn.general/96>.
** Improved rendering of non-ASCII in the info manual.
Done by adding a @documentencoding UTF-8. This affect how the
examples are encoded, the files examples/*.c are now encoded using
UTF-8 instead of a mix of ISO-8859-1 and ISO-8859-15.
** Fix non-portable use of brace expansion in makefiles.
** Update translations.
** Update gnulib files.
** API and ABI is backwards compatible with the previous version.
* Version 1.4 (released 2008-01-09)
** Fixes to make the C# port compile under Mono.
** Update gnulib files.
** Improve idn --version and --help output to conform to GNU standards.
This also enables translations of --help output.
** Update translations.
Added Finish translation, thanks to Jorma Karvonen. Updated Dutch and
Vietnamese.
** API and ABI is backwards compatible with the previous version.
* Version 1.3 (released 2007-12-11)
** Some hints on Windows installation in the manual.
** Update translations.
Added Czech translation, thanks to Petr Pisar.
** Use gettext 0.17.
** Update gnulib files.
Top-level gnulib files are now distributed under GPLv3+. (The gnulib
files used by the core library are still under LGPLv2.1+.)
** API and ABI is backwards compatible with the previous version.
* Version 1.2 (released 2007-10-01)
** Development git tree moved to savannah.
See <https://savannah.gnu.org/projects/libidn/>.
** Update gnulib files.
Including mono detection fixes.
** Update translations.
** API and ABI is backwards compatible with the previous version.
* Version 1.1 (released 2007-09-01)
** Fix compilation error in idn-int.h.
The error would typically be 'error: no include path in which to
search for stdint.h'. Reported by Remko van der Vossen
<wich@stack.nl>, see
<http://thread.gmane.org/gmane.comp.gnu.libidn.general/65> and
<http://bugs.sourcemage.org/show_bug.cgi?id=13857>.
** Declare external variables with __declspec(import) for Windows.
Apparently this is required for variables in DLL's on Windows. This
is enabled if __DECLSPEC_SUPPORTED is defined (MinGW), or if _MSC_VER
and_DLL is defined (MSVC).
** Update gnulib files.
** Update translations.
** API and ABI is backwards compatible with the previous version.
* Version 1.0 (released 2007-07-31)
** Command-line tools, examples, etc are now licensed under GPL version 3.
The library is still licensed under LGPL v2.1 for compatibility
reasons (it is included in glibc).
** Updated documentation as per license change.
** Update gnulib files.
** Update translations.
** API and ABI is backwards compatible with the previous version.
* Version 0.6.14 (released 2007-05-31)
** Libidn is now developed using Git instead of CVS.
A public git mirror is available from
<http://repo.or.cz/w/libidn.git>. If you have pulled from this
repository before this release, you need to erase your clone because
it has been re-generated from scratch.
** API and ABI is backwards compatible with the previous version.
* Version 0.6.13 (released 2007-05-31)
** Documentation fixes.
Clarify that the C# and Java libraries are licensed under the LGPL.
Earlier, some places incorrectly said that these were licensed under
the GPL. If you encounter other places that still suggest that GPL
applies to the C# and Java library, please let me know.
** Updated Polish and Vietnamese translations.
Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Clytie Siddall
<clytie@riverland.net.au>.
** Install images for the manual in $infodir.
This fixes the broken image in the info manual. Image files will be
called libidn-*.png to avoid namespace collisions with images from
other info manuals.
** Update gnulib files.
** API and ABI is backwards compatible with the previous version.
* Version 0.6.12 (released 2007-04-25)
** Use AM_JAVACFLAGS instead of JAVACFLAGS in java/misc/Makefile.am.
Reported by Petteri Räty
** Update gnulib files.
** API and ABI is backwards compatible with the previous version.
* Version 0.6.11 (released 2007-03-13)
** Update of the C# Libidn port, by Alexander Gnauck.
The code has been refactored and the namespace has been modified to
comply with .NET naming conventions. An IDNA bug was fixed.
** Update gnulib files.
We now use the "striconv" module instead of the "iconvme", which
causes a slight increase of code size (from 303kb to 319kb with
debugging symbols on i386). The reason is the use of a new locale
independent strcasecmp, which may cause faster operation in some
locales where, e.g., "ASCII" and "ascii" are not treated as the same.
** API and ABI is backwards compatible with the previous version.
* Version 0.6.10 (released 2007-01-04)
** Corrected year in copyright notices.
** Update gnulib files.
Including the code to convert strings between different encodings
(noted in case this introduces problems).
** API and ABI is backwards compatible with the previous version.