]> granicus.if.org Git - vim/commitdiff
updated for version 7.0036
authorBram Moolenaar <Bram@vim.org>
Sun, 9 Jan 2005 21:16:21 +0000 (21:16 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 9 Jan 2005 21:16:21 +0000 (21:16 +0000)
src/GvimExt/Make_ming.mak
src/Make_ming.mak
src/ex_docmd.c
src/gui_w48.c
src/proto/buffer.pro
src/proto/gui_photon.pro

index 9da5639518a45ab104d239cf43973ba39778a227..f10f730109a1b21fdf8b2064c179f2b9aba70b5f 100644 (file)
@@ -18,6 +18,7 @@ CROSS = no
 MINGWOLD = no
 
 ifeq ($(CROSS),yes)
+DEL = rm
 ifeq ($(MINGWOLD),yes)
 CXX = i586-mingw32msvc-g++
 CXXFLAGS := -O2 -mno-cygwin -fvtable-thunks
@@ -31,6 +32,11 @@ else
 CXX := g++
 WINDRES := windres
 CXXFLAGS := -O2 -mno-cygwin
+ifneq (sh.exe, $(SHELL))
+DEL = rm
+else
+DEL = del
+endif
 endif
 LIBS :=  -luuid
 RES  := gvimext.res
@@ -59,5 +65,5 @@ $(RES): gvimext_ming.rc
        $(WINDRES) --input-format=rc --output-format=coff -DMING $? -o $@
 
 clean: clean-custom
-       $(RM)  $(OBJ) $(RES) $(DLL)
+       -$(DEL)  $(OBJ) $(RES) $(DLL)
 
index 4074a88ea832fc729197490357833a1ee99bd23f..e6bf381d0230f907e77ac090adc71e36ba56b8e1 100644 (file)
@@ -581,7 +581,7 @@ ifneq (sh.exe, $(SHELL))
        @echo 'char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)";' >> pathdef.c
        @echo 'char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)";' >> pathdef.c
        @echo 'char_u *all_cflags = (char_u *)"$(CC) $(CFLAGS)";' >> pathdef.c
-       @echo 'char_u *all_lflags = (char_u *)"$(CC) -s -o $(TARGET) $(LIB) -luuid -lole32 $(PYTHONLIB) $(RUBYLIB)";' >> pathdef.c
+       @echo 'char_u *all_lflags = (char_u *)"$(CC) $(CFLAGS) $(LFLAGS) -o $(TARGET) $(LIB) -lole32 -luuid $(MZSCHEME_LIBDIR) $(MZSCHEME_LIB) $(PYTHONLIB) $(RUBYLIB)";' >> pathdef.c
        @echo 'char_u *compiled_user = (char_u *)"$(USERNAME)";' >> pathdef.c
        @echo 'char_u *compiled_sys = (char_u *)"$(USERDOMAIN)";' >> pathdef.c
 else
@@ -591,7 +591,7 @@ else
        @echo char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)"; >> pathdef.c
        @echo char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)"; >> pathdef.c
        @echo char_u *all_cflags = (char_u *)"$(CC) $(CFLAGS)"; >> pathdef.c
-       @echo char_u *all_lflags = (char_u *)"$(CC) -s -o $(TARGET) $(LIB) -luuid -lole32 $(PYTHONLIB) $(RUBYLIB)"; >> pathdef.c
+       @echo char_u *all_lflags = (char_u *)"$(CC) $(CFLAGS) $(LFLAGS) -o $(TARGET) $(LIB) -lole32 -luuid $(MZSCHEME_LIBDIR) $(MZSCHEME_LIB) $(PYTHONLIB) $(RUBYLIB)"; >> pathdef.c
        @echo char_u *compiled_user = (char_u *)"$(USERNAME)"; >> pathdef.c
        @echo char_u *compiled_sys = (char_u *)"$(USERDOMAIN)"; >> pathdef.c
 endif
index 2b43dc51fbdb266a2e3bee00296c934753b1ff79..84cb391309bcd72a70194517a4467c1bab702a06 100644 (file)
@@ -8085,6 +8085,11 @@ ex_normal(eap)
 ex_startinsert(eap)
     exarg_T    *eap;
 {
+    /* Ignore the command when already in Insert mode.  Inserting an
+     * expression register that invokes a function can do this. */
+    if (State & INSERT)
+       return;
+
     if (eap->forceit)
     {
        coladvance((colnr_T)MAXCOL);
index 33edfd3af2429727c0aab2bbef836e4e31251740..00b5e6665a4e20d57f94f4c490e8af6d47fdf780 100644 (file)
@@ -2414,7 +2414,7 @@ gui_mch_destroy_scrollbar(scrollbar_T *sb)
  * Get current mouse coordinates in text window.
  */
     void
-gui_mch_get_mouse_(int *x, int *y)
+gui_mch_getmouse(int *x, int *y)
 {
     RECT rct;
     POINT mp;
index 8641c75b5f60472d0a799aabea78bb0293181898..835d2cefcb0e3420920547bfba9ac96c28c2f012 100644 (file)
@@ -25,7 +25,7 @@ pos_T *buflist_findfpos __ARGS((buf_T *buf));
 linenr_T buflist_findlnum __ARGS((buf_T *buf));
 void buflist_list __ARGS((exarg_T *eap));
 int buflist_name_nr __ARGS((int fnum, char_u **fname, linenr_T *lnum));
-int setfname __ARGS((buf_T *buf, char_u *ffname, char_u *sfname, int exist_msg));
+int setfname __ARGS((buf_T *buf, char_u *ffname, char_u *sfname, int message));
 void buf_set_name __ARGS((int fnum, char_u *name));
 void buf_name_changed __ARGS((buf_T *buf));
 buf_T *setaltfname __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum));
index af33ef5ce6b2f58e4a64eef66fbd193c30072c88..47ffc54bd97538746fc5b8cc5197131e59488044 100644 (file)
@@ -23,7 +23,7 @@ void gui_mch_enable_scrollbar __ARGS((scrollbar_T *sb, int flag));
 void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb));
 void mch_set_mouse_shape __ARGS((int shape));
 void gui_mch_mousehide __ARGS((int hide));
-void gui_mch_getmouse __ARGS((int *x, int *y));
+int gui_mch_getmouse __ARGS((int *x, int *y));
 void gui_mch_setmouse __ARGS((int x, int y));
 long_u gui_mch_get_rgb __ARGS((guicolor_T pixel));
 void gui_mch_new_colors __ARGS((void));