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
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
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
abc7c7fc5a
patch 8.1.1189: mode is not cleared when leaving Insert mode
...
Problem: Mode is not cleared when leaving Insert mode.
Solution: Clear the mode when got_int is set. (Ozaki Kiichi, closes #4270 )
2019-04-20 15:10:13 +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
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
fd133323d4
patch 8.1.1068: cannot get all the information about current completion
...
Problem: Cannot get all the information about current completion.
Solution: Add complete_info(). (Shougo, Hirohito Higashi, closes #4106 )
2019-03-29 12:20:27 +01:00
Bram Moolenaar
75bf3d22f4
patch 8.1.1055: CTRL-G U in Insert mode doesn't work for shift-Left
...
Problem: CTRL-G U in Insert mode doesn't work to avoid splitting the undo
sequence for shift-left and shift-right.
Solution: Also check dont_sync_undo for shifted cursor keys. (Christian
Brabandt)
2019-03-26 22:46:05 +01:00
Bram Moolenaar
2c519cf3bf
patch 8.1.1032: warnings from clang static analyzer
...
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution: Fix relevant warnings.
2019-03-21 21:45:34 +01:00
Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932 )
2019-02-17 17:44:42 +01:00
Bram Moolenaar
14184a3133
patch 8.1.0932: Farsi support is outdated and unused
...
Problem: Farsi support is outdated and unused.
Solution: Delete the Farsi support.
2019-02-16 15:10:30 +01:00
Bram Moolenaar
2a78b7c704
patch 8.1.0876: completion match not displayed when popup menu is not shown
...
Problem: Completion match not displayed when popup menu is not shown.
Solution: Call update_screen() when not displaying the popup menu to show
the inserted match. (Ken Takata, Hirohito Higashi)
2019-02-05 20:12:06 +01:00
Bram Moolenaar
375e339007
patch 8.1.0864: cannot have a local value for 'scrolloff' and 'sidescrolloff'
...
Problem: Cannot have a local value for 'scrolloff' and 'sidescrolloff'.
(Gary Holloway)
Solution: Make 'scrolloff' and 'sidescrolloff' global-local. (mostly by
Aron Widforss, closes #3539 )
2019-01-31 18:26:10 +01:00
Bram Moolenaar
77255cab74
patch 8.1.0860: debug lines left in the code
...
Problem: Debug lines left in the code.
Solution: Delete the lines.
2019-01-31 14:29:42 +01:00
Bram Moolenaar
4b47162cce
patch 8.1.0857: indent functionality is not separated
...
Problem: Ignore functionality is not separated.
Solution: Move indent functionality into a new file. (Yegappan Lakshmanan,
closes #3886 )
2019-01-31 13:48: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
cb574f4154
patch 8.1.0822: peeking and flushing output slows down execution
...
Problem: Peeking and flushing output slows down execution.
Solution: Do not update the mode message when global_busy is set. Do not
flush when only peeking for a character. (Ken Takata)
2019-01-25 22:29:57 +01:00
Bram Moolenaar
135059724f
patch 8.1.0805: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 1.
2019-01-24 15:04:48 +01:00
Bram Moolenaar
9e26f7d31f
patch 8.1.0792: bad display if opening cmdline window from Insert completion
...
Problem: Popup menu is displayed on top of the cmdline window if it is
opened from Insert completion. (Bjorn Linse)
Solution: Remove the popup menu. Restore the cursor position.
(closes #3838 )
2019-01-22 22:08:09 +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
ae654385df
patch 8.1.0768: updating completions may cause the popup menu to flicker
...
Problem: Updating completions may cause the popup menu to flicker.
Solution: Avoid updating the text below the popup menu before drawing the
popup menu.
2019-01-17 21:09:05 +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
c3c3158756
patch 8.1.0728: cannot avoid breaking after a single space.
...
Problem: Cannot avoid breaking after a single space.
Solution: Add the 'p' flag to 'formatoptions'. (Tom Ryder)
2019-01-11 22:15:05 +01:00
Bram Moolenaar
535d5b653a
patch 8.1.0726: redrawing specifically for conceal feature
...
Problem: Redrawing specifically for conceal feature.
Solution: Use generic redrawing methods.
2019-01-11 20:45:36 +01:00
Bram Moolenaar
cee9bc2e3d
patch 8.1.0716: get warning message when 'completefunc' returns nothing
...
Problem: Get warning message when 'completefunc' returns nothing.
Solution: Allow for returning v:none to suppress the warning message.
(Yasuhiro Matsumoto, closes #3789 )
2019-01-11 13:02:23 +01:00
Bram Moolenaar
ae12f4bad3
patch 8.1.0708: third argument for redrawWinline() is always FALSE
...
Problem: Third argument for redrawWinline() is always FALSE.
Solution: Drop the argument. (neovim #9479 )
2019-01-09 20:51:04 +01:00
Bram Moolenaar
6d11f3b891
patch 8.1.0699: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Add a dummy init.
2019-01-06 17:44:38 +01:00
Bram Moolenaar
8ad16da729
patch 8.1.0696: when test_edit fails 'insertmode' may not be reset
...
Problem: When test_edit fails 'insertmode' may not be reset and the next
test may get stuck. (James McCoy)
Solution: Always reset 'insertmode' after executing a test. Avoid that an
InsertCharPre autocommand or a 'complete' function can change the
state. (closes #3768 )
2019-01-06 15:29:57 +01:00
Bram Moolenaar
196d157f12
patch 8.1.0682: text properties not adjusted when backspacing replaced text
...
Problem: Text properties are not adjusted when backspacing replaced text.
Solution: Keep text properties on text restored in replace mode.
2019-01-02 23:47:18 +01:00
Bram Moolenaar
33c8ca923e
patch 8.1.0681: text properties as not adjusted for deleted text
...
Problem: Text properties as not adjusted for deleted text.
Solution: Adjust text properties when backspacing to delete text.
2019-01-02 18:00:27 +01:00
Bram Moolenaar
5d24a2257e
patch 8.1.0629: "gn" selects the wrong text with a multi-line match
...
Problem: "gn" selects the wrong text with a multi-line match.
Solution: Get the end position from searchit() directly. (closes #3695 )
2018-12-23 19:10:09 +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
98aefe7c32
patch 8.1.0579: cannot attach properties to text
...
Problem: Cannot attach properties to text.
Solution: First part of adding text properties.
2018-12-13 22:20:09 +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
4dbc262764
patch 8.1.0504: when CTRL-C is mapped it triggers InsertLeave
...
Problem: When CTRL-C is mapped it triggers InsertLeave.
Solution: Make CTRL-C behave the same way when typed or used in a mapping.
2018-11-02 11:59:15 +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
90a997987d
patch 8.1.0372: screen updating slow when 'cursorline' is set
...
Problem: Screen updating slow when 'cursorline' is set.
Solution: Only redraw the old and new cursor line, not all lines.
2018-09-12 21:52:18 +02:00
Bram Moolenaar
9fa9506853
patch 8.1.0256: using setline() in TextChangedI splits undo
...
Problem: Using setline() in TextChangedI splits undo.
Solution: Use another solution for undo not working properly.
2018-08-08 22:08:32 +02:00
Bram Moolenaar
ee380ae376
patch 8.1.0246: build failure without the +eval feature
...
Problem: Build failure without the +eval feature.
Solution: Add #ifdef
2018-08-07 19:32:52 +02:00
Bram Moolenaar
91d2e783b4
patch 8.1.0245: calling setline() in TextChangedI autocmd breaks undo
...
Problem: Calling setline() in TextChangedI autocmd breaks undo. (Jason
Felice)
Solution: Don't save lines for undo when already saved. (closes #3291 )
2018-08-07 19:05:01 +02:00
Bram Moolenaar
02ab97709d
patch 8.1.0242: Insert mode completion may use an invalid buffer pointer
...
Problem: Insert mode completion may use an invalid buffer pointer.
Solution: Check for ins_buf to be valid. (closes #3290 )
2018-08-07 14:55:09 +02:00
Bram Moolenaar
ded27a1feb
patch 8.1.0233: "safe" argument of call_vim_function() is always FALSE
...
Problem: "safe" argument of call_vim_function() is always FALSE.
Solution: Remove the argument.
2018-08-01 19:06:03 +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
fdd7155fab
patch 8.1.0224: hang in bracketed paste mode when t_PE not encountered
...
Problem: Hang in bracketed paste mode when t_PE not encountered.
Solution: Break out of the loop when got_int is set. (suggested by Christian
Brabandt, closes #3146 )
2018-07-28 23:12:05 +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
c9fe5ab3b0
patch 8.1.0154: crash with "set smarttab shiftwidth=0 softtabstop=-1"
...
Problem: Crash with "set smarttab shiftwidth=0 softtabstop=-1".
Solution: Fall back to using 'tabstop'. (closes #3155 )
2018-07-05 22:27:08 +02:00
Bram Moolenaar
33d5ab3795
patch 8.1.0138: negative value of 'softtabstop' not used correctly
...
Problem: Negative value of 'softtabstop' not used correctly.
Solution: Use get_sts_value(). (Tom Ryder)
2018-07-02 20:51:24 +02:00