view etc/unicode/mule-ucs/tibetan.txt @ 4690:257b468bf2ca

Move the #'query-coding-region implementation to C. This is necessary because there is no reasonable way to access the corresponding mswindows-multibyte functionality from Lisp, and we need such functionality if we're going to have a reliable and portable #'query-coding-region implementation. However, this change doesn't yet provide #'query-coding-region for the mswindow-multibyte coding systems, there should be no functional differences between an XEmacs with this change and one without it. src/ChangeLog addition: 2009-09-19 Aidan Kehoe <kehoea@parhasard.net> Move the #'query-coding-region implementation to C. This is necessary because there is no reasonable way to access the corresponding mswindows-multibyte functionality from Lisp, and we need such functionality if we're going to have a reliable and portable #'query-coding-region implementation. However, this change doesn't yet provide #'query-coding-region for the mswindow-multibyte coding systems, there should be no functional differences between an XEmacs with this change and one without it. * mule-coding.c (struct fixed_width_coding_system): Add a new coding system type, fixed_width, and implement it. It uses the CCL infrastructure but has a much simpler creation API, and its own query_method, formerly in lisp/mule/mule-coding.el. * unicode.c: Move the Unicode query method implementation here from unicode.el. * lisp.h: Declare Fmake_coding_system_internal, Fcopy_range_table here. * intl-win32.c (complex_vars_of_intl_win32): Use Fmake_coding_system_internal, not Fmake_coding_system. * general-slots.h: Add Qsucceeded, Qunencodable, Qinvalid_sequence here. * file-coding.h (enum coding_system_variant): Add fixed_width_coding_system here. (struct coding_system_methods): Add query_method and query_lstream_method to the coding system methods. Provide flags for the query methods. Declare the default query method; initialise it correctly in INITIALIZE_CODING_SYSTEM_TYPE. * file-coding.c (default_query_method): New function, the default query method for coding systems that do not set it. Moved from coding.el. (make_coding_system_1): Accept new elements in PROPS in #'make-coding-system; aliases, a list of aliases; safe-chars and safe-charsets (these were previously accepted but not saved); and category. (Fmake_coding_system_internal): New function, what used to be #'make-coding-system--on Mule builds, we've now moved some of the functionality of this to Lisp. (Fcoding_system_canonical_name_p): Move this earlier in the file, since it's now called from within make_coding_system_1. (Fquery_coding_region): Move the implementation of this here, from coding.el. (complex_vars_of_file_coding): Call Fmake_coding_system_internal, not Fmake_coding_system; specify safe-charsets properties when we're a mule build. * extents.h (mouse_highlight_priority, Fset_extent_priority, Fset_extent_face, Fmap_extents): Make these available to other C files. lisp/ChangeLog addition: 2009-09-19 Aidan Kehoe <kehoea@parhasard.net> Move the #'query-coding-region implementation to C. * coding.el: Consolidate code that depends on the presence or absence of Mule at the end of this file. (default-query-coding-region, query-coding-region): Move these functions to C. (default-query-coding-region-safe-charset-skip-chars-map): Remove this variable, the corresponding C variable is Vdefault_query_coding_region_chartab_cache in file-coding.c. (query-coding-string): Update docstring to reflect actual multiple values, be more careful about not modifying a range table that we're currently mapping over. (encode-coding-char): Make the implementation of this simpler. (featurep 'mule): Autoload #'make-coding-system from mule/make-coding-system.el if we're a mule build; provide an appropriate compiler macro. Do various non-mule compatibility things if we're not a mule build. * update-elc.el (additional-dump-dependencies): Add mule/make-coding-system as a dump time dependency if we're a mule build. * unicode.el (ccl-encode-to-ucs-2): (decode-char): (encode-char): Move these earlier in the file, for the sake of some byte compile warnings. (unicode-query-coding-region): Move this to unicode.c * mule/make-coding-system.el: New file, not dumped. Contains the functionality to rework the arguments necessary for fixed-width coding systems, and contains the implementation of #'make-coding-system, which now calls #'make-coding-system-internal. * mule/vietnamese.el (viscii): * mule/latin.el (iso-8859-2): (windows-1250): (iso-8859-3): (iso-8859-4): (iso-8859-14): (iso-8859-15): (iso-8859-16): (iso-8859-9): (macintosh): (windows-1252): * mule/hebrew.el (iso-8859-8): * mule/greek.el (iso-8859-7): (windows-1253): * mule/cyrillic.el (iso-8859-5): (koi8-r): (koi8-u): (windows-1251): (alternativnyj): (koi8-ru): (koi8-t): (koi8-c): (koi8-o): * mule/arabic.el (iso-8859-6): (windows-1256): Move all these coding systems to being of type fixed-width, not of type CCL. This allows the distinct query-coding-region for them to be in C, something which will eventually allow us to implement query-coding-region for the mswindows-multibyte coding systems. * mule/general-late.el (posix-charset-to-coding-system-hash): Document why we're pre-emptively persuading the byte compiler that the ELC for this file needs to be written using escape-quoted. Call #'set-unicode-query-skip-chars-args, now the Unicode query-coding-region implementation is in C. * mule/thai-xtis.el (tis-620): Don't bother checking whether we're XEmacs or not here. * mule/mule-coding.el: Move the eight bit fixed-width functionality from this file to make-coding-system.el. tests/ChangeLog addition: 2009-09-19 Aidan Kehoe <kehoea@parhasard.net> * automated/mule-tests.el: Check a coding system's type, not an 8-bit-fixed property, for whether that coding system should be treated as a fixed-width coding system. * automated/query-coding-tests.el: Don't test the query coding functionality for mswindows-multibyte coding systems, it's not yet implemented.
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 19 Sep 2009 22:53:13 +0100
parents a29c4eef8f00
children
line wrap: on
line source

