]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.078
- updated to 7.1.285
[packages/vim.git] / 7.1.078
1 To: vim-dev@vim.org
2 Subject: patch 7.1.078
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 7.1.078
11 Problem:    Dropping a file name on gvim that contains a CSI byte doesn't work
12             when editing the command line.
13 Solution:   Escape the CSI byte when inserting in the input buffer. (Yukihiro
14             Nakadaira)
15 Files:      src/gui.c, src/ui.c
16
17
18 *** ../vim-7.1.077/src/gui.c    Thu May 10 19:19:15 2007
19 --- src/gui.c   Tue Aug 14 12:41:43 2007
20 ***************
21 *** 5117,5123 ****
22                 p = vim_strsave_escaped(fnames[i], (char_u *)"\\ \t\"|");
23   # endif
24                 if (p != NULL)
25 !                   add_to_input_buf(p, (int)STRLEN(p));
26                 vim_free(p);
27                 vim_free(fnames[i]);
28             }
29 --- 5117,5123 ----
30                 p = vim_strsave_escaped(fnames[i], (char_u *)"\\ \t\"|");
31   # endif
32                 if (p != NULL)
33 !                   add_to_input_buf_csi(p, (int)STRLEN(p));
34                 vim_free(p);
35                 vim_free(fnames[i]);
36             }
37 *** ../vim-7.1.077/src/ui.c     Thu May 10 21:14:11 2007
38 --- src/ui.c    Tue Aug 14 12:41:42 2007
39 ***************
40 *** 1603,1610 ****
41   #if defined(FEAT_GUI) || defined(FEAT_MOUSE_GPM) \
42         || defined(FEAT_XCLIPBOARD) || defined(VMS) \
43         || defined(FEAT_SNIFF) || defined(FEAT_CLIENTSERVER) \
44 -       || (defined(FEAT_GUI) && (!defined(USE_ON_FLY_SCROLL) \
45 -               || defined(FEAT_MENU))) \
46         || defined(PROTO)
47   /*
48    * Add the given bytes to the input buffer
49 --- 1603,1608 ----
50 ***************
51 *** 1630,1636 ****
52   }
53   #endif
54   
55 ! #if (defined(FEAT_XIM) && defined(FEAT_GUI_GTK)) \
56         || (defined(FEAT_MBYTE) && defined(FEAT_MBYTE_IME)) \
57         || (defined(FEAT_GUI) && (!defined(USE_ON_FLY_SCROLL) \
58                 || defined(FEAT_MENU))) \
59 --- 1628,1636 ----
60   }
61   #endif
62   
63 ! #if ((defined(FEAT_XIM) || defined(FEAT_DND)) && defined(FEAT_GUI_GTK)) \
64 !       || defined(FEAT_GUI_MSWIN) \
65 !       || defined(FEAT_GUI_MAC) \
66         || (defined(FEAT_MBYTE) && defined(FEAT_MBYTE_IME)) \
67         || (defined(FEAT_GUI) && (!defined(USE_ON_FLY_SCROLL) \
68                 || defined(FEAT_MENU))) \
69 *** ../vim-7.1.077/src/version.c        Tue Aug 14 23:06:51 2007
70 --- src/version.c       Wed Aug 15 20:07:06 2007
71 ***************
72 *** 668,669 ****
73 --- 668,671 ----
74   {   /* Add new patch number below this line */
75 + /**/
76 +     78,
77   /**/
78
79 -- 
80 hundred-and-one symptoms of being an internet addict:
81 164. You got out to buy software, instead of going out for a beer.
82
83  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
84 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
85 \\\        download, build and distribute -- http://www.A-A-P.org        ///
86  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.031374 seconds and 3 git commands to generate.