Bram Moolenaar
e96a2498f9
patch 8.1.1588: in :let-heredoc line continuation is recognized
...
Problem: In :let-heredoc line continuation is recognized.
Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580 )
2019-06-25 04:12:16 +02:00
Bram Moolenaar
0554fa478d
patch 8.1.1531: clipboard type name is inconsistent
...
Problem: Clipboard type name is inconsistent.
Solution: Rename VimClipboard to Clipboard_T.
2019-06-14 21:36:54 +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
964b3746b9
patch 8.1.1384: using "int" for alloc() often results in compiler warnings
...
Problem: Using "int" for alloc() often results in compiler warnings.
Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim
only works with 32 bit ints anyway.
2019-05-24 18:54:09 +02:00
Bram Moolenaar
f3333b02f3
patch 8.1.1359: text property wrong after :substitute with backslash
...
Problem: Text property wrong after :substitute with backslash.
Solution: Adjust text property columns when removing backslashes.
(closes #4397 )
2019-05-19 22:53:40 +02:00
Bram Moolenaar
16e9b85113
patch 8.1.1355: obvious mistakes are accepted as valid expressions
...
Problem: Obvious mistakes are accepted as valid expressions.
Solution: Be more strict about parsing numbers. (Yasuhiro Matsumoto,
closes #3981 )
2019-05-19 19:59:35 +02:00
Bram Moolenaar
338dfdad38
patch 8.1.1351: text property wrong after :substitute
...
Problem: Text property wrong after :substitute.
Solution: Save for undo before changing any text properties.
2019-05-19 15:19:57 +02:00
Bram Moolenaar
8055d17388
patch 8.1.1343: text properties not adjusted for Visual block mode delete
...
Problem: Text properties not adjusted for Visual block mode delete.
Solution: Call adjust_prop_columns(). (closes #4384 )
2019-05-17 22:57:26 +02:00
Bram Moolenaar
787880a86d
patch 8.1.1342: using freed memory when joining line with text property
...
Problem: Using freed memory when joining line with text property.
Solution: Use already computed length.
2019-05-17 20:17:40 +02:00
Bram Moolenaar
80e737cc6a
patch 8.1.1341: text properties are lost when joining lines
...
Problem: Text properties are lost when joining lines.
Solution: Move the text properties to the joined line.
2019-05-17 19:56:34 +02:00
Bram Moolenaar
6ee9658774
patch 8.1.1219: not checking for NULL return from alloc()
...
Problem: Not checking for NULL return from alloc().
Solution: Add checks. (Martin Kunev, closes #4303 , closes #4174 )
2019-04-27 22:06:37 +02:00
Bram Moolenaar
abab0b0fdd
patch 8.1.1086: too many curly braces
...
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982 )
2019-03-30 18:47:01 +01:00
Bram Moolenaar
fd731b0e31
patch 8.1.1000: indenting is off
...
Problem: Indenting is off.
Solution: Make indenting consistent and update comments. (Ozaki Kiichi,
closes #4079 )
2019-03-09 11:23:58 +01:00
Bram Moolenaar
9d7fdd403a
patch 8.1.0999: use register one too often and not properly tested
...
Problem: Use register one too often and not properly tested.
Solution: Do not always use register one when specifying a register.
(closes #4085 ) Add more tests.
2019-03-08 09:50:52 +01:00
Bram Moolenaar
bdace838c6
patch 8.1.0989: various small code ugliness
...
Problem: Various small code ugliness.
Solution: Remove pointless NULL checks. Fix function calls. Fix typos.
(Dominique Pelle, closes #4060 )
2019-03-02 10:13:42 +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
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
fc3abf47fb
patch 8.1.0806: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 2.
2019-01-24 15:54:21 +01:00
Bram Moolenaar
113e10721f
patch 8.1.0785: depending on the configuration some functions are unused
...
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822 )
2019-01-20 15:30:40 +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
88c86eb751
patch 8.1.0766: various problems when using Vim on VMS
...
Problem: Various problems when using Vim on VMS.
Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy)
2019-01-17 17:13:30 +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
977239ef52
patch 8.1.0722: cannot build without the virtualedit feature
...
Problem: Cannot build without the virtualedit feature.
Solution: Make getviscol2() always available.
2019-01-11 16:16:01 +01:00
Bram Moolenaar
870ba5f6dc
patch 8.1.0719: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Always build with the +visualextra feature.
2019-01-11 14:37:20 +01:00
Bram Moolenaar
e1e714ef0d
patch 8.1.0671: cursor in the wrong column after auto-formatting
...
Problem: Cursor in the wrong column after auto-formatting.
Solution: Check for deleting more spaces than adding. (closes #3748 )
2018-12-31 23:58:24 +01:00
Bram Moolenaar
f951416a83
patch 8.1.0542: shiftwidth() does not take 'vartabstop' into account
...
Problem: shiftwidth() does not take 'vartabstop' into account.
Solution: Use the cursor position or a position explicitly passed.
Also make >> and << work better with 'vartabstop'. (Christian
Brabandt)
2018-11-22 03:08:29 +01:00
Bram Moolenaar
6b731886ca
patch 8.1.0535: increment/decrement might get interrupted by updating folds
...
Problem: Increment/decrement might get interrupted by updating folds.
Solution: Disable fold updating for a moment. (Christian Brabandt,
closes #3599 )
2018-11-16 20:54:47 +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
da6e8919e7
patch 8.1.0306: plural messages are not translated properly
...
Problem: Plural messages are not translated properly.
Solution: Add more usage of NGETTEXT(). (Sergey Alyoshin)
2018-08-21 15:12:14 +02:00
Bram Moolenaar
1f0bfe5617
patch 8.1.0226: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +vreplace feature, it's not much code and quite a few
#ifdefs.
2018-07-29 16:09:22 +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
630afe889a
patch 8.1.0125: virtual edit replace with multi-byte fails at end of line
...
Problem: Virtual edit replace with multi-byte fails at end of line. (Lukas
Werling)
Solution: use ins_char() to add the character. (Christian Brabandt,
closes #3114 ) Rename PCHAR() to PBYTE() to avoid mistakes like
this.
2018-06-28 19:26:28 +02:00
Bram Moolenaar
f52f9ea8f5
patch 8.1.0118: duplicate error message for put command
...
Problem: Duplicate error message for put command.
Solution: Check return value of u_save(). (Jason Franklin)
2018-06-27 20:49:44 +02:00
Bram Moolenaar
04958cbaf2
patch 8.1.0105: all tab stops are the same
...
Problem: All tab stops are the same.
Solution: Add the variable tabstop feature. (Christian Brabandt,
closes #2711 )
2018-06-23 19:23:02 +02:00
Bram Moolenaar
f273245f64
patch 8.1.0027: difficult to make a plugin that feeds a line to a job
...
Problem: Difficult to make a plugin that feeds a line to a job.
Solution: Add the nitial code for the "prompt" buftype.
2018-06-03 14:47:35 +02:00
Bram Moolenaar
0b6d911e5d
patch 8.1.0020: cannot tell whether a register is executing or recording
...
Problem: Cannot tell whether a register is being used for executing or
recording.
Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi,
closes #2745 ) Rename the global variables for consistency. Store
the register name in reg_executing.
2018-05-22 20:35:17 +02:00
Bram Moolenaar
e2c8d83926
patch 8.0.1787: cannot insert the whole cursor line
...
Problem: Cannot insert the whole cursor line.
Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes #2857 )
2018-05-01 19:24:03 +02:00
Bram Moolenaar
35e802e713
patch 8.0.1779: deleting in a block selection causes problems
...
Problem: Deleting in a block selection causes problems.
Solution: Check the length of the line before adding bd.textcol and
bd.textlen. (Christian Brabandt, closes #2825 )
2018-04-30 17:21:03 +02:00
Bram Moolenaar
8c87a2b1fe
patch 8.0.1682: auto indenting breaks inserting a block
...
Problem: Auto indenting breaks inserting a block.
Solution: Do not check for cursor movement if indent was changed. (Christian
Brabandt, closes #2778 )
2018-04-10 13:15:47 +02:00
Bram Moolenaar
672afb9f66
patch 8.0.1679: compiler warning for printf format
...
Problem: Compiler warning for printf format. (Chdiza)
Solution: Change type to "long long". (closes #2791 )
2018-04-08 16:34:22 +02:00
Bram Moolenaar
ea39176baa
patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
...
Problem: No compiler warning for wrong format in vim_snprintf().
Solution: Add printf attribute for gcc. Fix reported problems.
2018-04-08 13:07:22 +02:00
Bram Moolenaar
3324d0a864
patch 8.0.1587: inserting from the clipboard doesn't work literally
...
Problem: inserting from the clipboard doesn't work literally
Solution: When pasting from the * or + register always assume literally.
2018-03-06 19:51:13 +01: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
a0221df149
patch 8.0.1501: out-of-memory situation not correctly handled
...
Problem: Out-of-memory situation not correctly handled. (Coverity)
Solution: Check for NULL value.
2018-02-11 15:07:22 +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
Bram Moolenaar
f12519dec8
patch 8.0.1475: invalid memory access in read_redo()
...
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 )
2018-02-06 22:52:49 +01:00
Bram Moolenaar
2efb323e87
patch 8.0.1411: reading invalid memory with CTRL-W :
...
Problem: Reading invalid memory with CTRL-W :.
Solution: Correct the command characters. (closes #2469 )
2017-12-19 12:27:23 +01:00
Bram Moolenaar
ee219b0e9f
patch 8.0.1399: warnings and errors when building tiny version
...
Problem: Warnings and errors when building tiny version. (Tony Mechelynck)
Solution: Add #ifdefs.
2017-12-17 14:55:01 +01:00