libidn-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU libidn branch, master, updated. libidn-1-16-32-g50b4167


From: Simon Josefsson
Subject: [SCM] GNU libidn branch, master, updated. libidn-1-16-32-g50b4167
Date: Fri, 05 Feb 2010 10:58:48 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU libidn".

http://git.savannah.gnu.org/cgit/libidn.git/commit/?id=50b4167aefdecab6472001e1714b04b37810f8c8

The branch, master has been updated
       via  50b4167aefdecab6472001e1714b04b37810f8c8 (commit)
       via  5f7a58f5cda3e4bd351ae57bfaa06434bbf59bab (commit)
      from  116ca9c6b1d73cff1af7b3344ba1370681ab3530 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 50b4167aefdecab6472001e1714b04b37810f8c8
Author: Simon Josefsson <address@hidden>
Date:   Fri Feb 5 11:58:26 2010 +0100

    Fix GTK-DOC syntax.  Unfortunately this looses some information.

commit 5f7a58f5cda3e4bd351ae57bfaa06434bbf59bab
Author: Simon Josefsson <address@hidden>
Date:   Fri Feb 5 11:26:26 2010 +0100

    Clarify.

-----------------------------------------------------------------------

Summary of changes:
 NEWS                      |    9 +++++----
 lib/idna.c                |   22 ++++++++++++----------
 lib/nfkc.c                |   12 ++++++------
 lib/pr29.c                |    6 +++---
 lib/punycode.c            |    4 ++--
 lib/strerror-idna.c       |    2 +-
 lib/strerror-pr29.c       |    2 +-
 lib/strerror-punycode.c   |    2 +-
 lib/strerror-stringprep.c |    2 +-
 lib/strerror-tld.c        |    2 +-
 lib/stringprep.c          |   16 ++++++++++++----
 lib/tld.c                 |   24 +++++++++++++-----------
 lib/toutf8.c              |    8 ++++----
 lib/version.c             |    2 +-
 14 files changed, 63 insertions(+), 50 deletions(-)

diff --git a/NEWS b/NEWS
index ec7b29a..a6782d0 100644
--- a/NEWS
+++ b/NEWS
@@ -4,15 +4,16 @@ See the end for copying conditions.
 
 * Version 1.17 (unreleased)
 
-** Fix symbol export problem.
+** 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.  However, this means that applications (that use
-these rarely used variables) built with version 1.17 or later, or
-versions before 1.13, will not work on libidn versions 1.13 to 1.16.
+earlier releases.
 
 The affected symbols are the following variables:
 stringprep_iscsi_prohibit, stringprep_rfc3454_A_1,
