Document limitations of this function. (#487909, Peter Moulder)
authorMatthias Clasen <mclasen@redhat.com>
Mon, 28 Jan 2008 03:15:23 +0000 (03:15 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 28 Jan 2008 03:15:23 +0000 (03:15 +0000)
2008-01-27  Matthias Clasen  <mclasen@redhat.com>

        * glib/gutf8.c (g_utf8_strreverse): Document limitations
        of this function.  (#487909, Peter Moulder)

svn path=/trunk/; revision=6391

ChangeLog
glib/gutf8.c

index 6e0165c..439bf19 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
 
-       * glib/goption.c: (group_list_has_visible_entries):
+       * glib/gutf8.c (g_utf8_strreverse): Document limitations
+       of this function.  (#487909, Peter Moulder)
+
+2008-01-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/goption.c (group_list_has_visible_entries):
        Removed unused variable is_main_group.  (#512381,
        Wouter Bolsterlee)
 
index c8f6401..2676c41 100644 (file)
@@ -1773,6 +1773,12 @@ g_unichar_validate (gunichar ch)
  * (Use g_utf8_validate() on all text before trying to use UTF-8 
  * utility functions with it.)
  *
+ * This function is intended for programmatic uses of reversed strings.
+ * It pays no attention to decomposed characters, combining marks, byte 
+ * order marks, directional indicators (LRM, LRO, etc) and similar 
+ * characters which might need special handling when reversing a string 
+ * for display purposes.
+ *
  * Note that unlike g_strreverse(), this function returns
  * newly-allocated memory, which should be freed with g_free() when
  * no longer needed.