changeset 14489:3126ca11dc4e

unictype/bidi*: Rename modules. * modules/unictype/bidiclass-all: Renamed from modules/unictype/bidicategory-all. * modules/unictype/bidiclass-name: Renamed from modules/unictype/bidiclass-name. (Description): Update. * modules/unictype/bidiclass-name-tests: Renamed from modules/unictype/bidicategory-name-tests. * modules/unictype/bidiclass-byname: Renamed from modules/unictype/bidicategory-byname. (Description): Update. * modules/unictype/bidiclass-byname-tests: Renamed from modules/unictype/bidicategory-byname-tests. * modules/unictype/bidiclass-of: Renamed from modules/unictype/bidicategory-of. (Description): Update. * modules/unictype/bidiclass-of-tests: Renamed from modules/unictype/bidicategory-of-tests. * modules/unictype/bidiclass-test: Renamed from modules/unictype/bidicategory-test. (Description): Update. * modules/unictype/bidiclass-test-tests: Renamed from modules/unictype/bidicategory-test-tests. * modules/unictype/bidicategory-all: New file, a simple redirection. * modules/unictype/bidicategory-name: Likewise. * modules/unictype/bidicategory-byname: Likewise. * modules/unictype/bidicategory-of: Likewise. * modules/unictype/bidicategory-test: Likewise. * modules/unictype/property-bidi-* (Dependencies): Update. * lib/unictype/bidi_*.c: Update comment.
author Bruno Haible <bruno@clisp.org>
date Sat, 26 Mar 2011 11:51:52 +0100
parents 429158d0d1c1
children 3ceda9e5101d
files ChangeLog lib/unictype/bidi_byname.c lib/unictype/bidi_name.c lib/unictype/bidi_of.c lib/unictype/bidi_test.c modules/unictype/bidicategory-all modules/unictype/bidicategory-byname modules/unictype/bidicategory-byname-tests modules/unictype/bidicategory-name modules/unictype/bidicategory-name-tests modules/unictype/bidicategory-of modules/unictype/bidicategory-of-tests modules/unictype/bidicategory-test modules/unictype/bidicategory-test-tests modules/unictype/bidiclass-all modules/unictype/bidiclass-byname modules/unictype/bidiclass-byname-tests modules/unictype/bidiclass-name modules/unictype/bidiclass-name-tests modules/unictype/bidiclass-of modules/unictype/bidiclass-of-tests modules/unictype/bidiclass-test modules/unictype/bidiclass-test-tests modules/unictype/property-bidi-arabic-digit modules/unictype/property-bidi-arabic-right-to-left modules/unictype/property-bidi-block-separator modules/unictype/property-bidi-boundary-neutral modules/unictype/property-bidi-common-separator modules/unictype/property-bidi-control modules/unictype/property-bidi-embedding-or-override modules/unictype/property-bidi-eur-num-separator modules/unictype/property-bidi-eur-num-terminator modules/unictype/property-bidi-european-digit modules/unictype/property-bidi-hebrew-right-to-left modules/unictype/property-bidi-left-to-right modules/unictype/property-bidi-non-spacing-mark modules/unictype/property-bidi-other-neutral modules/unictype/property-bidi-pdf modules/unictype/property-bidi-segment-separator modules/unictype/property-bidi-whitespace
diffstat 40 files changed, 269 insertions(+), 111 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,36 @@
+2011-03-26  Bruno Haible  <bruno@clisp.org>
+
+	unictype/bidi*: Rename modules.
+	* modules/unictype/bidiclass-all: Renamed from
+	modules/unictype/bidicategory-all.
+	* modules/unictype/bidiclass-name: Renamed from
+	modules/unictype/bidiclass-name.
+	(Description): Update.
+	* modules/unictype/bidiclass-name-tests: Renamed from
+	modules/unictype/bidicategory-name-tests.
+	* modules/unictype/bidiclass-byname: Renamed from
+	modules/unictype/bidicategory-byname.
+	(Description): Update.
+	* modules/unictype/bidiclass-byname-tests: Renamed from
+	modules/unictype/bidicategory-byname-tests.
+	* modules/unictype/bidiclass-of: Renamed from
+	modules/unictype/bidicategory-of.
+	(Description): Update.
+	* modules/unictype/bidiclass-of-tests: Renamed from
+	modules/unictype/bidicategory-of-tests.
+	* modules/unictype/bidiclass-test: Renamed from
+	modules/unictype/bidicategory-test.
+	(Description): Update.
+	* modules/unictype/bidiclass-test-tests: Renamed from
+	modules/unictype/bidicategory-test-tests.
+	* modules/unictype/bidicategory-all: New file, a simple redirection.
+	* modules/unictype/bidicategory-name: Likewise.
+	* modules/unictype/bidicategory-byname: Likewise.
+	* modules/unictype/bidicategory-of: Likewise.
+	* modules/unictype/bidicategory-test: Likewise.
+	* modules/unictype/property-bidi-* (Dependencies): Update.
+	* lib/unictype/bidi_*.c: Update comment.
+
 2011-03-26  Bruno Haible  <bruno@clisp.org>
 
 	unictype/bidi*: Rename functions, part 2.
