Bram Moolenaar
c036e87bd7
patch 8.2.0295: highlighting for :s wrong when using different separator
...
Problem: Highlighting for :s wrong when using different separator.
Solution: Use separat argument for search direction and separator. (Rob
Pilling, closes #5665 )
2020-02-21 21:30:52 +01:00
Bram Moolenaar
b09920203a
patch 8.2.0179: still a few places where range() does not work
...
Problem: Still a few places where range() does not work.
Solution: Fix using range() causing problems.
2020-01-30 14:55:42 +01:00
Bram Moolenaar
70b3e706b4
patch 8.2.0177: memory leak in get_tags()
...
Problem: Memory leak in get_tags().
Solution: Free matches when finding a pseudo-tag line. (Dominique Pelle,
closes #5553 )
2020-01-29 22:38:45 +01:00
Bram Moolenaar
4b96df5a01
patch 8.2.0156: various typos in source files and tests
...
Problem: Various typos in source files and tests.
Solution: Fix the typos. (Emir Sari, closes #5532 )
2020-01-26 22:00:26 +01:00
Bram Moolenaar
830c1afc9d
patch 8.2.0088: insufficient tests for tags; bug in using extra tag field
...
Problem: Insufficient tests for tags; bug in using extra tag field when
using an ex command to position the cursor.
Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes #5439 )
2020-01-05 20:35:44 +01:00
Bram Moolenaar
271fa08a35
patch 8.2.0077: settagstack() cannot truncate at current index
...
Problem: settagstack() cannot truncate at current index.
Solution: Add the "t" action. (Yegappan Lakshmanan, closes #5417 )
2020-01-02 14:02:16 +01:00
Bram Moolenaar
0d6f5d9740
patch 8.1.2395: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-05 21:33:15 +01:00
Bram Moolenaar
05ad5ff0ab
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
...
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291 )
2019-11-30 22:48:27 +01:00
Bram Moolenaar
eda1da0c9a
patch 8.1.2313: debugging where a delay comes from is not easy
...
Problem: Debugging where a delay comes from is not easy.
Solution: Use different values when calling ui_delay().
2019-11-17 17:06:33 +01:00
Bram Moolenaar
077b9dd354
patch 8.1.2312: "line:" field in tags file not used
...
Problem: "line:" field in tags file not used.
Solution: Recognize the field and use the value. (Andy Massimino, Daniel
Hahler, closes #5232 , closes #2546 , closes #1057 )
2019-11-17 16:18:31 +01:00
Bram Moolenaar
398a59b6a5
patch 8.1.2271: build error if FEAT_TAG_BINS is not defined
...
Problem: Build error if FEAT_TAG_BINS is not defined. (John Marriott)
Solution: Add #ifdef.
2019-11-08 21:56:57 +01:00
Bram Moolenaar
dc9ef26845
patch 8.1.2269: tags file with very long line stops using binary search
...
Problem: Tags file with very long line stops using binary search.
Solution: Reallocate the buffer if needed.
2019-11-07 23:08:42 +01:00
Bram Moolenaar
92ea26b925
patch 8.1.2173: searchit() has too many arguments
...
Problem: Searchit() has too many arguments.
Solution: Move optional arguments to a struct. Add the "wrapped" argument.
2019-10-18 20:53:34 +02:00
Bram Moolenaar
27fc8cab22
patch 8.1.2152: problems navigating tags file on MacOS Catalina
...
Problem: Problems navigating tags file on MacOS Catalina.
Solution: Use fseek instead of lseek. (John Lamb, fixes #5061 )
2019-10-15 22:23:37 +02:00
Bram Moolenaar
e2c453d38f
patch 8.1.1901: the +insert_expand feature is not always available
...
Problem: The +insert_expand feature is not always available.
Solution: Graduate the +insert_expand feature.
2019-08-21 14:37:09 +02:00
Bram Moolenaar
0a52df50a0
patch 8.1.1887: the +cmdline_compl feature is not in the tiny version
...
Problem: The +cmdline_compl feature is not in the tiny version.
Solution: Graduate the +cmdline_compl feature.
2019-08-18 22:26:31 +02:00
Bram Moolenaar
576a4a6ff1
patch 8.1.1880: cannot show extra info for completion in a popup window
...
Problem: Cannot show extra info for completion in a popup window.
Solution: Add the "popup" entry in 'completeopt'.
2019-08-18 15:25:17 +02:00
Bram Moolenaar
d7663c22c6
patch 8.1.1823: command line history code is spread out
...
Problem: Command line history code is spread out.
Solution: Put the code in a new file. (Yegappan Lakshmanan, closes #4779 )
Also graduate the +cmdline_hist feature.
2019-08-06 21:59:57 +02:00
Bram Moolenaar
1b6d9c4215
patch 8.1.1819: :pedit does not work with a popup preview window
...
Problem: :pedit does not work with a popup preview window.
Solution: Avoid aborting with an error. (fixes #4777 ) Also double check
that after prepare_tagpreview() the current window is not a
popup window.
2019-08-05 21:52:04 +02:00
Bram Moolenaar
2debf1c16b
patch 8.1.1813: ATTENTION prompt for a preview popup window
...
Problem: ATTENTION prompt for a preview popup window.
Solution: Close the popup window if aborting the buffer load. Avoid getting
the ATTENTION dialog.
2019-08-04 20:44:19 +02:00
Bram Moolenaar
c799fe206e
patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts
...
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.
2019-05-28 23:08:19 +02:00
Bram Moolenaar
51e14387f1
patch 8.1.1393: unnecessary type casts
...
Problem: Unnecessary type casts.
Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
2019-05-25 20:21:28 +02:00
Bram Moolenaar
18a4ba29ae
patch 8.1.1386: unessesary type casts for lalloc()
...
Problem: Unessesary type casts for lalloc().
Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
2019-05-24 19:39:03 +02:00
Bram Moolenaar
99499b1c05
patch 8.1.1371: cannot recover from a swap file
...
Problem: Cannot recover from a swap file.
Solution: Do not expand environment variables in the swap file name.
Do not check the extension when we already know a file is a swap
file. (Ken Takata, closes 4415, closes #4369 )
2019-05-23 21:35:48 +02:00
Bram Moolenaar
e5c83286bb
patch 8.1.1259: crash when exiting early
...
Problem: Crash when exiting early. (Ralf Schandl)
Solution: Only pop/push the title when it was set. (closes #4334 )
2019-05-03 23:15:37 +02:00
Bram Moolenaar
c0af78fa08
patch 8.1.1235: compiler warnings for using STRLEN() value
...
Problem: Compiler warnings for using STRLEN() value.
Solution: Cast to int. (Christian Brabandt, Mike Williams)
2019-04-29 19:47:22 +02:00
Bram Moolenaar
45e18cbdc4
patch 8.1.1228: not possible to process tags with a function
...
Problem: Not possible to process tags with a function.
Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes #4010 )
2019-04-28 18:05:35 +02:00
Bram Moolenaar
ad3ec76bb8
patch 8.1.1194: typos and small problems in source files
...
Problem: Typos and small problems in source files.
Solution: Small fixes.
2019-04-21 00:00:13 +02:00
Bram Moolenaar
fd700393be
patch 8.1.1100: tag file without trailing newline no longer works
...
Problem: Tag file without trailing newline no longer works. (Marco Hinz)
Solution: Don't expect a newline at the end of the file. (closes #4200 )
2019-04-02 21:26:07 +02:00
Bram Moolenaar
b4a6020ac6
patch 8.1.1099: the do_tag() function is too long
...
Problem: The do_tag() function is too long.
Solution: Factor parts out to separate functions. Move simplify_filename()
to a file where it fits better. (Andy Massimino, closes #4195 )
2019-03-31 19:40:07 +02:00
Bram Moolenaar
5209334c55
patch 8.1.1094: long line in tags file causes error
...
Problem: Long line in tags file causes error.
Solution: Check for overlong line earlier. (Andy Massimino, closes #4051 ,
closes #4084 )
2019-03-30 21:41:48 +01:00
Bram Moolenaar
96428dd4e9
patch 8.1.1093: support for outdated tags format slows down tag parsing
...
Problem: Support for outdated tags format slows down tag parsing.
Solution: Remove FEAT_TAG_OLDSTATIC.
2019-03-30 21:19:34 +01:00
Bram Moolenaar
7559dcef6c
patch 8.1.1087: tag stack is incorrect after CTRL-T and then :tag
...
Problem: tag stack is incorrect after CTRL-T and then :tag
Solution: Handle DT_TAG differently. (test by Andy Massimino, closes #3944 ,
closes #4177 )
2019-03-30 19:12:02 +01:00
Bram Moolenaar
7591bb39d5
patch 8.1.1076: file for Insert mode is much too big
...
Problem: File for Insert mode is much too big.
Solution: Split off the code for Insert completion. (Yegappan Lakshmanan,
closes #4044 )
2019-03-30 13:53:47 +01:00
Bram Moolenaar
b99abaa480
patch 8.1.1040: FEAT_TAG_ANYWHITE is not enabled in any build
...
Problem: FEAT_TAG_ANYWHITE is not enabled in any build.
Solution: Remove the feature.
2019-03-22 17:03:05 +01:00
Bram Moolenaar
0059074008
patch 8.1.0927: USE_CR is never defined
...
Problem: USE_CR is never defined.
Solution: Remove usage of USE_CR. (Ken Takata, closes #3958 )
2019-02-15 21:06:09 +01:00
Bram Moolenaar
943e9639a9
patch 8.1.0911: tag line with Ex command cannot have extra fields
...
Problem: Tag line with Ex command cannot have extra fields.
Solution: Recognize |;" as the end of the command. (closes #2402 )
2019-02-13 21:19:14 +01:00
Bram Moolenaar
29ddebef40
patch 8.1.0826: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
2019-01-26 17:28:26 +01:00
Bram Moolenaar
264b74fa54
patch 8.1.0810: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 4.
2019-01-24 17:18:42 +01:00
Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
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.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
d155d7a851
patch 8.1.0615: get_tv function names are not consistent
...
Problem: Get_tv function names are not consistent.
Solution: Rename to tv_get.
2018-12-21 16:04:21 +01:00
Bram Moolenaar
8f66717a1f
patch 8.1.0583: using illogical name for get_dict_number()/get_dict_string()
...
Problem: Using illogical name for get_dict_number()/get_dict_string().
Solution: Rename to start with dict_.
2018-12-14 15:38:31 +01:00
Bram Moolenaar
f49cc60aa8
patch 8.1.0519: cannot save and restore the tag stack
...
Problem: Cannot save and restore the tag stack.
Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan,
closes #3604 )
2018-11-11 15:21:05 +01:00
Bram Moolenaar
6dff58f15c
patch 8.1.0443: unnecessary static function prototypes
...
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
2018-09-30 21:43:26 +02:00
Bram Moolenaar
e0be167a80
patch 8.1.0166: using dict_add_nr_str() is clumsy
...
Problem: Using dict_add_nr_str() is clumsy.
Solution: Split into two functions. (Ozaki Kiichi, closes #3154 )
2018-07-08 16:50:37 +02:00
Bram Moolenaar
46577b5e54
patch 8.1.0133: tagfiles() can have duplicate entries
...
Problem: tagfiles() can have duplicate entries.
Solution: Simplify the filename to make checking for duplicates work better.
Add a test. (Dominique Pelle, closes #2979 )
2018-06-30 22:40:42 +02:00
Bram Moolenaar
451fc7b954
patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong way
...
Problem: SET_NO_HLSEARCH() used in a wrong way.
Solution: Make it a function. (suggested by Dominique Pelle,
closes #2850 )
2018-04-27 22:53:07 +02:00
Bram Moolenaar
f2bd8ef2b4
patch 8.0.1564: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
2018-03-04 18:08:14 +01:00
Bram Moolenaar
d23a823669
patch 8.0.1496: clearing a pointer takes two lines
...
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629 )
2018-02-10 18:45:26 +01:00