summaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.1372: when evaluating 'statusline' the current window is unknownv8.1.1372Bram Moolenaar2019-05-231-8/+14
| | | | | | | Problem: When evaluating 'statusline' the current window is unknown. (Daniel Hahler) Solution: Set "g:actual_curwin" for %{} items. Set "g:statusline_winid" when evaluationg %!. (closes #4406, closes #3299)
* patch 8.1.1366: using expressions in a modeline is unsafev8.1.1366Bram Moolenaar2019-05-231-12/+58
| | | | | | Problem: Using expressions in a modeline is unsafe. Solution: Disallow using expressions in a modeline, unless the 'modelineexpr' option is set. Update help, add more tests.
* patch 8.1.1364: design for popup window support needs more detailsv8.1.1364Bram Moolenaar2019-05-211-56/+151
| | | | | | Problem: Design for popup window support needs more details. Solution: Add details about using a window and buffer. Rename popup_show() to popup_create() and add popup_show() and popup_hide().
* patch 8.1.1354: getting a list of text lines is clumsyv8.1.1354Bram Moolenaar2019-05-191-0/+38
| | | | | Problem: Getting a list of text lines is clumsy. Solution: Add the =<< assignment. (Yegappan Lakshmanan, closes #4386)
* patch 8.1.1334: when buffer is hidden "F" in 'shortmess' is not usedv8.1.1334Bram Moolenaar2019-05-161-0/+6
| | | | | | | Problem: When buffer is hidden "F" in 'shortmess' is not used. Solution: Check the "F" flag in 'shortmess' when the buffer is already loaded. (Jason Franklin) Add test_getvalue() to be able to test this.
* patch 8.1.1332: cannot flush listeners without redrawing, mix of changesv8.1.1332Bram Moolenaar2019-05-141-20/+39
| | | | | | | Problem: Cannot flush change listeners without also redrawing. The line numbers in the list of changes may become invalid. Solution: Add listener_flush(). Invoke listeners before adding a change that makes line numbers invalid.
* patch 8.1.1329: plans for popup window support are spread outv8.1.1329Bram Moolenaar2019-05-123-0/+277
| | | | | Problem: Plans for popup window support are spread out. Solution: Add a first version of the popup window help.
* patch 8.1.1326: no test for listener with partialv8.1.1326Bram Moolenaar2019-05-121-4/+19
| | | | | Problem: No test for listener with partial. Solution: Add a test. Add example to help.
* patch 8.1.1321: no docs or tests for listener functionsv8.1.1321Bram Moolenaar2019-05-112-0/+52
| | | | | | Problem: No docs or tests for listener functions. Solution: Add help and tests for listener_add() and listener_remove(). Invoke the callbacks before redrawing.
* patch 8.1.1310: named function arguments are never optionalv8.1.1310Bram Moolenaar2019-05-091-4/+47
| | | | | | Problem: Named function arguments are never optional. Solution: Support optional function arguments with a default value. (Andy Massimino, closes #3952)
* patch 8.1.1308: the Normal highlight is not defined when compiled with GUIv8.1.1308Bram Moolenaar2019-05-091-0/+2
| | | | | Problem: The Normal highlight is not defined when compiled with GUI. Solution: Always define Normal. (Christian Brabandt, closes #4072)
* Update runtime filesBram Moolenaar2019-05-0940-189/+227
|
* patch 8.1.1307: cannot reconnect to the X server after it restartedv8.1.1307Bram Moolenaar2019-05-092-0/+16
| | | | | Problem: Cannot reconnect to the X server after it restarted. Solution: Add the :xrestore command. (Adrian Kocis, closes #844)
* patch 8.1.1306: Borland support is outdated and doesn't workv8.1.1306Bram Moolenaar2019-05-093-7/+4
| | | | | | Problem: Borland support is outdated and doesn't work. Solution: Remove Borland support, there are other (free) compilers available. (Thomas Dziedzic, Ken Takata, closes #4364)
* patch 8.1.1305: there is no easy way to manipulate environment variablesv8.1.1305Bram Moolenaar2019-05-092-7/+40
| | | | | | Problem: There is no easy way to manipulate environment variables. Solution: Add environ(), getenv() and setenv(). (Yasuhiro Matsumoto, closes #2875)
* patch 8.1.1303: not possible to hide a balloonv8.1.1303Bram Moolenaar2019-05-091-1/+9
| | | | | | Problem: Not possible to hide a balloon. Solution: Hide the balloon when balloon_show() is called with an empty string or list. Add balloon_gettext().
* patch 8.1.1293: MSVC files are no longer usefulv8.1.1293Bram Moolenaar2019-05-071-4/+0
| | | | | | Problem: MSVC files are no longer useful for debugging. Newer Visual Studio versions cannot read them. Solution: Delete the files. (Ken Takata, closes #4357)
* patch 8.1.1291: not easy to change directory and restorev8.1.1291Bram Moolenaar2019-05-072-0/+23
| | | | | Problem: Not easy to change directory and restore. Solution: Add the chdir() function. (Yegappan Lakshmanan, closes #4358)
* patch 8.1.1284: detecting *.tmpl as htmlcheetah is outdatedv8.1.1284Bram Moolenaar2019-05-061-2/+2
| | | | | Problem: Detecting *.tmpl as htmlcheetah is outdated. Solution: Use the generic name "template". (closes #4348)
* patch 8.1.1281: cannot specify a count with :chistoryv8.1.1281Bram Moolenaar2019-05-051-22/+34
| | | | | | Problem: Cannot specify a count with :chistory. Solution: Add a count to :chistory and :lhistory. (Yegappan Lakshmanan, closes #4344)
* patch 8.1.1280: remarks about functionality not in Vi clutters the helpv8.1.1280Bram Moolenaar2019-05-0563-753/+755
| | | | | | | | Problem: Remarks about functionality not in Vi clutters the help. Solution: Move all info about what is new in Vim or already existed in Vi to vi_diff.txt. Remove {not in Vi} remarks. (closes #4268) Add "noet" to the help files modeline. Also include many other help file improvements.
* patch 8.1.1276: cannot combine text properties with syntax highlightingv8.1.1276Bram Moolenaar2019-05-052-1/+8
| | | | | Problem: Cannot combine text properties with syntax highlighting. Solution: Add the "combine" field to prop_type_add(). (closes #4343)
* patch 8.1.1275: cannot navigate to errors before/after the cursorv8.1.1275Bram Moolenaar2019-05-052-4/+36
| | | | | | Problem: Cannot navigate to errors before/after the cursor. Solution: Add the :cbefore and :cafter commands. (Yegappan Lakshmanan, closes #4340)
* patch 8.1.1270: cannot see current match positionv8.1.1270Bram Moolenaar2019-05-042-3/+24
| | | | | | Problem: Cannot see current match position. Solution: Show "3/44" when using the "n" command and "S" is not in 'shortmess'. (Christian Brabandt, closes #4317)
* patch 8.1.1267: cannot check if GPM mouse support is workingv8.1.1267Bram Moolenaar2019-05-041-0/+1
| | | | | Problem: Cannot check if GPM mouse support is working. Solution: Add the "mouse_gpm_enable" feature.
* patch 8.1.1262: cannot simulate a mouse click in a testv8.1.1262Bram Moolenaar2019-05-042-1/+10
| | | | | Problem: Cannot simulate a mouse click in a test. Solution: Add test_setmouse().
* patch 8.1.1261: no error for quickfix commands with negative rangev8.1.1261Bram Moolenaar2019-05-041-2/+5
| | | | | | Problem: No error for quickfix commands with negative range. Solution: Add ADDR_UNSIGNED and use it for quickfix commands. Make assert_fails() show the command if the error doesn't match.
* patch 8.1.1256: cannot navigate through errors relative to the cursorv8.1.1256Bram Moolenaar2019-05-032-0/+34
| | | | | | Problem: Cannot navigate through errors relative to the cursor. Solution: Add :cabove, :cbelow, :labove and :lbelow. (Yegappan Lakshmanan, closes #4316)
* patch 8.1.1248: no test for dec mousev8.1.1248Bram Moolenaar2019-05-021-0/+2
| | | | | Problem: No test for dec mouse. Solution: Add some tests for dec mouse. Add "no_query_mouse".
* patch 8.1.1231: asking about existing swap file unnecessarilyv8.1.1231Bram Moolenaar2019-04-281-1/+8
| | | | | | Problem: Asking about existing swap file unnecessarily. Solution: When it is safe, delete the swap file. Remove HAS_SWAP_EXISTS_ACTION, it is always defined. (closes #1237)
* patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exev8.1.1230Bram Moolenaar2019-04-281-1/+12
| | | | | | Problem: A lot of code is shared between vim.exe and gvim.exe. Solution: Optionally put the shared code in vim.dll. (Ken Takata, closes #4287)
* patch 8.1.1228: not possible to process tags with a functionv8.1.1228Bram Moolenaar2019-04-283-1/+83
| | | | | Problem: Not possible to process tags with a function. Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes #4010)
* patch 8.1.1226: {not in Vi} remarks get in the way of useful help textv8.1.1226Bram Moolenaar2019-04-282-404/+116
| | | | | | Problem: {not in Vi} remarks get in the way of useful help text. Solution: Make a list of all Vi options, instead of mentioning what Vi does not have. Update the help text for options.
* patch 8.1.1224: MS-Windows: cannot specify font weightv8.1.1224Bram Moolenaar2019-04-283-129/+157
| | | | | | Problem: MS-Windows: cannot specify font weight. Solution: Add the "W" option to 'guifont'. (closes #4309) Move GUI font explanation out of options.txt.
* patch 8.1.1221: filtering does not work when listing marksv8.1.1221Bram Moolenaar2019-04-271-11/+13
| | | | | Problem: Filtering does not work when listing marks. Solution: Implement filtering marks. (Marcin Szamotulski, closes #3895)
* patch 8.1.1218: cannot set a directory for a tab pagev8.1.1218Bram Moolenaar2019-04-277-31/+112
| | | | | Problem: Cannot set a directory for a tab page. Solution: Add the tab-local directory. (Yegappan Lakshmanan, closes #4212)
* patch 8.1.1213: "make clean" in top dir does not cleanup indent test outputv8.1.1213Bram Moolenaar2019-04-272-12/+1
| | | | | | Problem: "make clean" in top dir does not cleanup indent test output. Solution: Clean the indent test output. Do not rely on the vim executable for that. (closes #4307)
* patch 8.1.1210: support for user commands is spread outv8.1.1210Bram Moolenaar2019-04-272-3/+4
| | | | | | | Problem: Support for user commands is spread out. No good reason to make user commands optional. Solution: Move user command support to usercmd.c. Always enable the user_commands feature.
* patch 8.1.1204: output of :command with address completion is not nicev8.1.1204Bram Moolenaar2019-04-251-10/+12
| | | | | Problem: Output of :command with address completion is not nice. Solution: Shorten the address completion names.
* Update runtime filesBram Moolenaar2019-04-2112-77/+83
|
* patch 8.1.1188: not all Vim variables require the v: prefixv8.1.1188Bram Moolenaar2019-04-201-5/+9
| | | | | | Problem: Not all Vim variables require the v: prefix. Solution: When scriptversion is 3 all Vim variables can only be used with the v: prefix. (Ken Takata, closes #4274)
* patch 8.1.1187: cannot recognize Pipfilev8.1.1187Bram Moolenaar2019-04-191-2/+7
| | | | | Problem: Cannot recognize Pipfile. Solution: Use existing filetypes. (Charles Ross, closes #4280)
* patch 8.1.1177: .ts files are recognized as xml, typescript is more commonv8.1.1177Bram Moolenaar2019-04-161-0/+3
| | | | | Problem: .ts files are recognized as xml, while typescript is more common. Solution: Recognize .ts files as typescript. (closes #4264)
* patch 8.1.1147: desktop file translations are requiring manual updatesv8.1.1147Bram Moolenaar2019-04-112-3/+21
| | | | | | Problem: Desktop file translations are requiring manual updates. Solution: Use the .po files for desktop file translations. (Christian Brabandt)
* patch 8.1.1140: not easy to find out what neighbors a window hasv8.1.1140Bram Moolenaar2019-04-081-8/+21
| | | | | Problem: Not easy to find out what neighbors a window has. Solution: Add more arguments to winnr(). (Yegappan Lakshmanan, closes #3993)
* patch 8.1.1138: plugins don't get notified when the popup menu changesv8.1.1138Bram Moolenaar2019-04-081-0/+16
| | | | | Problem: Plugins don't get notified when the popup menu changes. Solution: Add the CompleteChanged event. (Andy Massimino. closes #4176)
* Update runtime files.Bram Moolenaar2019-04-0811-116/+148
|
* patch 8.1.1123: no way to avoid filtering for autocomplete functionv8.1.1123Bram Moolenaar2019-04-061-4/+7
| | | | | | Problem: No way to avoid filtering for autocomplete function, causing flickering of the popup menu. Solution: Add the "equal" field to complete items. (closes #3887)
* patch 8.1.1122: char2nr() does not handle composing charactersv8.1.1122Bram Moolenaar2019-04-062-2/+33
| | | | | Problem: char2nr() does not handle composing characters. Solution: Add str2list() and list2str(). (Ozaki Kiichi, closes #4190)
* patch 8.1.1120: cannot easily get directory entry matchesv8.1.1120Bram Moolenaar2019-04-051-0/+30
| | | | | Problem: Cannot easily get directory entry matches. Solution: Add the readdir() function. (Yasuhiro Matsumoto, closes #2439)