mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0036
This commit is contained in:
@@ -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)
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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);
|
||||
|
@@ -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;
|
||||
|
@@ -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));
|
||||
|
@@ -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));
|
||||
|
Reference in New Issue
Block a user