]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.446
- remove missing .po files
[packages/vim.git] / 6.2.446
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.446
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.446 (after 6.2.404)
11 Problem:    Using library functions wcwidth() and iswprint() results in
12             display problems for Hebrew characters. (Ron Aaron)
13 Solution:   Disable the code to use the library functions, use our own.
14 Files:      src/mbyte.c
15
16
17 *** ../vim-6.2.445/src/mbyte.c  Fri Apr  2 11:36:09 2004
18 --- src/mbyte.c Sun Apr  4 16:28:21 2004
19 ***************
20 *** 113,118 ****
21 --- 113,126 ----
22   # include <wchar.h>
23   #endif
24   
25 + #if 0
26 + /* This has been disabled, because several people reported problems with the
27 +  * wcwidth() and iswprint() library functions, esp. for Hebrew. */
28 + # ifdef __STDC_ISO_10646__
29 + #  define USE_WCHAR_FUNCTIONS
30 + # endif
31 + #endif
32
33   #if defined(FEAT_MBYTE) || defined(PROTO)
34   
35   static int enc_canon_search __ARGS((char_u *name));
36 ***************
37 *** 1108,1114 ****
38   
39       if (c >= 0x100)
40       {
41 ! #ifdef __STDC_ISO_10646__
42         /*
43          * Assume the library function wcwidth() works better than our own
44          * stuff.  It should return 1 for ambiguous width chars!
45 --- 1116,1122 ----
46   
47       if (c >= 0x100)
48       {
49 ! #ifdef USE_WCHAR_FUNCTIONS
50         /*
51          * Assume the library function wcwidth() works better than our own
52          * stuff.  It should return 1 for ambiguous width chars!
53 ***************
54 *** 1766,1772 ****
55   utf_printable(c)
56       int               c;
57   {
58 ! #ifdef __STDC_ISO_10646__
59       /*
60        * Assume the iswprint() library function works better than our own stuff.
61        */
62 --- 1774,1780 ----
63   utf_printable(c)
64       int               c;
65   {
66 ! #ifdef USE_WCHAR_FUNCTIONS
67       /*
68        * Assume the iswprint() library function works better than our own stuff.
69        */
70 *** ../vim-6.2.445/src/version.c        Sun Apr  4 16:20:34 2004
71 --- src/version.c       Sun Apr  4 16:27:31 2004
72 ***************
73 *** 639,640 ****
74 --- 639,642 ----
75   {   /* Add new patch number below this line */
76 + /**/
77 +     446,
78   /**/
79
80 -- 
81 Two fish in a tank. One says to the other:
82 "Do you know how to drive this thing?"
83
84  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
85 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
86 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
87  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
This page took 0.034166 seconds and 3 git commands to generate.