diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/if_mzsch.c | 7 | ||||
-rw-r--r-- | src/if_tcl.c | 2 | ||||
-rwxr-xr-x | src/link.sh | 3 | ||||
-rw-r--r-- | src/po/README.txt | 8 | ||||
-rw-r--r-- | src/po/pl.po | 43 | ||||
-rw-r--r-- | src/proto/edit.pro | 78 | ||||
-rw-r--r-- | src/proto/ex_cmds.pro | 114 | ||||
-rw-r--r-- | src/proto/ex_cmds2.pro | 162 | ||||
-rw-r--r-- | src/proto/gui_beval.pro | 18 | ||||
-rw-r--r-- | src/proto/gui_motif.pro | 88 | ||||
-rw-r--r-- | src/proto/gui_x11.pro | 136 | ||||
-rw-r--r-- | src/proto/hangulin.pro | 14 | ||||
-rw-r--r-- | src/proto/if_perl.pro | 14 | ||||
-rw-r--r-- | src/proto/if_python.pro | 12 | ||||
-rw-r--r-- | src/proto/if_ruby.pro | 14 | ||||
-rw-r--r-- | src/proto/if_xcmdsrv.pro | 18 | ||||
-rw-r--r-- | src/proto/mbyte.pro | 178 | ||||
-rw-r--r-- | src/proto/memline.pro | 62 | ||||
-rw-r--r-- | src/proto/misc1.pro | 186 | ||||
-rw-r--r-- | src/proto/move.pro | 76 | ||||
-rw-r--r-- | src/proto/os_msdos.pro | 92 | ||||
-rw-r--r-- | src/proto/os_unix.pro | 142 | ||||
-rw-r--r-- | src/proto/os_win32.pro | 104 | ||||
-rw-r--r-- | src/proto/quickfix.pro | 56 | ||||
-rw-r--r-- | src/proto/screen.pro | 96 | ||||
-rw-r--r-- | src/proto/search.pro | 68 | ||||
-rw-r--r-- | src/proto/term.pro | 116 | ||||
-rw-r--r-- | src/proto/termlib.pro | 12 | ||||
-rw-r--r-- | src/testdir/test55.in | 8 |
29 files changed, 984 insertions, 943 deletions
diff --git a/src/if_mzsch.c b/src/if_mzsch.c index 706f4ca8c2..c325a92396 100644 --- a/src/if_mzsch.c +++ b/src/if_mzsch.c @@ -100,7 +100,7 @@ typedef struct #ifdef HAVE_SANDBOX static Scheme_Object *sandbox_file_guard(int, Scheme_Object **); static Scheme_Object *sandbox_network_guard(int, Scheme_Object **); -static void sandbox_check(); +static void sandbox_check(void); #endif /* Buffer-related commands */ static Scheme_Object *buffer_new(buf_T *buf); @@ -2441,7 +2441,8 @@ raise_vim_exn(const char *add_info) else argv[0] = scheme_make_string(_("Vim error")); - argv[1] = scheme_current_continuation_marks(); + /* TODO: proper argument */ + argv[1] = scheme_current_continuation_marks(NULL); scheme_raise(scheme_make_struct_instance(vim_exn, 2, argv)); } @@ -2659,7 +2660,7 @@ static Scheme_Object *M_execute = NULL; static Scheme_Object *M_delete = NULL; static void -sandbox_check() +sandbox_check(void) { if (sandbox) raise_vim_exn(_("not allowed in the Vim sandbox")); diff --git a/src/if_tcl.c b/src/if_tcl.c index fe43d23ceb..4b089ce5d9 100644 --- a/src/if_tcl.c +++ b/src/if_tcl.c @@ -1564,7 +1564,9 @@ tclsetdelcmd(interp, reflist, vimobj, delcmd) if (reflist->interp == interp && reflist->vimobj == vimobj) { if (reflist->delcmd) + { Tcl_DecrRefCount(reflist->delcmd); + } Tcl_IncrRefCount(delcmd); reflist->delcmd = delcmd; return TCL_OK; diff --git a/src/link.sh b/src/link.sh index 0ab07f03dd..dc376d5213 100755 --- a/src/link.sh +++ b/src/link.sh @@ -5,7 +5,8 @@ # libraries when they exist, but this doesn't mean they are needed for Vim. # # Author: Bram Moolenaar -# Last change: 2005 Jan 25 +# Last change: 2006 Sep 26 +# License: Public domain # # Warning: This fails miserably if the linker doesn't return an error code! # diff --git a/src/po/README.txt b/src/po/README.txt index 62ee389fb5..d636eceac2 100644 --- a/src/po/README.txt +++ b/src/po/README.txt @@ -12,9 +12,9 @@ supported by iconv and will be automatically converted to the currently used encoding. The GNU gettext library, starting with version 0.10.36, uses a new format for -some encodings. This folows the C99 standard for strings. It means that when -a multi-byte character includes the 0x5c byte, this is not recognized as a -backslash. Since this format is incompatible with Solaris, Vim uses the old +some encodings. This follows the C99 standard for strings. It means that +when a multi-byte character includes the 0x5c byte, this is not recognized as +a backslash. Since this format is incompatible with Solaris, Vim uses the old format. This is done by setting the OLD_PO_FILE_OUTPUT and OLD_PO_FILE_INPUT environment variables. When you use the Makefile in this directory that will be done for you. This does NOT work with gettext 0.10.36. Don't use it, get @@ -30,7 +30,7 @@ on MS-Windows. Download the gettext packages, for example from: You might have to do the commands manually. Example: - cd c:\vim\vim60 + cd c:\vim\vim71 mkdir runtime\lang\ja\LC_MESSAGES msgfmt -o runtime\lang\ja\LC_MESSAGES\vim.mo src\po\ja.po diff --git a/src/po/pl.po b/src/po/pl.po index 6f8ac50d0a..4f4e29ff31 100644 --- a/src/po/pl.po +++ b/src/po/pl.po @@ -1,22 +1,22 @@ # translation of pl.po to Polish # Polish Translation for Vim # -# updated 2006 for vim-7.0 +# updated 2007 for vim-7.0 # # FIRST AUTHOR Marcin Dalecki <martin@dalecki.de>, 2000. -# Mikolaj Machowski <mikmach@wp.pl>, 2004, 2005, 2006. +# Mikolaj Machowski <mikmach@wp.pl>, 2004, 2005, 2006, 2007. msgid "" msgstr "" "Project-Id-Version: pl\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-04-27 18:27+0200\n" -"PO-Revision-Date: 2006-04-27 19:15+0200\n" +"POT-Creation-Date: 2007-04-30 20:03+0200\n" +"PO-Revision-Date: 2007-04-30 20:07+0200\n" "Last-Translator: Mikolaj Machowski <mikmach@wp.pl>\n" "Language-Team: Polish <kde-transl@mer.chemia.polsl.gliwice.pl>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.11.2\n" +"X-Generator: KBabel 1.11.4\n" msgid "E82: Cannot allocate any buffer, exiting..." msgstr "E82: Nie mogę zarezerwować bufora; zakończenie..." @@ -194,6 +194,9 @@ msgstr "E98: Nie mogę wczytać wyjścia różnicy" msgid "E99: Current buffer is not in diff mode" msgstr "E99: Bieżący bufor nie jest w trybie różnic" +msgid "E793: No other buffer in diff mode is modifiable" +msgstr "E793: Żaden inny bufor w trybie diff nie jest modyfikowalny" + msgid "E100: No other buffer in diff mode" msgstr "E100: Brak innego bufora w trybie różnic" @@ -619,6 +622,10 @@ msgid "E706: Variable type mismatch for: %s" msgstr "E706: Nieprawidłowy typ zmiennej dla: %s" #, c-format +msgid "E795: Cannot delete variable %s" +msgstr "E795: Nie mogę usunąć zmiennej %s" + +#, c-format msgid "E741: Value is locked: %s" msgstr "E741: Wartość jest zablokowana: %s" @@ -883,6 +890,7 @@ msgstr " zakładki" msgid " FAILED" msgstr " NIE POWIODŁO SIĘ" +#. avoid a wait_return for this message, it's annoying #, c-format msgid "E137: Viminfo file is not writable: %s" msgstr "E137: Plik viminfo jest niezapisywalny: %s" @@ -1457,6 +1465,9 @@ msgstr "jest katalogiem" msgid "is not a file" msgstr "nie jest plikiem" +msgid "is a device (disabled with 'opendevice' option" +msgstr "jest urządzeniem (wyłączonym w opcji 'opendevice'" + msgid "[New File]" msgstr "[Nowy Plik]" @@ -1553,6 +1564,9 @@ msgstr "Częściowy zapis niemożliwy dla buforów NetBeans" msgid "is not a file or writable device" msgstr "nie jest plikiem lub zapisywalnym przyrządem" +msgid "writing to device disabled with 'opendevice' option" +msgstr "zapisywanie do urządzenia wyłączone w opcji 'opendevice'" + msgid "is read-only (add ! to override)" msgstr "jest tylko do odczytu (wymuś poprzez !)" @@ -3288,6 +3302,9 @@ msgstr "" ",\n" "lub plik został uszkodzony." +msgid " has been damaged (page size is smaller than minimum value).\n" +msgstr " został uszkodzony (wielkość strony jest mniejsza niż najmniejsza wartość).\n" + #, c-format msgid "Using swap file \"%s\"" msgstr "Używam pliku wymiany \"%s\"" @@ -3626,6 +3643,10 @@ msgstr "E328: Menu istnieje tylko w innym trybie" msgid "E329: No menu \"%s\"" msgstr "E329: Nie ma menu \"%s\"" +#. Only a mnemonic or accelerator is not valid. +msgid "E792: Empty menu name" +msgstr "E792: Pusta nazwa menu" + msgid "E330: Menu path must not lead to a sub-menu" msgstr "E330: Trop menu nie może prowadzić do podmenu" @@ -4999,6 +5020,7 @@ msgstr "Przykro mi, brak podpowiedzi" msgid "Sorry, only %ld suggestions" msgstr "Przykro mi, tylko %ld podpowiedzi" +#. for when 'cmdheight' > 1 #. avoid more prompt #, c-format msgid "Change \"%.*s\" to:" @@ -5423,6 +5445,13 @@ msgstr "" msgid "" "\n" +"MS-Windows 64 bit GUI version" +msgstr "" +"\n" +"64 bitowa wersja GUI dla MS-Windows" + +msgid "" +"\n" "MS-Windows 32 bit GUI version" msgstr "" "\n" @@ -6016,8 +6045,8 @@ msgid "E46: Cannot change read-only variable \"%s\"" msgstr "E46: Nie mogę zmienić zmiennej tylko do odczytu \"%s\"" #, c-format -msgid "E46: Cannot set variable in the sandbox: \"%s\"" -msgstr "E46: Nie mogę ustawić zmiennej w piaskownicy: \"%s\"" +msgid "E794: Cannot set variable in the sandbox: \"%s\"" +msgstr "E794: Nie mogę ustawić zmiennej w piaskownicy: \"%s\"" msgid "E47: Error while reading errorfile" msgstr "E47: Błąd w trakcie czytania pliku błędów" diff --git a/src/proto/edit.pro b/src/proto/edit.pro index 3c76a9ebdc..a967037cb7 100644 --- a/src/proto/edit.pro +++ b/src/proto/edit.pro @@ -1,41 +1,41 @@ /* edit.c */ -extern int edit __ARGS((int cmdchar, int startln, long count)); -extern void edit_putchar __ARGS((int c, int highlight)); -extern void edit_unputchar __ARGS((void)); -extern void display_dollar __ARGS((colnr_T col)); -extern void change_indent __ARGS((int type, int amount, int round, int replaced)); -extern void truncate_spaces __ARGS((char_u *line)); -extern void backspace_until_column __ARGS((int col)); -extern int vim_is_ctrl_x_key __ARGS((int c)); -extern int ins_compl_add_infercase __ARGS((char_u *str, int len, int icase, char_u *fname, int dir, int flags)); -extern void set_completion __ARGS((int startcol, list_T *list)); -extern void ins_compl_show_pum __ARGS((void)); -extern char_u *find_word_start __ARGS((char_u *ptr)); -extern char_u *find_word_end __ARGS((char_u *ptr)); -extern int ins_compl_active __ARGS((void)); -extern int ins_compl_add_tv __ARGS((typval_T *tv, int dir)); -extern void ins_compl_check_keys __ARGS((int frequency)); -extern int get_literal __ARGS((void)); -extern void insertchar __ARGS((int c, int flags, int second_indent)); -extern void auto_format __ARGS((int trailblank, int prev_line)); -extern int comp_textwidth __ARGS((int ff)); -extern int stop_arrow __ARGS((void)); -extern void set_last_insert __ARGS((int c)); -extern void free_last_insert __ARGS((void)); -extern char_u *add_char2buf __ARGS((int c, char_u *s)); -extern void beginline __ARGS((int flags)); -extern int oneright __ARGS((void)); -extern int oneleft __ARGS((void)); -extern int cursor_up __ARGS((long n, int upd_topline)); -extern int cursor_down __ARGS((long n, int upd_topline)); -extern int stuff_inserted __ARGS((int c, long count, int no_esc)); -extern char_u *get_last_insert __ARGS((void)); -extern char_u *get_last_insert_save __ARGS((void)); -extern void replace_push __ARGS((int c)); -extern void fixthisline __ARGS((int (*get_the_indent)(void))); -extern void fix_indent __ARGS((void)); -extern int in_cinkeys __ARGS((int keytyped, int when, int line_is_empty)); -extern int hkmap __ARGS((int c)); -extern void ins_scroll __ARGS((void)); -extern void ins_horscroll __ARGS((void)); +int edit __ARGS((int cmdchar, int startln, long count)); +void edit_putchar __ARGS((int c, int highlight)); +void edit_unputchar __ARGS((void)); +void display_dollar __ARGS((colnr_T col)); +void change_indent __ARGS((int type, int amount, int round, int replaced)); +void truncate_spaces __ARGS((char_u *line)); +void backspace_until_column __ARGS((int col)); +int vim_is_ctrl_x_key __ARGS((int c)); +int ins_compl_add_infercase __ARGS((char_u *str, int len, int icase, char_u *fname, int dir, int flags)); +void set_completion __ARGS((int startcol, list_T *list)); +void ins_compl_show_pum __ARGS((void)); +char_u *find_word_start __ARGS((char_u *ptr)); +char_u *find_word_end __ARGS((char_u *ptr)); +int ins_compl_active __ARGS((void)); +int ins_compl_add_tv __ARGS((typval_T *tv, int dir)); +void ins_compl_check_keys __ARGS((int frequency)); +int get_literal __ARGS((void)); +void insertchar __ARGS((int c, int flags, int second_indent)); +void auto_format __ARGS((int trailblank, int prev_line)); +int comp_textwidth __ARGS((int ff)); +int stop_arrow __ARGS((void)); +void set_last_insert __ARGS((int c)); +void free_last_insert __ARGS((void)); +char_u *add_char2buf __ARGS((int c, char_u *s)); +void beginline __ARGS((int flags)); +int oneright __ARGS((void)); +int oneleft __ARGS((void)); +int cursor_up __ARGS((long n, int upd_topline)); +int cursor_down __ARGS((long n, int upd_topline)); +int stuff_inserted __ARGS((int c, long count, int no_esc)); +char_u *get_last_insert __ARGS((void)); +char_u *get_last_insert_save __ARGS((void)); +void replace_push __ARGS((int c)); +void fixthisline __ARGS((int (*get_the_indent)(void))); +void fix_indent __ARGS((void)); +int in_cinkeys __ARGS((int keytyped, int when, int line_is_empty)); +int hkmap __ARGS((int c)); +void ins_scroll __ARGS((void)); +void ins_horscroll __ARGS((void)); /* vim: set ft=c : */ diff --git a/src/proto/ex_cmds.pro b/src/proto/ex_cmds.pro index 7582dffab1..4382e6530a 100644 --- a/src/proto/ex_cmds.pro +++ b/src/proto/ex_cmds.pro @@ -1,59 +1,59 @@ /* ex_cmds.c */ -extern void do_ascii __ARGS((exarg_T *eap)); -extern void ex_align __ARGS((exarg_T *eap)); -extern void ex_sort __ARGS((exarg_T *eap)); -extern void ex_retab __ARGS((exarg_T *eap)); -extern int do_move __ARGS((linenr_T line1, linenr_T line2, linenr_T dest)); -extern void ex_copy __ARGS((linenr_T line1, linenr_T line2, linenr_T n)); -extern void free_prev_shellcmd __ARGS((void)); -extern void do_bang __ARGS((int addr_count, exarg_T *eap, int forceit, int do_in, int do_out)); -extern void do_shell __ARGS((char_u *cmd, int flags)); -extern char_u *make_filter_cmd __ARGS((char_u *cmd, char_u *itmp, char_u *otmp)); -extern void append_redir __ARGS((char_u *buf, char_u *opt, char_u *fname)); -extern int viminfo_error __ARGS((char *errnum, char *message, char_u *line)); -extern int read_viminfo __ARGS((char_u *file, int want_info, int want_marks, int forceit)); -extern void write_viminfo __ARGS((char_u *file, int forceit)); -extern int viminfo_readline __ARGS((vir_T *virp)); -extern char_u *viminfo_readstring __ARGS((vir_T *virp, int off, int convert)); -extern void viminfo_writestring __ARGS((FILE *fd, char_u *p)); -extern void do_fixdel __ARGS((exarg_T *eap)); -extern void print_line_no_prefix __ARGS((linenr_T lnum, int use_number, int list)); -extern void print_line __ARGS((linenr_T lnum, int use_number, int list)); -extern void ex_file __ARGS((exarg_T *eap)); -extern void ex_update __ARGS((exarg_T *eap)); -extern void ex_write __ARGS((exarg_T *eap)); -extern int do_write __ARGS((exarg_T *eap)); -extern void ex_wnext __ARGS((exarg_T *eap)); -extern void do_wqall __ARGS((exarg_T *eap)); -extern int not_writing __ARGS((void)); -extern int getfile __ARGS((int fnum, char_u *ffname, char_u *sfname, int setpm, linenr_T lnum, int forceit)); -extern int do_ecmd __ARGS((int fnum, char_u *ffname, char_u *sfname, exarg_T *eap, linenr_T newlnum, int flags)); -extern void ex_append __ARGS((exarg_T *eap)); -extern void ex_change __ARGS((exarg_T *eap)); -extern void ex_z __ARGS((exarg_T *eap)); -extern int check_restricted __ARGS((void)); -extern int check_secure __ARGS((void)); -extern void do_sub __ARGS((exarg_T *eap)); -extern int do_sub_msg __ARGS((int count_only)); -extern void ex_global __ARGS((exarg_T *eap)); -extern void global_exe __ARGS((char_u *cmd)); -extern int read_viminfo_sub_string __ARGS((vir_T *virp, int force)); -extern void write_viminfo_sub_string __ARGS((FILE *fp)); -extern void free_old_sub __ARGS((void)); -extern int prepare_tagpreview __ARGS((int undo_sync)); -extern void ex_help __ARGS((exarg_T *eap)); -extern char_u *check_help_lang __ARGS((char_u *arg)); -extern int help_heuristic __ARGS((char_u *matched_string, int offset, int wrong_case)); -extern int find_help_tags __ARGS((char_u *arg, int *num_matches, char_u ***matches, int keep_lang)); -extern void fix_help_buffer __ARGS((void)); -extern void ex_exusage __ARGS((exarg_T *eap)); -extern void ex_viusage __ARGS((exarg_T *eap)); -extern void ex_helptags __ARGS((exarg_T *eap)); -extern void ex_sign __ARGS((exarg_T *eap)); -extern void sign_gui_started __ARGS((void)); -extern int sign_get_attr __ARGS((int typenr, int line)); -extern char_u *sign_get_text __ARGS((int typenr)); -extern void *sign_get_image __ARGS((int typenr)); -extern char_u *sign_typenr2name __ARGS((int typenr)); -extern void ex_drop __ARGS((exarg_T *eap)); +void do_ascii __ARGS((exarg_T *eap)); +void ex_align __ARGS((exarg_T *eap)); +void ex_sort __ARGS((exarg_T *eap)); +void ex_retab __ARGS((exarg_T *eap)); +int do_move __ARGS((linenr_T line1, linenr_T line2, linenr_T dest)); +void ex_copy __ARGS((linenr_T line1, linenr_T line2, linenr_T n)); +void free_prev_shellcmd __ARGS((void)); +void do_bang __ARGS((int addr_count, exarg_T *eap, int forceit, int do_in, int do_out)); +void do_shell __ARGS((char_u *cmd, int flags)); +char_u *make_filter_cmd __ARGS((char_u *cmd, char_u *itmp, char_u *otmp)); +void append_redir __ARGS((char_u *buf, char_u *opt, char_u *fname)); +int viminfo_error __ARGS((char *errnum, char *message, char_u *line)); +int read_viminfo __ARGS((char_u *file, int want_info, int want_marks, int forceit)); +void write_viminfo __ARGS((char_u *file, int forceit)); +int viminfo_readline __ARGS((vir_T *virp)); +char_u *viminfo_readstring __ARGS((vir_T *virp, int off, int convert)); +void viminfo_writestring __ARGS((FILE *fd, char_u *p)); +void do_fixdel __ARGS((exarg_T *eap)); +void print_line_no_prefix __ARGS((linenr_T lnum, int use_number, int list)); +void print_line __ARGS((linenr_T lnum, int use_number, int list)); +void ex_file __ARGS((exarg_T *eap)); +void ex_update __ARGS((exarg_T *eap)); +void ex_write __ARGS((exarg_T *eap)); +int do_write __ARGS((exarg_T *eap)); +void ex_wnext __ARGS((exarg_T *eap)); +void do_wqall __ARGS((exarg_T *eap)); +int not_writing __ARGS((void)); +int getfile __ARGS((int fnum, char_u *ffname, char_u *sfname, int setpm, linenr_T lnum, int forceit)); +int do_ecmd __ARGS((int fnum, char_u *ffname, char_u *sfname, exarg_T *eap, linenr_T newlnum, int flags)); +void ex_append __ARGS((exarg_T *eap)); +void ex_change __ARGS((exarg_T *eap)); +void ex_z __ARGS((exarg_T *eap)); +int check_restricted __ARGS((void)); +int check_secure __ARGS((void)); +void do_sub __ARGS((exarg_T *eap)); +int do_sub_msg __ARGS((int count_only)); +void ex_global __ARGS((exarg_T *eap)); +void global_exe __ARGS((char_u *cmd)); +int read_viminfo_sub_string __ARGS((vir_T *virp, int force)); +void write_viminfo_sub_string __ARGS((FILE *fp)); +void free_old_sub __ARGS((void)); +int prepare_tagpreview __ARGS((int undo_sync)); +void ex_help __ARGS((exarg_T *eap)); +char_u *check_help_lang __ARGS((char_u *arg)); +int help_heuristic __ARGS((char_u *matched_string, int offset, int wrong_case)); +int find_help_tags __ARGS((char_u *arg, int *num_matches, char_u ***matches, int keep_lang)); +void fix_help_buffer __ARGS((void)); +void ex_exusage __ARGS((exarg_T *eap)); +void ex_viusage __ARGS((exarg_T *eap)); +void ex_helptags __ARGS((exarg_T *eap)); +void ex_sign __ARGS((exarg_T *eap)); +void sign_gui_started __ARGS((void)); +int sign_get_attr __ARGS((int typenr, int line)); +char_u *sign_get_text __ARGS((int typenr)); +void *sign_get_image __ARGS((int typenr)); +char_u *sign_typenr2name __ARGS((int typenr)); +void ex_drop __ARGS((exarg_T *eap)); /* vim: set ft=c : */ diff --git a/src/proto/ex_cmds2.pro b/src/proto/ex_cmds2.pro index 9c8932949b..11480f1ec0 100644 --- a/src/proto/ex_cmds2.pro +++ b/src/proto/ex_cmds2.pro @@ -1,83 +1,83 @@ /* ex_cmds2.c */ -extern void do_debug __ARGS((char_u *cmd)); -extern void ex_debug __ARGS((exarg_T *eap)); -extern void dbg_check_breakpoint __ARGS((exarg_T *eap)); -extern int dbg_check_skipped __ARGS((exarg_T *eap)); -extern void ex_breakadd __ARGS((exarg_T *eap)); -extern void ex_debuggreedy __ARGS((exarg_T *eap)); -extern void ex_breakdel __ARGS((exarg_T *eap)); -extern void ex_breaklist __ARGS((exarg_T *eap)); -extern linenr_T dbg_find_breakpoint __ARGS((int file, char_u *fname, linenr_T after)); -extern int has_profiling __ARGS((int file, char_u *fname, int *fp)); -extern void dbg_breakpoint __ARGS((char_u *name, linenr_T lnum)); -extern void profile_start __ARGS((proftime_T *tm)); -extern void profile_end __ARGS((proftime_T *tm)); -extern void profile_sub __ARGS((proftime_T *tm, proftime_T *tm2)); -extern char *profile_msg __ARGS((proftime_T *tm)); -extern void profile_zero __ARGS((proftime_T *tm)); -extern void profile_add __ARGS((proftime_T *tm, proftime_T *tm2)); -extern void profile_self __ARGS((proftime_T *self, proftime_T *total, proftime_T *children)); -extern void profile_get_wait __ARGS((proftime_T *tm)); -extern void profile_sub_wait __ARGS((proftime_T *tm, proftime_T *tma)); -extern int profile_equal __ARGS((proftime_T *tm1, proftime_T *tm2)); -extern int profile_cmp __ARGS((proftime_T *tm1, proftime_T *tm2)); -extern void ex_profile __ARGS((exarg_T *eap)); -extern void profile_dump __ARGS((void)); -extern void script_prof_save __ARGS((proftime_T *tm)); -extern void script_prof_restore __ARGS((proftime_T *tm)); -extern void prof_inchar_enter __ARGS((void)); -extern void prof_inchar_exit __ARGS((void)); -extern int prof_def_func __ARGS((void)); -extern int autowrite __ARGS((buf_T *buf, int forceit)); -extern void autowrite_all __ARGS((void)); -extern int check_changed __ARGS((buf_T *buf, int checkaw, int mult_win, int forceit, int allbuf)); -extern void browse_save_fname __ARGS((buf_T *buf)); -extern void dialog_changed __ARGS((buf_T *buf, int checkall)); -extern int can_abandon __ARGS((buf_T *buf, int forceit)); -extern int check_changed_any __ARGS((int hidden)); -extern int check_fname __ARGS((void)); -extern int buf_write_all __ARGS((buf_T *buf, int forceit)); -extern int get_arglist __ARGS((garray_T *gap, char_u *str)); -extern int get_arglist_exp __ARGS((char_u *str, int *fcountp, char_u ***fnamesp)); -extern void set_arglist __ARGS((char_u *str)); -extern void check_arg_idx __ARGS((win_T *win)); -extern void ex_args __ARGS((exarg_T *eap)); -extern void ex_previous __ARGS((exarg_T *eap)); -extern void ex_rewind __ARGS((exarg_T *eap)); -extern void ex_last __ARGS((exarg_T *eap)); -extern void ex_argument __ARGS((exarg_T *eap)); -extern void do_argfile __ARGS((exarg_T *eap, int argn)); -extern void ex_next __ARGS((exarg_T *eap)); -extern void ex_argedit __ARGS((exarg_T *eap)); -extern void ex_argadd __ARGS((exarg_T *eap)); -extern void ex_argdelete __ARGS((exarg_T *eap)); -extern void ex_listdo __ARGS((exarg_T *eap)); -extern void ex_compiler __ARGS((exarg_T *eap)); -extern void ex_runtime __ARGS((exarg_T *eap)); -extern int source_runtime __ARGS((char_u *name, int all)); -extern int do_in_runtimepath __ARGS((char_u *name, int all, void (*callback)(char_u *fname, void *ck), void *cookie)); -extern void ex_options __ARGS((exarg_T *eap)); -extern void ex_source __ARGS((exarg_T *eap)); -extern linenr_T *source_breakpoint __ARGS((void *cookie)); -extern int *source_dbg_tick __ARGS((void *cookie)); -extern int source_level __ARGS((void *cookie)); -extern int do_source __ARGS((char_u *fname, int check_other, int is_vimrc)); -extern void ex_scriptnames __ARGS((exarg_T *eap)); -extern void scriptnames_slash_adjust __ARGS((void)); -extern char_u *get_scriptname __ARGS((scid_T id)); -extern void free_scriptnames __ARGS((void)); -extern char *fgets_cr __ARGS((char *s, int n, FILE *stream)); -extern char_u *getsourceline __ARGS((int c, void *cookie, int indent)); -extern void script_line_start __ARGS((void)); -extern void script_line_exec __ARGS((void)); -extern void script_line_end __ARGS((void)); -extern void ex_scriptencoding __ARGS((exarg_T *eap)); -extern void ex_finish __ARGS((exarg_T *eap)); -extern void do_finish __ARGS((exarg_T *eap, int reanimate)); -extern int source_finished __ARGS((char_u *(*getline)(int, void *, int), void *cookie)); -extern void ex_checktime __ARGS((exarg_T *eap)); -extern char_u *get_mess_lang __ARGS((void)); -extern void set_lang_var __ARGS((void)); -extern void ex_language __ARGS((exarg_T *eap)); -extern char_u *get_lang_arg __ARGS((expand_T *xp, int idx)); +void do_debug __ARGS((char_u *cmd)); +void ex_debug __ARGS((exarg_T *eap)); +void dbg_check_breakpoint __ARGS((exarg_T *eap)); +int dbg_check_skipped __ARGS((exarg_T *eap)); +void ex_breakadd __ARGS((exarg_T *eap)); +void ex_debuggreedy __ARGS((exarg_T *eap)); +void ex_breakdel __ARGS((exarg_T *eap)); +void ex_breaklist __ARGS((exarg_T *eap)); +linenr_T dbg_find_breakpoint __ARGS((int file, char_u *fname, linenr_T after)); +int has_profiling __ARGS((int file, char_u *fname, int *fp)); +void dbg_breakpoint __ARGS((char_u *name, linenr_T lnum)); +void profile_start __ARGS((proftime_T *tm)); +void profile_end __ARGS((proftime_T *tm)); +void profile_sub __ARGS((proftime_T *tm, proftime_T *tm2)); +char *profile_msg __ARGS((proftime_T *tm)); +void profile_zero __ARGS((proftime_T *tm)); +void profile_add __ARGS((proftime_T *tm, proftime_T *tm2)); +void profile_self __ARGS((proftime_T *self, proftime_T *total, proftime_T *children)); +void profile_get_wait __ARGS((proftime_T *tm)); +void profile_sub_wait __ARGS((proftime_T *tm, proftime_T *tma)); +int profile_equal __ARGS((proftime_T *tm1, proftime_T *tm2)); +int profile_cmp __ARGS((proftime_T *tm1, proftime_T *tm2)); +void ex_profile __ARGS((exarg_T *eap)); +void profile_dump __ARGS((void)); +void script_prof_save __ARGS((proftime_T *tm)); +void script_prof_restore __ARGS((proftime_T *tm)); +void prof_inchar_enter __ARGS((void)); +void prof_inchar_exit __ARGS((void)); +int prof_def_func __ARGS((void)); +int autowrite __ARGS((buf_T *buf, int forceit)); +void autowrite_all __ARGS((void)); +int check_changed __ARGS((buf_T *buf, int checkaw, int mult_win, int forceit, int allbuf)); +void browse_save_fname __ARGS((buf_T *buf)); +void dialog_changed __ARGS((buf_T *buf, int checkall)); +int can_abandon __ARGS((buf_T *buf, int forceit)); +int check_changed_any __ARGS((int hidden)); +int check_fname __ARGS((void)); +int buf_write_all __ARGS((buf_T *buf, int forceit)); +int get_arglist __ARGS((garray_T *gap, char_u *str)); +int get_arglist_exp __ARGS((char_u *str, int *fcountp, char_u ***fnamesp)); +void set_arglist __ARGS((char_u *str)); +void check_arg_idx __ARGS((win_T *win)); +void ex_args __ARGS((exarg_T *eap)); +void ex_previous __ARGS((exarg_T *eap)); +void ex_rewind __ARGS((exarg_T *eap)); +void ex_last __ARGS((exarg_T *eap)); +void ex_argument __ARGS((exarg_T *eap)); +void do_argfile __ARGS((exarg_T *eap, int argn)); +void ex_next __ARGS((exarg_T *eap)); +void ex_argedit __ARGS((exarg_T *eap)); +void ex_argadd __ARGS((exarg_T *eap)); +void ex_argdelete __ARGS((exarg_T *eap)); +void ex_listdo __ARGS((exarg_T *eap)); +void ex_compiler __ARGS((exarg_T *eap)); +void ex_runtime __ARGS((exarg_T *eap)); +int source_runtime __ARGS((char_u *name, int all)); +int do_in_runtimepath __ARGS((char_u *name, int all, void (*callback)(char_u *fname, void *ck), void *cookie)); +void ex_options __ARGS((exarg_T *eap)); +void ex_source __ARGS((exarg_T *eap)); +linenr_T *source_breakpoint __ARGS((void *cookie)); +int *source_dbg_tick __ARGS((void *cookie)); +int source_level __ARGS((void *cookie)); +int do_source __ARGS((char_u *fname, int check_other, int is_vimrc)); +void ex_scriptnames __ARGS((exarg_T *eap)); +void scriptnames_slash_adjust __ARGS((void)); +char_u *get_scriptname __ARGS((scid_T id)); +void free_scriptnames __ARGS((void)); +char *fgets_cr __ARGS((char *s, int n, FILE *stream)); +char_u *getsourceline __ARGS((int c, void *cookie, int indent)); +void script_line_start __ARGS((void)); +void script_line_exec __ARGS((void)); +void script_line_end __ARGS((void)); +void ex_scriptencoding __ARGS((exarg_T *eap)); +void ex_finish __ARGS((exarg_T *eap)); +void do_finish __ARGS((exarg_T *eap, int reanimate)); +int source_finished __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie)); +void ex_checktime __ARGS((exarg_T *eap)); +char_u *get_mess_lang __ARGS((void)); +void set_lang_var __ARGS((void)); +void ex_language __ARGS((exarg_T *eap)); +char_u *get_lang_arg __ARGS((expand_T *xp, int idx)); /* vim: set ft=c : */ diff --git a/src/proto/gui_beval.pro b/src/proto/gui_beval.pro index 42e0082f9d..33c1738d3f 100644 --- a/src/proto/gui_beval.pro +++ b/src/proto/gui_beval.pro @@ -1,11 +1,11 @@ /* gui_beval.c */ -extern void general_beval_cb __ARGS((BalloonEval *beval, int state)); -extern BalloonEval *gui_mch_create_beval_area __ARGS((void *target, char_u *mesg, void (*mesgCB)(BalloonEval *, int), void *clientData)); -extern void gui_mch_destroy_beval_area __ARGS((BalloonEval *beval)); -extern void gui_mch_enable_beval_area __ARGS((BalloonEval *beval)); -extern void gui_mch_disable_beval_area __ARGS((BalloonEval *beval)); -extern BalloonEval *gui_mch_currently_showing_beval __ARGS((void)); -extern int get_beval_info __ARGS((BalloonEval *beval, int getword, win_T **winp, linenr_T *lnump, char_u **textp, int *colp)); -extern void gui_mch_post_balloon __ARGS((BalloonEval *beval, char_u *mesg)); -extern void gui_mch_unpost_balloon __ARGS((BalloonEval *beval)); +void general_beval_cb __ARGS((BalloonEval *beval, int state)); +BalloonEval *gui_mch_create_beval_area __ARGS((void *target, char_u *mesg, void (*mesgCB)(BalloonEval *, int), void *clientData)); +void gui_mch_destroy_beval_area __ARGS((BalloonEval *beval)); +void gui_mch_enable_beval_area __ARGS((BalloonEval *beval)); +void gui_mch_disable_beval_area __ARGS((BalloonEval *beval)); +BalloonEval *gui_mch_currently_showing_beval __ARGS((void)); +int get_beval_info __ARGS((BalloonEval *beval, int getword, win_T **winp, linenr_T *lnump, char_u **textp, int *colp)); +void gui_mch_post_balloon __ARGS((BalloonEval *beval, char_u *mesg)); +void gui_mch_unpost_balloon __ARGS((BalloonEval *beval)); /* vim: set ft=c : */ diff --git a/src/proto/gui_motif.pro b/src/proto/gui_motif.pro index 57717b90ec..3e08ec9dbd 100644 --- a/src/proto/gui_motif.pro +++ b/src/proto/gui_motif.pro @@ -1,46 +1,46 @@ /* gui_motif.c */ -extern void gui_x11_create_widgets __ARGS((void)); -extern void gui_x11_destroy_widgets __ARGS((void)); -extern void gui_mch_set_text_area_pos __ARGS((int x, int y, int w, int h)); -extern void gui_x11_set_back_color __ARGS((void)); -extern void manage_centered __ARGS((Widget dialog_child)); -extern XmFontList gui_motif_create_fontlist __ARGS((XFontStruct *font)); -extern XmFontList gui_motif_fontset2fontlist __ARGS((XFontSet *fontset)); -extern void gui_mch_enable_menu __ARGS((int flag)); -extern void gui_motif_set_mnemonics __ARGS((int enable)); -extern void gui_mch_add_menu __ARGS((vimmenu_T *menu, int idx)); -extern void gui_mch_toggle_tearoffs __ARGS((int enable)); -extern int gui_mch_text_area_extra_height __ARGS((void)); -extern void gui_mch_compute_menu_height __ARGS((Widget id)); -extern void gui_mch_add_menu_item __ARGS((vimmenu_T *menu, int idx)); -extern void gui_motif_update_mousemodel __ARGS((vimmenu_T *menu)); -extern void gui_mch_new_menu_colors __ARGS((void)); -extern void gui_mch_new_menu_font __ARGS((void)); -extern void gui_mch_new_tooltip_font __ARGS((void)); -extern void gui_mch_new_tooltip_colors __ARGS((void)); -extern void gui_mch_destroy_menu __ARGS((vimmenu_T *menu)); -extern void gui_mch_show_popupmenu __ARGS((vimmenu_T *menu)); -extern void gui_mch_def_colors __ARGS((void)); -extern void gui_mch_set_scrollbar_thumb __ARGS((scrollbar_T *sb, long val, long size, long max)); -extern void gui_mch_set_scrollbar_pos __ARGS((scrollbar_T *sb, int x, int y, int w, int h)); -extern void gui_mch_enable_scrollbar __ARGS((scrollbar_T *sb, int flag)); -extern void gui_mch_create_scrollbar __ARGS((scrollbar_T *sb, int orient)); -extern void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb)); -extern void gui_mch_set_scrollbar_colors __ARGS((scrollbar_T *sb)); -extern Window gui_x11_get_wid __ARGS((void)); -extern char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter)); -extern int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *button_names, int dfltbutton, char_u *textfield)); -extern void gui_mch_enable_footer __ARGS((int showit)); -extern void gui_mch_set_footer __ARGS((char_u *s)); -extern void gui_mch_show_toolbar __ARGS((int showit)); -extern int gui_mch_compute_toolbar_height __ARGS((void)); -extern void motif_get_toolbar_colors __ARGS((Pixel *bgp, Pixel *fgp, Pixel *bsp, Pixel *tsp, Pixel *hsp)); -extern void gui_mch_show_tabline __ARGS((int showit)); -extern int gui_mch_showing_tabline __ARGS((void)); -extern void gui_mch_update_tabline __ARGS((void)); -extern void gui_mch_set_curtab __ARGS((int nr)); -extern void gui_motif_menu_fontlist __ARGS((Widget id)); -extern void gui_mch_find_dialog __ARGS((exarg_T *eap)); -extern void gui_mch_replace_dialog __ARGS((exarg_T *eap)); -extern void gui_motif_synch_fonts __ARGS((void)); +void gui_x11_create_widgets __ARGS((void)); +void gui_x11_destroy_widgets __ARGS((void)); +void gui_mch_set_text_area_pos __ARGS((int x, int y, int w, int h)); +void gui_x11_set_back_color __ARGS((void)); +void manage_centered __ARGS((Widget dialog_child)); +XmFontList gui_motif_create_fontlist __ARGS((XFontStruct *font)); +XmFontList gui_motif_fontset2fontlist __ARGS((XFontSet *fontset)); +void gui_mch_enable_menu __ARGS((int flag)); +void gui_motif_set_mnemonics __ARGS((int enable)); +void gui_mch_add_menu __ARGS((vimmenu_T *menu, int idx)); +void gui_mch_toggle_tearoffs __ARGS((int enable)); +int gui_mch_text_area_extra_hei |