summaryrefslogtreecommitdiff
path: root/src/vim.h
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.0405: too many #ifdefs for GTKv8.1.0405Bram Moolenaar2018-09-181-0/+49
| | | | | Problem: Too many #ifdefs for GTK. Solution: Define macros instead of using #ifdef. (Ken Takata, closes #3436)
* patch 8.1.0397: no event triggered after updating diffsv8.1.0397Bram Moolenaar2018-09-161-98/+99
| | | | | Problem: No event triggered after updating diffs. Solution: Add the DiffUpdated event.
* patch 8.1.0380: "make proto" doesn't work wellv8.1.0380Bram Moolenaar2018-09-131-4/+1
| | | | | | Problem: "make proto" doesn't work well. Solution: Define a few more types for cproto. Update proto files. Fix that workshop didn't build.
* patch 8.1.0368: GTK code has too many #ifdefs and GTK 2.10 building failsv8.1.0368Bram Moolenaar2018-09-111-1/+7
| | | | | | Problem: GTK code has too many #ifdefs and building fails with GTK 2.10. Solution: Always use gtk_widget_get_window() and define it for older GTK versions. (Ken Takata, closes #3421)
* patch 8.1.0306: plural messages are not translated properlyv8.1.0306Bram Moolenaar2018-08-211-0/+4
| | | | | Problem: Plural messages are not translated properly. Solution: Add more usage of NGETTEXT(). (Sergey Alyoshin)
* patch 8.1.0268: file type checking has too many #ifdefv8.1.0268Bram Moolenaar2018-08-111-10/+52
| | | | | Problem: File type checking has too many #ifdef. Solution: Always define the S_IF macros. (Ken Takata, closes #3306)
* patch 8.1.0254: cannot build on MS-Windows; unused macro HAVE_HANDLE_DROPv8.1.0254Bram Moolenaar2018-08-071-7/+0
| | | | | Problem: Cannot build on MS-Windows; Unused macro HAVE_HANDLE_DROP. Solution: Adjust #ifdef. Delete the macro.
* patch 8.1.0253: saving and restoring window title does not always workv8.1.0253Bram Moolenaar2018-08-071-0/+12
| | | | | | Problem: Saving and restoring window title does not always work. Solution: Use the stack push and pop commands. (Kouichi Iwamoto, closes #3059)
* patch 8.1.0226: too many #ifdefsv8.1.0226Bram Moolenaar2018-07-291-4/+2
| | | | | | Problem: Too many #ifdefs. Solution: Graduate the +vreplace feature, it's not much code and quite a few #ifdefs.
* patch 8.1.0098: segfault when pattern with \z() is very slowv8.1.0098Bram Moolenaar2018-06-231-0/+1
| | | | | | Problem: Segfault when pattern with \z() is very slow. Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be able to test this. Fix that 'searchhl' resets called_emsg.
* patch 8.0.1777: cannot cleanup before loading another colorschemev8.0.1777Bram Moolenaar2018-04-301-0/+1
| | | | | Problem: Cannot cleanup before loading another colorscheme. Solution: Add the ColorSchemePre autocommand event.
* patch 8.0.1773: dialog messages are not translatedv8.0.1773Bram Moolenaar2018-04-291-6/+6
| | | | | Problem: Dialog messages are not translated. Solution: Add N_() and _() where needed. (Sergey Alyoshin)
* patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong wayv8.0.1768Bram Moolenaar2018-04-271-6/+0
| | | | | | Problem: SET_NO_HLSEARCH() used in a wrong way. Solution: Make it a function. (suggested by Dominique Pelle, closes #2850)
* patch 8.0.1749: VMS: 100% CPU use, redefining mch_open() failsv8.0.1749Bram Moolenaar2018-04-231-2/+3
| | | | | | | Problem: VMS: 100% CPU use, redefining mch_open() and mch_fopen() fails. Solution: Do not wait indefinitely in RealWaitForChar(). (Neil Rieck) Do not redefine mch_open() and mch_fopen() on VMS. (Zoltan Arpadffy)
* patch 8.0.1681: the format attribute fails with MinGWv8.0.1681Bram Moolenaar2018-04-101-0/+4
| | | | | Problem: The format attribute fails with MinGW. (John Marriott) Solution: Don't use the format attribute with MinGW.
* patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()v8.0.1677Bram Moolenaar2018-04-081-7/+0
| | | | | Problem: No compiler warning for wrong format in vim_snprintf(). Solution: Add printf attribute for gcc. Fix reported problems.
* patch 8.0.1676: no compiler warning for wrong printf formatv8.0.1676Bram Moolenaar2018-04-081-0/+7
| | | | | | Problem: No compiler warning for wrong printf format. Solution: Add a printf attribute for gcc. Fix reported problems. (Dominique Pelle, closes #2789)
* patch 8.0.1649: no completion for argument list commandsv8.0.1649Bram Moolenaar2018-03-291-0/+1
| | | | | Problem: No completion for argument list commands. Solution: Add arglist completion. (Yegappan Lakshmanan, closes #2706)
* patch 8.0.1609: shell commands in the GUI use a dumb terminalv8.0.1609Bram Moolenaar2018-03-161-0/+5
| | | | | | Problem: Shell commands in the GUI use a dumb terminal. Solution: Add the "!" flag to 'guioptions' to execute system commands in a special terminal window. Only for Unix now.
* patch 8.0.1597: autocommand events are not sortedv8.0.1597Bram Moolenaar2018-03-111-37/+36
| | | | | Problem: Autocommand events are not sorted. Solution: Sort the autocommand events.
* patch 8.0.1596: no autocommand specifically for opening a terminal windowv8.0.1596Bram Moolenaar2018-03-111-0/+1
| | | | | Problem: No autocommand specifically for opening a terminal window. Solution: Add TerminalOpen. (?, closes #2484)
* patch 8.0.1595: no autocommand triggered before exitingv8.0.1595Bram Moolenaar2018-03-111-0/+1
| | | | | Problem: No autocommand triggered before exiting. Solution: Add the ExitPre autocommand event.
* patch 8.0.1586: imactivatefunc does not work on non-GUI Macv8.0.1586Bram Moolenaar2018-03-061-2/+1
| | | | | Problem: Imactivatefunc does not work on non-GUI Mac. Solution: Fix logic in #ifdef.
* patch 8.0.1581: cannot build Win32 GUI without +evalv8.0.1581Bram Moolenaar2018-03-061-3/+9
| | | | | Problem: Cannot build Win32 GUI without +eval. Solution: Define HAVE_INPUT_METHOD without +eval. (Ken Takata)
* patch 8.0.1567: cannot build Win32 GUI without IMEv8.0.1567Bram Moolenaar2018-03-041-7/+5
| | | | | | Problem: Cannot build Win32 GUI without IME. (John Marriott) Solution: Adjust when IME_WITHOUT_XIM and HAVE_INPUT_METHOD are defined and use it in a few more places.
* patch 8.0.1565: can't build Mac version without GUIv8.0.1565Bram Moolenaar2018-03-041-4/+7
| | | | | Problem: Can't build Mac version without GUI. Solution: Adjust when IME_WITHOUT_XIM is defined.
* patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar2018-03-041-0/+14
| | | | | | Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
* patch 8.0.1494: no autocmd triggered in Insert mode with visible popup menuv8.0.1494Bram Moolenaar2018-02-101-2/+5
| | | | | | | | Problem: No autocmd triggered in Insert mode with visible popup menu. Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt, closes #2372, closes #1691) Fix that the TextChanged autocommands are not always triggered when sourcing a script.
* patch 8.0.1475: invalid memory access in read_redo()v8.0.1475Bram Moolenaar2018-02-061-0/+4
| | | | | | Problem: Invalid memory access in read_redo(). (gy741) Solution: Convert the replacement character back from a negative number to CR or NL. (hint by Dominique Pelle, closes #2616)
* patch 8.0.1459: cannot handle change of directoryv8.0.1459Bram Moolenaar2018-02-031-0/+1
| | | | | | Problem: Cannot handle change of directory. Solution: Add the DirChanged autocommand event. (Andy Massimino, closes #888) Avoid changing directory for 'autochdir' too often.
* patch 8.0.1445: cannot act on edits in the command linev8.0.1445Bram Moolenaar2018-01-311-0/+1
| | | | | | Problem: Cannot act on edits in the command line. Solution: Add the CmdlineChanged autocommand event. (xtal8, closes #2603, closes #2524)
* patch 8.0.1394: cannot intercept a yank commandv8.0.1394Bram Moolenaar2017-12-161-1/+3
| | | | | | Problem: Cannot intercept a yank command. Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al., closes #2333)
* patch 8.0.1375: window size wrong after maximizing with WinBarv8.0.1375Bram Moolenaar2017-12-051-0/+2
| | | | | | Problem: Window size wrong after maximizing with WinBar. (Lifepillar) Solution: Fix height computations. Redraw window when it is zero height but has a WinBar. (closes #2356)
* patch 8.0.1357: startup test fails on OpenBSDv8.0.1357Bram Moolenaar2017-11-281-1/+2
| | | | | | Problem: Startup test fails on OpenBSD. (Edd Barrett) Solution: Check for "BSD" instead of "FreeBSD" being defined. (James McCoy, closes #2376, closes #2378)
* patch 8.0.1338: USE_IM_CONTROL is confusing and incompletev8.0.1338Bram Moolenaar2017-11-251-7/+0
| | | | | Problem: USE_IM_CONTROL is confusing and incomplete. Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
* patch 8.0.1336: cannot use imactivatefunc() unless compiled with +ximv8.0.1336Bram Moolenaar2017-11-251-3/+1
| | | | | | Problem: Cannot use imactivatefunc() unless compiled with +xim. Solution: Allow using imactivatefunc() when not compiled with +xim. (Yasuhiro Matsumoto, closes #2349)
* patch 8.0.1334: splitting a window with a WinBar damages window layoutv8.0.1334Bram Moolenaar2017-11-251-0/+5
| | | | | | | Problem: Splitting a window with a WinBar damages window layout. (Lifepillar) Solution: Take the winbar into account when computing the new window position. Add WINBAR_HEIGHT().
* patch 8.0.1321: can't build huge version with Athenav8.0.1321Bram Moolenaar2017-11-191-3/+4
| | | | | | Problem: Can't build huge version with Athena. (Mark Kelly) Solution: Move including beval.h to before structs.h. Include beval.pro like other proto files.
* patch 8.0.1312: balloon_show() only works in terminal when compiled with GUIv8.0.1312Bram Moolenaar2017-11-181-0/+1
| | | | | | Problem: balloon_show() only works in terminal when compiled with the GUI. Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI specific file.
* patch 8.0.1310: cproto generates errors because of missing typev8.0.1310Bram Moolenaar2017-11-181-0/+5
| | | | | Problem: Cproto generates errors because of missing type. Solution: Define _Float128 when generating prototypes.
* patch 8.0.1236: Mac features are confusingv8.0.1236Bram Moolenaar2017-10-281-35/+14
| | | | | | Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
* patch 8.0.1206: no autocmd for entering or leaving the command linev8.0.1206Bram Moolenaar2017-10-191-0/+2
| | | | | Problem: No autocmd for entering or leaving the command line. Solution: Add CmdlineEnter and CmdlineLeave.
* patch 8.0.1194: actual fg and bg colors of terminal are unknownv8.0.1194Bram Moolenaar2017-10-141-5/+6
| | | | | Problem: Actual fg and bg colors of terminal are unknown. Solution: Add t_RF. Store response to t_RB and t_RF, use for terminal.
* patch 8.0.1143: macros always expand to the same thingv8.0.1143Bram Moolenaar2017-09-241-2/+0
| | | | | Problem: Macros always expand to the same thing. Solution: Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT().
* patch 8.0.1138: click in window toolbar starts Visual modev8.0.1138Bram Moolenaar2017-09-231-0/+1
| | | | | Problem: Click in window toolbar starts Visual mode. Solution: Add the MOUSE_WINBAR flag.
* patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar2017-09-221-1/+0
| | | | | Problem: W_WIDTH() is always the same. Solution: Expand the macro.
* patch 8.0.1135: W_WINCOL() is always the samev8.0.1135Bram Moolenaar2017-09-221-1/+0
| | | | | Problem: W_WINCOL() is always the same. Solution: Expand the macro.
* patch 8.0.1129: window toolbar missing a part of the patchv8.0.1129Bram Moolenaar2017-09-191-1/+5
| | | | | Problem: Window toolbar missing a part of the patch. Solution: Add change in vim.h.
* patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar2017-09-161-18/+6
| | | | | | Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
* patch 8.0.1108: cannot specify mappings for the terminal windowv8.0.1108Bram Moolenaar2017-09-141-2/+3
| | | | | | Problem: Cannot specify mappings for the terminal window. Solution: Add the :tmap command and associated code. (Jacob Askeland, closes #2073)