1 Libidn NEWS -- History of user-visible changes. -*- outline -*-
2 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson
3 See the end for copying conditions.
5 * Version 1.15 (released 2009-06-08)
7 ** libidn: Use c_strcasecmp instead of strcasecmp.
8 For portability to NetWare CLIB. The specification requires a ASCII
9 comparison, so it is also more appropriate to use c_strcasecmp.
10 Reported by Guenter Knauf <gk@gknw.de>.
12 ** java: Fix some Java compiler warnings.
14 ** doc: Improved sections for the info manual.
15 We now follow the advice given by the texinfo manual on which
16 directory categories to use. In particular, libidn moved from the
17 'GNU Libraries' section to the 'Software libraries' and 'Invoking idn'
18 moved from 'GNU utilities' to 'Localization'.
20 ** New configure parameters to set packaging specific information.
21 The parameters are --with-packager, --with-packager-version, and
22 --with-packager-bug-reports. See
23 <http://article.gmane.org/gmane.comp.lib.gnulib.bugs/17791> for more
26 ** API and ABI is backwards compatible with the previous version.
28 * Version 1.14 (released 2009-04-03)
30 ** libidn: Install a libidn-*.def file when building under MinGW.
31 The file is useful if you develop programs in Visual Studio that links
34 ** tests/tst_toutf8: Don't crash if stringprep_utf8_to_locale returns NULL.
35 Reported by Dagobert Michelsen <dam@opencsw.org> in
36 <http://thread.gmane.org/gmane.comp.gnu.libidn.general/192>.
38 ** API and ABI is backwards compatible with the previous version.
40 * Version 1.13 (released 2009-03-06)
42 ** libidn: Use a LD version script on platforms where it is supported.
43 Currently only GNU LD and the Solaris linker supports it. This helps
44 Debian package tools to produce better dependencies. Before we used
45 Libtool -export-symbols-regex that created an anonymous version tag.
46 Libidn uses -export-symbols-regex if the system does not support LD
47 version scripts, but that only affect symbol visibility.
49 ** libidn: Compiled with -fvisibility=hidden by default if supported.
50 Currently only GCC supports it for ELF targets. This hides internal
51 symbols and has other advantages, see
52 <http://gcc.gnu.org/wiki/Visibility>.
54 ** libidn: Compiled with warning flags only when GCC is used.
55 This avoids the problem that some flags confuse non-GCC compilers, for
56 example -fdiagnostics-show-option. Reported by
57 jens.rehsack@bayerbbs.com.
59 ** doc: The idn_free function is now documented.
60 Suggested by "Sisyphus" <sisyphus1@optusnet.com.au>.
62 ** API and ABI is backwards compatible with the previous version.
64 * Version 1.12 (released 2009-01-23)
66 ** idn: New parameter --no-tld to deprecate the old parameter --tld.
67 The new parameter --no-tld disable TLD checking of the input string.
68 The --tld parameter was broken; it behaved opposite to its documented
69 behaviour. To avoid confusion over what --tld means, we decided to
70 deprecate it. Now --tld is not printed in the idn --help output, but
71 will continue to work as before.
73 ** doc: Modernize doxygen configuration.
75 ** doc: Change license on the manual to GFDLv1.3+.
77 ** doc: Improve JavaDoc output.
79 ** Update gnulib files and translations.
81 ** Build with more warnings.
83 ** API and ABI is backwards compatible with the previous version.
85 * Version 1.11 (released 2008-10-28)
87 ** libidn: New WARN_CFLAGS configure variable.
88 It is used internally to add -Werror and other warnings flags, to
89 catch coding mistakes before releases.
91 ** Win32: Perl is no longer required to build Libidn in Visual Studio.
93 ** Win32: Functions in idna.h are also exported.
94 Reported by Adam Strzelecki <adam.strzelecki@java.pl>.
96 ** doc: Included cyclomatic code complexity charts of the library code.
99 ** tests: Add more self-tests to get more self-test code coverage.
101 ** tests: New 'make coverage' command to generate code coverage reports.
102 The output is created in doc/coverage/. Requires the LCOV tools. See
103 http://www.gnu.org/software/libidn/coverage/ for a pre-generated copy.
105 ** Clarify copyright and license for gdoc, man pages, and C# port.
107 ** Update gnulib files and translations.
109 ** API and ABI is backwards compatible with the previous version.
111 * Version 1.10 (released 2008-08-27)
113 ** idn: accept -n as short form for --nfkc.
114 Before '-k' was used as the short form, but all documentation has said
115 '-n'. We now accept both short forms, and -n remains the documented
116 short form. Reported by John McGowan <jmcgowan@inch.com> in
117 <http://lists.gnu.org/archive/html/help-libidn/2008-08/msg00000.html>.
119 ** Fix compiler warnings.
121 ** Update gnulib files.
123 ** Update translations.
125 ** API and ABI is backwards compatible with the previous version.
127 * Version 1.9 (released 2008-07-01)
129 ** idn: fix error message when NFKC fails, and some other translation fixes.
130 Reported by Benno Schulenberg <coordinator@translationproject.org>.
132 ** C# Libidn.dll: Work around bug that cause a failure during C# compilation.
133 See <https://bugzilla.novell.com/show_bug.cgi?id=372483>.
135 ** Remove more non-free text from doc/specifications/rfc3454.txt.
136 The remaining data tables are not copyrightable.
138 ** Update gnulib files, and include gnulib self-tests.
140 ** Update translations.
142 ** API and ABI is backwards compatible with the previous version.
144 * Version 1.8 (released 2008-04-23)
146 ** Translations files not stored directly in git to avoid merge conflicts.
147 This allows us to avoid use of --no-location which makes the
148 translation teams happier.
150 ** Update gnulib files.
152 ** API and ABI is backwards compatible with the previous version.
154 * Version 1.7 (released 2008-04-10)
156 ** idn: new parameter --nfkc to process string with Unicode v3.2 NFKC.
158 ** Minor build fix for native Win32 builds.
160 ** Update gnulib files.
162 ** API and ABI is backwards compatible with the previous version.
164 * Version 1.6 (released 2008-03-19)
166 ** Add native Windows Visual Studio project files.
167 Contributed by Adam Strzelecki <ono@java.pl>.
169 ** Remove non-free portions of RFC 3454 in doc/specifications/rfc3454.txt.
171 ** Update gnulib files.
173 ** Doc fixes in IDNA to clarify that some functions operate on
174 ** just one domain labels and some operate on domain name (which
175 ** can contain several domain labels).
177 ** API and ABI is backwards compatible with the previous version.
179 * Version 1.5 (released 2008-02-19)
181 ** Don't include wchar.h in idn-int.h.
182 Fixes problems on uClibc systems which lack a wchar.h. Reported by
183 Mike Frysinger <vapier@gentoo.org>, see
184 <http://thread.gmane.org/gmane.comp.gnu.libidn.general/118>.
186 ** Added appendix 'On Label Separators' to the manual.
187 Thanks to Erik van der Poel <erikv@google.com> for bringing the issue
188 to our attention and for discussing the matter. See
189 <http://thread.gmane.org/gmane.comp.gnu.libidn.general/96>.
191 ** Improved rendering of non-ASCII in the info manual.
192 Done by adding a @documentencoding UTF-8. This affect how the
193 examples are encoded, the files examples/*.c are now encoded using
194 UTF-8 instead of a mix of ISO-8859-1 and ISO-8859-15.
196 ** Fix non-portable use of brace expansion in makefiles.
198 ** Update translations.
200 ** Update gnulib files.
202 ** API and ABI is backwards compatible with the previous version.
204 * Version 1.4 (released 2008-01-09)
206 ** Fixes to make the C# port compile under Mono.
208 ** Update gnulib files.
210 ** Improve idn --version and --help output to conform to GNU standards.
211 This also enables translations of --help output.
213 ** Update translations.
214 Added Finish translation, thanks to Jorma Karvonen. Updated Dutch and
217 ** API and ABI is backwards compatible with the previous version.
219 * Version 1.3 (released 2007-12-11)
221 ** Some hints on Windows installation in the manual.
223 ** Update translations.
224 Added Czech translation, thanks to Petr Pisar.
228 ** Update gnulib files.
229 Top-level gnulib files are now distributed under GPLv3+. (The gnulib
230 files used by the core library are still under LGPLv2.1+.)
232 ** API and ABI is backwards compatible with the previous version.
234 * Version 1.2 (released 2007-10-01)
236 ** Development git tree moved to savannah.
237 See <https://savannah.gnu.org/projects/libidn/>.
239 ** Update gnulib files.
240 Including mono detection fixes.
242 ** Update translations.
244 ** API and ABI is backwards compatible with the previous version.
246 * Version 1.1 (released 2007-09-01)
248 ** Fix compilation error in idn-int.h.
249 The error would typically be 'error: no include path in which to
250 search for stdint.h'. Reported by Remko van der Vossen
252 <http://thread.gmane.org/gmane.comp.gnu.libidn.general/65> and
253 <http://bugs.sourcemage.org/show_bug.cgi?id=13857>.
255 ** Declare external variables with __declspec(import) for Windows.
256 Apparently this is required for variables in DLL's on Windows. This
257 is enabled if __DECLSPEC_SUPPORTED is defined (MinGW), or if _MSC_VER
258 and_DLL is defined (MSVC).
260 ** Update gnulib files.
262 ** Update translations.
264 ** API and ABI is backwards compatible with the previous version.
266 * Version 1.0 (released 2007-07-31)
268 ** Command-line tools, examples, etc are now licensed under GPL version 3.
269 The library is still licensed under LGPL v2.1 for compatibility
270 reasons (it is included in glibc).
272 ** Updated documentation as per license change.
274 ** Update gnulib files.
276 ** Update translations.
278 ** API and ABI is backwards compatible with the previous version.
280 * Version 0.6.14 (released 2007-05-31)
282 ** Libidn is now developed using Git instead of CVS.
283 A public git mirror is available from
284 <http://repo.or.cz/w/libidn.git>. If you have pulled from this
285 repository before this release, you need to erase your clone because
286 it has been re-generated from scratch.
288 ** API and ABI is backwards compatible with the previous version.
290 * Version 0.6.13 (released 2007-05-31)
292 ** Documentation fixes.
293 Clarify that the C# and Java libraries are licensed under the LGPL.
294 Earlier, some places incorrectly said that these were licensed under
295 the GPL. If you encounter other places that still suggest that GPL
296 applies to the C# and Java library, please let me know.
298 ** Updated Polish and Vietnamese translations.
299 Thanks to Jakub Bogusz <qboosh@pld-linux.org> and Clytie Siddall
300 <clytie@riverland.net.au>.
302 ** Install images for the manual in $infodir.
303 This fixes the broken image in the info manual. Image files will be
304 called libidn-*.png to avoid namespace collisions with images from
307 ** Update gnulib files.
309 ** API and ABI is backwards compatible with the previous version.
311 * Version 0.6.12 (released 2007-04-25)
313 ** Use AM_JAVACFLAGS instead of JAVACFLAGS in java/misc/Makefile.am.
314 Reported by Petteri Räty <betelgeuse@gentoo.org>.
316 ** Update gnulib files.
318 ** API and ABI is backwards compatible with the previous version.
320 * Version 0.6.11 (released 2007-03-13)
322 ** Update of the C# Libidn port, by Alexander Gnauck.
323 The code has been refactored and the namespace has been modified to
324 comply with .NET naming conventions. An IDNA bug was fixed.
326 ** Update gnulib files.
327 We now use the "striconv" module instead of the "iconvme", which
328 causes a slight increase of code size (from 303kb to 319kb with
329 debugging symbols on i386). The reason is the use of a new locale
330 independent strcasecmp, which may cause faster operation in some
331 locales where, e.g., "ASCII" and "ascii" are not treated as the same.
333 ** API and ABI is backwards compatible with the previous version.
335 * Version 0.6.10 (released 2007-01-04)
337 ** Corrected year in copyright notices.
339 ** Update gnulib files.
340 Including the code to convert strings between different encodings
341 (noted in case this introduces problems).
343 ** API and ABI is backwards compatible with the previous version.
345 * Version 0.6.9 (released 2006-11-30)
347 ** The Java code is fixed to properly translate any non-ASCII dot into '.'.
348 Reported and fixed by "Stephane Mikaty" <mikaty@ecircle-ag.com>.
350 ** Update gnulib files.
352 ** Bump tool versions to autoconf 2.61, automake 1.10, and gettext 0.16.
354 ** Old versions of iconv.m4, codeset.m4 and lib-link.m4 removed from m4/.
355 Modern versions are part of gnulib.
357 ** API and ABI is backwards compatible with the previous version.
359 * Version 0.6.8 (released 2006-10-18)
361 ** The gnulib directory is separated into two directories.
362 One gnulib directory (lib/gl/) for the LGPL library in lib/, and one
363 gnulib directory (gl/) for the GPL tools in src/. This allows the
364 GPL'd tools to use more gnulib modules than before, since earlier all
365 gnulib files had to be LGPL.
367 ** Update gnulib files.
369 ** Some minor cleanups, like assuming locale.h and setlocale().
371 ** API and ABI is backwards compatible with the previous version.
373 * Version 0.6.7 (released 2006-09-13)
375 ** Fix build failure of idn-int.h on C99 platforms.
376 Reported by Paul Howarth <paul@city-fan.org>.
378 ** The manual includes the GPL license, for the command-line tools.
380 ** The function, variable and concept index is moved to the end of the manual.
382 ** Update gnulib files.
384 ** API and ABI is backwards compatible with the previous version.
386 * Version 0.6.6 (released 2006-08-23)
388 ** Instead of AX_CREATE_STDINT_H, use the stdint gnulib module, for idn-int.h.
389 This solves building on some HPPA systems. Note that the generated
390 idn-int.h is specific to the build environment that libidn was built
391 under, and is not generally usable by any other compiler (if any) on
392 the host. This was true before too.
394 ** Update gnulib files.
396 ** API and ABI is backwards compatible with the previous version.
398 * Version 0.6.5 (released 2006-06-07)
400 ** Link the library with external libintl, for gettext.
401 This fixes building on FreeBSD, reported by Kirill Ponomarew
402 <krion@voodoo.bawue.com>.
404 ** Update doxygen config file to version 1.4.7.
406 ** API and ABI is backwards compatible with the previous version.
408 * Version 0.6.4 (released 2006-06-07)
410 ** Fix translation of error messages.
411 Thanks to Joe Orton <jorton@redhat.com>.
413 ** Fix warnings on 64-bit platforms.
414 Thanks to Joe Orton <jorton@redhat.com>.
416 ** The tests are run under valgrind, if it is installed.
417 Use --disable-valgrind-tests to unconditionally disable this. It is
418 disabled by default for cross compiles.
420 ** API and ABI is backwards compatible with the previous version.
422 * Version 0.6.3 (released 2006-03-08)
424 ** Fixes for the build environment.
426 ** API and ABI is backwards compatible with the previous version.
428 * Version 0.6.2 (released 2006-02-07)
430 ** Fix objdir != srcdir builds for the Java documentation.
431 Thanks to Bernard Leak <bernard@brenda-arkle.demon.co.uk>.
433 ** Update of gnulib files.
435 ** API and ABI is backwards compatible with the previous version.
437 * Version 0.6.1 (released 2006-01-20)
439 ** Make it possible to cross-compile to mingw32.
440 You can build Libidn for Windows by invoking `./configure
441 --host=i586-mingw32msvc' (or similar).
443 ** Minor changes in how the C# code is built.
445 ** Update of gnulib files.
447 ** API and ABI is backwards compatible with the previous version.
449 * Version 0.6.0 (released 2005-12-03)
451 ** A C# port of Libidn has been contributed by Alexander Gnauck.
452 The port resides in the csharp/ directory. Configure will build it if
453 a working C# compiler can be found. Mono's "mcs" compiler is known to
454 work (available in Debian in the "mono-mcs" package), but PNET's
455 "cscc" compiler should also work (available in Debian in the "pnet"
456 package). The port is licensed under the GPL. Some Microsoft Visual
457 Studio project files are also present in the csharp/ directory, which
458 may be useful when building the port under Windows. The C# API is
459 currently not documented, improvements are gratefully accepted.
461 ** Support shared libraries on Cygwin and Mingw32, thanks to Yaakov S.
465 ** API and ABI is backwards compatible with the previous version.
467 * Version 0.5.20 (released 2005-10-23)
469 ** The header file pr29.h is now installed by 'make install'.
471 ** Translation updates.
473 ** Update of gnulib files.
475 ** API and ABI is backwards compatible with the previous version.
477 * Version 0.5.19 (released 2005-09-19)
479 ** The test for setlocale and nl_langinfo has now been separated.
480 The autoconf script now test for locale.h, setlocale and
481 nl_langinfo(CODESET) independently.
483 ** Gnulib updates, fixes for getopt.
485 ** Java manuals in doc/java/ are now generated by Gjdoc from GNU Classpath.
487 ** Kaffe is used to link the pre-built libidn-*.jar file.
489 ** Translation updates.
491 ** API and ABI is backwards compatible with the previous version.
493 * Version 0.5.18 (released 2005-07-16)
495 ** The macro AX_CREATE_STDINT_H that is used to create idn-int.h
498 ** Fix use of 'head -1' in configure script (should be 'head -n -1'),
499 ** thanks to Carsten Lohrke.
501 ** Announce the help-libidn mailing list in documentation and README.
503 ** Translation updates.
505 ** API and ABI is backwards compatible with the previous version.
507 * Version 0.5.17 (released 2005-05-26)
509 ** The gnulib portability files were updated.
511 ** The license template in files were updated with the new address.
513 ** Translation updated.
515 ** API and ABI is backwards compatible with the previous version.
517 * Version 0.5.16 (released 2005-05-06)
519 ** Mark static PR29 data tables as 'const', thanks to Joe Orton.
521 ** Kinyarwanda translations added, thanks to Steve Murphy.
523 ** API and ABI is backwards compatible with the previous version.
525 * Version 0.5.15 (released 2005-03-19)
527 ** Improvements to code to convert data between character sets.
528 The license template was changed to the LGPL, from the GPL template
529 that was mistakenly used in the previous two releases. Document here
530 that cleaning up this code has solved memory allocation and arithmetic
533 ** API and ABI is backwards compatible with the previous version.
535 * Version 0.5.14 (released 2005-03-19)
537 ** Building for srcdir != objdir from CVS now work, thanks to Linus Nordberg.
539 ** Simplified Chinese translations added, thanks to Meng Jie.
541 ** Vietnamese translation added, thanks to Clytie Siddall.
543 ** API and ABI is backwards compatible with the previous version.
545 * Version 0.5.13 (released 2005-01-29)
547 ** The code to convert data between character encodings have been cleaned up.
548 The stringprep_convert function has been added to gnulib, under the
549 name iconv_string, and is now used by libidn. This should not have
550 any user-visible consequences, though.
552 ** It is now possible to bootstrap with unmodified Automake installations.
554 ** Italian translation added, thanks to Marco Colombo.
556 ** Swedish translation updated.
558 ** API and ABI is backwards compatible with the previous version.
560 * Version 0.5.12 (released 2004-12-04)
562 ** Java code now support the XMPP NodePrep and ResourcePrep profiles.
564 ** Bug fixes and improvements to Java code.
565 The allowUnassigned flag is now respected properly. The prohibited
566 code points check now works. Arguments are now checked. Convenience
567 method with allowUnassigned set to false was added.
569 ** Update getopt from gnulib.
571 ** API and ABI is backwards compatible with the previous version.
573 * Version 0.5.11 (released 2004-11-21)
575 ** Fix formatting of man pages, based on warnings from Doclifter.
577 ** Update of gnulib files to fix potential getopt problem on ELF systems.
579 ** API and ABI is backwards compatible with the previous version.
581 * Version 0.5.10 (released 2004-11-08)
583 ** Libtool's -export-symbols-regex is now used to only export official APIs.
584 Before, applications might accidentally access internal functions.
585 Note that this is not supported on all platforms, so you must still
586 make sure you are not using undocumented symbols in Libidn.
588 ** API and ABI is backwards compatible with the previous version.
590 * Version 0.5.9 (released 2004-11-07)
592 ** Align GTK-DOC build infrastructure with GTK-DOC official recommendations.
593 This mean that you can now browse the Libidn API manual using Devhelp.
595 ** Update of gnulib files to fix potential problem in getopt on BSD.
597 ** Documentation improvements.
599 ** API and ABI is backwards compatible with the previous version.
601 * Version 0.5.8 (released 2004-10-12)
603 ** BidiMirroring-3.2.0.txt is now included, not only the generated source code.
604 This allow builds to succeed after 'make realclean'.
606 ** Generated files now have consistent 'DO NOT EDIT!' comments.
608 ** API and ABI is backwards compatible with the previous version.
610 * Version 0.5.7 (released 2004-10-12)
612 ** Shared library version incremented, because new APIs were added.
613 This was forgotten in the last release.
615 ** French translation updated.
619 ** API and ABI is backwards compatible with the previous version.
621 * Version 0.5.6 (released 2004-10-02)
623 ** Added functions to convert return codes to human readable text.
625 ** Now using GNULib in command line front end (src/) for portability code.
626 See <http://www.gnu.org/software/gnulib/> for more information on
627 GNULib. This should make the code easier to read and maintain.
629 ** API and ABI is backwards compatible with the previous version.
632 punycode_strerror: ADD.
633 stringprep_strerror: ADD.
635 TLD_NO_TLD: ADD. Replaces TLD_NOTLD.
636 TLD_NOTLD: DEPRECATED. Use TLD_NO_TLD instead.
638 * Version 0.5.5 (released 2004-09-13)
640 ** Hide accidentally exported variable g_utf8_skip, by marking it as static.
644 ** API and ABI is backwards compatible with the previous version.
645 g_utf8_skip: REMOVED. (But never meant to be used.)
647 * Version 0.5.4 (released 2004-08-08)
649 ** Translation updates.
651 ** API and ABI is backwards compatible with the previous version.
653 * Version 0.5.3 (released 2004-08-05)
655 ** Fix crash in `idn --tld' command line tool.
657 ** API and ABI is backwards compatible with the previous version.
659 * Version 0.5.2 (released 2004-07-14)
661 ** Java "make install" rules are now DESTDIR compatible.
663 ** API and ABI is backwards compatible with the previous version.
665 * Version 0.5.1 (released 2004-07-09)
667 ** Cross compile builds should work.
668 It should work for any sane cross compile target, but the only tested
669 platform is uClibc/uClinux on Motorola Coldfire.
671 ** The example programs now correctly invoke `setlocale (LC_ALL, "")'.
673 ** API and ABI is backwards compatible with the previous version.
675 * Version 0.5.0 (released 2004-06-26)
677 ** Functions to detect "normalization problem sequences" as per PR-29 added.
678 See the new chapter "PR29 Functions" in the manual
679 (doc/libidn.{ps,pdf,html}) for more information and the background
680 story. An external link that discuss the problem is
681 <http://www.unicode.org/review/pr-29.html>.
683 ** More translations.
684 Added Esperanto (by Edmund GRIMLEY EVANS).
686 ** API and ABI is backwards compatible with the previous version.
687 pr29.h: ADD. Prototypes for PR29 types and functions.
688 pr29_4, pr29_4z, pr29_8z: ADD. New API entry points for PR29 functions.
689 Pr29_rc: ADD. New error code enum type for PR29 functions.
691 * Version 0.4.9 (released 2004-06-11)
693 ** The Java library (java/libidn-*.jar) is included in the distribution.
695 ** JavaDoc manuals (doc/javadoc/) are included.
697 ** API and ABI is backwards compatible with the previous version.
699 * Version 0.4.8 (released 2004-06-01)
701 ** The Java source code is actually included in the distribution.
703 ** API and ABI is backwards compatible with the previous version.
705 * Version 0.4.7 (released 2004-05-31)
707 ** The Java port should now be functional, contributed by Oliver Hitz.
708 See the new section "Java API" in the manual for more information.
710 ** API and ABI is backwards compatible with the previous version.
712 * Version 0.4.6 (released 2004-05-24)
714 ** The header file idn-free.h is actually installed by 'make install'.
716 ** API and ABI is backwards compatible with the previous version.
718 * Version 0.4.5 (released 2004-05-21)
720 ** In IDNA ToUnicode, a `free' on a stale pointer fixed by Ulrich Drepper.
722 ** Several memory leaks fixed by Ulrich Drepper.
724 ** Added more SASLPrep and NFKC test vectors.
726 ** Automake 1.8.4 is used.
728 ** API and ABI is backwards compatible with the previous version.
729 idn_free: ADD. Wrapper around system `free'.
730 idn-free.h: ADD. Prototype for `idn_free'.
731 See idn-free.h for discussion. The interface is
732 currently not documented. Comments and feedback is
735 * Version 0.4.4 (released 2004-04-29)
737 ** Fixed two bugs in iSCSI definition, syncing with newly published RFC 3722.
738 The first bug was an omission of prohibiting the characters in C.1.1,
739 C.1.2 and C.7 (space characters and characters that are inappropriate
740 for canonical representation). The second was a bug in the definition
741 of the table, causing the entire table to be skipped, of the special
742 prohibited output character table defined in RFC 3722 (see section 6,
743 the characters in the table are various ASCII characters and U+3002).
745 ** A few test vectors for iSCSI were added.
747 ** The self tests are linked with libtool -no-install to avoid wrapper script.
749 ** Separated self test utilities into a separate library, shared by all tests.
751 ** More translations.
752 Added Romanian (by Laurentiu Buzdugan).
754 ** API and ABI is backwards compatible with the previous version.
756 * Version 0.4.3 (released 2004-04-22)
758 ** Fixed a bug in table processing code to prohibit control characters.
759 The problem was that the code used a code point of 0 to indicate end
760 of table, but if (as for table C.2.1) a range starts with 0, this
761 logic would fail. The end-of-table test is now that both the start
762 and end code points of the range is 0. Table C.2.1 is responsible for
763 prohibiting non-ASCII control characters, i.e. ASCII 0-31 and 127.
764 Before, libidn silently accepted such strings without complaining.
766 ** A few test vectors for SASLprep were added.
768 ** The pkg-config script no longer include a -R parameter.
770 ** More translations.
771 Added Dutch (by Elros Cyriatan), and German (by Roland Illig).
773 ** API and ABI is backwards compatible with the previous version.
775 * Version 0.4.2 (released 2004-03-20)
777 ** A Punycode implementation in Java was added, by Oliver Hitz.
778 Eventually hopefully a StringPrep, Nameprep and IDNA implementation
779 will be added as well. Currently you need to specify --enable-java to
780 enable the Java interface. The Java sources (below java/) are
781 compiled into byte-code (not native code) into a JAR library.
783 ** More translations.
784 Added Danish (by Morten Bo Johansen), French (by Michel Robitaille),
785 Polish (by Jakub Bogusz), and Serbian (by Aleksandar Jelenak).
787 ** Norwegian TLD table added, by Thomas Jacob.
789 ** API and ABI is backwards compatible with the previous version.
791 * Version 0.4.1 (released 2004-03-08)
793 ** The user messages from the command line utility are now translated.
794 Currently English and Swedish is supported.
796 ** Logic of stringprep_locale_charset modified.
797 Future versions will use, in order, $CHARSET iff defined, nl_langinfo
798 (CODESET) iff working, or fall back to returning "ASCII". Earlier it
799 attempted to guess the system locale, in contrast with the current
800 application's locale, via some setlocale save/set/reset magic. This
801 change may require you to invoke setlocale() in your application,
802 which is (should be) required for non-ASCII to work anyway. Based on
803 discussion with Ulrich Drepper.
805 ** The command-line utility now invoke setlocale (LC_ALL, "") at startup.
807 ** Fixed SASLprep tables to prohibit non-ASCII space in output.
808 Non-ASCII space has always been mapped to ASCII space, so it is not
809 clear this really have any effect, but the specification require it.
811 ** Building Libidn as part of GLIBC has been updated.
812 Refer to libc/README for more information. Incidentally, GLIBC in CVS
813 now include a copy of Libidn.
815 ** API and ABI is backwards compatible with the previous version.
816 IDNA_DLOPEN_ERROR: ADD. Only used internally by Libidn in libc.
818 * Version 0.4.0 (released 2004-02-28)
820 ** Support for TLD restrictions on IDN strings, contributed by Thomas Jacob.
821 Many TLDs restrict the set of characters that can be used, from the
822 full Unicode 3.2 range that is normally available. This contribution
823 make it possible for you to test strings for TLD conformance locally.
824 The code can be disabled by --disable-tld. If enabled (the default),
825 the new API "tld.h" is installed which can be used to check a string
826 for conformance to TLD specific rules. This add a new self test, and
827 a new chapter in the manual. People responsible for maintaining TLD
828 tables are hereby encouraged to contribute them (under reasonable
829 licensing terms) for inclusion in future versions of Libidn. Be
830 warned that the API for TLD checking may change throughout the 0.4.x
831 series as we get feedback on it.
833 ** Kerberos 5 stringprep profile macro is no longer documented.
834 The macro itself will probably be removed in the future, if the
835 specification is dropped from the Kerberos WG agenda.
837 ** API and ABI is backwards compatible with the previous version.
838 stringprep_kerberos5: DEPRECATED.
841 Tld_rc: ADD. New data types.
844 tld_get_z: ADD. New functions to extract TLD from string.
846 tld_default_table: ADD. New functions to get TLD table from TLD name.
848 tld_check_4tz: ADD. New function to provide core TLD operations.
852 tld_check_lz: ADD. New functions that combine all TLD operations in one call.
854 * Version 0.3.7 (released 2004-01-22)
856 ** The command line parameter '--' idiom is documented.
858 ** The iSCSI stringprep profile now recognized as "iSCSI".
859 The earlier name "ISCSIprep" is still recognized, for backwards
862 ** DocBook manuals no longer included (the tools are too unstable).
864 ** API and ABI is backwards compatible with the previous version.
866 * Version 0.3.6 (released 2004-01-06)
868 ** The manual now contain a troubleshooting section for the command line tool.
870 ** The PHP interface pass the string directly on the command line.
872 ** The macro that create 'idn-int.h' has been updated to latest version.
874 ** API and ABI is backwards compatible with the previous version.
876 * Version 0.3.5 (released 2003-12-15)
878 ** The program 'idn' accepts input strings directly on the command line.
880 ** The program 'idn' defaults to --idna-to-ascii if no parameter is given.
882 ** The program 'idn' now print user instructions before waiting for input.
884 ** DocBook HTML output not included any longer.
885 The reason is that the filenames generated by docbook2html appear to
886 be rather random, so it is difficult to maintain the Makefile.am rules
889 ** Autoconf 2.59, automake 1.8 and libtool from CVS is used.
891 ** API and ABI is backwards compatible with the previous version.
892 IDNA_CONTAINS_NON_LDH: ADD. Same integer value as IDNA_CONTAINS_LDH.
893 IDNA_CONTAINS_LDH: DEPRECATED. LDH (letter-digits-hyphens) characters
894 are not an error, but non-LDH characters are, when
895 IDNA_USE_STD3_ASCII_RULES is used. The logic of the
896 mnemonic name of this error constant was reversed.
898 * Version 0.3.4 (released 2003-11-09)
900 ** DocBook manuals in XML, PDF, PostScript, ASCII and HTML formats included.
902 * Version 0.3.3 (released 2003-10-18)
904 ** Fixed list of Stringprep profiles in 'idn --help' and 'idn.php'.
906 ** Fixed debug information in 'idn'.
908 ** Internal improvements.
909 Leads to reduced heap memory usage. Simplified inter-dependency among
910 files in lib/* to make it easier to copy them into your project.
912 ** Debugging stringprep profile 'generic' removed.
914 ** Punycode implementation updated to rfc3492bis-00.
916 ** API and ABI is backwards compatible with the previous version.
919 stringprep: CHANGED. 'profile' is marked as 'const'.
920 stringprep_profile: CHANGED. 'profile' is marked as 'const'.
921 stringprep_generic: REMOVED. Never meant for public use.
923 * Version 0.3.2 (released 2003-10-07)
925 ** SASL ANONYMOUS stringprep profile "trace" added.
926 It is equivalent to the already supported "plain" SASL ANONYMOUS
927 stringprep profile, except for the name.
929 ** API and ABI is backwards compatible with the previous version.
930 The 'in' parameter to stringprep_profile was changed from 'char*' to
933 * Version 0.3.1 (released 2003-10-02)
935 ** Fixed handling of implicit and explicit zero-length root labels in ToASCII.
937 ** Fixed support for Hangul Syllables during Unicode NFKC normalization.
939 ** Fixed Unicode NFKC normalization of (some) BMP code points.
940 This was done by syncing the NFKC code with latest GLIB, and may have
941 fixed other bugs in the earlier versions of the updated functions.
943 ** Added more IDNA test vectors.
945 ** Emacs Lisp IDNA implementation now set the UseSTD3ASCIIRules flag.
946 This is the appropriate setting for mail-related uses of IDNA.
948 ** API and ABI is backwards compatible with the previous version.
950 * Version 0.3.0 (released 2003-09-23)
952 ** Ported to Mac OS X.
954 ** Gnulib code removed, we now assume a C89 compatible environment.
956 ** Building libidn as a libc add-on now works again.
958 ** Man pages for all public API functions are included.
960 ** Fixed bug in SASLprep profile.
962 ** API and ABI is NOT backwards compatible with the previous version.
963 All previously labeled (since 0.1.x) obsolete functions have been dropped.
964 The use of 'enum' types instead of 'int' added in 0.2.3 reverted, it
965 confused documentation generators and wasn't all that common practice.
967 * Version 0.2.3 (released 2003-08-26)
969 ** Example 4 was the same as example 3, now changed to demo ToUnicode.
971 ** Documentation improvements.
973 ** Prototype cleanups.
974 The proper enum types (Stringprep_rc, Idna_rc, etc) are now used in
975 several places where plain int where used before. String lengths are
976 handled by (s)size_t instead of int.
978 ** API and ABI is backwards compatible with the previous version.
980 * Version 0.2.2 (released 2003-08-13)
982 ** Fixed problem with strings longer than 4GB in punycode functions.
983 The punycode code cannot handle strings longer than 4GB. The code now
984 return PUNYCODE_BAD_INPUT on too long input, instead of failing in an
987 ** The "idn --idna-to-unicode" command now output locale encoded strings.
989 ** Build fixes, bug fixes.
991 ** API and ABI is backwards compatible with the previous version.
993 * Version 0.2.1 (released 2003-07-04)
995 ** Don't reject zero-length trailing labels as in, e.g., "www.example.org.".
996 The IDNA RFC is not clear on this topic, zero-length labels in general
997 are forbidden by the ToASCII algorithm in section 4.1 step 8, but the
998 terminology section define, inside a parenthesis, that the zero-length
999 root label is in fact not considered a label at all in IDNA.
1003 ** API and ABI is backwards compatible with the previous version.
1005 * Version 0.2.0 (released 2003-06-19)
1007 ** Unicode code point data is now uint32_t, defined in "idn-int.h".
1008 A header file "idn-int.h" is generated and installed to make sure the
1009 "uint32_t" data type is available on all platforms. The reason for
1010 this change is that on 64-bit platforms, the application was required
1011 to convert 32 bit integers (which is how Unicode code points are
1012 typically represented) into 64 bit integers before calling libidn
1015 ** New idna_*() functions have improved flags handling.
1016 The allowunassigned and usestd3asciirules parameters were collapsed
1017 into a flags parameter, that can take on the IDNA_ALLOW_UNASSIGNED and
1018 IDNA_USE_STD3_ASCII_RULES values. This allows for easier extensions
1019 to support, e.g., Unicode 4.0 or RFC 952 ASCII rules checking. Note
1020 that the old entry points are unmodified (in this regard), and new
1021 entry points with this modification were added.
1023 ** The manual was moved into a separate directory doc/.
1027 ** API and ABI is not backwards compatible.
1028 In punycode.h and stringprep.h the "unsigned long" data type was
1029 changed into "uint32_t", which cause a API and ABI missmatch. For
1030 idna.h, the old entry points that used "unsigned long" still exist,
1031 and new entry points that uses "uint32_t" was added. To update your
1032 application, you probably only need to change "unsigned long" to
1033 "uint32_t". As a result of these changes, the shared object version
1036 * Version 0.1.15 (released 2003-06-07)
1040 ** API and ABI is backwards compatible with the previous version.
1042 * Version 0.1.14 (released 2003-05-10)
1044 ** Experimental documentation generation in contrib/doxygen/.
1045 Simply invoke "doxygen" in that directory and it should build the
1048 ** Lisp API bug fixes.
1050 ** API and ABI is backwards compatible with the previous version.
1052 * Version 0.1.13 (released 2003-03-13)
1054 ** Unfinished Java *.class files implementing the libidn API.
1055 See the contrib/java/ directory. It is implemented using the Java
1056 Native Interface, and light initial testing indicate interoperability
1057 between GCJ, IBM's JDK and Sun's JDK.
1059 ** Building is now silent when gengetopt is not present.
1063 ** API and ABI is backwards compatible with the previous version.
1065 * Version 0.1.12 (released 2003-03-06)
1067 ** Building libidn doesn't require gengetopt.
1068 Warnings are still printed though. Gengetopt will be replaced by argp
1071 ** Command line tool "idn" supports stringprep too.
1073 ** New stringprep API entry point: stringprep_profile().
1074 It takes a name of the stringprep profile as an argument instead of
1075 the stringprep table structure.
1077 ** stringprep_*.h are deprecated and will be removed in the future.
1078 All symbols have been moved to stringprep.h. The reasons are that (1)
1079 the files typically only defined one CPP macro and exported one symbol
1080 definition, which is wasteful as it generates too much work in the
1081 manual, and (2) using one header file for all profiles allows easier
1082 access to all stringprep profiles during runtime. Note that the files
1083 are still installed, but they only #include stringprep.h now, for
1084 backwards compatibility.
1086 ** GNU Libc add-on build instructions updated to GNU Libc 2.3.2.
1088 ** SASLprep stringprep profile added.
1090 ** An online interface to libidn written in PHP added to contrib/web/.
1092 ** API and ABI is backwards compatible with the previous version.
1094 * Version 0.1.11 (released 2003-02-26)
1096 ** Command line application "idn" is included.
1097 A simple wrapper around the library that allows you to invoke punycode
1098 encoding/decoding and IDNA ToASCII/ToUnicode on the command line.
1100 ** Emacs Lisp interface for punycode and IDNA included.
1101 See punycode.el and idna.el.
1103 ** API and ABI is backwards compatible with the previous version.
1105 * Version 0.1.10 (released 2003-02-21)
1107 ** idna_*_to_ace() and idna_*ace_to_*() are deprecated in favor of
1108 ** idna_to_ascii_from_*() and idna_to_unicode_*_from_*() respectively.
1109 The reason was that the old interfaces did not accept the
1110 AllowUnassigned and UseSTD3ASCIIRules flags. Note that the old
1111 functions are not removed, but will be in the future.
1113 ** IPS iSCSI stringprep profile added.
1115 ** A new contrib/ directory added.
1116 Currently it contains a Python interface to Libidn, contributed by
1117 Stephane Bortzmeyer.
1119 ** idna.h and punycode.h are now installed by "make install".
1121 ** API and ABI is backwards compatible with the previous version.
1123 * Version 0.1.9 (released 2003-02-20)
1125 ** SASL ANONYMOUS "plain" stringprep profile added.
1127 ** XMPP nodeprep profile fixed.
1129 ** API and ABI is backwards compatible with the previous version.
1130 For future releases, the NEWS entry will specifically mention whether
1131 the C header API or library ABI backwards compatibility is affected.
1133 * Version 0.1.8 (released 2003-02-14)
1135 ** Portability fixes.
1136 This includes not building the API Reference Manual with GTK-DOC by
1137 default, if you want it use configure parameter --enable-gtk-doc after
1138 making sure your gtkdoc-mkdb accept the --tmpl-dir parameter.
1140 ** The type for string length variables is now (s)size_t.
1141 Unfortunately this means binary shared library binary backwards
1144 ** New nameprep test vectors.
1146 * Version 0.1.7 (released 2003-02-12)
1148 ** Uses official IDNA ACE prefix.
1150 * Version 0.1.6 (released 2003-02-11)
1152 ** Uses tentative IDNA ACE prefix.
1154 ** Added XMPP Node/Resource Identifiers stringprep profiles.
1156 ** Fixed prohibited character checks for bidi.
1158 * Version 0.1.5 (released 2003-01-28)
1160 ** The library can now be built as part of GNU Libc.
1161 This is experimental and only tested against GNU Libc version 2.3.1.
1162 See the libc/ directory, and libc/README in particular.
1166 * Version 0.1.4 (released 2003-01-15)
1168 ** Documentation fixes.
1170 ** Portability fixes.
1174 * Version 0.1.3 (released 2003-01-15)
1176 ** Added texinfo manual.
1178 * Version 0.1.2 (released 2003-01-08)
1180 ** Added high-level IDNA API.
1182 ** Added example3.c and example4.c demonstrating the high-level IDNA API.
1184 * Version 0.1.1 (released 2003-01-08)
1186 ** Added documentation using GTK-DOC.
1188 ** The obsolete stringprep_utf8_to_ucs4_fast API entry point was removed.
1189 By accident it was never removed in 0.1.0.
1191 * Version 0.1.0 (released 2003-01-05)
1193 ** Official GNU project.
1195 ** Renamed from libstringprep to libidn.
1197 ** Supports punycode and IDNA. Caveat emptor: I don't use it myself.
1199 ** Uses "unsigned long" for Unicode code points instead of "long".
1200 Long is guaranteed to be at least 32 bits by C standards so it is
1201 always sufficiently large, no need to use uint32_t and the like.
1203 ** The obsolete stringprep_utf8_to_ucs4_fast API entry point was removed.
1205 * Version 0.0.8 (released 2002-12-13)
1207 ** Portability fixes (now works under Cygwin on Windows 2000).
1211 * Version 0.0.7 (released 2002-12-09)
1213 ** Apply all tables to entire strings, not just first hit.
1215 ** Fix bidi infloop.
1217 * Version 0.0.5 (released 2002-12-07)
1219 ** Fix prohibited characters handling.
1223 ** Renamed type (struct) stringprep_table_element to Stringprep_table_element.
1225 ** Renamed type stringprep_profile to Stringprep_profile.
1227 ** Renamed type (struct) stringprep_table to Stringprep_table.
1229 ** Added more self-tests.
1231 * Version 0.0.4 (released 2002-12-06)
1233 ** Add unassigned code point handling, including self test cases.
1235 ** Portability fixes.
1237 * Version 0.0.3 (released 2002-11-30)
1239 ** Exported utility function `stringprep_utf8_to_unichar', complementary
1240 to existing `stringprep_unichar_to_utf8'.
1242 ** Renamed `stringprep_utf8_to_ucs4_fast' to `stringprep_utf8_to_ucs4' to
1243 clean up API. The old entry point is maintained for binary backwards
1244 compatibility though.
1246 ** The distribution is from now on signed using GnuPG.
1250 * Version 0.0.2 (released 2002-11-07)
1256 * Version 0.0.1 (released 2002-11-06)
1258 ** Add utility functions stringprep_locale_charset(), stringprep_convert()
1259 and stringprep_locale_to_utf8 () that can be used to convert text from
1260 system's locale into UTF-8, which should be done before invoking
1261 stringprep(). The functions requires iconv() in the operating system.
1263 ** An example program (example.c) that illustrates how libstringprep can be
1266 ** The pkg-config --libs output should now include necessary -R options.
1268 * Version 0.0.0 (released 2002-11-05)
1272 ----------------------------------------------------------------------
1273 Copying and distribution of this file, with or without modification,
1274 are permitted in any medium without royalty provided the copyright
1275 notice and this notice are preserved.