]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.256
- removed conflict with 6.2.259
[packages/vim.git] / 6.2.256
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.256
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.2.256
11 Problem:    Mac: "macroman" encoding isn't recognized, need to use
12             "8bit-macroman.
13 Solution:   Recognize "macroman" with an alias "mac". (Eckehard Berns)
14 Files:      src/mbyte.c
15
16
17 *** ../vim-6.2.255/src/mbyte.c  Mon Feb  9 18:45:58 2004
18 --- src/mbyte.c Sat Feb 14 19:46:21 2004
19 ***************
20 *** 216,222 ****
21       {"big5",          ENC_DBCS,               DBCS_CHT},
22   #define IDX_CP1251    35
23       {"cp1251",                ENC_8BIT,               1251},
24 ! #define IDX_COUNT     36
25   };
26   
27   /*
28 --- 216,224 ----
29       {"big5",          ENC_DBCS,               DBCS_CHT},
30   #define IDX_CP1251    35
31       {"cp1251",                ENC_8BIT,               1251},
32 ! #define IDX_MACROMAN  36
33 !     {"macroman",      ENC_8BIT,               0},
34 ! #define IDX_COUNT     37
35   };
36   
37   /*
38 ***************
39 *** 290,295 ****
40 --- 292,298 ----
41       {"cp950",         IDX_BIG5},
42       {"950",           IDX_BIG5},
43   #endif
44 +     {"mac",           IDX_MACROMAN},
45       {NULL,            0}
46   };
47   
48 ***************
49 *** 523,529 ****
50        */
51       for (i = 0; i < 256; ++i)
52       {
53 !       /* Our own function to reliably check the lenght of UTF-8 characters,
54          * independent of mblen(). */
55         if (enc_utf8)
56             n = utf8len_tab[i];
57 --- 526,532 ----
58        */
59       for (i = 0; i < 256; ++i)
60       {
61 !       /* Our own function to reliably check the length of UTF-8 characters,
62          * independent of mblen(). */
63         if (enc_utf8)
64             n = utf8len_tab[i];
65 *** ../vim-6.2.255/src/version.c        Sun Feb 15 13:08:28 2004
66 --- src/version.c       Sun Feb 15 13:10:13 2004
67 ***************
68 *** 639,640 ****
69 --- 639,642 ----
70   {   /* Add new patch number below this line */
71 + /**/
72 +     256,
73   /**/
74
75 -- 
76 Drink wet cement and get really stoned.
77
78  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
79 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
80 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
81  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
This page took 0.034541 seconds and 3 git commands to generate.