summaryrefslogtreecommitdiff
path: root/src/vim.h
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.4726: cannot use expand() to get the script namev8.2.4726LemonBoy2022-04-091-1/+2
| | | | | Problem: Cannot use expand() to get the script name. Solution: Support expand('<script>'). (closes #10121)
* patch 8.2.4724: current instance of last search pattern not easily spottedv8.2.4724LemonBoy2022-04-091-1/+2
| | | | | Problem: Current instance of last search pattern not easily spotted. Solution: Add CurSearch highlighting. (closes #10133)
* patch 8.2.4713: plugins cannot track text scrollingv8.2.4713LemonBoy2022-04-081-0/+1
| | | | | Problem: Plugins cannot track text scrolling. Solution: Add the WinScrolled event. (closes #10102)
* patch 8.2.4685: when a swap file is found for a popup there is no dialogv8.2.4685Bram Moolenaar2022-04-041-0/+1
| | | | | | Problem: When a swap file is found for a popup there is no dialog and the buffer is loaded anyway. Solution: Silently load the buffer read-only. (closes #10073)
* patch 8.2.4677: the Athena GUI support is outdatedv8.2.4677Bram Moolenaar2022-04-031-4/+0
| | | | | Problem: The Athena GUI support is outdated. Solution: Remove the Athena GUI code.
* patch 8.2.4662: no error for using out of range list indexv8.2.4662Bram Moolenaar2022-04-011-0/+2
| | | | | | Problem: No error for using out of range list index. Solution: Check list index at script level like in compiled function. (closes #10051)
* patch 8.2.4650: "import autoload" only works with using 'runtimepath'v8.2.4650Bram Moolenaar2022-03-301-0/+3
| | | | | Problem: "import autoload" only works with using 'runtimepath'. Solution: Also support a relative and absolute file name.
* patch 8.2.4642: Vim9: in :def function script var cannot be nullv8.2.4642Bram Moolenaar2022-03-281-0/+1
| | | | | | Problem: Vim9: in :def function script var cannot be null. Solution: Only initialize a script variable when not set to a null value. (closes #10034)
* patch 8.2.4639: not sufficient parenthesis in preprocessor macroskylo2522022-03-271-29/+29
| | | | | Problem: Not sufficient parenthesis in preprocessor macros. Solution: Add more parenthesis. (closes #10031)
* patch 8.2.4617: no completion for :scriptnamesv8.2.4617Yegappan Lakshmanan2022-03-241-0/+1
| | | | | | Problem: No completion for :scriptnames. Solution: Implement :scriptnames completion. (Yegappan Lakshmanan, closes #10005)
* patch 8.2.4579: cannot use page-up and page-down in the cmdline popup menuv8.2.4579Yegappan Lakshmanan2022-03-161-0/+2
| | | | | | | Problem: Cannot use page-up and page-down in the command line completion popup menu. Solution: Check for to page-up and page-down keys. (Yegappan Lakshmanan, closes #9960)
* patch 8.2.4575: Vim9: test for profiling still failsv8.2.4575Bram Moolenaar2022-03-151-14/+0
| | | | | | | Problem: Vim9: test for profiling still fails. Solution: Update flags for profiling and breakpoints when obtaining the compile type. Do not set the FC_CLOSURE flag for a toplevel function.
* patch 8.2.4565: no command line completion for :breakadd and :breakdelv8.2.4565Bram Moolenaar2022-03-141-0/+1
| | | | | | Problem: No command line completion for :breakadd and :breakdel. Solution: Add completion for :breakadd and :breakdel. (Yegappan Lakshmanan, closes #9950)
* patch 8.2.4474: memory allocation failures not tested in quickfix codev8.2.4474Yegappan Lakshmanan2022-02-261-0/+2
| | | | | Problem: Memory allocation failures not tested in quickfix code. Solution: Add alloc IDs and tests. (Yegappan Lakshmanan, closes #9848)
* patch 8.2.4363: MS-Windows: running out of memory for a very long linev8.2.4363Bram Moolenaar2022-02-121-1/+3
| | | | | Problem: MS-Windows: running out of memory for a very long line. Solution: Use a 32 bit value for MAXCOL also when ints are 64 bits.
* patch 8.2.4350: FEAT_GUI_ENABLED defined but never usedv8.2.4350ola.soder@axis.com2022-02-111-1/+0
| | | | | Problem: FEAT_GUI_ENABLED defined but never used. Solution: Remove the #define. (Ola Söder, closes #9732)
* patch 8.2.4347: in some build setups UNUSED is not definedv8.2.4347ola.soder@axis.com2022-02-111-4/+11
| | | | | | Problem: In some build setups UNUSED is not defined. Solution: Change the logic of how UNUSED is defined. (Ola Söder, closes #9734)
* patch 8.2.4335: no autocommand event triggered before changing directoryv8.2.4335Bram Moolenaar2022-02-091-0/+1
| | | | | | Problem: No autocommand event triggered before changing directory. (Ronnie Magatti) Solution: Add DirChangedPre. (closes #9721)
* patch 8.2.4325: 'wildmenu' only shows few matchesv8.2.4325Yegappan Lakshmanan2022-02-081-0/+2
| | | | | | Problem: 'wildmenu' only shows few matches. Solution: Add the "pum" option: use a popup menu to show the matches. (Yegappan Lakshmanan et al., closes #9707)
* patch 8.2.4316: __CYGWIN32__ is not defined on 64 bit systemsv8.2.4316K.Takata2022-02-071-2/+2
| | | | | Problem: __CYGWIN32__ is not defined on 64 bit systems. Solution: Update #ifdefs. (Ken Takata, closes #9709)
* patch 8.2.4245: ":retab 0" may cause illegal memory accessv8.2.4245Bram Moolenaar2022-01-281-0/+2
| | | | | Problem: ":retab 0" may cause illegal memory access. Solution: Limit the value of 'tabstop' to 10000.
* patch 8.2.4220: MS-Windows: some old compiler support remainsv8.2.4220K.Takata2022-01-261-9/+2
| | | | | Problem: MS-Windows: some old compiler support remains. Solution: Remove obsolete compiler support. (Ken Takata, closes #9627)
* patch 8.2.4202: Vim9: cannot export function that exists globallyv8.2.4202Bram Moolenaar2022-01-241-0/+4
| | | | | | Problem: Vim9: cannot export function that exists globally. Solution: When checking if a function already exists only check for script-local functions. (closes #9615)
* patch 8.2.4199: MS-Windows: Support for MSVC 2003 is not usefulv8.2.4199K.Takata2022-01-241-5/+4
| | | | | Problem: MS-Windows: Support for MSVC 2003 is not useful. Solution: Remove the exceptions for MSVC 2003. (Ken Takata, closes #9616)
* patch 8.2.4153: MS-Windows: Global IME is no longer supportedv8.2.4153K.Takata2022-01-201-5/+3
| | | | | Problem: MS-Windows: Global IME is no longer supported. Solution: Remove the Global IME implementation. (Ken Takata, closes #9562)
* patch 8.2.4145: confusing error when using name of import for a functionv8.2.4145Bram Moolenaar2022-01-191-0/+1
| | | | | Problem: Confusing error when using name of import for a function. Solution: Pass a flag to trans_function_name().
* patch 8.2.4113: typo on DOCMD_RANGEOK results in not recognizing commandv8.2.4113Bram Moolenaar2022-01-161-1/+1
| | | | | Problem: Typo on DOCMD_RANGEOK results in not recognizing command. Solution: Correct the typo. (closes #9539)
* patch 8.2.4032: ATTRIBUTE_NORETURN is not neededv8.2.4032ichizok2022-01-071-5/+3
| | | | | Problem: ATTRIBUTE_NORETURN is not needed. Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487)
* patch 8.2.3969: value of MAXCOL not available in Vim scriptv8.2.3969naohiro ono2022-01-011-1/+2
| | | | | Problem: Value of MAXCOL not available in Vim script. Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
* patch 8.2.3922: cannot build with dynamic Ruby 3.1v8.2.3922ichizok2021-12-281-5/+7
| | | | | | Problem: Cannot build with dynamic Ruby 3.1. Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki Kiichi, closes #9420)
* patch 8.2.3914: various spelling mistakes in commentsv8.2.3914Dominique Pelle2021-12-271-1/+1
| | | | | Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
* patch 8.2.3782: Vim9: no error if a function shadows a script variablev8.2.3782Bram Moolenaar2021-12-111-0/+1
| | | | | Problem: Vim9: no error if a function shadows a script variable. Solution: Check the function doesn't shadow a variable. (closes #9310)
* patch 8.2.3697: cannot drag a popup without a borderv8.2.3697Bram Moolenaar2021-11-291-6/+7
| | | | | Problem: Cannot drag a popup without a border. Solution: Add the "dragall" option. (closes #9218)
* patch 8.2.3664: cannot adjust sign highlighting for 'cursorline'v8.2.3664Bram Moolenaar2021-11-241-1/+3
| | | | | | Problem: Cannot adjust sign highlighting for 'cursorline'. Solution: Add CursorLineSign and CursorLineFold highlight groups. (Gregory Anders, closes #9201)
* patch 8.2.3621: build failurev8.2.3621Bram Moolenaar2021-11-191-1/+1
| | | | | Problem: Build failure. Solution: Add missing change.
* patch 8.2.3591: no event is triggered when closing a windowv8.2.3591naohiro ono2021-11-131-0/+1
| | | | | Problem: No event is triggered when closing a window. Solution: Add the WinClosed event. (Naohiro Ono, closes #9110)
* patch 8.2.3573: cannot decide whether to skip test that fails with 64 bitv8.2.3573Bram Moolenaar2021-11-021-1/+4
| | | | | | | Problem: Cannot decide whether to skip test that fails with 64 bit ints. (closes #9072) Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the check for multiply overflow.
* patch 8.2.3566: build failure on old systems when using nano timestampv8.2.3566Gary Johnson2021-10-281-0/+15
| | | | | | Problem: Build failure on old systems when using nano timestamp. Solution: Define _BSD_SOURCE, _SVID_SOURCE and _DEFAULT_SOURCE. (Gary Johnson, closes #9054)
* patch 8.2.3562: cannot add color namesv8.2.3562Drew Vogel2021-10-241-1/+2
| | | | | Problem: Cannot add color names. Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761)
* patch 8.2.3547: opening the quickfix window triggers BufWinEnter twicev8.2.3547Bram Moolenaar2021-10-201-0/+2
| | | | | | Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick Peterse) Solution: Only trigger BufWinEnter with "quickfix". (closes #9022)
* patch 8.2.3530: ":buf \{a}" fails while ":edit \{a}" worksv8.2.3530Bram Moolenaar2021-10-171-0/+6
| | | | | Problem: ":buf \{a}" fails while ":edit \{a}" works. Solution: Unescape "\{". (closes #8917)
* patch 8.2.3430: no generic way to trigger an autocommand on mode changev8.2.3430=?UTF-8?q?Magnus=20Gro=C3=9F?=2021-09-121-0/+3
| | | | | Problem: No generic way to trigger an autocommand on mode change. Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856)
* patch 8.2.3395: Vim9: expression breakpoint not checked in :def functionv8.2.3395Bram Moolenaar2021-09-021-2/+9
| | | | | | Problem: Vim9: expression breakpoint not checked in :def function. Solution: Always compile a function for debugging if there is an expression breakpoint. (closes #8803)
* patch 8.2.3274: macro for printf format check can be simplifiedv8.2.3274Bram Moolenaar2021-08-021-2/+15
| | | | | Problem: Macro for printf format check can be simplified. Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635)
* patch 8.2.3268: cannot use a block with :autocmd like with :commandv8.2.3268Bram Moolenaar2021-08-011-0/+5
| | | | | Problem: Cannot use a block with :autocmd like with :command. Solution: Add support for a {} block after :autocmd. (closes #8620)
* patch 8.2.3249: Vim9: error for re-imported function with default argumentv8.2.3249Bram Moolenaar2021-07-291-0/+3
| | | | | Problem: Vim9: error for re-imported function with default argument. Solution: Do not check argument type if it is still unknown. (closes #8653)
* patch 8.2.3245: the crypt key may appear in a swap partitionv8.2.3245Bram Moolenaar2021-07-291-0/+4
| | | | | | Problem: The crypt key may appear in a swap partition. Solution: When using xchaha20 use sodium_mlock(). (Christian Brabandt, closes #8657)
* patch 8.2.3026: Vim9: cannot set breakpoint in compiled functionv8.2.3026Bram Moolenaar2021-06-201-2/+2
| | | | | Problem: Vim9: cannot set breakpoint in compiled function. Solution: Check for breakpoint when calling a function.
* patch 8.2.2992: Vim9: completion for :disassemble is incompletev8.2.2992Bram Moolenaar2021-06-131-0/+1
| | | | | Problem: Vim9: completion for :disassemble is incomplete. Solution: Recognize the "debug" and "profile" arguments.
* patch 8.2.2988: Vim9: debugger test failsv8.2.2988Bram Moolenaar2021-06-131-0/+1
| | | | | Problem: Vim9: debugger test fails. Solution: Get the debugger instructions when needed.