diff options
Diffstat (limited to 'gnulib/modules/unilbrk')
20 files changed, 427 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1 diff --git a/gnulib/modules/unilbrk/base b/gnulib/modules/unilbrk/base new file mode 100644 index 0000000..692c48c --- /dev/null +++ b/gnulib/modules/unilbrk/base @@ -0,0 +1,34 @@ +Description: +Base layer for line breaking. + +Files: +lib/unilbrk.in.h +m4/libunistring-base.m4 + +Depends-on: +unitypes +localcharset + +configure.ac: +gl_LIBUNISTRING_LIBHEADER([0.9], [unilbrk.h]) + +Makefile.am: +BUILT_SOURCES += $(LIBUNISTRING_UNILBRK_H) + +unilbrk.h: unilbrk.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/unilbrk.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += unilbrk.h unilbrk.h-t + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/tables b/gnulib/modules/unilbrk/tables new file mode 100644 index 0000000..5e4c1e8 --- /dev/null +++ b/gnulib/modules/unilbrk/tables @@ -0,0 +1,27 @@ +Description: +Line breaking auxiliary tables. + +Files: +lib/unilbrk/lbrktables.h +lib/unilbrk/lbrktables.c +lib/unilbrk/lbrkprop1.h +lib/unilbrk/lbrkprop2.h + +Depends-on: +unilbrk/base + +configure.ac: +AC_REQUIRE([AC_C_INLINE]) + +Makefile.am: +lib_SOURCES += unilbrk/lbrktables.c + +Include: +"unilbrk/lbrktables.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/u16-possible-linebreaks b/gnulib/modules/unilbrk/u16-possible-linebreaks new file mode 100644 index 0000000..7a6e580 --- /dev/null +++ b/gnulib/modules/unilbrk/u16-possible-linebreaks @@ -0,0 +1,30 @@ +Description: +Line breaking of UTF-16 strings. + +Files: +lib/unilbrk/u16-possible-linebreaks.c +lib/uniwidth/cjk.h + +Depends-on: +unilbrk/base +unilbrk/tables +unistr/u16-mbtouc-unsafe +streq + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/u16-possible-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_U16_POSSIBLE_LINEBREAKS +lib_SOURCES += unilbrk/u16-possible-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/u16-possible-linebreaks-tests b/gnulib/modules/unilbrk/u16-possible-linebreaks-tests new file mode 100644 index 0000000..b5bad36 --- /dev/null +++ b/gnulib/modules/unilbrk/u16-possible-linebreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/unilbrk/test-u16-possible-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-possible-linebreaks +check_PROGRAMS += test-u16-possible-linebreaks +test_u16_possible_linebreaks_SOURCES = unilbrk/test-u16-possible-linebreaks.c +test_u16_possible_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unilbrk/u16-width-linebreaks b/gnulib/modules/unilbrk/u16-width-linebreaks new file mode 100644 index 0000000..dff74f1 --- /dev/null +++ b/gnulib/modules/unilbrk/u16-width-linebreaks @@ -0,0 +1,29 @@ +Description: +Line breaking of UTF-16 strings. + +Files: +lib/unilbrk/u16-width-linebreaks.c + +Depends-on: +unilbrk/base +unilbrk/u16-possible-linebreaks +uniwidth/width +unistr/u16-mbtouc-unsafe + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/u16-width-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_U16_WIDTH_LINEBREAKS +lib_SOURCES += unilbrk/u16-width-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/u16-width-linebreaks-tests b/gnulib/modules/unilbrk/u16-width-linebreaks-tests new file mode 100644 index 0000000..ee86a9d --- /dev/null +++ b/gnulib/modules/unilbrk/u16-width-linebreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/unilbrk/test-u16-width-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u16-width-linebreaks +check_PROGRAMS += test-u16-width-linebreaks +test_u16_width_linebreaks_SOURCES = unilbrk/test-u16-width-linebreaks.c +test_u16_width_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unilbrk/u32-possible-linebreaks b/gnulib/modules/unilbrk/u32-possible-linebreaks new file mode 100644 index 0000000..30ba8b6 --- /dev/null +++ b/gnulib/modules/unilbrk/u32-possible-linebreaks @@ -0,0 +1,29 @@ +Description: +Line breaking of UTF-32 strings. + +Files: +lib/unilbrk/u32-possible-linebreaks.c +lib/uniwidth/cjk.h + +Depends-on: +unilbrk/base +unilbrk/tables +streq + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/u32-possible-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_U32_POSSIBLE_LINEBREAKS +lib_SOURCES += unilbrk/u32-possible-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/u32-possible-linebreaks-tests b/gnulib/modules/unilbrk/u32-possible-linebreaks-tests new file mode 100644 index 0000000..7e5b505 --- /dev/null +++ b/gnulib/modules/unilbrk/u32-possible-linebreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/unilbrk/test-u32-possible-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-possible-linebreaks +check_PROGRAMS += test-u32-possible-linebreaks +test_u32_possible_linebreaks_SOURCES = unilbrk/test-u32-possible-linebreaks.c +test_u32_possible_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unilbrk/u32-width-linebreaks b/gnulib/modules/unilbrk/u32-width-linebreaks new file mode 100644 index 0000000..f5c1bed --- /dev/null +++ b/gnulib/modules/unilbrk/u32-width-linebreaks @@ -0,0 +1,28 @@ +Description: +Line breaking of UTF-32 strings. + +Files: +lib/unilbrk/u32-width-linebreaks.c + +Depends-on: +unilbrk/base +unilbrk/u32-possible-linebreaks +uniwidth/width + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/u32-width-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_U32_WIDTH_LINEBREAKS +lib_SOURCES += unilbrk/u32-width-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/u32-width-linebreaks-tests b/gnulib/modules/unilbrk/u32-width-linebreaks-tests new file mode 100644 index 0000000..806af77 --- /dev/null +++ b/gnulib/modules/unilbrk/u32-width-linebreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/unilbrk/test-u32-width-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u32-width-linebreaks +check_PROGRAMS += test-u32-width-linebreaks +test_u32_width_linebreaks_SOURCES = unilbrk/test-u32-width-linebreaks.c +test_u32_width_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unilbrk/u8-possible-linebreaks b/gnulib/modules/unilbrk/u8-possible-linebreaks new file mode 100644 index 0000000..176eeff --- /dev/null +++ b/gnulib/modules/unilbrk/u8-possible-linebreaks @@ -0,0 +1,30 @@ +Description: +Line breaking of UTF-8 strings. + +Files: +lib/unilbrk/u8-possible-linebreaks.c +lib/uniwidth/cjk.h + +Depends-on: +unilbrk/base +unilbrk/tables +unistr/u8-mbtouc-unsafe +streq + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/u8-possible-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_U8_POSSIBLE_LINEBREAKS +lib_SOURCES += unilbrk/u8-possible-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/u8-possible-linebreaks-tests b/gnulib/modules/unilbrk/u8-possible-linebreaks-tests new file mode 100644 index 0000000..049642a --- /dev/null +++ b/gnulib/modules/unilbrk/u8-possible-linebreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/unilbrk/test-u8-possible-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-possible-linebreaks +check_PROGRAMS += test-u8-possible-linebreaks +test_u8_possible_linebreaks_SOURCES = unilbrk/test-u8-possible-linebreaks.c +test_u8_possible_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unilbrk/u8-width-linebreaks b/gnulib/modules/unilbrk/u8-width-linebreaks new file mode 100644 index 0000000..2362168 --- /dev/null +++ b/gnulib/modules/unilbrk/u8-width-linebreaks @@ -0,0 +1,29 @@ +Description: +Line breaking of UTF-8 strings. + +Files: +lib/unilbrk/u8-width-linebreaks.c + +Depends-on: +unilbrk/base +unilbrk/u8-possible-linebreaks +uniwidth/width +unistr/u8-mbtouc-unsafe + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/u8-width-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_U8_WIDTH_LINEBREAKS +lib_SOURCES += unilbrk/u8-width-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/u8-width-linebreaks-tests b/gnulib/modules/unilbrk/u8-width-linebreaks-tests new file mode 100644 index 0000000..4d5a361 --- /dev/null +++ b/gnulib/modules/unilbrk/u8-width-linebreaks-tests @@ -0,0 +1,13 @@ +Files: +tests/unilbrk/test-u8-width-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-u8-width-linebreaks +check_PROGRAMS += test-u8-width-linebreaks +test_u8_width_linebreaks_SOURCES = unilbrk/test-u8-width-linebreaks.c +test_u8_width_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) diff --git a/gnulib/modules/unilbrk/ulc-common b/gnulib/modules/unilbrk/ulc-common new file mode 100644 index 0000000..f7e6242 --- /dev/null +++ b/gnulib/modules/unilbrk/ulc-common @@ -0,0 +1,25 @@ +Description: +Line breaking auxiliary functions. + +Files: +lib/unilbrk/ulc-common.h +lib/unilbrk/ulc-common.c + +Depends-on: +c-ctype +c-strcaseeq + +configure.ac: + +Makefile.am: +lib_SOURCES += unilbrk/ulc-common.c + +Include: +"unilbrk/ulc-common.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/ulc-possible-linebreaks b/gnulib/modules/unilbrk/ulc-possible-linebreaks new file mode 100644 index 0000000..aff17e4 --- /dev/null +++ b/gnulib/modules/unilbrk/ulc-possible-linebreaks @@ -0,0 +1,30 @@ +Description: +Line breaking of strings. + +Files: +lib/unilbrk/ulc-possible-linebreaks.c + +Depends-on: +unilbrk/base +unilbrk/u8-possible-linebreaks +unilbrk/ulc-common +uniconv/u8-conv-from-enc +c-ctype + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/ulc-possible-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_ULC_POSSIBLE_LINEBREAKS +lib_SOURCES += unilbrk/ulc-possible-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/ulc-possible-linebreaks-tests b/gnulib/modules/unilbrk/ulc-possible-linebreaks-tests new file mode 100644 index 0000000..10f4a5d --- /dev/null +++ b/gnulib/modules/unilbrk/ulc-possible-linebreaks-tests @@ -0,0 +1,14 @@ +Files: +tests/unilbrk/test-ulc-possible-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ulc-possible-linebreaks +check_PROGRAMS += test-ulc-possible-linebreaks +test_ulc_possible_linebreaks_SOURCES = unilbrk/test-ulc-possible-linebreaks.c +test_ulc_possible_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + diff --git a/gnulib/modules/unilbrk/ulc-width-linebreaks b/gnulib/modules/unilbrk/ulc-width-linebreaks new file mode 100644 index 0000000..0040dff --- /dev/null +++ b/gnulib/modules/unilbrk/ulc-width-linebreaks @@ -0,0 +1,30 @@ +Description: +Line breaking of strings. + +Files: +lib/unilbrk/ulc-width-linebreaks.c + +Depends-on: +unilbrk/base +unilbrk/u8-width-linebreaks +unilbrk/ulc-common +uniconv/u8-conv-from-enc +c-ctype + +configure.ac: +gl_LIBUNISTRING_MODULE([0.9.4], [unilbrk/ulc-width-linebreaks]) + +Makefile.am: +if LIBUNISTRING_COMPILE_UNILBRK_ULC_WIDTH_LINEBREAKS +lib_SOURCES += unilbrk/ulc-width-linebreaks.c +endif + +Include: +"unilbrk.h" + +License: +LGPL + +Maintainer: +Bruno Haible + diff --git a/gnulib/modules/unilbrk/ulc-width-linebreaks-tests b/gnulib/modules/unilbrk/ulc-width-linebreaks-tests new file mode 100644 index 0000000..9ab3eef --- /dev/null +++ b/gnulib/modules/unilbrk/ulc-width-linebreaks-tests @@ -0,0 +1,14 @@ +Files: +tests/unilbrk/test-ulc-width-linebreaks.c +tests/macros.h + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-ulc-width-linebreaks +check_PROGRAMS += test-ulc-width-linebreaks +test_ulc_width_linebreaks_SOURCES = unilbrk/test-ulc-width-linebreaks.c +test_ulc_width_linebreaks_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ + |