|
Karsten Hopp |
e64bdb |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
e64bdb |
Subject: Patch 7.4.295
|
|
Karsten Hopp |
e64bdb |
Fcc: outbox
|
|
Karsten Hopp |
e64bdb |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
e64bdb |
Mime-Version: 1.0
|
|
Karsten Hopp |
e64bdb |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
e64bdb |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
e64bdb |
------------
|
|
Karsten Hopp |
e64bdb |
|
|
Karsten Hopp |
e64bdb |
Patch 7.4.295
|
|
Karsten Hopp |
e64bdb |
Problem: Various typos, bad white space and unclear comments.
|
|
Karsten Hopp |
e64bdb |
Solution: Fix typos. Improve white space. Update comments.
|
|
Karsten Hopp |
e64bdb |
Files: src/testdir/test49.in, src/macros.h, src/screen.c, src/structs.h,
|
|
Karsten Hopp |
e64bdb |
src/gui_gtk_x11.c, src/os_unix.c
|
|
Karsten Hopp |
e64bdb |
|
|
Karsten Hopp |
e64bdb |
|
|
Karsten Hopp |
e64bdb |
*** ../vim-7.4.294/src/testdir/test49.in 2012-11-15 22:29:55.000000000 +0100
|
|
Karsten Hopp |
e64bdb |
--- src/testdir/test49.in 2013-11-08 01:06:23.000000000 +0100
|
|
Karsten Hopp |
e64bdb |
***************
|
|
Karsten Hopp |
e64bdb |
*** 1,7 ****
|
|
Karsten Hopp |
e64bdb |
This is a test of the script language.
|
|
Karsten Hopp |
e64bdb |
|
|
Karsten Hopp |
e64bdb |
If after adding a new test, the test output doesn't appear properly in
|
|
Karsten Hopp |
e64bdb |
! test49.failed, try to add one ore more "G"s at the line ending in "test.out"
|
|
Karsten Hopp |
e64bdb |
|
|
Karsten Hopp |
e64bdb |
STARTTEST
|
|
Karsten Hopp |
e64bdb |
:so small.vim
|
|
Karsten Hopp |
e64bdb |
--- 1,7 ----
|
|
Karsten Hopp |
e64bdb |
This is a test of the script language.
|
|
Karsten Hopp |
e64bdb |
|
|
Karsten Hopp |
e64bdb |
If after adding a new test, the test output doesn't appear properly in
|
|
Karsten Hopp |
e64bdb |
! test49.failed, try to add one or more "G"s at the line ending in "test.out"
|
|
Karsten Hopp |
e64bdb |
|
|
Karsten Hopp |
e64bdb |
STARTTEST
|
|
Karsten Hopp |
e64bdb |
:so small.vim
|
|
Karsten Hopp |
e64bdb |
*** ../vim-7.4.294/src/macros.h 2013-06-12 17:07:32.000000000 +0200
|
|
Karsten Hopp |
e64bdb |
--- src/macros.h 2013-11-08 04:12:45.000000000 +0100
|
|
Karsten Hopp |
e64bdb |
***************
|
|
Karsten Hopp |
e64bdb |
*** 264,270 ****
|
|
Karsten Hopp |
e64bdb |
# define mb_ptr_adv(p) p += has_mbyte ? (*mb_ptr2len)(p) : 1
|
|
Karsten Hopp |
e64bdb |
/* Advance multi-byte pointer, do not skip over composing chars. */
|
|
Karsten Hopp |
e64bdb |
# define mb_cptr_adv(p) p += enc_utf8 ? utf_ptr2len(p) : has_mbyte ? (*mb_ptr2len)(p) : 1
|
|
Karsten Hopp |
e64bdb |
! /* Backup multi-byte pointer. */
|
|
Karsten Hopp |
e64bdb |
# define mb_ptr_back(s, p) p -= has_mbyte ? ((*mb_head_off)(s, p - 1) + 1) : 1
|
|
Karsten Hopp |
e64bdb |
/* get length of multi-byte char, not including composing chars */
|
|
Karsten Hopp |
e64bdb |
# define mb_cptr2len(p) (enc_utf8 ? utf_ptr2len(p) : (*mb_ptr2len)(p))
|
|
Karsten Hopp |
e64bdb |
--- 264,270 ----
|
|
Karsten Hopp |
e64bdb |
# define mb_ptr_adv(p) p += has_mbyte ? (*mb_ptr2len)(p) : 1
|
|
Karsten Hopp |
e64bdb |
/* Advance multi-byte pointer, do not skip over composing chars. */
|
|
Karsten Hopp |
e64bdb |
# define mb_cptr_adv(p) p += enc_utf8 ? utf_ptr2len(p) : has_mbyte ? (*mb_ptr2len)(p) : 1
|
|
Karsten Hopp |
e64bdb |
! /* Backup multi-byte pointer. Only use with "p" > "s" ! */
|
|
Karsten Hopp |
e64bdb |
# define mb_ptr_back(s, p) p -= has_mbyte ? ((*mb_head_off)(s, p - 1) + 1) : 1
|
|
Karsten Hopp |
e64bdb |
/* get length of multi-byte char, not including composing chars */
|
|
Karsten Hopp |
e64bdb |
# define mb_cptr2len(p) (enc_utf8 ? utf_ptr2len(p) : (*mb_ptr2len)(p))
|
|
Karsten Hopp |
e64bdb |
*** ../vim-7.4.294/src/screen.c 2014-03-23 15:12:29.935264336 +0100
|
|
Karsten Hopp |
e64bdb |
--- src/screen.c 2014-03-27 11:34:36.128359605 +0100
|
|
Karsten Hopp |
e64bdb |
***************
|
|
Karsten Hopp |
e64bdb |
*** 2456,2463 ****
|
|
Karsten Hopp |
e64bdb |
if (len > 0)
|
|
Karsten Hopp |
e64bdb |
{
|
|
Karsten Hopp |
e64bdb |
int w = number_width(wp);
|
|
Karsten Hopp |
e64bdb |
! long num;
|
|
Karsten Hopp |
e64bdb |
! char *fmt = "%*ld ";
|
|
Karsten Hopp |
e64bdb |
|
|
Karsten Hopp |
e64bdb |
if (len > w + 1)
|
|
Karsten Hopp |
e64bdb |
len = w + 1;
|
|
Karsten Hopp |
e64bdb |
--- 2456,2463 ----
|
|
Karsten Hopp |
e64bdb |
if (len > 0)
|
|
Karsten Hopp |
e64bdb |
{
|
|
Karsten Hopp |
e64bdb |
int w = number_width(wp);
|
|
Karsten Hopp |
e64bdb |
! long num;
|
|
Karsten Hopp |
e64bdb |
! char *fmt = "%*ld ";
|
|
Karsten Hopp |
e64bdb |
|
|
Karsten Hopp |
e64bdb |
if (len > w + 1)
|
|
Karsten Hopp |
e64bdb |
len = w + 1;
|
|
Karsten Hopp |
e64bdb |
*** ../vim-7.4.294/src/structs.h 2014-03-23 16:03:56.171311627 +0100
|
|
Karsten Hopp |
e64bdb |
--- src/structs.h 2014-04-24 15:00:59.053101897 +0200
|
|
Karsten Hopp |
e64bdb |
***************
|
|
Karsten Hopp |
e64bdb |
*** 572,578 ****
|
|
Karsten Hopp |
e64bdb |
unsigned mf_page_size; /* number of bytes in a page */
|
|
Karsten Hopp |
e64bdb |
int mf_dirty; /* TRUE if there are dirty blocks */
|
|
Karsten Hopp |
e64bdb |
#ifdef FEAT_CRYPT
|
|
Karsten Hopp |
e64bdb |
! buf_T *mf_buffer; /* bufer this memfile is for */
|
|
Karsten Hopp |
e64bdb |
char_u mf_seed[MF_SEED_LEN]; /* seed for encryption */
|
|
Karsten Hopp |
e64bdb |
|
|
Karsten Hopp |
e64bdb |
/* Values for key, method and seed used for reading data blocks when
|
|
Karsten Hopp |
e64bdb |
--- 572,578 ----
|
|
Karsten Hopp |
e64bdb |
unsigned mf_page_size; /* number of bytes in a page */
|
|
Karsten Hopp |
e64bdb |
int mf_dirty; /* TRUE if there are dirty blocks */
|
|
Karsten Hopp |
e64bdb |
#ifdef FEAT_CRYPT
|
|
Karsten Hopp |
e64bdb |
! buf_T *mf_buffer; /* buffer this memfile is for */
|
|
Karsten Hopp |
e64bdb |
char_u mf_seed[MF_SEED_LEN]; /* seed for encryption */
|
|
Karsten Hopp |
e64bdb |
|
|
Karsten Hopp |
e64bdb |
/* Values for key, method and seed used for reading data blocks when
|
|
Karsten Hopp |
e64bdb |
*** ../vim-7.4.294/src/gui_gtk_x11.c 2014-04-29 15:11:39.783847283 +0200
|
|
Karsten Hopp |
e64bdb |
--- src/gui_gtk_x11.c 2014-05-07 20:27:54.545275130 +0200
|
|
Karsten Hopp |
e64bdb |
***************
|
|
Karsten Hopp |
e64bdb |
*** 2054,2059 ****
|
|
Karsten Hopp |
e64bdb |
--- 2054,2060 ----
|
|
Karsten Hopp |
e64bdb |
|
|
Karsten Hopp |
e64bdb |
ssop_flags = save_ssop_flags;
|
|
Karsten Hopp |
e64bdb |
g_free(mksession_cmdline);
|
|
Karsten Hopp |
e64bdb |
+
|
|
Karsten Hopp |
e64bdb |
/*
|
|
Karsten Hopp |
e64bdb |
* Reopen the file and append a command to restore v:this_session,
|
|
Karsten Hopp |
e64bdb |
* as if this save never happened. This is to avoid conflicts with
|
|
Karsten Hopp |
e64bdb |
*** ../vim-7.4.294/src/os_unix.c 2014-04-23 12:52:36.499369426 +0200
|
|
Karsten Hopp |
e64bdb |
--- src/os_unix.c 2014-05-13 13:02:56.329579378 +0200
|
|
Karsten Hopp |
e64bdb |
***************
|
|
Karsten Hopp |
e64bdb |
*** 3783,3789 ****
|
|
Karsten Hopp |
e64bdb |
del_mouse_termcode(KS_URXVT_MOUSE);
|
|
Karsten Hopp |
e64bdb |
# endif
|
|
Karsten Hopp |
e64bdb |
# ifdef FEAT_MOUSE_SGR
|
|
Karsten Hopp |
e64bdb |
! /* same as the dec mouse */
|
|
Karsten Hopp |
e64bdb |
if (use_xterm_mouse() == 4
|
|
Karsten Hopp |
e64bdb |
# ifdef FEAT_GUI
|
|
Karsten Hopp |
e64bdb |
&& !gui.in_use
|
|
Karsten Hopp |
e64bdb |
--- 3783,3789 ----
|
|
Karsten Hopp |
e64bdb |
del_mouse_termcode(KS_URXVT_MOUSE);
|
|
Karsten Hopp |
e64bdb |
# endif
|
|
Karsten Hopp |
e64bdb |
# ifdef FEAT_MOUSE_SGR
|
|
Karsten Hopp |
e64bdb |
! /* There is no conflict with xterm mouse */
|
|
Karsten Hopp |
e64bdb |
if (use_xterm_mouse() == 4
|
|
Karsten Hopp |
e64bdb |
# ifdef FEAT_GUI
|
|
Karsten Hopp |
e64bdb |
&& !gui.in_use
|
|
Karsten Hopp |
e64bdb |
*** ../vim-7.4.294/src/version.c 2014-05-13 20:15:20.461806487 +0200
|
|
Karsten Hopp |
e64bdb |
--- src/version.c 2014-05-13 20:17:27.693807600 +0200
|
|
Karsten Hopp |
e64bdb |
***************
|
|
Karsten Hopp |
e64bdb |
*** 736,737 ****
|
|
Karsten Hopp |
e64bdb |
--- 736,739 ----
|
|
Karsten Hopp |
e64bdb |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
e64bdb |
+ /**/
|
|
Karsten Hopp |
e64bdb |
+ 295,
|
|
Karsten Hopp |
e64bdb |
/**/
|
|
Karsten Hopp |
e64bdb |
|
|
Karsten Hopp |
e64bdb |
--
|
|
Karsten Hopp |
e64bdb |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
e64bdb |
157. You fum through a magazine, you first check to see if it has a web
|
|
Karsten Hopp |
e64bdb |
address.
|
|
Karsten Hopp |
e64bdb |
|
|
Karsten Hopp |
e64bdb |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
e64bdb |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
e64bdb |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
e64bdb |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|