--- a/lib/unictype/bidi_byname.c
+++ b/lib/unictype/bidi_byname.c
@@ -1,4 +1,4 @@
-/* Bidi categories of Unicode characters.
+/* Bidi classes of Unicode characters.
    Copyright (C) 2002, 2006, 2011 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2002.
 
--- a/lib/unictype/bidi_name.c
+++ b/lib/unictype/bidi_name.c
@@ -1,4 +1,4 @@
-/* Bidi categories of Unicode characters.
+/* Bidi classes of Unicode characters.
    Copyright (C) 2002, 2006, 2011 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2002.
 
--- a/lib/unictype/bidi_of.c
+++ b/lib/unictype/bidi_of.c
@@ -1,4 +1,4 @@
-/* Bidi categories of Unicode characters.
+/* Bidi classes of Unicode characters.
    Copyright (C) 2002, 2006, 2011 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2002.
 
--- a/lib/unictype/bidi_test.c
+++ b/lib/unictype/bidi_test.c
@@ -1,4 +1,4 @@
-/* Bidi categories of Unicode characters.
+/* Bidi classes of Unicode characters.
    Copyright (C) 2002, 2006, 2011 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2002.
 
--- a/modules/unictype/bidicategory-all
+++ b/modules/unictype/bidicategory-all
@@ -1,14 +1,16 @@
 Description:
-Complete API for Unicode character bidi categories.
+Unicode character bidi category functions.
+
+Status:
+obsolete
+
+Notice:
+This module is obsolete. Use the module 'unictype/bidiclass-all' instead.
 
 Files:
 
 Depends-on:
-unictype/base
-unictype/bidicategory-byname
-unictype/bidicategory-name
-unictype/bidicategory-of
-unictype/bidicategory-test
+unictype/bidiclass-all
 
 configure.ac:
 
@@ -22,4 +24,3 @@
 
 Maintainer:
 Bruno Haible
-
--- a/modules/unictype/bidicategory-byname
+++ b/modules/unictype/bidicategory-byname
@@ -1,19 +1,20 @@
 Description:
 Find a Unicode character bidi category, given its name.
 
+Status:
+obsolete
+
+Notice:
+This module is obsolete. Use the module 'unictype/bidiclass-byname' instead.
+
 Files:
-lib/unictype/bidi_byname.c
 
 Depends-on:
-unictype/base
+unictype/bidiclass-byname
 
 configure.ac:
-gl_LIBUNISTRING_MODULE([0.9.4], [unictype/bidicategory-byname])
 
 Makefile.am:
-if LIBUNISTRING_COMPILE_UNICTYPE_BIDICATEGORY_BYNAME
-lib_SOURCES += unictype/bidi_byname.c
-endif
 
 Include:
 "unictype.h"
@@ -23,4 +24,3 @@
 
 Maintainer:
 Bruno Haible
-
deleted file mode 100644
--- a/modules/unictype/bidicategory-byname-tests
+++ /dev/null
@@ -1,13 +0,0 @@
-Files:
-tests/unictype/test-bidi_byname.c
-tests/macros.h
-
-Depends-on:
-
-configure.ac:
-
-Makefile.am:
-TESTS += test-bidi_byname
-check_PROGRAMS += test-bidi_byname
-test_bidi_byname_SOURCES = unictype/test-bidi_byname.c
-test_bidi_byname_LDADD = $(LDADD) $(LIBUNISTRING)
--- a/modules/unictype/bidicategory-name
+++ b/modules/unictype/bidicategory-name
@@ -1,19 +1,20 @@
 Description:
 Name of Unicode character bidi category.
 
+Status:
+obsolete
+
+Notice:
+This module is obsolete. Use the module 'unictype/bidiclass-name' instead.
+
 Files:
-lib/unictype/bidi_name.c
 
 Depends-on:
-unictype/base
+unictype/bidiclass-name
 
 configure.ac:
-gl_LIBUNISTRING_MODULE([0.9.4], [unictype/bidicategory-name])
 
 Makefile.am:
-if LIBUNISTRING_COMPILE_UNICTYPE_BIDICATEGORY_NAME
-lib_SOURCES += unictype/bidi_name.c
-endif
 
 Include:
 "unictype.h"
@@ -23,4 +24,3 @@
 
 Maintainer:
 Bruno Haible
-
deleted file mode 100644
--- a/modules/unictype/bidicategory-name-tests
+++ /dev/null
@@ -1,13 +0,0 @@
-Files:
-tests/unictype/test-bidi_name.c
-tests/macros.h
-
-Depends-on:
-
-configure.ac:
-
-Makefile.am:
-TESTS += test-bidi_name
-check_PROGRAMS += test-bidi_name
-test_bidi_name_SOURCES = unictype/test-bidi_name.c
-test_bidi_name_LDADD = $(LDADD) $(LIBUNISTRING)
--- a/modules/unictype/bidicategory-of
+++ b/modules/unictype/bidicategory-of
@@ -1,20 +1,20 @@
 Description:
 Determine bidi category of a Unicode character.
 
+Status:
+obsolete
+
+Notice:
+This module is obsolete. Use the module 'unictype/bidiclass-of' instead.
+
 Files:
-lib/unictype/bidi_of.c
-lib/unictype/bidi_of.h
 
 Depends-on:
-unictype/base
+unictype/bidiclass-of
 
 configure.ac:
-gl_LIBUNISTRING_MODULE([0.9.4], [unictype/bidicategory-of])
 
 Makefile.am:
-if LIBUNISTRING_COMPILE_UNICTYPE_BIDICATEGORY_OF
-lib_SOURCES += unictype/bidi_of.c
-endif
 
 Include:
 "unictype.h"
@@ -24,4 +24,3 @@
 
 Maintainer:
 Bruno Haible
-
deleted file mode 100644
--- a/modules/unictype/bidicategory-of-tests
+++ /dev/null
@@ -1,13 +0,0 @@
-Files:
-tests/unictype/test-bidi_of.c
-tests/macros.h
-
-Depends-on:
-
-configure.ac:
-
-Makefile.am:
-TESTS += test-bidi_of
-check_PROGRAMS += test-bidi_of
-test_bidi_of_SOURCES = unictype/test-bidi_of.c
-test_bidi_of_LDADD = $(LDADD) $(LIBUNISTRING)
--- a/modules/unictype/bidicategory-test
+++ b/modules/unictype/bidicategory-test
@@ -1,20 +1,20 @@
 Description:
 Test whether a Unicode character belongs to a given bidi category.
 
+Status:
+obsolete
+
+Notice:
+This module is obsolete. Use the module 'unictype/bidiclass-test' instead.
+
 Files:
-lib/unictype/bidi_test.c
 
 Depends-on:
-unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-test
 
 configure.ac:
-gl_LIBUNISTRING_MODULE([0.9.4], [unictype/bidicategory-test])
 
 Makefile.am:
-if LIBUNISTRING_COMPILE_UNICTYPE_BIDICATEGORY_TEST
-lib_SOURCES += unictype/bidi_test.c
-endif
 
 Include:
 "unictype.h"
@@ -24,4 +24,3 @@
 
 Maintainer:
 Bruno Haible
-
deleted file mode 100644
--- a/modules/unictype/bidicategory-test-tests
+++ /dev/null
@@ -1,14 +0,0 @@
-Files:
-tests/unictype/test-bidi_test.c
-tests/macros.h
-
-Depends-on:
-unictype/bidicategory-of
-
-configure.ac:
-
-Makefile.am:
-TESTS += test-bidi_test
-check_PROGRAMS += test-bidi_test
-test_bidi_test_SOURCES = unictype/test-bidi_test.c
-test_bidi_test_LDADD = $(LDADD) $(LIBUNISTRING)
new file mode 100644
--- /dev/null
+++ b/modules/unictype/bidiclass-all
@@ -0,0 +1,24 @@
+Description:
+Complete API for Unicode character bidi categories.
+
+Files:
+
+Depends-on:
+unictype/base
+unictype/bidiclass-byname
+unictype/bidiclass-name
+unictype/bidiclass-of
+unictype/bidiclass-test
+
+configure.ac:
+
+Makefile.am:
+
+Include:
+"unictype.h"
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
new file mode 100644
--- /dev/null
+++ b/modules/unictype/bidiclass-byname
@@ -0,0 +1,25 @@
+Description:
+Find a Unicode character bidi class, given its name.
+
+Files:
+lib/unictype/bidi_byname.c
+
+Depends-on:
+unictype/base
+
+configure.ac:
+gl_LIBUNISTRING_MODULE([0.9.4], [unictype/bidiclass-byname])
+
+Makefile.am:
+if LIBUNISTRING_COMPILE_UNICTYPE_BIDICATEGORY_BYNAME
+lib_SOURCES += unictype/bidi_byname.c
+endif
+
+Include:
+"unictype.h"
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
new file mode 100644
--- /dev/null
+++ b/modules/unictype/bidiclass-byname-tests
@@ -0,0 +1,13 @@
+Files:
+tests/unictype/test-bidi_byname.c
+tests/macros.h
+
+Depends-on:
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-bidi_byname
+check_PROGRAMS += test-bidi_byname
+test_bidi_byname_SOURCES = unictype/test-bidi_byname.c
+test_bidi_byname_LDADD = $(LDADD) $(LIBUNISTRING)
new file mode 100644
--- /dev/null
+++ b/modules/unictype/bidiclass-name
@@ -0,0 +1,25 @@
+Description:
+Name of Unicode character bidi class.
+
+Files:
+lib/unictype/bidi_name.c
+
+Depends-on:
+unictype/base
+
+configure.ac:
+gl_LIBUNISTRING_MODULE([0.9.4], [unictype/bidiclass-name])
+
+Makefile.am:
+if LIBUNISTRING_COMPILE_UNICTYPE_BIDICATEGORY_NAME
+lib_SOURCES += unictype/bidi_name.c
+endif
+
+Include:
+"unictype.h"
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
new file mode 100644
--- /dev/null
+++ b/modules/unictype/bidiclass-name-tests
@@ -0,0 +1,13 @@
+Files:
+tests/unictype/test-bidi_name.c
+tests/macros.h
+
+Depends-on:
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-bidi_name
+check_PROGRAMS += test-bidi_name
+test_bidi_name_SOURCES = unictype/test-bidi_name.c
+test_bidi_name_LDADD = $(LDADD) $(LIBUNISTRING)
new file mode 100644
--- /dev/null
+++ b/modules/unictype/bidiclass-of
@@ -0,0 +1,26 @@
+Description:
+Determine bidi class of a Unicode character.
+
+Files:
+lib/unictype/bidi_of.c
+lib/unictype/bidi_of.h
+
+Depends-on:
+unictype/base
+
+configure.ac:
+gl_LIBUNISTRING_MODULE([0.9.4], [unictype/bidiclass-of])
+
+Makefile.am:
+if LIBUNISTRING_COMPILE_UNICTYPE_BIDICATEGORY_OF
+lib_SOURCES += unictype/bidi_of.c
+endif
+
+Include:
+"unictype.h"
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
new file mode 100644
--- /dev/null
+++ b/modules/unictype/bidiclass-of-tests
@@ -0,0 +1,13 @@
+Files:
+tests/unictype/test-bidi_of.c
+tests/macros.h
+
+Depends-on:
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-bidi_of
+check_PROGRAMS += test-bidi_of
+test_bidi_of_SOURCES = unictype/test-bidi_of.c
+test_bidi_of_LDADD = $(LDADD) $(LIBUNISTRING)
new file mode 100644
--- /dev/null
+++ b/modules/unictype/bidiclass-test
@@ -0,0 +1,26 @@
+Description:
+Test whether a Unicode character belongs to a given bidi class.
+
+Files:
+lib/unictype/bidi_test.c
+
+Depends-on:
+unictype/base
+unictype/bidiclass-of
+
+configure.ac:
+gl_LIBUNISTRING_MODULE([0.9.4], [unictype/bidiclass-test])
+
+Makefile.am:
+if LIBUNISTRING_COMPILE_UNICTYPE_BIDICATEGORY_TEST
+lib_SOURCES += unictype/bidi_test.c
+endif
+
+Include:
+"unictype.h"
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
new file mode 100644
--- /dev/null
+++ b/modules/unictype/bidiclass-test-tests
@@ -0,0 +1,14 @@
+Files:
+tests/unictype/test-bidi_test.c
+tests/macros.h
+
+Depends-on:
+unictype/bidiclass-of
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-bidi_test
+check_PROGRAMS += test-bidi_test
+test_bidi_test_SOURCES = unictype/test-bidi_test.c
+test_bidi_test_LDADD = $(LDADD) $(LIBUNISTRING)
--- a/modules/unictype/property-bidi-arabic-digit
+++ b/modules/unictype/property-bidi-arabic-digit
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-arabic-right-to-left
+++ b/modules/unictype/property-bidi-arabic-right-to-left
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-block-separator
+++ b/modules/unictype/property-bidi-block-separator
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-boundary-neutral
+++ b/modules/unictype/property-bidi-boundary-neutral
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-common-separator
+++ b/modules/unictype/property-bidi-common-separator
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-control
+++ b/modules/unictype/property-bidi-control
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-embedding-or-override
+++ b/modules/unictype/property-bidi-embedding-or-override
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-eur-num-separator
+++ b/modules/unictype/property-bidi-eur-num-separator
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-eur-num-terminator
+++ b/modules/unictype/property-bidi-eur-num-terminator
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-european-digit
+++ b/modules/unictype/property-bidi-european-digit
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-hebrew-right-to-left
+++ b/modules/unictype/property-bidi-hebrew-right-to-left
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-left-to-right
+++ b/modules/unictype/property-bidi-left-to-right
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-non-spacing-mark
+++ b/modules/unictype/property-bidi-non-spacing-mark
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-other-neutral
+++ b/modules/unictype/property-bidi-other-neutral
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-pdf
+++ b/modules/unictype/property-bidi-pdf
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-segment-separator
+++ b/modules/unictype/property-bidi-segment-separator
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
--- a/modules/unictype/property-bidi-whitespace
+++ b/modules/unictype/property-bidi-whitespace
@@ -8,7 +8,7 @@
 
 Depends-on:
 unictype/base
-unictype/bidicategory-of
+unictype/bidiclass-of
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])