changeset 2428:33148c37f3c9 vim73

Changes for VMS. Mostly by Zoltan Arpadffy.
author Bram Moolenaar <bram@vim.org>
date Wed, 28 Jul 2010 19:38:16 +0200
parents 2533a507001f
children 7ce8b24450dc
files runtime/doc/os_vms.txt runtime/doc/todo.txt src/Make_vms.mms src/edit.c src/normal.c src/os_vms_conf.h src/proto/screen.pro src/screen.c src/ui.c
diffstat 9 files changed, 25 insertions(+), 27 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/os_vms.txt
+++ b/runtime/doc/os_vms.txt
@@ -1,4 +1,4 @@
-*os_vms.txt*    For Vim version 7.3c.  Last change: 2009 Oct 28
+*os_vms.txt*    For Vim version 7.3c.  Last change: 2010 Jul 28
 
 
 		  VIM REFERENCE MANUAL
@@ -766,16 +766,20 @@ GNU_TOOLS.ZIP package downloadable from 
 
 9. VMS related changes					*vms-changes*
 
-Recent changes
-- The following plugins are included into VMS runtime: 
-  genutils 2.4, multiselect 2.2, multvals 3.1, selectbuf 4.3,
-  bufexplorer 7.1.7, taglist 4.5
-- minor changes in vimrc (just in VMS runtime) 
+Version 7.3
+- CTAGS 5.8 included
+- VMS compile warnings fixed - floating-point overflow warning corrected on VAX
+- filepath completition corrected - too many chars were escaped in filename
+  and shell commands
+- the following plugins are included into VMS runtime:
+	genutils 2.4, multiselect 2.2, multvals 3.1, selectbuf 4.3,
+	bufexplorer 7.1.7, taglist 4.5
+- minor changes in vimrc (just in VMS runtime)
 - make_vms.mms - HUGE model is the default
 - [TESTDIR]make_vms.mms include as many tests possible
 - modify test30 and test54 for VMS
 - enable FLOAT feature in VMS port
-- os_vms.txt updated  
+- os_vms.txt updated
 
 Version 7.2 (2008 Aug 9)
 - VCF files write corrected
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -30,15 +30,6 @@ be worked on, but only if you sponsor Vi
 							*known-bugs*
 -------------------- Known bugs and current work -----------------------
 
-Conceal problem: CTRL-L draws differently than individual line. (Benjamin
-Fritz, 2010 Jul 27)
-
-Access to free memory with :redir command. (Dominique Pelle, 2010 Jul 25)
-Easier way to reproduce in later message. (2010 Jul 26)
-call get_lval() again in var_redir_stop().
-
-Patch for VMS. Zoltan Arpadffy, 2010 Jul 26.
-
 Patch for :find completion. (Nazri Ramliy, 2010 Jul 27, and leak fix)
 And patch for Windows, Jul 28.
 And fix for patch, Jul 28.
--- a/src/Make_vms.mms
+++ b/src/Make_vms.mms
@@ -2,7 +2,7 @@
 # Makefile for Vim on OpenVMS
 #
 # Maintainer:   Zoltan Arpadffy <arpadffy@polarhome.com>
-# Last change:  2008 Aug 16
+# Last change:  2010 Jul 28
 #
 # This has script been tested on VMS 6.2 to 8.2 on DEC Alpha, VAX and IA64
 # with MMS and MMK
