summaryrefslogtreecommitdiff
path: root/src/mark.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-4/+2
| | | | | | Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
* patch 8.1.1306: Borland support is outdated and doesn't workv8.1.1306Bram Moolenaar2019-05-091-3/+0
| | | | | | 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.1221: filtering does not work when listing marksv8.1.1221Bram Moolenaar2019-04-271-18/+22
| | | | | Problem: Filtering does not work when listing marks. Solution: Implement filtering marks. (Marcin Szamotulski, closes #3895)
* patch 8.1.0833: memory leak when jumps output is filteredv8.1.0833Bram Moolenaar2019-01-271-0/+3
| | | | | Problem: Memory leak when jumps output is filtered. Solution: Free the filtered name. (Dominique Pelle, closes #3869)
* patch 8.1.0826: too many #ifdefsv8.1.0826Bram Moolenaar2019-01-261-11/+1
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
* patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar2019-01-191-6/+6
| | | | | Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-8/+8
| | | | | | | | Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
* patch 8.1.0671: cursor in the wrong column after auto-formattingv8.1.0671Bram Moolenaar2018-12-311-1/+6
| | | | | Problem: Cursor in the wrong column after auto-formatting. Solution: Check for deleting more spaces than adding. (closes #3748)
* patch 8.1.0495: :filter only supports some commandsv8.1.0495Bram Moolenaar2018-10-251-1/+3
| | | | | | Problem: :filter only supports some commands. Solution: Add :filter support for more commands. (Marcin Szamotulski, closes #2856)
* patch 8.1.0168: output of :marks is too short with multi-byte charsv8.1.0168Bram Moolenaar2018-07-081-2/+3
| | | | | | Problem: Output of :marks is too short with multi-byte chars. (Tony Mechelynck) Solution: Get more bytes from the text line.
* patch 8.0.1513: the jumplist is not always properly cleaned upv8.0.1513Bram Moolenaar2018-02-131-6/+19
| | | | | Problem: The jumplist is not always properly cleaned up. Solution: Call fname2fnum() before cleanup_jumplist(). (Yegappan Lakshmanan)
* patch 8.0.1498: getjumplist() returns duplicate entriesv8.0.1498Bram Moolenaar2018-02-111-26/+23
| | | | | Problem: Getjumplist() returns duplicate entries. (lacygoill) Solution: Call cleanup_jumplist(). (Yegappan Lakshmanan)
* patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar2018-02-101-10/+5
| | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
* patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar2017-09-161-8/+0
| | | | | | 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.0930: terminal buffers are stored in the viminfo filev8.0.0930Bram Moolenaar2017-08-131-3/+17
| | | | | | Problem: Terminal buffers are stored in the viminfo file while they can't be useful. Solution: Skip terminal buffers for file marks and buffer list
* patch 8.0.0466: still macros that should be all-capsv8.0.0466Bram Moolenaar2017-03-161-3/+3
| | | | | Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps.
* patch 8.0.0457: using :move messes up manual foldsv8.0.0457Bram Moolenaar2017-03-141-1/+25
| | | | | | Problem: Using :move messes up manual folds. Solution: Split adjusting marks and folds. Add foldMoveRange(). (neovim patch #6221)
* patch 8.0.0451: some macros are in lower casev8.0.0451Bram Moolenaar2017-03-121-1/+1
| | | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
* patch 8.0.0448: some macros are in lower casev8.0.0448Bram Moolenaar2017-03-121-8/+9
| | | | | Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
* patch 8.0.0255: setpos() does not use the buffer argument for all marksv8.0.0255Bram Moolenaar2017-01-281-9/+15
| | | | | | | Problem: When calling setpos() with a buffer argument it often is ignored. (Matthew Malcomson) Solution: Make the buffer argument work for all marks local to a buffer. (neovim #5713) Add more tests.
* patch 8.0.0039v8.0.0039Bram Moolenaar2016-10-151-1/+2
| | | | | | | Problem: When Vim 8 reads an old viminfo and exits, the next time marks are not read from viminfo. (Ned Batchelder) Solution: Set a mark when it wasn't set before, even when the timestamp is zero. (closes #1170)
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.2101v7.4.2101Bram Moolenaar2016-07-241-2/+2
| | | | | Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
* patch 7.4.1988v7.4.1988Bram Moolenaar2016-07-031-35/+148
| | | | | | Problem: When updating viminfo with file marks there is no time order. Solution: Remember the time when a buffer was last used, store marks for the most recently used buffers.
* patch 7.4.1982v7.4.1982Bram Moolenaar2016-07-021-1/+6
| | | | | Problem: Viminfo file contains duplicate change marks. Solution: Drop duplicate marks.
* patch 7.4.1943v7.4.1943Bram Moolenaar2016-06-171-3/+1
| | | | | Problem: Coverity warns for unreachable code. Solution: Remove the code that won't do anything.
* patch 7.4.1939v7.4.1939Bram Moolenaar2016-06-151-0/+4
| | | | | Problem: Memory access error when reading viminfo. (Dominique Pelle) Solution: Correct index in jumplist when at the end.
* patch 7.4.1938v7.4.1938Bram Moolenaar2016-06-141-4/+20
| | | | | | Problem: When writing viminfo numbered marks were duplicated. Solution: Check for duplicates between current numbered marks and the ones read from viminfo.
* patch 7.4.1932v7.4.1932Bram Moolenaar2016-06-131-4/+22
| | | | | | Problem: When writing viminfo the jumplist is not merged with the one in the viminfo file. Solution: Merge based on timestamp.
* patch 7.4.1925v7.4.1925Bram Moolenaar2016-06-121-13/+252
| | | | | Problem: Viminfo does not merge file marks properly. Solution: Use a timestamp. Add the :clearjumps command.
* patch 7.4.1210v7.4.1210Bram Moolenaar2016-01-301-103/+65
| | | | | | Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
* patch 7.4.1198v7.4.1198Bram Moolenaar2016-01-291-7/+7
| | | | | | Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
* updated for version 7.4.212v7.4.212Bram Moolenaar2014-03-231-16/+0
| | | | | | Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
* updated for version 7.4.059v7.4.059Bram Moolenaar2013-11-031-1/+2
| | | | | | Problem: set_last_cursor() may encounter w_buffer being NULL. (Matt Mkaniaris) Solution: Check for NULL.
* updated for version 7.4b.009v7.4b.009Bram Moolenaar2013-08-021-7/+8
| | | | | | Problem: When setting the Visual area manually and 'selection' is exclusive, a yank includes one character too much. (Ingo Karkat) Solution: Default the Visual operation to "v". (Christian Brabandt)
* updated for version 7.3.800v7.3.800Bram Moolenaar2013-02-061-0/+6
| | | | | Problem: The " mark is not adjusted when inserting lines. (Roland Eggner) Solution: Adjust the line number. (Christian Brabandt)
* updated for version 7.3.776v7.3.776Bram Moolenaar2013-01-231-13/+23
| | | | | Problem: ml_get error when searching, caused by curwin not matching curbuf. Solution: Avoid changing curbuf. (Lech Lorens)
* updated for version 7.3.590v7.3.590Bram Moolenaar2012-07-061-0/+13
| | | | | Problem: The '< and '> marks cannot be set directly. Solution: Allow setting '< and '>. (Christian Brabandt)
* updated for version 7.3.128v7.3.128Bram Moolenaar2011-02-251-1/+4
| | | | | Problem: Another compiler warning for signed pointer. Solution: Use unsigned int argument for sscanf().
* Avoid warnings from the clang compiler. (Dominique Pelle)Bram Moolenaar2010-08-131-3/+3
|
* updated for version 7.2-177v7.2.177Bram Moolenaar2009-05-161-4/+2
|
* updated for version 7.2-161v7.2.161Bram Moolenaar2009-04-291-2/+5
|
* updated for version 7.2-031v7.2.031Bram Moolenaar2008-11-091-4/+24
|
* updated for version 7.2-000v7.2.000v7.2Bram Moolenaar2008-08-091-0/+3
|
* updated for version 7.1-283v7.1.283Bram Moolenaar2008-03-161-1/+1
|
* updated for version 7.1-248v7.1.248Bram Moolenaar2008-02-131-0/+6
|
* updated for version 7.1-195v7.1.195Bram Moolenaar2008-01-031-2/+17
|
* updated for version 7.1bBram Moolenaar2007-05-101-1/+1
|
* updated for version 7.0213Bram Moolenaar2006-03-031-12/+46
|
* updated for version 7.0208Bram Moolenaar2006-02-261-11/+11
|