diff --git a/lib/idna.c b/lib/idna.c
index 6838440..13a7bb7 100644
--- a/lib/idna.c
+++ b/lib/idna.c
@@ -40,7 +40,7 @@
 /* Core functions */
 
 /**
- * idna_to_ascii_4i - convert Unicode domain name label to text
+ * idna_to_ascii_4i:
  * @in: input array with unicode code points.
  * @inlen: length of input array with unicode code points.
  * @out: output zero terminated string that must have room for at
@@ -381,7 +381,7 @@ step3:
 }
 
 /**
- * idna_to_unicode_44i - convert domain name label to Unicode
+ * idna_to_unicode_44i:
  * @in: input array with unicode code points.
  * @inlen: length of input array with unicode code points.
  * @out: output array with unicode code points.
@@ -443,7 +443,7 @@ idna_to_unicode_44i (const uint32_t * in, size_t inlen,
 /* Wrappers that handle several labels */
 
 /**
- * idna_to_ascii_4z - convert Unicode domain name to text
+ * idna_to_ascii_4z:
  * @input: zero terminated input Unicode string.
  * @output: pointer to newly allocated output string.
  * @flags: an #Idna_flags value, e.g., %IDNA_ALLOW_UNASSIGNED or
@@ -539,7 +539,7 @@ idna_to_ascii_4z (const uint32_t * input, char **output, 
int flags)
 }
 
 /**
- * idna_to_ascii_8z - convert Unicode domain name to text
+ * idna_to_ascii_8z:
  * @input: zero terminated input UTF-8 string.
  * @output: pointer to newly allocated output string.
  * @flags: an #Idna_flags value, e.g., %IDNA_ALLOW_UNASSIGNED or
@@ -571,7 +571,7 @@ idna_to_ascii_8z (const char *input, char **output, int 
flags)
 }
 
 /**
- * idna_to_ascii_lz - convert Unicode domain name to text
+ * idna_to_ascii_lz:
  * @input: zero terminated input string encoded in the current locale's
  *   character set.
  * @output: pointer to newly allocated output string.
@@ -602,7 +602,7 @@ idna_to_ascii_lz (const char *input, char **output, int 
flags)
 }
 
 /**
- * idna_to_unicode_4z4z - convert domain name to Unicode
+ * idna_to_unicode_4z4z:
  * @input: zero-terminated Unicode string.
  * @output: pointer to newly allocated output Unicode string.
  * @flags: an #Idna_flags value, e.g., %IDNA_ALLOW_UNASSIGNED or
@@ -679,7 +679,7 @@ idna_to_unicode_4z4z (const uint32_t * input, uint32_t ** 
output, int flags)
 }
 
 /**
- * idna_to_unicode_8z4z - convert domain name to Unicode
+ * idna_to_unicode_8z4z:
  * @input: zero-terminated UTF-8 string.
  * @output: pointer to newly allocated output Unicode string.
  * @flags: an #Idna_flags value, e.g., %IDNA_ALLOW_UNASSIGNED or
@@ -710,7 +710,7 @@ idna_to_unicode_8z4z (const char *input, uint32_t ** 
output, int flags)
 }
 
 /**
- * idna_to_unicode_8z8z - convert domain name to Unicode
+ * idna_to_unicode_8z8z:
  * @input: zero-terminated UTF-8 string.
  * @output: pointer to newly allocated output UTF-8 string.
  * @flags: an #Idna_flags value, e.g., %IDNA_ALLOW_UNASSIGNED or
@@ -740,7 +740,7 @@ idna_to_unicode_8z8z (const char *input, char **output, int 
flags)
 }
 
 /**
- * idna_to_unicode_8zlz - convert domain name to Unicode
+ * idna_to_unicode_8zlz:
  * @input: zero-terminated UTF-8 string.
  * @output: pointer to newly allocated output string encoded in the
  *   current locale's character set.
@@ -771,7 +771,7 @@ idna_to_unicode_8zlz (const char *input, char **output, int 
flags)
 }
 
 /**
- * idna_to_unicode_lzlz - convert domain name to Unicode
+ * idna_to_unicode_lzlz:
  * @input: zero-terminated string encoded in the current locale's
  *   character set.
  * @output: pointer to newly allocated output string encoded in the
@@ -817,6 +817,8 @@ idna_to_unicode_lzlz (const char *input, char **output, int 
flags)
  * @IDNA_PUNYCODE_ERROR: Error during punycode operation.
  * @IDNA_CONTAINS_NON_LDH: For IDNA_USE_STD3_ASCII_RULES, indicate that
  *   the string contains non-LDH ASCII characters.
+ * @IDNA_CONTAINS_LDH: Same as @IDNA_CONTAINS_NON_LDH, for compatibility
+ *   with typo in earlier versions.
  * @IDNA_CONTAINS_MINUS: For IDNA_USE_STD3_ASCII_RULES, indicate that
  *   the string contains a leading or trailing hyphen-minus (U+002D).
  * @IDNA_INVALID_LENGTH: The final output string is not within the
diff --git a/lib/nfkc.c b/lib/nfkc.c
index f979875..25d604d 100644
--- a/lib/nfkc.c
+++ b/lib/nfkc.c
@@ -915,7 +915,7 @@ g_utf8_normalize (const gchar * str, gssize len, 
GNormalizeMode mode)
 /* Public Libidn API starts here. */
 
 /**
- * stringprep_utf8_to_unichar - convert UTF-8 to Unicode code point
+ * stringprep_utf8_to_unichar:
  * @p: a pointer to Unicode character encoded as UTF-8
  *
  * Converts a sequence of bytes encoded as UTF-8 to a Unicode character.
@@ -931,7 +931,7 @@ stringprep_utf8_to_unichar (const char *p)
 }
 
 /**
- * stringprep_unichar_to_utf8 - convert Unicode code point to UTF-8
+ * stringprep_unichar_to_utf8:
  * @c: a ISO10646 character code
  * @outbuf: output buffer, must have at least 6 bytes of space.
  *       If %NULL, the length will be computed and returned
@@ -948,7 +948,7 @@ stringprep_unichar_to_utf8 (uint32_t c, char *outbuf)
 }
 
 /**
- * stringprep_utf8_to_ucs4 - convert UTF-8 string to UCS-4
+ * stringprep_utf8_to_ucs4:
  * @str: a UTF-8 encoded string
  * @len: the maximum length of @str to use. If @len < 0, then
  *       the string is nul-terminated.
@@ -969,7 +969,7 @@ stringprep_utf8_to_ucs4 (const char *str, ssize_t len, 
size_t * items_written)
 }
 
 /**
- * stringprep_ucs4_to_utf8 - convert UCS-4 string to UTF-8
+ * stringprep_ucs4_to_utf8:
  * @str: a UCS-4 encoded string
  * @len: the maximum length of @str to use. If @len < 0, then
  *       the string is terminated with a 0 character.
@@ -995,7 +995,7 @@ stringprep_ucs4_to_utf8 (const uint32_t * str, ssize_t len,
 }
 
 /**
- * stringprep_utf8_nfkc_normalize - normalize Unicode string
+ * stringprep_utf8_nfkc_normalize:
  * @str: a UTF-8 encoded string.
  * @len: length of @str, in bytes, or -1 if @str is nul-terminated.
  *
@@ -1023,7 +1023,7 @@ stringprep_utf8_nfkc_normalize (const char *str, ssize_t 
len)
 }
 
 /**
- * stringprep_ucs4_nfkc_normalize - normalize Unicode string
+ * stringprep_ucs4_nfkc_normalize:
  * @str: a Unicode string.
  * @len: length of @str array, or -1 if @str is nul-terminated.
  *
diff --git a/lib/pr29.c b/lib/pr29.c
index 64bb581..73f69bb 100644
--- a/lib/pr29.c
+++ b/lib/pr29.c
@@ -1223,7 +1223,7 @@ combinationclass (uint32_t c)
 }
 
 /**
- * pr29_4 - check if input trigger Unicode normalization bugs
+ * pr29_4:
  * @in: input array with unicode code points.
  * @len: length of input array with unicode code points.
  *
@@ -1265,7 +1265,7 @@ pr29_4 (const uint32_t * in, size_t len)
 }
 
 /**
- * pr29_4z - check if input trigger Unicode normalization bugs
+ * pr29_4z:
  * @in: zero terminated array of Unicode code points.
  *
  * Check the input to see if it may be normalized into different
@@ -1289,7 +1289,7 @@ pr29_4z (const uint32_t * in)
 }
 
 /**
- * pr29_8z - check if input trigger Unicode normalization bugs
+ * pr29_8z:
  * @in: zero terminated input UTF-8 string.
  *
  * Check the input to see if it may be normalized into different
diff --git a/lib/punycode.c b/lib/punycode.c
index 3f639d6..3cb3a12 100644
--- a/lib/punycode.c
+++ b/lib/punycode.c
@@ -150,7 +150,7 @@ adapt (punycode_uint delta, punycode_uint numpoints, int 
firsttime)
 /*** Main encode function ***/
 
 /**
- * punycode_encode - encode Unicode to Punycode
+ * punycode_encode:
  * @input_length: The number of code points in the @input array and
  *   the number of flags in the @case_flags array.
  * @input: An array of code points.  They are presumed to be Unicode
@@ -301,7 +301,7 @@ punycode_encode (size_t input_length,
 /*** Main decode function ***/
 
 /**
- * punycode_decode - decode Punycode to Unicode
+ * punycode_decode:
  * @input_length: The number of ASCII code points in the @input array.
  * @input: An array of ASCII code points (0..7F).
  * @output_length: The caller passes in the maximum number of code
diff --git a/lib/strerror-idna.c b/lib/strerror-idna.c
index d4d278d..3422558 100644
--- a/lib/strerror-idna.c
+++ b/lib/strerror-idna.c
@@ -30,7 +30,7 @@
 #define _(String) dgettext (PACKAGE, String)
 
 /**
- * idna_strerror - return string describing idna error code
+ * idna_strerror:
  * @rc: an #Idna_rc return code.
  *
  * Convert a return code integer to a text string.  This string can be
diff --git a/lib/strerror-pr29.c b/lib/strerror-pr29.c
index 6067e1e..7c65a12 100644
--- a/lib/strerror-pr29.c
+++ b/lib/strerror-pr29.c
@@ -30,7 +30,7 @@
 #define _(String) dgettext (PACKAGE, String)
 
 /**
- * pr29_strerror - return string describing pr29 error code
+ * pr29_strerror:
  * @rc: an #Pr29_rc return code.
  *
  * Convert a return code integer to a text string.  This string can be
diff --git a/lib/strerror-punycode.c b/lib/strerror-punycode.c
index d5fac43..b5e76f4 100644
--- a/lib/strerror-punycode.c
+++ b/lib/strerror-punycode.c
@@ -30,7 +30,7 @@
 #define _(String) dgettext (PACKAGE, String)
 
 /**
- * punycode_strerror - return string describing punycode error code
+ * punycode_strerror:
  * @rc: an #Punycode_status return code.
  *
  * Convert a return code integer to a text string.  This string can be
diff --git a/lib/strerror-stringprep.c b/lib/strerror-stringprep.c
index 241b77b..2c52b73 100644
--- a/lib/strerror-stringprep.c
+++ b/lib/strerror-stringprep.c
@@ -30,7 +30,7 @@
 #define _(String) dgettext (PACKAGE, String)
 
 /**
- * stringprep_strerror - return string describing stringprep error code
+ * stringprep_strerror:
  * @rc: a #Stringprep_rc return code.
  *
  * Convert a return code integer to a text string.  This string can be
diff --git a/lib/strerror-tld.c b/lib/strerror-tld.c
index 454bf16..4135f16 100644
--- a/lib/strerror-tld.c
+++ b/lib/strerror-tld.c
@@ -30,7 +30,7 @@
 #define _(String) dgettext (PACKAGE, String)
 
 /**
- * tld_strerror - return string describing tld error code
+ * tld_strerror:
  * @rc: tld return code
  *
  * Convert a return code integer to a text string.  This string can be
diff --git a/lib/stringprep.c b/lib/stringprep.c
index 4799108..c1d836d 100644
--- a/lib/stringprep.c
+++ b/lib/stringprep.c
@@ -105,7 +105,7 @@ stringprep_apply_table_to_string (uint32_t * ucs4,
    ( INVERTED(profileflags) && (profileflags & flags)))
 
 /**
- * stringprep_4i - prepare internationalized string
+ * stringprep_4i:
  * @ucs4: input/output array with string to prepare.
  * @len: on input, length of input array with Unicode code points,
  *   on exit, length of output array with Unicode code points.
@@ -293,7 +293,7 @@ stringprep_4zi_1 (uint32_t * ucs4, size_t ucs4len, size_t 
maxucs4len,
 }
 
 /**
- * stringprep_4zi - prepare internationalized string
+ * stringprep_4zi:
  * @ucs4: input/output array with zero terminated string to prepare.
  * @maxucs4len: maximum length of input/output array.
  * @flags: a #Stringprep_profile_flags value, or 0.
@@ -330,7 +330,7 @@ stringprep_4zi (uint32_t * ucs4, size_t maxucs4len,
 }
 
 /**
- * stringprep - prepare internationalized string
+ * stringprep:
  * @in: input/ouput array with string to prepare.
  * @maxlen: maximum length of input/output array.
  * @flags: a #Stringprep_profile_flags value, or 0.
@@ -411,7 +411,7 @@ stringprep (char *in,
 }
 
 /**
- * stringprep_profile - prepare internationalized string
+ * stringprep_profile:
  * @in: input array with UTF-8 string to prepare.
  * @out: output variable with pointer to newly allocate string.
  * @profile: name of stringprep profile to use.
@@ -610,6 +610,14 @@ stringprep_profile (const char *in,
 
 /**
  * Stringprep_profile_steps:
+ * @STRINGPREP_NFKC: The NFKC step.
+ * @STRINGPREP_BIDI: The BIDI step.
+ * @STRINGPREP_MAP_TABLE: The MAP step.
+ * @STRINGPREP_UNASSIGNED_TABLE: The Unassigned step.
+ * @STRINGPREP_PROHIBIT_TABLE: The Prohibited step.
+ * @STRINGPREP_BIDI_PROHIBIT_TABLE: The BIDI-Prohibited step.
+ * @STRINGPREP_BIDI_RAL_TABLE: The BIDI-RAL step.
+ * @STRINGPREP_BIDI_L_TABLE: The BIDI-L step.
  *
  * Various steps in the stringprep algorithm.  You really want to
  * study the source code to understand this one.  Only useful if you
diff --git a/lib/tld.c b/lib/tld.c
index 5bedfb5..ac50c31 100644
--- a/lib/tld.c
+++ b/lib/tld.c
@@ -38,7 +38,7 @@
 extern const Tld_table *_tld_tables[];
 
 /**
- * tld_get_table - get table for a TLD name in table
+ * tld_get_table:
  * @tld: TLD name (e.g. "com") as zero terminated ASCII byte string.
  * @tables: Zero terminated array of #Tld_table info-structures for
  *   TLDs.
@@ -65,7 +65,7 @@ tld_get_table (const char *tld, const Tld_table ** tables)
 }
 
 /**
- * tld_default_table - get table for a TLD name
+ * tld_default_table:
  * @tld: TLD name (e.g. "com") as zero terminated ASCII byte string.
  * @overrides: Additional zero terminated array of #Tld_table
  *   info-structures for TLDs, or %NULL to only use library deault
@@ -99,7 +99,7 @@ tld_default_table (const char *tld, const Tld_table ** 
overrides)
                 (c) == 0xFF0E || (c) == 0xFF61)
 
 /**
- * tld_get_4 - extract top level domain part in input Unicode string
+ * tld_get_4:
  * @in: Array of unicode code points to process. Does not need to be
  *   zero terminated.
  * @inlen: Number of unicode code points.
@@ -149,7 +149,7 @@ tld_get_4 (const uint32_t * in, size_t inlen, char **out)
 }
 
 /**
- * tld_get_4z - extract top level domain part in input Unicode string
+ * tld_get_4z:
  * @in: Zero terminated array of unicode code points to process.
  * @out: Zero terminated ascii result string pointer.
  *
@@ -174,7 +174,7 @@ tld_get_4z (const uint32_t * in, char **out)
 }
 
 /**
- * tld_get_z - extract top level domain part in input string
+ * tld_get_z:
  * @in: Zero terminated character array to process.
  * @out: Zero terminated ascii result string pointer.
  *
@@ -250,7 +250,7 @@ _tld_checkchar (uint32_t ch, const Tld_table * tld)
 }
 
 /**
- * tld_check_4t - verify that characters are permitted
+ * tld_check_4t:
  * @in: Array of unicode code points to process. Does not need to be
  *   zero terminated.
  * @inlen: Number of unicode code points.
@@ -294,7 +294,7 @@ tld_check_4t (const uint32_t * in, size_t inlen, size_t * 
errpos,
 }
 
 /**
- * tld_check_4tz - verify that characters are permitted
+ * tld_check_4tz:
  * @in: Zero terminated array of unicode code points to process.
  * @errpos: Position of offending character is returned here.
  * @tld: A #Tld_table data structure representing the restrictions for
@@ -325,7 +325,7 @@ tld_check_4tz (const uint32_t * in, size_t * errpos, const 
Tld_table * tld)
 }
 
 /**
- * tld_check_4 - verify that characters are permitted
+ * tld_check_4:
  * @in: Array of unicode code points to process. Does not need to be
  *   zero terminated.
  * @inlen: Number of unicode code points.
@@ -377,7 +377,7 @@ tld_check_4 (const uint32_t * in, size_t inlen, size_t * 
errpos,
 }
 
 /**
- * tld_check_4z - verify that characters are permitted
+ * tld_check_4z:
  * @in: Zero-terminated array of unicode code points to process.
  * @errpos: Position of offending character is returned here.
  * @overrides: A #Tld_table array of additional domain restriction
@@ -413,7 +413,7 @@ tld_check_4z (const uint32_t * in, size_t * errpos,
 }
 
 /**
- * tld_check_8z - verify that characters are permitted
+ * tld_check_8z:
  * @in: Zero-terminated UTF8 string to process.
  * @errpos: Position of offending character is returned here.
  * @overrides: A #Tld_table array of additional domain restriction
@@ -458,7 +458,7 @@ tld_check_8z (const char *in, size_t * errpos, const 
Tld_table ** overrides)
 }
 
 /**
- * tld_check_lz - verify that characters are permitted
+ * tld_check_lz:
  * @in: Zero-terminated string in the current locales encoding to process.
  * @errpos: Position of offending character is returned here.
  * @overrides: A #Tld_table array of additional domain restriction
@@ -511,6 +511,8 @@ tld_check_lz (const char *in, size_t * errpos, const 
Tld_table ** overrides)
  * @TLD_MALLOC_ERROR: Error during memory allocation.
  * @TLD_ICONV_ERROR: Error during iconv string conversion.
  * @TLD_NO_TLD: No top-level domain found in domain string.
+ * @TLD_NOTLD: Same as @TLD_NO_TLD, for compatibility
+ *   with typo in earlier versions.
  *
  * Enumerated return codes of the TLD checking functions.
  * The value 0 is guaranteed to always correspond to success.
diff --git a/lib/toutf8.c b/lib/toutf8.c
index a8c2553..d59e5e3 100644
--- a/lib/toutf8.c
+++ b/lib/toutf8.c
@@ -55,7 +55,7 @@
 # define stringprep_locale_charset() nl_langinfo (CODESET)
 #else
 /**
- * stringprep_locale_charset - return charset used in current locale
+ * stringprep_locale_charset:
  *
  * Find out current locale charset.  The function respect the CHARSET
  * environment variable, but typically uses nl_langinfo(CODESET) when
@@ -94,7 +94,7 @@ stringprep_locale_charset (void)
 #endif
 
 /**
- * stringprep_convert - encode string using new character set
+ * stringprep_convert:
  * @str: input zero-terminated string.
  * @to_codeset: name of destination character set.
  * @from_codeset: name of origin character set, as used by @str.
@@ -123,7 +123,7 @@ stringprep_convert (const char *str,
 }
 
 /**
- * stringprep_locale_to_utf8 - convert locale encoded string to UTF-8
+ * stringprep_locale_to_utf8:
  * @str: input zero terminated string.
  *
  * Convert string encoded in the locale's character set into UTF-8 by
@@ -139,7 +139,7 @@ stringprep_locale_to_utf8 (const char *str)
 }
 
 /**
- * stringprep_utf8_to_locale - encode UTF-8 string to locale encoding
+ * stringprep_utf8_to_locale:
  * @str: input zero terminated string.
  *
  * Convert string encoded in UTF-8 into the locale's character set by
diff --git a/lib/version.c b/lib/version.c
index f2eb047..02724de 100644
--- a/lib/version.c
+++ b/lib/version.c
@@ -27,7 +27,7 @@
 #include <string.h> /* for strverscmp */
 
 /**
- * stringprep_check_version - check for library version
+ * stringprep_check_version:
  * @req_version: Required version number, or NULL.
  *
  * Check that the version of the library is at minimum the requested one


hooks/post-receive
-- 
GNU libidn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]