Author: glen Date: Thu Oct 28 06:06:17 2010 GMT Module: packages Tag: HEAD ---- Log message: - up to 7.3.047
---- Files affected: packages/vim: vim.spec (1.529 -> 1.530) , 7.3.036 (NONE -> 1.1) (NEW), 7.3.037 (NONE -> 1.1) (NEW), 7.3.038 (NONE -> 1.1) (NEW), 7.3.039 (NONE -> 1.1) (NEW), 7.3.040 (NONE -> 1.1) (NEW), 7.3.041 (NONE -> 1.1) (NEW), 7.3.042 (NONE -> 1.1) (NEW), 7.3.043 (NONE -> 1.1) (NEW), 7.3.044 (NONE -> 1.1) (NEW), 7.3.045 (NONE -> 1.1) (NEW), 7.3.046 (NONE -> 1.1) (NEW), 7.3.047 (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/vim/vim.spec diff -u packages/vim/vim.spec:1.529 packages/vim/vim.spec:1.530 --- packages/vim/vim.spec:1.529 Mon Oct 25 14:42:32 2010 +++ packages/vim/vim.spec Thu Oct 28 08:06:11 2010 @@ -28,7 +28,7 @@ # curl -s ftp://ftp.vim.org/pub/editors/vim/patches/7.3/MD5SUMS | grep -vF .gz | tail -n1 | awk '{print $2}' %define ver 7.3 -%define patchlevel 035 +%define patchlevel 047 %define rel 1 Summary: Vi IMproved - a Vi clone Summary(de.UTF-8): VIsual editor iMproved @@ -1380,6 +1380,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.530 2010/10/28 06:06:11 glen +- up to 7.3.047 + Revision 1.529 2010/10/25 12:42:32 glen - up to 7.3.035 ================================================================ Index: packages/vim/7.3.036 diff -u /dev/null packages/vim/7.3.036:1.1 --- /dev/null Thu Oct 28 08:06:17 2010 +++ packages/vim/7.3.036 Thu Oct 28 08:06:11 2010 @@ -0,0 +1,68 @@ +To: [email protected] +Subject: Patch 7.3.036 +Fcc: outbox +From: Bram Moolenaar <[email protected]> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 7.3.036 +Problem: Win32 GUI: When building without menus, the font for dialogs and + tab page headers also changes. +Solution: Define USE_SYSMENU_FONT always. (Harig G.) +Files: src/gui_w32.c + + +*** ../vim-7.3.035/src/gui_w32.c 2010-10-23 14:02:48.000000000 +0200 +--- src/gui_w32.c 2010-10-25 20:29:15.000000000 +0200 +*************** +*** 289,301 **** + + #ifdef FEAT_MENU + static UINT s_menu_id = 100; + + /* + * Use the system font for dialogs and tear-off menus. Remove this line to + * use DLG_FONT_NAME. + */ +! # define USE_SYSMENU_FONT +! #endif + + #define VIM_NAME "vim" + #define VIM_CLASS "Vim" +--- 289,301 ---- + + #ifdef FEAT_MENU + static UINT s_menu_id = 100; ++ #endif + + /* + * Use the system font for dialogs and tear-off menus. Remove this line to + * use DLG_FONT_NAME. + */ +! #define USE_SYSMENU_FONT + + #define VIM_NAME "vim" + #define VIM_CLASS "Vim" +*** ../vim-7.3.035/src/version.c 2010-10-24 14:33:38.000000000 +0200 +--- src/version.c 2010-10-27 12:14:39.000000000 +0200 +*************** +*** 716,717 **** +--- 716,719 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 36, + /**/ + +-- +ARTHUR: Bloody peasant! +DENNIS: Oh, what a give away. Did you hear that, did you hear that, eh? + That's what I'm on about -- did you see him repressing me, you saw it + didn't you? + The Quest for the Holy Grail (Monty Python) + + /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ download, build and distribute -- http://www.A-A-P.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// ================================================================ Index: packages/vim/7.3.037 diff -u /dev/null packages/vim/7.3.037:1.1 --- /dev/null Thu Oct 28 08:06:17 2010 +++ packages/vim/7.3.037 Thu Oct 28 08:06:11 2010 @@ -0,0 +1,137 @@ +To: [email protected] +Subject: Patch 7.3.037 +Fcc: outbox +From: Bram Moolenaar <[email protected]> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 7.3.037 +Problem: Compiler warnings for loss of data. (Mike Williams) +Solution: Add type casts. +Files: src/if_py_both.h, src/getchar.c, src/os_win32.c + + +*** ../vim-7.3.036/src/if_py_both.h 2010-09-21 16:49:29.000000000 +0200 +--- src/if_py_both.h 2010-10-25 20:37:07.000000000 +0200 +*************** +*** 154,160 **** + { + PyInt len = ptr - str; + +! if (ga_grow(&io_ga, len + 1) == FAIL) + break; + + mch_memmove(((char *)io_ga.ga_data) + io_ga.ga_len, str, (size_t)len); +--- 154,160 ---- + { + PyInt len = ptr - str; + +! if (ga_grow(&io_ga, (int)(len + 1)) == FAIL) + break; + + mch_memmove(((char *)io_ga.ga_data) + io_ga.ga_len, str, (size_t)len); +*************** +*** 166,175 **** + } + + /* Put the remaining text into io_ga for later printing. */ +! if (n > 0 && ga_grow(&io_ga, n + 1) == OK) + { + mch_memmove(((char *)io_ga.ga_data) + io_ga.ga_len, str, (size_t)n); +! io_ga.ga_len += n; + } + } + +--- 166,175 ---- + } + + /* Put the remaining text into io_ga for later printing. */ +! if (n > 0 && ga_grow(&io_ga, (int)(n + 1)) == OK) + { + mch_memmove(((char *)io_ga.ga_data) + io_ga.ga_len, str, (size_t)n); +! io_ga.ga_len += (int)n; + } + } + +*** ../vim-7.3.036/src/getchar.c 2010-10-22 22:13:47.000000000 +0200 +--- src/getchar.c 2010-10-25 20:39:31.000000000 +0200 +*************** +*** 3922,3928 **** + if (mapchars != NULL) + { + msg_puts(mapchars); +! len = STRLEN(mapchars); + vim_free(mapchars); + } + +--- 3922,3928 ---- + if (mapchars != NULL) + { + msg_puts(mapchars); +! len = (int)STRLEN(mapchars); + vim_free(mapchars); + } + +*** ../vim-7.3.036/src/os_win32.c 2010-10-24 14:33:38.000000000 +0200 +--- src/os_win32.c 2010-10-25 20:38:49.000000000 +0200 +*************** +*** 224,230 **** + + if (exe_path == NULL && exe_name != NULL) + { +! exe_path = vim_strnsave(exe_name, gettail_sep(exe_name) - exe_name); + if (exe_path != NULL) + { + /* Append our starting directory to $PATH, so that when doing +--- 224,231 ---- + + if (exe_path == NULL && exe_name != NULL) + { +! exe_path = vim_strnsave(exe_name, +! (int)(gettail_sep(exe_name) - exe_name)); + if (exe_path != NULL) + { + /* Append our starting directory to $PATH, so that when doing +*************** +*** 2374,2380 **** + /* To avoid a slow failure append "\*" when searching a directory, + * server or network share. */ + STRCPY(szTrueNameTemp, szTrueName); +! slen = strlen(szTrueNameTemp); + if (*porig == psepc && slen + 2 < _MAX_PATH) + STRCPY(szTrueNameTemp + slen, "\\*"); + +--- 2375,2381 ---- + /* To avoid a slow failure append "\*" when searching a directory, + * server or network share. */ + STRCPY(szTrueNameTemp, szTrueName); +! slen = (int)strlen(szTrueNameTemp); + if (*porig == psepc && slen + 2 < _MAX_PATH) + STRCPY(szTrueNameTemp + slen, "\\*"); + +*** ../vim-7.3.036/src/version.c 2010-10-27 12:15:28.000000000 +0200 +--- src/version.c 2010-10-27 12:16:53.000000000 +0200 +*************** +*** 716,717 **** +--- 716,719 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 37, + /**/ + +-- +ARTHUR: You fight with the strength of many men, Sir knight. + I am Arthur, King of the Britons. [pause] + I seek the finest and the bravest knights in the land to join me + in my Court of Camelot. [pause] + You have proved yourself worthy; will you join me? [pause] + You make me sad. So be it. Come, Patsy. +BLACK KNIGHT: None shall pass. + The Quest for the Holy Grail (Monty Python) + + /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ download, build and distribute -- http://www.A-A-P.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// ================================================================ Index: packages/vim/7.3.038 diff -u /dev/null packages/vim/7.3.038:1.1 --- /dev/null Thu Oct 28 08:06:17 2010 +++ packages/vim/7.3.038 Thu Oct 28 08:06:11 2010 @@ -0,0 +1,76 @@ +To: [email protected] +Subject: Patch 7.3.038 +Fcc: outbox +From: Bram Moolenaar <[email protected]> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 7.3.038 +Problem: v:windowid isn't set on MS-Windows. +Solution: Set it to the window handle. (Chris Sutcliffe) +Files: runtime/doc/eval.txt, src/gui_w32.c + + +*** ../vim-7.3.037/runtime/doc/eval.txt 2010-10-20 21:22:17.000000000 +0200 +--- runtime/doc/eval.txt 2010-10-27 12:23:37.000000000 +0200 +*************** +*** 1660,1666 **** + *v:windowid* *windowid-variable* + v:windowid When any X11 based GUI is running or when running in a + terminal and Vim connects to the X server (|-X|) this will be +! set to the window ID. Otherwise the value is zero. + + ============================================================================== + 4. Builtin Functions *functions* +--- 1660,1670 ---- + *v:windowid* *windowid-variable* + v:windowid When any X11 based GUI is running or when running in a + terminal and Vim connects to the X server (|-X|) this will be +! set to the window ID. +! When an MS-Windows GUI is running this will be set to the +! window handle. +! Otherwise the value is zero. +! Note: for windows inside Vim use |winnr()|. + + ============================================================================== + 4. Builtin Functions *functions* +*** ../vim-7.3.037/src/gui_w32.c 2010-10-27 12:15:28.000000000 +0200 +--- src/gui_w32.c 2010-10-27 12:21:22.000000000 +0200 +*************** +*** 1573,1578 **** +--- 1573,1583 ---- + # endif + #endif + ++ #ifdef FEAT_EVAL ++ /* set the v:windowid variable */ ++ set_vim_var_nr(VV_WINDOWID, (long)s_hwnd); ++ #endif ++ + theend: + /* Display any pending error messages */ + display_errors(); +*** ../vim-7.3.037/src/version.c 2010-10-27 12:17:54.000000000 +0200 +--- src/version.c 2010-10-27 12:24:38.000000000 +0200 +*************** +*** 716,717 **** +--- 716,719 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 38, + /**/ + +-- +ARTHUR: What? +BLACK KNIGHT: None shall pass. +ARTHUR: I have no quarrel with you, good Sir knight, but I must cross + this bridge. +BLACK KNIGHT: Then you shall die. + The Quest for the Holy Grail (Monty Python) + + /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ download, build and distribute -- http://www.A-A-P.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// ================================================================ Index: packages/vim/7.3.039 diff -u /dev/null packages/vim/7.3.039:1.1 --- /dev/null Thu Oct 28 08:06:17 2010 +++ packages/vim/7.3.039 Thu Oct 28 08:06:11 2010 @@ -0,0 +1,90 @@ +To: [email protected] +Subject: Patch 7.3.039 +Fcc: outbox +From: Bram Moolenaar <[email protected]> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 7.3.039 +Problem: Crash when using skk.vim plugin. +Solution: Get length of expression evaluation result only after checking for + NULL. (Noriaki Yagi, Dominique Pelle) +Files: src/ex_getln.c + + +*** ../vim-7.3.038/src/ex_getln.c 2010-09-29 15:50:14.000000000 +0200 +--- src/ex_getln.c 2010-10-27 12:42:00.000000000 +0200 +*************** +*** 688,711 **** + p = get_expr_line(); + --textlock; + restore_cmdline(&save_ccline); +- len = (int)STRLEN(p); + +! if (p != NULL && realloc_cmdbuff(len + 1) == OK) + { +! ccline.cmdlen = len; +! STRCPY(ccline.cmdbuff, p); +! vim_free(p); +! +! /* Restore the cursor or use the position set with +! * set_cmdline_pos(). */ +! if (new_cmdpos > ccline.cmdlen) +! ccline.cmdpos = ccline.cmdlen; +! else +! ccline.cmdpos = new_cmdpos; +! +! KeyTyped = FALSE; /* Don't do p_wc completion. */ +! redrawcmd(); +! goto cmdline_changed; + } + } + beep_flush(); +--- 688,714 ---- + p = get_expr_line(); + --textlock; + restore_cmdline(&save_ccline); + +! if (p != NULL) + { +! len = (int)STRLEN(p); +! if (realloc_cmdbuff(len + 1) == OK) +! { +! ccline.cmdlen = len; +! STRCPY(ccline.cmdbuff, p); +! vim_free(p); +! +! /* Restore the cursor or use the position set with +! * set_cmdline_pos(). */ +! if (new_cmdpos > ccline.cmdlen) +! ccline.cmdpos = ccline.cmdlen; +! else +! ccline.cmdpos = new_cmdpos; +! +! KeyTyped = FALSE; /* Don't do p_wc completion. */ +! redrawcmd(); +! goto cmdline_changed; +! } + } + } + beep_flush(); +*** ../vim-7.3.038/src/version.c 2010-10-27 12:33:12.000000000 +0200 +--- src/version.c 2010-10-27 12:43:40.000000000 +0200 +*************** +*** 716,717 **** +--- 716,719 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 39, + /**/ + +-- +"Hegel was right when he said that we learn from history that man can +never learn anything from history." (George Bernard Shaw) + + /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ download, build and distribute -- http://www.A-A-P.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// ================================================================ Index: packages/vim/7.3.040 diff -u /dev/null packages/vim/7.3.040:1.1 --- /dev/null Thu Oct 28 08:06:17 2010 +++ packages/vim/7.3.040 Thu Oct 28 08:06:11 2010 @@ -0,0 +1,48 @@ +To: [email protected] +Subject: Patch 7.3.040 +Fcc: outbox +From: Bram Moolenaar <[email protected]> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 7.3.040 +Problem: Comparing strings while ignoring case goes beyond end of the + string when there are illegal bytes. (Dominique Pelle) +Solution: Explicitly check for illegal bytes. +Files: src/mbyte.c + + +*** ../vim-7.3.039/src/mbyte.c 2010-10-23 14:02:48.000000000 +0200 +--- src/mbyte.c 2010-10-27 13:34:16.000000000 +0200 +*************** +*** 3124,3129 **** +--- 3124,3132 ---- + /* If one of the two characters is incomplete return -1. */ + if (incomplete || i + utf_byte2len(s2[i]) > n) + return -1; ++ /* Don't case-fold illegal bytes or truncated characters. */ ++ if (utf_ptr2len(s1 + i) < l || utf_ptr2len(s2 + i) < l) ++ return -1; + cdiff = utf_fold(utf_ptr2char(s1 + i)) + - utf_fold(utf_ptr2char(s2 + i)); + if (cdiff != 0) +*** ../vim-7.3.039/src/version.c 2010-10-27 12:58:19.000000000 +0200 +--- src/version.c 2010-10-27 13:25:16.000000000 +0200 +*************** +*** 716,717 **** +--- 716,719 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 40, + /**/ + +-- + With sufficient thrust, pigs fly just fine. + -- RFC 1925 + + /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ download, build and distribute -- http://www.A-A-P.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// ================================================================ Index: packages/vim/7.3.041 diff -u /dev/null packages/vim/7.3.041:1.1 --- /dev/null Thu Oct 28 08:06:17 2010 +++ packages/vim/7.3.041 Thu Oct 28 08:06:11 2010 @@ -0,0 +1,57 @@ +To: [email protected] +Subject: Patch 7.3.041 +Fcc: outbox +From: Bram Moolenaar <[email protected]> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 7.3.041 +Problem: Compiler warning for accessing mediumVersion. (Tony Mechelynck) +Solution: Use the pointer instead of the array itself. (Dominique Pelle) +Files: src/version.c + + +*** ../vim-7.3.040/src/version.c 2010-10-27 13:37:39.000000000 +0200 +--- src/version.c 2010-10-27 15:58:26.000000000 +0200 +*************** +*** 1342,1350 **** + if (highest_patch()) + { + /* Check for 9.9x or 9.9xx, alpha/beta version */ +! if (isalpha((int)mediumVersion[3])) + { +! if (isalpha((int)mediumVersion[4])) + sprintf((char *)vers + 5, ".%d%s", highest_patch(), + mediumVersion + 5); + else +--- 1344,1352 ---- + if (highest_patch()) + { + /* Check for 9.9x or 9.9xx, alpha/beta version */ +! if (isalpha((int)vers[3])) + { +! if (isalpha((int)vers[4])) + sprintf((char *)vers + 5, ".%d%s", highest_patch(), + mediumVersion + 5); + else +*** ../vim-7.3.040/src/version.c 2010-10-27 13:37:39.000000000 +0200 +--- src/version.c 2010-10-27 15:58:26.000000000 +0200 +*************** +*** 716,717 **** +--- 716,719 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 41, + /**/ + +-- +ARTHUR: I command you as King of the Britons to stand aside! +BLACK KNIGHT: I move for no man. + The Quest for the Holy Grail (Monty Python) + + /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ download, build and distribute -- http://www.A-A-P.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// ================================================================ Index: packages/vim/7.3.042 diff -u /dev/null packages/vim/7.3.042:1.1 --- /dev/null Thu Oct 28 08:06:17 2010 +++ packages/vim/7.3.042 Thu Oct 28 08:06:11 2010 @@ -0,0 +1,65 @@ +To: [email protected] +Subject: Patch 7.3.042 +Fcc: outbox +From: Bram Moolenaar <[email protected]> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 7.3.042 +Problem: No spell highlighting when re-using an empty buffer. +Solution: Clear the spell checking info only when clearing the options for a + buffer. (James Vega) +Files: src/buffer.c + + +*** ../vim-7.3.041/src/buffer.c 2010-09-21 16:56:29.000000000 +0200 +--- src/buffer.c 2010-10-27 16:09:26.000000000 +0200 +*************** +*** 639,644 **** +--- 639,647 ---- + { + clear_wininfo(buf); /* including window-local options */ + free_buf_options(buf, TRUE); ++ #ifdef FEAT_SPELL ++ ga_clear(&buf->b_s.b_langp); ++ #endif + } + #ifdef FEAT_EVAL + vars_clear(&buf->b_vars.dv_hashtab); /* free all internal variables */ +*************** +*** 661,669 **** + vim_free(buf->b_start_fenc); + buf->b_start_fenc = NULL; + #endif +- #ifdef FEAT_SPELL +- ga_clear(&buf->b_s.b_langp); +- #endif + } + + /* +--- 664,669 ---- +*** ../vim-7.3.041/src/version.c 2010-10-27 16:01:17.000000000 +0200 +--- src/version.c 2010-10-27 16:10:33.000000000 +0200 +*************** +*** 716,717 **** +--- 716,719 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 42, + /**/ + +-- +BLACK KNIGHT: I move for no man. +ARTHUR: So be it! <<Diff was trimmed, longer than 597 lines>> ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim/vim.spec?r1=1.529&r2=1.530&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