# Converted from mule-ucs/lisp/reldata/utibetan.el.
#
# NOTE: Does not contain all characters listed in that table, because some
# of them are composites.

0x2130   0x0F00  #   TIBETAN SYLLABLE OM
0x2131   0x0F01  #   TIBETAN MARK GTER YIG MGO TRUNCATED A
0x2132   0x0F02  #   TIBETAN MARK GTER YIG MGO -UM RNAM BCAD MA
0x2133   0x0F03  #   TIBETAN MARK GTER YIG MGO -UM GTER TSHEG MA
0x2134   0x0F04  #   TIBETAN MARK INITIAL YIG MGO MDUN MA
0x2135   0x0F05  #   TIBETAN MARK CLOSING YIG MGO SGAB MA
0x2136   0x0F06  #   TIBETAN MARK CARET YIG MGO PHUR SHAD MA
0x2137   0x0F07  #   TIBETAN MARK YIG MGO TSHEG SHAD MA
0x2138   0x0F08  #   TIBETAN MARK SBRUL SHAD
0x2139   0x0F09  #   TIBETAN MARK BSKUR YIG MGO
0x213a   0x0F0A  #   TIBETAN MARK BKA- SHOG YIG MGO
0x213b   0x0F0B  #   TIBETAN MARK INTERSYLLABIC TSHEG
0x213c   0x0F0C  #   TIBETAN MARK DELIMITER TSHEG BSTAR
0x213d   0x0F0D  #   TIBETAN MARK SHAD
0x213e   0x0F0E  #   TIBETAN MARK NYIS SHAD
0x213f   0x0F0F  #   TIBETAN MARK TSHEG SHAD
0x2140   0x0F10  #   TIBETAN MARK NYIS TSHEG SHAD
0x2141   0x0F11  #   TIBETAN MARK RIN CHEN SPUNGS SHAD
0x2142   0x0F12  #   TIBETAN MARK RGYA GRAM SHAD
0x2143   0x0F13  #   TIBETAN MARK CARET -DZUD RTAGS ME LONG CAN
0x2144   0x0F14  #   TIBETAN MARK GTER TSHEG
0x2145   0x0F15  #   TIBETAN LOGOTYPE SIGN CHAD RTAGS
0x2146   0x0F16  #   TIBETAN LOGOTYPE SIGN LHAG RTAGS
0x2147   0x0F17  #   TIBETAN ASTROLOGICAL SIGN SGRA GCAN -CHAR RTAGS
0x2148   0x0F18  #   TIBETAN ASTROLOGICAL SIGN -KHYUD PA
0x2149   0x0F19  #   TIBETAN ASTROLOGICAL SIGN SDONG TSHUGS
0x214a   0x0F1A  #   TIBETAN SIGN RDEL DKAR GCIG
0x214b   0x0F1B  #   TIBETAN SIGN RDEL DKAR GNYIS
0x214c   0x0F1C  #   TIBETAN SIGN RDEL DKAR GSUM
0x214d   0x0F1D  #   TIBETAN SIGN RDEL NAG GCIG
0x214e   0x0F1E  #   TIBETAN SIGN RDEL NAG GNYIS
0x214f   0x0F1F  #   TIBETAN SIGN RDEL DKAR RDEL NAG
0x2150   0x0F20  #   TIBETAN DIGIT ZERO
0x2151   0x0F21  #   TIBETAN DIGIT ONE
0x2152   0x0F22  #   TIBETAN DIGIT TWO
0x2153   0x0F23  #   TIBETAN DIGIT THREE
0x2154   0x0F24  #   TIBETAN DIGIT FOUR
0x2155   0x0F25  #   TIBETAN DIGIT FIVE
0x2156   0x0F26  #   TIBETAN DIGIT SIX
0x2157   0x0F27  #   TIBETAN DIGIT SEVEN
0x2158   0x0F28  #   TIBETAN DIGIT EIGHT
0x2159   0x0F29  #   TIBETAN DIGIT NINE
0x215a   0x0F2A  #   TIBETAN DIGIT HALF ONE
0x215b   0x0F2B  #   TIBETAN DIGIT HALF TWO
0x215c   0x0F2C  #   TIBETAN DIGIT HALF THREE
0x215d   0x0F2D  #   TIBETAN DIGIT HALF FOUR
0x215e   0x0F2E  #   TIBETAN DIGIT HALF FIVE
0x215f   0x0F2F  #   TIBETAN DIGIT HALF SIX
0x2160   0x0F30  #   TIBETAN DIGIT HALF SEVEN
0x2161   0x0F31  #   TIBETAN DIGIT HALF EIGHT
0x2162   0x0F32  #   TIBETAN DIGIT HALF NINE
0x2163   0x0F33  #   TIBETAN DIGIT HALF ZERO
0x2164   0x0F34  #   TIBETAN MARK BSDUS RTAGS
0x2165   0x0F35  #   TIBETAN MARK NGAS BZUNG NYI ZLA
0x2166   0x0F36  #   TIBETAN MARK CARET -DZUD RTAGS BZHI MIG CAN
0x2167   0x0F37  #   TIBETAN MARK NGAS BZUNG SGOR RTAGS
0x2168   0x0F38  #   TIBETAN MARK CHE MGO
0x2169   0x0F39  #   TIBETAN MARK TSA -PHRU
0x216a   0x0F3A  #   TIBETAN MARK GUG RTAGS GYON
0x216b   0x0F3B  #   TIBETAN MARK GUG RTAGS GYAS
0x216c   0x0F3C  #   TIBETAN MARK ANG KHANG GYON
0x216d   0x0F3D  #   TIBETAN MARK ANG KHANG GYAS
0x216e   0x0F3E  #   TIBETAN SIGN YAR TSHES
0x216f   0x0F3F  #   TIBETAN SIGN MAR TSHES
0x2251   0x0F70  #   TIBETAN VOWEL SIGN A (RESERVED in UNICODE)
0x2252   0x0F71  #   TIBETAN VOWEL SIGN AA
0x2253   0x0F72  #   TIBETAN VOWEL SIGN I
0x2254   0x0F73  #   TIBETAN VOWEL SIGN II
0x2255   0x0F74  #   TIBETAN VOWEL SIGN U
0x2256   0x0F75  #   TIBETAN VOWEL SIGN UU
0x2257   0x0F76  #   TIBETAN VOWEL SIGN VOCALIC R
0x2258   0x0F77  #   TIBETAN VOWEL SIGN VOCALIC RR
0x2259   0x0F78  #   TIBETAN VOWEL SIGN VOCALIC L
0x225a   0x0F79  #   TIBETAN VOWEL SIGN VOCALIC LL
0x225b   0x0F7A  #   TIBETAN VOWEL SIGN E
0x225c   0x0F7B  #   TIBETAN VOWEL SIGN EE
0x225d   0x0F7C  #   TIBETAN VOWEL SIGN O
0x225e   0x0F7D  #   TIBETAN VOWEL SIGN OO
0x225f   0x0F7E  #   TIBETAN SIGN RJES SU NGA RO
0x2260   0x0F7F  #   TIBETAN SIGN RNAM BCAD
0x2261   0x0F80  #   TIBETAN VOWEL SIGN REVERSED I
0x2262   0x0F81  #   TIBETAN VOWEL SIGN REVERSED II
0x2263   0x0F82  #   TIBETAN SIGN NYI ZLA NAA DA
0x2264   0x0F83  #   TIBETAN SIGN SNA LDAN
0x2265   0x0F84  #   TIBETAN MARK HALANTA
0x2266   0x0F85  #   TIBETAN MARK PALUTA
0x2267   0x0F86  #   TIBETAN SIGN LCI RTAGS
0x2268   0x0F87  #   TIBETAN SIGN YANG RTAGS
0x2269   0x0F88  #   TIBETAN SIGN LCE TSA CAN
0x226a   0x0F89  #   TIBETAN SIGN MCHU CAN
0x226b   0x0F8A  #   TIBETAN SIGN GRU CAN RGYINGS
0x226c   0x0F8B  #   TIBETAN SIGN GRU MED RGYINGS
0x2321   0x0F90  #   TIBETAN SUBJOINED LETTER KA
0x2322   0x0F91  #   TIBETAN SUBJOINED LETTER KHA
0x2323   0x0F92  #   TIBETAN SUBJOINED LETTER GA
0x2324   0x0F93  #   TIBETAN SUBJOINED LETTER GHA
0x2325   0x0F94  #   TIBETAN SUBJOINED LETTER NGA
0x2326   0x0F95  #   TIBETAN SUBJOINED LETTER CA
0x2327   0x0F96  #   TIBETAN SUBJOINED LETTER CHA
0x2328   0x0F97  #   TIBETAN SUBJOINED LETTER JA
0x232a   0x0F99  #   TIBETAN SUBJOINED LETTER NYA
0x232b   0x0F9A  #   TIBETAN SUBJOINED LETTER TTA
0x232c   0x0F9B  #   TIBETAN SUBJOINED LETTER TTHA
0x232d   0x0F9C  #   TIBETAN SUBJOINED LETTER DDA
0x232e   0x0F9D  #   TIBETAN SUBJOINED LETTER DDHA
0x232f   0x0F9E  #   TIBETAN SUBJOINED LETTER NNA
0x2330   0x0F9F  #   TIBETAN SUBJOINED LETTER TA
0x2331   0x0FA0  #   TIBETAN SUBJOINED LETTER THA
0x2332   0x0FA1  #   TIBETAN SUBJOINED LETTER DA
0x2333   0x0FA2  #   TIBETAN SUBJOINED LETTER DHA
0x2334   0x0FA3  #   TIBETAN SUBJOINED LETTER NA
0x2335   0x0FA4  #   TIBETAN SUBJOINED LETTER PA
0x2336   0x0FA5  #   TIBETAN SUBJOINED LETTER PHA
0x2337   0x0FA6  #   TIBETAN SUBJOINED LETTER BA
0x2338   0x0FA7  #   TIBETAN SUBJOINED LETTER BHA
0x2339   0x0FA8  #   TIBETAN SUBJOINED LETTER MA
0x233a   0x0FA9  #   TIBETAN SUBJOINED LETTER TSA
0x233b   0x0FAA  #   TIBETAN SUBJOINED LETTER TSHA
0x233c   0x0FAB  #   TIBETAN SUBJOINED LETTER DZA
0x233d   0x0FAC  #   TIBETAN SUBJOINED LETTER DZHA
0x233e   0x0FAD  #   TIBETAN SUBJOINED LETTER WA
0x233f   0x0FAE  #   TIBETAN SUBJOINED LETTER ZHA
0x2340   0x0FAF  #   TIBETAN SUBJOINED LETTER ZA
0x2341   0x0FB0  #   TIBETAN SUBJOINED LETTER -A
0x2342   0x0FB1  #   TIBETAN SUBJOINED LETTER YA
0x2343   0x0FB2  #   TIBETAN SUBJOINED LETTER RA
0x2344   0x0FB3  #   TIBETAN SUBJOINED LETTER LA
0x2345   0x0FB4  #   TIBETAN SUBJOINED LETTER SHA
0x2346   0x0FB5  #   TIBETAN SUBJOINED LETTER SSA
0x2347   0x0FB6  #   TIBETAN SUBJOINED LETTER SA
0x2348   0x0FB7  #   TIBETAN SUBJOINED LETTER HA
0x2349   0x0FB8  #   TIBETAN SUBJOINED LETTER A
0x234a   0x0FB9  #   TIBETAN SUBJOINED LETTER KSSA
0x234b   0x0FBA  #   TIBETAN SUBJOINED LETTER FIXED-FORM WA
0x234c   0x0FBB  #   TIBETAN SUBJOINED LETTER FIXED-FORM YA
0x234d   0x0FBC  #   TIBETAN SUBJOINED LETTER FIXED-FORM RA
0x234f   0x0FBE  #   TIBETAN KU RU KHA
0x2350   0x0FBF  #   TIBETAN KU RU KHA BZHI MIG CAN
0x2351   0x0FC0  #   TIBETAN CANTILLATION SIGN HEAVY BEAT
0x2352   0x0FC1  #   TIBETAN CANTILLATION SIGN LIGHT BEAT
0x2353   0x0FC2  #   TIBETAN CANTILLATION SIGN CANG TE-U
0x2354   0x0FC3  #   TIBETAN CANTILLATION SIGN SBUB -CHAL
0x2355   0x0FC4  #   TIBETAN SYMBOL DRIL BU
0x2356   0x0FC5  #   TIBETAN SYMBOL RDO RJE
0x2357   0x0FC6  #   TIBETAN SYMBOL PADMA GDAN
0x2358   0x0FC7  #   TIBETAN SYMBOL RDO RJE RGYA GRAM
0x2359   0x0FC8  #   TIBETAN SYMBOL PHUR PA
0x235a   0x0FC9  #   TIBETAN SYMBOL NOR BU
0x235b   0x0FCA  #   TIBETAN SYMBOL NOR BU NYIS -KHYIL
0x235c   0x0FCB  #   TIBETAN SYMBOL NOR BU GSUM -KHYIL
0x235d   0x0FCC  #   TIBETAN SYMBOL NOR BU BZHI -KHYIL
0x2360   0x0FCF  #   TIBETAN SIGN RDEL NAG GSUM