Bram Moolenaar
f90b6e03a9
patch 8.1.1308: the Normal highlight is not defined when compiled with GUI
...
Problem: The Normal highlight is not defined when compiled with GUI.
Solution: Always define Normal. (Christian Brabandt, closes #4072 )
2019-05-09 19:26:38 +02:00
Bram Moolenaar
eae1b91fea
patch 8.1.1306: Borland support is outdated and doesn't work
...
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 )
2019-05-09 15:12:55 +02:00
Bram Moolenaar
afde13b62b
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
...
Problem: A lot of code is shared between vim.exe and gvim.exe.
Solution: Optionally put the shared code in vim.dll. (Ken Takata,
closes #4287 )
2019-04-28 19:46:49 +02:00
Bram Moolenaar
5431589d25
patch 8.1.1209: clever compiler warns for buffer being too small
...
Problem: Clever compiler warns for buffer being too small.
Solution: Make the buffer bigger (even though it's not really needed).
2019-04-26 22:33:49 +02: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
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
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
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
f86db78fed
patch 8.1.0495: :filter only supports some commands
...
Problem: :filter only supports some commands.
Solution: Add :filter support for more commands. (Marcin Szamotulski,
closes #2856 )
2018-10-25 13:31:37 +02: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
95892c27b2
patch 8.1.0437: may access freed memory when syntax HL times out
...
Problem: May access freed memory when syntax HL times out. (Philipp Gesang)
Solution: Clear b_sst_first when clearing b_sst_array.
2018-09-28 22:26:54 +02:00
Bram Moolenaar
f29c1c6aa3
patch 8.1.0362: cannot get the script line number when executing a function
...
Problem: Cannot get the script line number when executing a function.
Solution: Store the line number besides the script ID. (Ozaki Kiichi,
closes #3362 ) Also display the line number with ":verbose set".
2018-09-10 21:05:02 +02:00
Bram Moolenaar
0a6efcd27d
patch 8.1.0198: there is no hint that syntax is disabled for 'redrawtime'
...
Problem: There is no hint that syntax is disabled for 'redrawtime'.
Solution: Add a message.
2018-07-20 19:56:10 +02:00
Bram Moolenaar
bcf9442307
patch 8.1.0098: segfault when pattern with \z() is very slow
...
Problem: Segfault when pattern with \z() is very slow.
Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be
able to test this. Fix that 'searchhl' resets called_emsg.
2018-06-23 14:21:42 +02:00
Bram Moolenaar
a772baf85a
patch 8.1.0006: syn_id2cterm_bg() may be undefined
...
Problem: syn_id2cterm_bg() may be undefined. (Axel Bender)
Solution: Adjust #ifdef.
2018-05-20 13:35:44 +02:00
Bram Moolenaar
60a68362aa
patch 8.0.1777: cannot cleanup before loading another colorscheme
...
Problem: Cannot cleanup before loading another colorscheme.
Solution: Add the ColorSchemePre autocommand event.
2018-04-30 15:40:48 +02:00
Bram Moolenaar
6185903e3d
patch 8.0.1621: using invalid default value for highlight attribute
...
Problem: Using invalid default value for highlight attribute.
Solution: Use zero instead of -1.
2018-03-20 13:00:25 +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
069dafc1de
patch 8.0.1561: crash with rust syntax highligting
...
Problem: Crash with rust syntax highligting. (Edd Barrett)
Solution: Avoid going past the end of an empty line.
2018-03-03 20:02:19 +01:00
Bram Moolenaar
d4fc577e60
patch 8.0.1544: when using 'termguicolors' SpellBad doesn't show
...
Problem: When using 'termguicolors' SpellBad doesn't show.
Solution: When the GUI colors are not set fall back to the cterm colors.
2018-02-27 14:39:03 +01:00
Bram Moolenaar
33ef5bb0e4
patch 8.0.1543: with 'termguicolors' Normal color doesn't work correctly
...
Problem: With 'termguicolors' Normal color doesn't work correctly.
Solution: Set cterm_normal_bg_gui_color and cterm_normal_fg_color always.
(Kazunobu Kuriyama, closes #981 , closes #2332 )
2018-02-27 13:04:59 +01:00
Bram Moolenaar
36f923014a
patch 8.0.1541: synpat_T is taking too much memory
...
Problem: synpat_T is taking too much memory.
Solution: Reorder members to reduce padding. (Dominique Pelle, closes #2671 )
2018-02-24 21:36:34 +01:00
Bram Moolenaar
cafafb381a
patch 8.0.1531: cannot use 24 bit colors in MS-Windows console
...
Problem: Cannot use 24 bit colors in MS-Windows console.
Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takasaki,
fixes #1270 , fixes #2060 )
2018-02-22 21:07:09 +01:00
Bram Moolenaar
81226e0310
patch 8.0.1528: dead code found
...
Problem: Dead code found.
Solution: Remove the useless lines. (CodeAi, closes #2656 )
2018-02-20 21:44:45 +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
a7c54cfcf8
patch 8.0.1362: terminal window colors wrong when using Terminal highlighting
...
Problem: Terminal window colors wrong when using Terminal highlighting.
Solution: Set ansi_index when setting the default color. Also cache the
color index for Terminal. (Ozaki Kiichi, closes #2393 )
2017-12-01 21:07:20 +01:00
Bram Moolenaar
c3719bd87b
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
...
Problem: balloon_show() only works in terminal when compiled with the GUI.
Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI
specific file.
2017-11-18 22:13:31 +01:00
Bram Moolenaar
c902609f69
patch 8.0.1175: build failure without +termresponse
...
Problem: Build failure without +termresponse.
Solution: Add #ifdef.
2017-10-04 19:35:02 +02:00
Bram Moolenaar
a0a6f2776e
patch 8.0.1174: Mac Terminal.app has wrong color for white
...
Problem: Mac Terminal.app has wrong color for white.
Solution: Use white from the color cube.
2017-10-04 18:04:16 +02:00
Bram Moolenaar
65ed136844
patch 8.0.1164: changing StatusLine highlight does not always work
...
Problem: Changing StatusLine highlight while evaluating 'statusline' may
not change the status line color.
Solution: When changing highlighting while redrawing don't cause another
redraw. (suggested by Ozaki Kiichi, closes #2171 , closes #2120 )
2017-09-30 16:00:14 +02:00
Bram Moolenaar
d371bbe0ab
patch 8.0.1159: typo in #ifdef
...
Problem: Typo in #ifdef.
Solution: Change "PROT" to "PROTO". (Nobuhiro Takasaki, closes #2165 )
2017-09-28 22:35:25 +02:00
Bram Moolenaar
7c456a4511
patch 8.0.1147: fail to build with tiny features
...
Problem: Fail to build with tiny features. (Tony Mechelynck)
Solution: Move #ifdefs.
2017-09-26 11:15:53 +02:00
Bram Moolenaar
452030e530
patch 8.0.1146: redraw when highlight is set with same names
...
Problem: Redraw when highlight is set with same names. (Ozaki Kiichi)
Solution: Only free and save a name when it changed. (closes #2120 )
2017-09-25 22:57:27 +02:00
Bram Moolenaar
76301956f0
patch 8.0.1134: superfluous call to syn_get_final_id()
...
Problem: Superfluous call to syn_get_final_id().
Solution: Remove it. (Ken Takata)
2017-09-22 13:53:37 +02:00
Bram Moolenaar
f3d769a585
patch 8.0.1133: syntax timeout not used correctly
...
Problem: Syntax timeout not used correctly.
Solution: Do not pass the timeout to syntax_start() but set it explicitly.
(Yasuhiro Matsumoto, closes #2139 )
2017-09-22 13:44:56 +02:00
Bram Moolenaar
1b9645de3c
patch 8.0.1123: cannot define a toolbar for a window
...
Problem: Cannot define a toolbar for a window.
Solution: Add a window-local toolbar.
2017-09-17 23:03:31 +02:00
Bram Moolenaar
4033c55eca
patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
...
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.
2017-09-16 20:54:51 +02:00
Bram Moolenaar
c71053c611
patch 8.0.1102: terminal window does not use Normal colors
...
Problem: Terminal window does not use Normal colors.
Solution: For the GUI and when 'termguicolors' is enabled, use the actual
foreground and background colors for the terminal. (Yasuhiro
Matsumoto, closes #2067 )
Use the "Terminal" highlight group if defined.
2017-09-14 00:00:44 +02:00
Bram Moolenaar
414168d97f
patch 8.0.1088: occasional memory use after free
...
Problem: Occasional memory use after free.
Solution: Use the highlight table directly, don't keep a pointer.
2017-09-10 15:21:55 +02:00
Bram Moolenaar
b4ea1914b8
patch 8.0.1078: using freed memory with ":hi Normal"
...
Problem: Using freed memory with ":hi Normal".
Solution: Get "item" again after updating the table.
2017-09-09 15:28:14 +02:00
Bram Moolenaar
99433291b1
patch 8.0.1072: :highlight command causes a redraw even when nothing changed
...
Problem: The :highlight command causes a redraw even when nothing changed.
Solution: Only set "need_highlight_changed" when an attribute changed.
2017-09-08 12:37:47 +02:00
Bram Moolenaar
cf4b00c856
patch 8.0.1038: strike-through text not supported
...
Problem: Strike-through text not supported.
Solution: Add support for the "strikethrough" attribute. (Christian
Brabandt, Ken Takata)
2017-09-02 18:33:56 +02:00
Bram Moolenaar
d6a7b3e6bb
patch 8.0.0970: passing invalid highlight id
...
Problem: if there is no StatusLine highlighting and there is StatusLineNC
or StatusLineTermNC highlighting then an invalid highlight id is
passed to combine_stl_hlt(). (Coverity)
Solution: Check id_S to be -1 instead of zero.
2017-08-19 21:35:35 +02:00
Bram Moolenaar
05fbfdcda4
patch 8.0.0941: existing color schemes don't like StatusLineTerm
...
Problem: Existing color schemes don't work well with StatusLineTerm.
Solution: Don't use "reverse", use fg and bg colors. Also add
StatusLineTermNC.
2017-08-14 22:35:08 +02:00
Bram Moolenaar
bce4f62d30
patch 8.0.0937: user highlight groups not adjusted for terminal
...
Problem: User highlight groups are not adjusted for StatusLineTerm.
Solution: Combine attributes like for StatusLineNC.
2017-08-13 21:37:43 +02:00
Bram Moolenaar
3d9bdfebf1
patch 8.0.0921: terminal window cursor shape not supported in the GUI
...
Problem: Terminal window cursor shape not supported in the GUI.
Solution: Use the terminal window cursor shape in the GUI.
2017-08-12 22:55:58 +02:00
Bram Moolenaar
0cd2a94a40
patch 8.0.0914: highlight attributes are always combined
...
Problem: Highlight attributes are always combined.
Solution: Add the 'nocombine' value to replace attributes instead of
combining them. (scauligi, closes #1963 )
2017-08-12 15:12:30 +02:00
Bram Moolenaar
12d853fae1
patch 8.0.0831: with 8 colors the bold attribute is not set properly
...
Problem: With 8 colors the bold attribute is not set properly.
Solution: Move setting HL_TABLE() out of lookup_color. (closes #1901 )
2017-08-01 18:04:04 +02:00
Bram Moolenaar
3633cf5201
patch 8.0.0825: not easy to see that a window is a terminal window
...
Problem: Not easy to see that a window is a terminal window.
Solution: Add StatusLineTerm highlighting.
2017-07-31 22:29:35 +02:00