# HG changeset patch # User vimboss # Date 1178452744 0 # Node ID c82da8beb64a6f5b54da019a636a49a59994e0a4 # Parent 04dbdca9c34c264bd9ae372839790dd870ae6e78 updated for version 7.1a diff --git a/src/if_ruby.c b/src/if_ruby.c --- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -54,7 +54,7 @@ #undef _ /* T_DATA defined both by Ruby and Mac header files, hack around it... */ -#ifdef FEAT_GUI_MAC +#ifdef MACOS # define __OPENTRANSPORT__ # define __OPENTRANSPORTPROTOCOL__ # define __OPENTRANSPORTPROVIDERS__ diff --git a/src/normal.c b/src/normal.c --- a/src/normal.c +++ b/src/normal.c @@ -3567,9 +3567,9 @@ checkclearop(oap) } /* - * check for operator or Visual active and clear it + * Check for operator or Visual active. Clear active operator. * - * return TRUE if operator was active + * Return TRUE if operator or Visual was active. */ static int checkclearopq(oap) diff --git a/src/proto/buffer.pro b/src/proto/buffer.pro --- a/src/proto/buffer.pro +++ b/src/proto/buffer.pro @@ -1,70 +1,70 @@ /* buffer.c */ -extern int open_buffer __ARGS((int read_stdin, exarg_T *eap)); -extern int buf_valid __ARGS((buf_T *buf)); -extern void close_buffer __ARGS((win_T *win, buf_T *buf, int action)); -extern void buf_clear_file __ARGS((buf_T *buf)); -extern void buf_freeall __ARGS((buf_T *buf, int del_buf, int wipe_buf)); -extern void goto_buffer __ARGS((exarg_T *eap, int start, int dir, int count)); -extern void handle_swap_exists __ARGS((buf_T *old_curbuf)); -extern char_u *do_bufdel __ARGS((int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit)); -extern int do_buffer __ARGS((int action, int start, int dir, int count, int forceit)); -extern void set_curbuf __ARGS((buf_T *buf, int action)); -extern void enter_buffer __ARGS((buf_T *buf)); -extern void do_autochdir __ARGS((void)); -extern buf_T *buflist_new __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum, int flags)); -extern void free_buf_options __ARGS((buf_T *buf, int free_p_ff)); -extern int buflist_getfile __ARGS((int n, linenr_T lnum, int options, int forceit)); -extern void buflist_getfpos __ARGS((void)); -extern buf_T *buflist_findname_exp __ARGS((char_u *fname)); -extern buf_T *buflist_findname __ARGS((char_u *ffname)); -extern int buflist_findpat __ARGS((char_u *pattern, char_u *pattern_end, int unlisted, int diffmode)); -extern int ExpandBufnames __ARGS((char_u *pat, int *num_file, char_u ***file, int options)); -extern buf_T *buflist_findnr __ARGS((int nr)); -extern char_u *buflist_nr2name __ARGS((int n, int fullname, int helptail)); -extern void get_winopts __ARGS((buf_T *buf)); -extern pos_T *buflist_findfpos __ARGS((buf_T *buf)); -extern linenr_T buflist_findlnum __ARGS((buf_T *buf)); -extern void buflist_list __ARGS((exarg_T *eap)); -extern int buflist_name_nr __ARGS((int fnum, char_u **fname, linenr_T *lnum)); -extern int setfname __ARGS((buf_T *buf, char_u *ffname, char_u *sfname, int message)); -extern void buf_set_name __ARGS((int fnum, char_u *name)); -extern void buf_name_changed __ARGS((buf_T *buf)); -extern buf_T *setaltfname __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum)); -extern char_u *getaltfname __ARGS((int errmsg)); -extern int buflist_add __ARGS((char_u *fname, int flags)); -extern void buflist_slash_adjust __ARGS((void)); -extern void buflist_altfpos __ARGS((void)); -extern int otherfile __ARGS((char_u *ffname)); -extern void buf_setino __ARGS((buf_T *buf)); -extern void fileinfo __ARGS((int fullname, int shorthelp, int dont_truncate)); -extern void col_print __ARGS((char_u *buf, int col, int vcol)); -extern void maketitle __ARGS((void)); -extern void resettitle __ARGS((void)); -extern void free_titles __ARGS((void)); -extern int build_stl_str_hl __ARGS((win_T *wp, char_u *out, size_t outlen, char_u *fmt, int use_sandbox, int fillchar, int maxwidth, struct stl_hlrec *hltab, struct stl_hlrec *tabtab)); -extern void get_rel_pos __ARGS((win_T *wp, char_u *str)); -extern int append_arg_number __ARGS((win_T *wp, char_u *buf, int add_file, int maxlen)); -extern char_u *fix_fname __ARGS((char_u *fname)); -extern void fname_expand __ARGS((buf_T *buf, char_u **ffname, char_u **sfname)); -extern char_u *alist_name __ARGS((aentry_T *aep)); -extern void do_arg_all __ARGS((int count, int forceit, int keep_tabs)); -extern void ex_buffer_all __ARGS((exarg_T *eap)); -extern void do_modelines __ARGS((int flags)); -extern int read_viminfo_bufferlist __ARGS((vir_T *virp, int writing)); -extern void write_viminfo_bufferlist __ARGS((FILE *fp)); -extern char *buf_spname __ARGS((buf_T *buf)); -extern void buf_addsign __ARGS((buf_T *buf, int id, linenr_T lnum, int typenr)); -extern int buf_change_sign_type __ARGS((buf_T *buf, int markId, int typenr)); -extern int_u buf_getsigntype __ARGS((buf_T *buf, linenr_T lnum, int type)); -extern linenr_T buf_delsign __ARGS((buf_T *buf, int id)); -extern int buf_findsign __ARGS((buf_T *buf, int id)); -extern int buf_findsign_id __ARGS((buf_T *buf, linenr_T lnum)); -extern int buf_findsigntype_id __ARGS((buf_T *buf, linenr_T lnum, int typenr)); -extern int buf_signcount __ARGS((buf_T *buf, linenr_T lnum)); -extern void buf_delete_all_signs __ARGS((void)); -extern void sign_list_placed __ARGS((buf_T *rbuf)); -extern void sign_mark_adjust __ARGS((linenr_T line1, linenr_T line2, long amount, long amount_after)); -extern void set_buflisted __ARGS((int on)); -extern int buf_contents_changed __ARGS((buf_T *buf)); -extern void wipe_buffer __ARGS((buf_T *buf, int aucmd)); +int open_buffer __ARGS((int read_stdin, exarg_T *eap)); +int buf_valid __ARGS((buf_T *buf)); +void close_buffer __ARGS((win_T *win, buf_T *buf, int action)); +void buf_clear_file __ARGS((buf_T *buf)); +void buf_freeall __ARGS((buf_T *buf, int del_buf, int wipe_buf)); +void goto_buffer __ARGS((exarg_T *eap, int start, int dir, int count)); +void handle_swap_exists __ARGS((buf_T *old_curbuf)); +char_u *do_bufdel __ARGS((int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit)); +int do_buffer __ARGS((int action, int start, int dir, int count, int forceit)); +void set_curbuf __ARGS((buf_T *buf, int action)); +void enter_buffer __ARGS((buf_T *buf)); +void do_autochdir __ARGS((void)); +buf_T *buflist_new __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum, int flags)); +void free_buf_options __ARGS((buf_T *buf, int free_p_ff)); +int buflist_getfile __ARGS((int n, linenr_T lnum, int options, int forceit)); +void buflist_getfpos __ARGS((void)); +buf_T *buflist_findname_exp __ARGS((char_u *fname)); +buf_T *buflist_findname __ARGS((char_u *ffname)); +int buflist_findpat __ARGS((char_u *pattern, char_u *pattern_end, int unlisted, int diffmode)); +int ExpandBufnames __ARGS((char_u *pat, int *num_file, char_u ***file, int options)); +buf_T *buflist_findnr __ARGS((int nr)); +char_u *buflist_nr2name __ARGS((int n, int fullname, int helptail)); +void get_winopts __ARGS((buf_T *buf)); +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 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)); +char_u *getaltfname __ARGS((int errmsg)); +int buflist_add __ARGS((char_u *fname, int flags)); +void buflist_slash_adjust __ARGS((void)); +void buflist_altfpos __ARGS((void)); +int otherfile __ARGS((char_u *ffname)); +void buf_setino __ARGS((buf_T *buf)); +void fileinfo __ARGS((int fullname, int shorthelp, int dont_truncate)); +void col_print __ARGS((char_u *buf, int col, int vcol)); +void maketitle __ARGS((void)); +void resettitle __ARGS((void)); +void free_titles __ARGS((void)); +int build_stl_str_hl __ARGS((win_T *wp, char_u *out, size_t outlen, char_u *fmt, int use_sandbox, int fillchar, int maxwidth, struct stl_hlrec *hltab, struct stl_hlrec *tabtab)); +void get_rel_pos __ARGS((win_T *wp, char_u *str)); +int append_arg_number __ARGS((win_T *wp, char_u *buf, int add_file, int maxlen)); +char_u *fix_fname __ARGS((char_u *fname)); +void fname_expand __ARGS((buf_T *buf, char_u **ffname, char_u **sfname)); +char_u *alist_name __ARGS((aentry_T *aep)); +void do_arg_all __ARGS((int count, int forceit, int keep_tabs)); +void ex_buffer_all __ARGS((exarg_T *eap)); +void do_modelines __ARGS((int flags)); +int read_viminfo_bufferlist __ARGS((vir_T *virp, int writing)); +void write_viminfo_bufferlist __ARGS((FILE *fp)); +char *buf_spname __ARGS((buf_T *buf)); +void buf_addsign __ARGS((buf_T *buf, int id, linenr_T lnum, int typenr)); +int buf_change_sign_type __ARGS((buf_T *buf, int markId, int typenr)); +int_u buf_getsigntype __ARGS((buf_T *buf, linenr_T lnum, int type)); +linenr_T buf_delsign __ARGS((buf_T *buf, int id)); +int buf_findsign __ARGS((buf_T *buf, int id)); +int buf_findsign_id __ARGS((buf_T *buf, linenr_T lnum)); +int buf_findsigntype_id __ARGS((buf_T *buf, linenr_T lnum, int typenr)); +int buf_signcount __ARGS((buf_T *buf, linenr_T lnum)); +void buf_delete_all_signs __ARGS((void)); +void sign_list_placed __ARGS((buf_T *rbuf)); +void sign_mark_adjust __ARGS((linenr_T line1, linenr_T line2, long amount, long amount_after)); +void set_buflisted __ARGS((int on)); +int buf_contents_changed __ARGS((buf_T *buf)); +void wipe_buffer __ARGS((buf_T *buf, int aucmd)); /* vim: set ft=c : */ diff --git a/src/proto/os_amiga.pro b/src/proto/os_amiga.pro --- a/src/proto/os_amiga.pro +++ b/src/proto/os_amiga.pro @@ -1,46 +1,46 @@ /* os_amiga.c */ -extern void win_resize_on __ARGS((void)); -extern void win_resize_off __ARGS((void)); -extern void mch_write __ARGS((char_u *p, int len)); -extern int mch_inchar __ARGS((char_u *buf, int maxlen, long time, int tb_change_cnt)); -extern int mch_char_avail __ARGS((void)); -extern long_u mch_avail_mem __ARGS((int special)); -extern void mch_delay __ARGS((long msec, int ignoreinput)); -extern void mch_suspend __ARGS((void)); -extern void mch_init __ARGS((void)); -extern int mch_check_win __ARGS((int argc, char **argv)); -extern int mch_input_isatty __ARGS((void)); -extern void fname_case __ARGS((char_u *name, int len)); -extern void mch_settitle __ARGS((char_u *title, char_u *icon)); -extern void mch_restore_title __ARGS((int which)); -extern int mch_can_restore_title __ARGS((void)); -extern int mch_can_restore_icon __ARGS((void)); -extern int mch_get_user_name __ARGS((char_u *s, int len)); -extern void mch_get_host_name __ARGS((char_u *s, int len)); -extern long mch_get_pid __ARGS((void)); -extern int mch_dirname __ARGS((char_u *buf, int len)); -extern int mch_FullName __ARGS((char_u *fname, char_u *buf, int len, int force)); -extern int mch_isFullName __ARGS((char_u *fname)); -extern long mch_getperm __ARGS((char_u *name)); -extern int mch_setperm __ARGS((char_u *name, long perm)); -extern void mch_hide __ARGS((char_u *name)); -extern int mch_isdir __ARGS((char_u *name)); -extern int mch_mkdir __ARGS((char_u *name)); -extern int mch_can_exe __ARGS((char_u *name)); -extern int mch_nodetype __ARGS((char_u *name)); -extern void mch_early_init __ARGS((void)); -extern void mch_exit __ARGS((int r)); -extern void mch_settmode __ARGS((int tmode)); -extern int mch_screenmode __ARGS((char_u *arg)); -extern int mch_get_shellsize __ARGS((void)); -extern void mch_set_shellsize __ARGS((void)); -extern void mch_new_shellsize __ARGS((void)); -extern int mch_call_shell __ARGS((char_u *cmd, int options)); -extern void mch_breakcheck __ARGS((void)); -extern long Chk_Abort __ARGS((void)); -extern int mch_expandpath __ARGS((garray_T *gap, char_u *pat, int flags)); -extern int mch_has_exp_wildcard __ARGS((char_u *p)); -extern int mch_has_wildcard __ARGS((char_u *p)); -extern char_u *mch_getenv __ARGS((char_u *var)); -extern int mch_setenv __ARGS((char *var, char *value, int x)); +void win_resize_on __ARGS((void)); +void win_resize_off __ARGS((void)); +void mch_write __ARGS((char_u *p, int len)); +int mch_inchar __ARGS((char_u *buf, int maxlen, long time, int tb_change_cnt)); +int mch_char_avail __ARGS((void)); +long_u mch_avail_mem __ARGS((int special)); +void mch_delay __ARGS((long msec, int ignoreinput)); +void mch_suspend __ARGS((void)); +void mch_init __ARGS((void)); +int mch_check_win __ARGS((int argc, char **argv)); +int mch_input_isatty __ARGS((void)); +void fname_case __ARGS((char_u *name, int len)); +void mch_settitle __ARGS((char_u *title, char_u *icon)); +void mch_restore_title __ARGS((int which)); +int mch_can_restore_title __ARGS((void)); +int mch_can_restore_icon __ARGS((void)); +int mch_get_user_name __ARGS((char_u *s, int len)); +void mch_get_host_name __ARGS((char_u *s, int len)); +long mch_get_pid __ARGS((void)); +int mch_dirname __ARGS((char_u *buf, int len)); +int mch_FullName __ARGS((char_u *fname, char_u *buf, int len, int force)); +int mch_isFullName __ARGS((char_u *fname)); +long mch_getperm __ARGS((char_u *name)); +int mch_setperm __ARGS((char_u *name, long perm)); +void mch_hide __ARGS((char_u *name)); +int mch_isdir __ARGS((char_u *name)); +int mch_mkdir __ARGS((char_u *name)); +int mch_can_exe __ARGS((char_u *name)); +int mch_nodetype __ARGS((char_u *name)); +void mch_early_init __ARGS((void)); +void mch_exit __ARGS((int r)); +void mch_settmode __ARGS((int tmode)); +int mch_screenmode __ARGS((char_u *arg)); +int mch_get_shellsize __ARGS((void)); +void mch_set_shellsize __ARGS((void)); +void mch_new_shellsize __ARGS((void)); +int mch_call_shell __ARGS((char_u *cmd, int options)); +void mch_breakcheck __ARGS((void)); +long Chk_Abort __ARGS((void)); +int mch_expandpath __ARGS((garray_T *gap, char_u *pat, int flags)); +int mch_has_exp_wildcard __ARGS((char_u *p)); +int mch_has_wildcard __ARGS((char_u *p)); +char_u *mch_getenv __ARGS((char_u *var)); +int mch_setenv __ARGS((char *var, char *value, int x)); /* vim: set ft=c : */