home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.1.442 < prev    next >
Encoding:
Internet Message Format  |  2003-04-05  |  11.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.442
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.1.442
  11. Problem:    Unicode 3.2 defines more space and punctuation characters.
  12. Solution:   Add the new characters to the Unicode tables. (Raphael Finkel)
  13. Files:        src/mbyte.c
  14.  
  15.  
  16. *** ../vim61.441/src/mbyte.c    Wed Mar 26 22:18:13 2003
  17. --- src/mbyte.c    Wed Mar 26 19:53:37 2003
  18. ***************
  19. *** 1519,1547 ****
  20.       {0x0387, 0x0387, 1},        /* Greek ano teleia */
  21.       {0x055a, 0x055f, 1},        /* Armenian punctuation */
  22.       {0x0589, 0x0589, 1},        /* Armenian full stop */
  23.       {0x0700, 0x070d, 1},        /* Syriac punctuation */
  24.       {0x104a, 0x104f, 1},        /* Myanmar punctuation */
  25.       {0x10fb, 0x10fb, 1},        /* Georgian punctuation */
  26.       {0x1361, 0x1368, 1},        /* Ethiopic punctuation */
  27.       {0x166d, 0x166e, 1},        /* Canadian Syl. punctuation */
  28.       {0x17d4, 0x17dc, 1},        /* Khmer punctuation */
  29.       {0x1800, 0x180a, 1},        /* Mongolian punctuation */
  30. !     {0x2000, 0x200a, 0},        /* spaces */
  31. !     {0x200b, 0x27ff, 1},        /* punctuation and symbols */
  32.       {0x2070, 0x207f, 0x2070},    /* superscript */
  33.       {0x2080, 0x208f, 0x2080},    /* subscript */
  34.       {0x3000, 0x3000, 0},        /* ideographic space */
  35.       {0x3001, 0x3020, 1},        /* ideographic punctuation */
  36.       {0x3040, 0x309f, 0x3040},    /* Hiragana */
  37.       {0x30a0, 0x30ff, 0x30a0},    /* Katakana */
  38.       {0x3300, 0x9fff, 0x4e00},    /* CJK Ideographs */
  39.       {0xac00, 0xd7a3, 0xac00},    /* Hangul Syllables */
  40.       {0xf900, 0xfaff, 0x4e00},    /* CJK Ideographs */
  41.       {0xfe30, 0xfe6b, 1},        /* punctuation forms */
  42.       {0xff00, 0xff0f, 1},        /* half/fullwidth ASCII */
  43.       {0xff1a, 0xff20, 1},        /* half/fullwidth ASCII */
  44.       {0xff3b, 0xff40, 1},        /* half/fullwidth ASCII */
  45. !     {0xff5b, 0xff64, 1},        /* half/fullwidth ASCII */
  46.       };
  47.       int bot = 0;
  48.       int top = sizeof(classes) / sizeof(struct interval) - 1;
  49. --- 1519,1580 ----
  50.       {0x0387, 0x0387, 1},        /* Greek ano teleia */
  51.       {0x055a, 0x055f, 1},        /* Armenian punctuation */
  52.       {0x0589, 0x0589, 1},        /* Armenian full stop */
  53. +     {0x05be, 0x05be, 1},
  54. +     {0x05c0, 0x05c0, 1},
  55. +     {0x05c3, 0x05c3, 1},
  56. +     {0x05f3, 0x05f4, 1},
  57. +     {0x060c, 0x060c, 1},
  58. +     {0x061b, 0x061b, 1},
  59. +     {0x061f, 0x061f, 1},
  60. +     {0x066a, 0x066d, 1},
  61. +     {0x06d4, 0x06d4, 1},
  62.       {0x0700, 0x070d, 1},        /* Syriac punctuation */
  63. +     {0x0964, 0x0965, 1},
  64. +     {0x0970, 0x0970, 1},
  65. +     {0x0df4, 0x0df4, 1},
  66. +     {0x0e4f, 0x0e4f, 1},
  67. +     {0x0e5a, 0x0e5b, 1},
  68. +     {0x0f04, 0x0f12, 1},
  69. +     {0x0f3a, 0x0f3d, 1},
  70. +     {0x0f85, 0x0f85, 1},
  71.       {0x104a, 0x104f, 1},        /* Myanmar punctuation */
  72.       {0x10fb, 0x10fb, 1},        /* Georgian punctuation */
  73.       {0x1361, 0x1368, 1},        /* Ethiopic punctuation */
  74.       {0x166d, 0x166e, 1},        /* Canadian Syl. punctuation */
  75. +     {0x1680, 0x1680, 0},
  76. +     {0x169b, 0x169c, 1},
  77. +     {0x16eb, 0x16ed, 1},
  78. +     {0x1735, 0x1736, 1},
  79.       {0x17d4, 0x17dc, 1},        /* Khmer punctuation */
  80.       {0x1800, 0x180a, 1},        /* Mongolian punctuation */
  81. !     {0x2000, 0x200b, 0},        /* spaces */
  82. !     {0x200c, 0x2027, 1},        /* punctuation and symbols */
  83. !     {0x2028, 0x2029, 0},
  84. !     {0x202a, 0x202e, 1},        /* punctuation and symbols */
  85. !     {0x202f, 0x202f, 0},
  86. !     {0x2030, 0x205e, 1},        /* punctuation and symbols */
  87. !     {0x205f, 0x205f, 0},
  88. !     {0x2060, 0x27ff, 1},        /* punctuation and symbols */
  89.       {0x2070, 0x207f, 0x2070},    /* superscript */
  90.       {0x2080, 0x208f, 0x2080},    /* subscript */
  91. +     {0x2983, 0x2998, 1},
  92. +     {0x29d8, 0x29db, 1},
  93. +     {0x29fc, 0x29fd, 1},
  94.       {0x3000, 0x3000, 0},        /* ideographic space */
  95.       {0x3001, 0x3020, 1},        /* ideographic punctuation */
  96. +     {0x3030, 0x3030, 1},
  97. +     {0x303d, 0x303d, 1},
  98.       {0x3040, 0x309f, 0x3040},    /* Hiragana */
  99.       {0x30a0, 0x30ff, 0x30a0},    /* Katakana */
  100.       {0x3300, 0x9fff, 0x4e00},    /* CJK Ideographs */
  101.       {0xac00, 0xd7a3, 0xac00},    /* Hangul Syllables */
  102.       {0xf900, 0xfaff, 0x4e00},    /* CJK Ideographs */
  103. +     {0xfd3e, 0xfd3f, 1},
  104.       {0xfe30, 0xfe6b, 1},        /* punctuation forms */
  105.       {0xff00, 0xff0f, 1},        /* half/fullwidth ASCII */
  106.       {0xff1a, 0xff20, 1},        /* half/fullwidth ASCII */
  107.       {0xff3b, 0xff40, 1},        /* half/fullwidth ASCII */
  108. !     {0xff5b, 0xff65, 1},        /* half/fullwidth ASCII */
  109.       };
  110.       int bot = 0;
  111.       int top = sizeof(classes) / sizeof(struct interval) - 1;
  112. ***************
  113. *** 1705,1725 ****
  114.       {0x1b3,0x1b5,2,1}, {0x1b7,0x1b7,-1,219}, {0x1b8,0x1bc,4,1},
  115.       {0x1c4,0x1ca,3,2}, {0x1cd,0x1db,2,1}, {0x1de,0x1ee,2,1},
  116.       {0x1f1,0x1f1,-1,2}, {0x1f4,0x1f4,-1,1}, {0x1f6,0x1f6,-1,-97},
  117. !     {0x1f7,0x1f7,-1,-56}, {0x1f8,0x21e,2,1}, {0x222,0x232,2,1},
  118. !     {0x386,0x386,-1,38}, {0x388,0x38a,1,37}, {0x38c,0x38c,-1,64},
  119. !     {0x38e,0x38f,1,63}, {0x391,0x3a1,1,32}, {0x3a3,0x3ab,1,32},
  120. !     {0x3da,0x3ee,2,1}, {0x3f4,0x3f4,-1,-60}, {0x400,0x40f,1,80},
  121. !     {0x410,0x42f,1,32}, {0x460,0x480,2,1}, {0x48c,0x4be,2,1},
  122. !     {0x4c1,0x4c3,2,1}, {0x4c7,0x4cb,4,1}, {0x4d0,0x4f4,2,1},
  123. !     {0x4f8,0x4f8,-1,1}, {0x531,0x556,1,48}, {0x1e00,0x1e94,2,1},
  124. !     {0x1ea0,0x1ef8,2,1}, {0x1f08,0x1f0f,1,-8}, {0x1f18,0x1f1d,1,-8},
  125. !     {0x1f28,0x1f2f,1,-8}, {0x1f38,0x1f3f,1,-8}, {0x1f48,0x1f4d,1,-8},
  126. !     {0x1f59,0x1f5f,2,-8}, {0x1f68,0x1f6f,1,-8}, {0x1fb8,0x1fb9,1,-8},
  127. !     {0x1fba,0x1fbb,1,-74}, {0x1fc8,0x1fcb,1,-86}, {0x1fd8,0x1fd9,1,-8},
  128. !     {0x1fda,0x1fdb,1,-100}, {0x1fe8,0x1fe9,1,-8}, {0x1fea,0x1feb,1,-112},
  129. !     {0x1fec,0x1fec,-1,-7}, {0x1ff8,0x1ff9,1,-128}, {0x1ffa,0x1ffb,1,-126},
  130. !     {0x2126,0x2126,-1,-7517}, {0x212a,0x212a,-1,-8383},
  131. !     {0x212b,0x212b,-1,-8262}, {0xff21,0xff3a,1,32}, {0x10400,0x10425,1,40}
  132.   };
  133.   
  134.   convertStruct toUpper[] =
  135. --- 1738,1759 ----
  136.       {0x1b3,0x1b5,2,1}, {0x1b7,0x1b7,-1,219}, {0x1b8,0x1bc,4,1},
  137.       {0x1c4,0x1ca,3,2}, {0x1cd,0x1db,2,1}, {0x1de,0x1ee,2,1},
  138.       {0x1f1,0x1f1,-1,2}, {0x1f4,0x1f4,-1,1}, {0x1f6,0x1f6,-1,-97},
  139. !     {0x1f7,0x1f7,-1,-56}, {0x1f8,0x21e,2,1}, {0x220,0x220,-1,-130},
  140. !     {0x222,0x232,2,1}, {0x386,0x386,-1,38}, {0x388,0x38a,1,37},
  141. !     {0x38c,0x38c,-1,64}, {0x38e,0x38f,1,63}, {0x391,0x3a1,1,32},
  142. !     {0x3a3,0x3ab,1,32}, {0x3d8,0x3ee,2,1}, {0x3f4,0x3f4,-1,-60},
  143. !     {0x400,0x40f,1,80}, {0x410,0x42f,1,32}, {0x460,0x480,2,1},
  144. !     {0x48a,0x4be,2,1}, {0x4c1,0x4cd,2,1}, {0x4d0,0x4f4,2,1},
  145. !     {0x4f8,0x500,8,1}, {0x502,0x50e,2,1}, {0x531,0x556,1,48},
  146. !     {0x1e00,0x1e94,2,1}, {0x1ea0,0x1ef8,2,1}, {0x1f08,0x1f0f,1,-8},
  147. !     {0x1f18,0x1f1d,1,-8}, {0x1f28,0x1f2f,1,-8}, {0x1f38,0x1f3f,1,-8},
  148. !     {0x1f48,0x1f4d,1,-8}, {0x1f59,0x1f5f,2,-8}, {0x1f68,0x1f6f,1,-8},
  149. !     {0x1fb8,0x1fb9,1,-8}, {0x1fba,0x1fbb,1,-74}, {0x1fc8,0x1fcb,1,-86},
  150. !     {0x1fd8,0x1fd9,1,-8}, {0x1fda,0x1fdb,1,-100}, {0x1fe8,0x1fe9,1,-8},
  151. !     {0x1fea,0x1feb,1,-112}, {0x1fec,0x1fec,-1,-7}, {0x1ff8,0x1ff9,1,-128},
  152. !     {0x1ffa,0x1ffb,1,-126}, {0x2126,0x2126,-1,-7517},
  153. !     {0x212a,0x212a,-1,-8383}, {0x212b,0x212b,-1,-8262},
  154. !     {0xff21,0xff3a,1,32}, {0x10400,0x10425,1,40}
  155.   };
  156.   
  157.   convertStruct toUpper[] =
  158. ***************
  159. *** 1729,1763 ****
  160.       {0x131,0x131,-1,-232}, {0x133,0x137,2,-1}, {0x13a,0x148,2,-1},
  161.       {0x14b,0x177,2,-1}, {0x17a,0x17e,2,-1}, {0x17f,0x17f,-1,-300},
  162.       {0x183,0x185,2,-1}, {0x188,0x18c,4,-1}, {0x192,0x192,-1,-1},
  163. !     {0x195,0x195,-1,97}, {0x199,0x1a1,8,-1}, {0x1a3,0x1a5,2,-1},
  164. !     {0x1a8,0x1ad,5,-1}, {0x1b0,0x1b4,4,-1}, {0x1b6,0x1b9,3,-1},
  165. !     {0x1bd,0x1bd,-1,-1}, {0x1bf,0x1bf,-1,56}, {0x1c5,0x1c6,1,-1},
  166. !     {0x1c8,0x1c9,1,-1}, {0x1cb,0x1cc,1,-1}, {0x1ce,0x1dc,2,-1},
  167. !     {0x1dd,0x1dd,-1,-79}, {0x1df,0x1ef,2,-1}, {0x1f2,0x1f3,1,-1},
  168. !     {0x1f5,0x1f9,4,-1}, {0x1fb,0x21f,2,-1}, {0x223,0x233,2,-1},
  169. !     {0x253,0x253,-1,-210}, {0x254,0x254,-1,-206}, {0x256,0x257,1,-205},
  170. !     {0x259,0x259,-1,-202}, {0x25b,0x25b,-1,-203}, {0x260,0x260,-1,-205},
  171. !     {0x263,0x263,-1,-207}, {0x268,0x268,-1,-209}, {0x269,0x26f,6,-211},
  172. !     {0x272,0x272,-1,-213}, {0x275,0x275,-1,-214}, {0x280,0x283,3,-218},
  173. !     {0x288,0x288,-1,-218}, {0x28a,0x28b,1,-217}, {0x292,0x292,-1,-219},
  174. !     {0x3ac,0x3ac,-1,-38}, {0x3ad,0x3af,1,-37}, {0x3b1,0x3c1,1,-32},
  175. !     {0x3c2,0x3c2,-1,-31}, {0x3c3,0x3cb,1,-32}, {0x3cc,0x3cc,-1,-64},
  176. !     {0x3cd,0x3ce,1,-63}, {0x3d0,0x3d0,-1,-62}, {0x3d1,0x3d1,-1,-57},
  177. !     {0x3d5,0x3d5,-1,-47}, {0x3d6,0x3d6,-1,-54}, {0x3db,0x3ef,2,-1},
  178. !     {0x3f0,0x3f0,-1,-86}, {0x3f1,0x3f1,-1,-80}, {0x3f2,0x3f2,-1,-79},
  179. !     {0x3f5,0x3f5,-1,-96}, {0x430,0x44f,1,-32}, {0x450,0x45f,1,-80},
  180. !     {0x461,0x481,2,-1}, {0x48d,0x4bf,2,-1}, {0x4c2,0x4c4,2,-1},
  181. !     {0x4c8,0x4cc,4,-1}, {0x4d1,0x4f5,2,-1}, {0x4f9,0x4f9,-1,-1},
  182. !     {0x561,0x586,1,-48}, {0x1e01,0x1e95,2,-1}, {0x1e9b,0x1e9b,-1,-59},
  183. !     {0x1ea1,0x1ef9,2,-1}, {0x1f00,0x1f07,1,8}, {0x1f10,0x1f15,1,8},
  184. !     {0x1f20,0x1f27,1,8}, {0x1f30,0x1f37,1,8}, {0x1f40,0x1f45,1,8},
  185. !     {0x1f51,0x1f57,2,8}, {0x1f60,0x1f67,1,8}, {0x1f70,0x1f71,1,74},
  186. !     {0x1f72,0x1f75,1,86}, {0x1f76,0x1f77,1,100}, {0x1f78,0x1f79,1,128},
  187. !     {0x1f7a,0x1f7b,1,112}, {0x1f7c,0x1f7d,1,126}, {0x1f80,0x1f87,1,8},
  188. !     {0x1f90,0x1f97,1,8}, {0x1fa0,0x1fa7,1,8}, {0x1fb0,0x1fb1,1,8},
  189. !     {0x1fb3,0x1fb3,-1,9}, {0x1fbe,0x1fbe,-1,-7205}, {0x1fc3,0x1fc3,-1,9},
  190. !     {0x1fd0,0x1fd1,1,8}, {0x1fe0,0x1fe1,1,8}, {0x1fe5,0x1fe5,-1,7},
  191. !     {0x1ff3,0x1ff3,-1,9}, {0xff41,0xff5a,1,-32}, {0x10428,0x1044d,1,-40}
  192.   };
  193.   
  194.   /*
  195. --- 1763,1798 ----
  196.       {0x131,0x131,-1,-232}, {0x133,0x137,2,-1}, {0x13a,0x148,2,-1},
  197.       {0x14b,0x177,2,-1}, {0x17a,0x17e,2,-1}, {0x17f,0x17f,-1,-300},
  198.       {0x183,0x185,2,-1}, {0x188,0x18c,4,-1}, {0x192,0x192,-1,-1},
  199. !     {0x195,0x195,-1,97}, {0x199,0x199,-1,-1}, {0x19e,0x19e,-1,130},
  200. !     {0x1a1,0x1a5,2,-1}, {0x1a8,0x1ad,5,-1}, {0x1b0,0x1b4,4,-1},
  201. !     {0x1b6,0x1b9,3,-1}, {0x1bd,0x1bd,-1,-1}, {0x1bf,0x1bf,-1,56},
  202. !     {0x1c5,0x1c6,1,-1}, {0x1c8,0x1c9,1,-1}, {0x1cb,0x1cc,1,-1},
  203. !     {0x1ce,0x1dc,2,-1}, {0x1dd,0x1dd,-1,-79}, {0x1df,0x1ef,2,-1},
  204. !     {0x1f2,0x1f3,1,-1}, {0x1f5,0x1f9,4,-1}, {0x1fb,0x21f,2,-1},
  205. !     {0x223,0x233,2,-1}, {0x253,0x253,-1,-210}, {0x254,0x254,-1,-206},
  206. !     {0x256,0x257,1,-205}, {0x259,0x259,-1,-202}, {0x25b,0x25b,-1,-203},
  207. !     {0x260,0x260,-1,-205}, {0x263,0x263,-1,-207}, {0x268,0x268,-1,-209},
  208. !     {0x269,0x26f,6,-211}, {0x272,0x272,-1,-213}, {0x275,0x275,-1,-214},
  209. !     {0x280,0x283,3,-218}, {0x288,0x288,-1,-218}, {0x28a,0x28b,1,-217},
  210. !     {0x292,0x292,-1,-219}, {0x3ac,0x3ac,-1,-38}, {0x3ad,0x3af,1,-37},
  211. !     {0x3b1,0x3c1,1,-32}, {0x3c2,0x3c2,-1,-31}, {0x3c3,0x3cb,1,-32},
  212. !     {0x3cc,0x3cc,-1,-64}, {0x3cd,0x3ce,1,-63}, {0x3d0,0x3d0,-1,-62},
  213. !     {0x3d1,0x3d1,-1,-57}, {0x3d5,0x3d5,-1,-47}, {0x3d6,0x3d6,-1,-54},
  214. !     {0x3d9,0x3ef,2,-1}, {0x3f0,0x3f0,-1,-86}, {0x3f1,0x3f1,-1,-80},
  215. !     {0x3f2,0x3f2,-1,-79}, {0x3f5,0x3f5,-1,-96}, {0x430,0x44f,1,-32},
  216. !     {0x450,0x45f,1,-80}, {0x461,0x481,2,-1}, {0x48b,0x4bf,2,-1},
  217. !     {0x4c2,0x4ce,2,-1}, {0x4d1,0x4f5,2,-1}, {0x4f9,0x501,8,-1},
  218. !     {0x503,0x50f,2,-1}, {0x561,0x586,1,-48}, {0x1e01,0x1e95,2,-1},
  219. !     {0x1e9b,0x1e9b,-1,-59}, {0x1ea1,0x1ef9,2,-1}, {0x1f00,0x1f07,1,8},
  220. !     {0x1f10,0x1f15,1,8}, {0x1f20,0x1f27,1,8}, {0x1f30,0x1f37,1,8},
  221. !     {0x1f40,0x1f45,1,8}, {0x1f51,0x1f57,2,8}, {0x1f60,0x1f67,1,8},
  222. !     {0x1f70,0x1f71,1,74}, {0x1f72,0x1f75,1,86}, {0x1f76,0x1f77,1,100},
  223. !     {0x1f78,0x1f79,1,128}, {0x1f7a,0x1f7b,1,112}, {0x1f7c,0x1f7d,1,126},
  224. !     {0x1f80,0x1f87,1,8}, {0x1f90,0x1f97,1,8}, {0x1fa0,0x1fa7,1,8},
  225. !     {0x1fb0,0x1fb1,1,8}, {0x1fb3,0x1fb3,-1,9}, {0x1fbe,0x1fbe,-1,-7205},
  226. !     {0x1fc3,0x1fc3,-1,9}, {0x1fd0,0x1fd1,1,8}, {0x1fe0,0x1fe1,1,8},
  227. !     {0x1fe5,0x1fe5,-1,7}, {0x1ff3,0x1ff3,-1,9}, {0xff41,0xff5a,1,-32},
  228. !     {0x10428,0x1044d,1,-40}
  229.   };
  230.   
  231.   /*
  232. *** ../vim61.441/src/version.c    Sun Apr  6 14:47:26 2003
  233. --- src/version.c    Sun Apr  6 14:49:04 2003
  234. ***************
  235. *** 613,614 ****
  236. --- 613,616 ----
  237.   {   /* Add new patch number below this line */
  238. + /**/
  239. +     442,
  240.   /**/
  241.  
  242. -- 
  243. Time flies like an arrow.
  244. Fruit flies like a banana.
  245.  
  246.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  247. ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
  248. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  249.  \\\     Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
  250.