@@ -295,21 +295,21 @@ ALL_CFLAGS_VER = /def=($(MODEL_DEF)$(DEF
 ALL_LIBS = $(LIBS) $(GUI_LIB_DIR) $(GUI_LIB) \
 	   $(PERL_LIB) $(PYTHON_LIB) $(TCL_LIB) $(SNIFF_LIB) $(RUBY_LIB)
 
-SRC =	buffer.c charset.c diff.c digraph.c edit.c eval.c ex_cmds.c ex_cmds2.c \
+SRC =	blowfish.c buffer.c charset.c diff.c digraph.c edit.c eval.c ex_cmds.c ex_cmds2.c \
 	ex_docmd.c ex_eval.c ex_getln.c if_xcmdsrv.c fileio.c fold.c getchar.c \
 	hardcopy.c hashtab.c main.c mark.c menu.c mbyte.c memfile.c memline.c message.c misc1.c \
-	misc2.c move.c normal.c ops.c option.c popupmnu.c quickfix.c regexp.c search.c \
+	misc2.c move.c normal.c ops.c option.c popupmnu.c quickfix.c regexp.c search.c sha256.c\
 	spell.c syntax.c tag.c term.c termlib.c ui.c undo.c version.c screen.c \
 	window.c os_unix.c os_vms.c pathdef.c \
 	$(GUI_SRC) $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) $(SNIFF_SRC) \
 	$(RUBY_SRC) $(HANGULIN_SRC)
 
-OBJ =	buffer.obj charset.obj diff.obj digraph.obj edit.obj eval.obj \
+OBJ =	blowfish.obj buffer.obj charset.obj diff.obj digraph.obj edit.obj eval.obj \
 	ex_cmds.obj ex_cmds2.obj ex_docmd.obj ex_eval.obj ex_getln.obj \
 	if_xcmdsrv.obj fileio.obj fold.obj getchar.obj hardcopy.obj hashtab.obj main.obj mark.obj \
 	menu.obj memfile.obj memline.obj message.obj misc1.obj misc2.obj \
 	move.obj mbyte.obj normal.obj ops.obj option.obj popupmnu.obj quickfix.obj \
-	regexp.obj search.obj spell.obj syntax.obj tag.obj term.obj termlib.obj \
+	regexp.obj search.obj sha256.obj spell.obj syntax.obj tag.obj term.obj termlib.obj \
 	ui.obj undo.obj screen.obj version.obj window.obj os_unix.obj \
 	os_vms.obj pathdef.obj \
 	$(GUI_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(TCL_OBJ) $(SNIFF_OBJ) \
--- a/src/edit.c
+++ b/src/edit.c
@@ -380,7 +380,7 @@ edit(cmdchar, startln, count)
 #ifdef FEAT_CONCEAL
     /* Check if the cursor line needs redrawing before changing State.  If
      * 'concealcursor' is "n" it needs to be redrawn without concealing. */
-    conceal_check_cursur_line_redraw();
+    conceal_check_cursur_line();
 #endif
 
 #ifdef FEAT_MOUSE
--- a/src/normal.c
+++ b/src/normal.c
@@ -7649,7 +7649,7 @@ n_start_visual_mode(c)
 {
 #ifdef FEAT_CONCEAL
     /* Check for redraw before changing the state. */
-    conceal_check_cursur_line_redraw();
+    conceal_check_cursur_line();
 #endif
 
     VIsual_mode = c;
@@ -7673,7 +7673,7 @@ n_start_visual_mode(c)
 #endif
 #ifdef FEAT_CONCEAL
     /* Check for redraw after changing the state. */
-    conceal_check_cursur_line_redraw();
+    conceal_check_cursur_line();
 #endif
 
     if (p_smd && msg_silent == 0)
--- a/src/os_vms_conf.h
+++ b/src/os_vms_conf.h
@@ -50,6 +50,9 @@
 /* Define to `int' if <sys/types.h> doesn't define.  */
 /* #undef uid_t */
 
+/* Define to `unsigned int' or other type that is 32 bit.  */
+#define UINT32_T unsigned int
+
 /* Define to `int' if <sys/types.h> doesn't define.  */
 /* #undef gid_t */
 
--- a/src/proto/screen.pro
+++ b/src/proto/screen.pro
@@ -9,7 +9,7 @@ void redrawWinline __ARGS((linenr_T lnum
 void update_curbuf __ARGS((int type));
 void update_screen __ARGS((int type));
 int conceal_cursor_line __ARGS((win_T *wp));
-void conceal_check_cursur_line_redraw __ARGS((void));
+void conceal_check_cursur_line __ARGS((void));
 void update_single_line __ARGS((win_T *wp, linenr_T lnum));
 void update_debug_sign __ARGS((buf_T *buf, linenr_T lnum));
 void updateWindow __ARGS((win_T *wp));
--- a/src/screen.c
+++ b/src/screen.c
@@ -616,7 +616,7 @@ conceal_cursor_line(wp)
  * Check if the cursor line needs to be redrawn because of 'concealcursor'.
  */
     void
-conceal_check_cursur_line_redraw()
+conceal_check_cursur_line()
 {
     if (curwin->w_p_cole > 0 && conceal_cursor_line(curwin))
     {
--- a/src/ui.c
+++ b/src/ui.c
@@ -1914,7 +1914,7 @@ ui_cursor_shape()
 # endif
 
 # ifdef FEAT_CONCEAL
-    conceal_check_cursur_line_redraw();
+    conceal_check_cursur_line();
 # endif
 }
 #endif