Use Unicode database for attribute tables in bidi.c.
authorEli Zaretskii <eliz@gnu.org>
Sun, 13 Jun 2010 17:40:25 +0000 (20:40 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 13 Jun 2010 17:40:25 +0000 (20:40 +0300)
commitb840e612747107e406edc6af283e9bc201282f6a
tree86cebfdb099d23c0132ed65a5c5e0d2313bacea5
parent89a13959ca5de71992328468028626cd3027798c
parentcbc4fd20f7a9460026035e07116badeddf33e0e0
Use Unicode database for attribute tables in bidi.c.

 admin/unidata/bidimirror.awk: New file.
 admin/unidata/BidiMirroring.txt: New file from
 http://www.unicode.org/Public/6.0.0/ucd/BidiMirroring-6.0.0d1.txt.
 admin/unidata/Makefile.in: (../../src/bidimirror.h): New target.
 (all): Depend on ../../src/biditype.h and ../../src/bidimirror.h.
 admin/unidata/makefile.w32-in (../../src/bidimirror.h): New target.
 (all): Depend on ../../src/biditype.h and ../../src/bidimirror.h.
 admin/unidata/biditype.awk: New file.
 admin/unidata/Makefile.in (../../src/biditype.h): New target.
 admin/unidata/makefile.w32-in (../../src/biditype.h): New target.
 src/makefile.w32-in ($(BLD)/bidi.$(O)): Depend on biditype.h and
 bidimirror.h.
 src/deps.mk (bidi.o): Depend on biditype.h and bidimirror.h.
 src/bidi.c (bidi_initialize): Remove explicit initialization of
 bidi_type_table; include biditype.h instead.  Don't support
 entries whose second codepoint is zero.  Initialize
 bidi_mirror_table.
 (bidi_mirror_char): Use bidi_mirror_table.
 src/biditype.h: New file.
 src/bidimirror.h: New file.