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
Bram Moolenaar
b41bf8e6b4
patch 8.0.0791: terminal colors depend on the system
...
Problem: Terminal colors depend on the system.
Solution: Use the highlight color lookup tables.
2017-07-28 15:11:38 +02:00
Bram Moolenaar
065f41c814
patch 8.0.0760: terminal window colors wrong with 'termguicolors'
...
Problem: Terminal window colors wrong with 'termguicolors'.
Solution: Add 'termguicolors' support.
2017-07-23 18:07:56 +02:00
Bram Moolenaar
26af85d97b
patch 8.0.0755: terminal window does not have colors in the GUI
...
Problem: Terminal window does not have colors in the GUI.
Solution: Lookup the GUI color.
2017-07-23 16:45:10 +02:00
Bram Moolenaar
eeac677886
patch 8.0.0754: terminal window does not support colors
...
Problem: Terminal window does not support colors.
Solution: Lookup the color attribute.
2017-07-23 15:48:37 +02:00
Bram Moolenaar
ea20de8146
patch 8.0.0673: build failure without conceal feature
...
Problem: Build failure without conceal feature.
Solution: Add #ifdef.
2017-06-24 22:52:24 +02:00
Bram Moolenaar
cc0750dc6e
patch 8.0.0672: third item of synconcealed() changes too often
...
Problem: Third item of synconcealed() changes too often. (Dominique Pelle)
Solution: Reset the sequence number at the start of each line.
2017-06-24 22:29:24 +02:00
Bram Moolenaar
c768a208ca
patch 8.0.0653: the default highlight for QuickFixLine is not good
...
Problem: The default highlight for QuickFixLine does not work for several
color schemes. (Manas Thakur)
Solution: Make the default use the old color. (closes #1780 )
2017-06-22 16:04:27 +02:00
Bram Moolenaar
06f1ed2f78
patch 8.0.0647: syntax highlighting can make cause a freeze
...
Problem: Syntax highlighting can make cause a freeze.
Solution: Apply 'redrawtime' to syntax highlighting, per window.
2017-06-18 22:41:03 +02:00
Bram Moolenaar
fbd0b0af68
patch 8.0.0643: when a pattern search is slow Vim becomes unusable
...
Problem: When 'hlsearch' is set and matching with the last search pattern
is very slow, Vim becomes unusable. Cannot quit search by
pressing CTRL-C.
Solution: When the search times out set a flag and don't try again. Check
for timeout and CTRL-C in NFA loop that adds states.
2017-06-17 18:44:21 +02:00
Bram Moolenaar
2102035488
patch 8.0.0641: cannot set a separate highlighting for the quickfix line
...
Problem: Cannot set a separate highlighting for the current line in the
quickfix window.
Solution: Add QuickFixLine. (anishsane, closes #1755 )
2017-06-13 17:21:04 +02:00
Bram Moolenaar
83064068ea
patch 8.0.0640: mismatch between help and actual message
...
Problem: Mismatch between help and actual message for ":syn conceal".
Solution: Change the message to match the help. (Ken Takata)
2017-06-13 16:34:54 +02:00
Bram Moolenaar
1615b36b91
patch 8.0.0616: not always setting 'background' correctly after :hi Normal
...
Problem: When setting the cterm background with ":hi Normal" the value of
'background' may be set wrongly.
Solution: Check that the color is less than 16. Don't set 'background' when
it was set explicitly. (Lemonboy, closes #1710 )
2017-06-04 21:06:09 +02:00
Bram Moolenaar
c96272e30e
patch 8.0.0513: getting name of cleared highlight group is wrong
...
Problem: Getting name of cleared highlight group is wrong. (Matt Wozniski)
Solution: Only skip over cleared names for completion. (closes #1592 )
Also fix that a cleared group causes duplicate completions.
2017-03-26 13:50:09 +02:00
Bram Moolenaar
aab93b12cb
patch 8.0.0481: unnecessary if statement
...
Problem: Unnecessary if statement.
Solution: Remove the statement. Fix "it's" vs "its" mistakes. (Dominique
Pelle, closes #1568 )
2017-03-18 21:37:28 +01:00
Bram Moolenaar
8820b48654
patch 8.0.0466: still macros that should be all-caps
...
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
2017-03-16 17:23:31 +01:00
Bram Moolenaar
1c46544412
patch 8.0.0452: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case.
2017-03-12 20:10:05 +01:00
Bram Moolenaar
91acfffc1e
patch 8.0.0451: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
2017-03-12 19:22:36 +01:00
Bram Moolenaar
8774845ce1
patch 8.0.0447: getting font name does not work on X11
...
Problem: Getting font name does not work on X11.
Solution: Implement gui_mch_get_fontname() for X11. Add more GUI tests.
(Kazunobu Kuriyama)
2017-03-12 17:10:33 +01:00
Bram Moolenaar
a6c07603ca
patch 8.0.0425: build errors when building without folding
...
Problem: Build errors when building without folding.
Solution: Add #ifdefs. (John Marriott)
2017-03-05 21:18:27 +01:00
Bram Moolenaar
95c526e1f6
patch 8.0.0365: might free a dict item that wasn't allocated
...
Problem: Might free a dict item that wasn't allocated.
Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for
b:changedtick.
2017-02-25 14:59:34 +01:00
Bram Moolenaar
79518e2ace
patch 8.0.0334: can't access b:changedtick from a dict reference
...
Problem: Can't access b:changedtick from a dict reference.
Solution: Make changedtick a member of the b: dict. (inspired by neovim
#6112 )
2017-02-17 16:31:35 +01:00
Bram Moolenaar
15eedf1d62
patch 8.0.0220: completion of highlight names misses a few values
...
Problem: Completion for :match does not show "none" and other missing
highlight names.
Solution: Skip over cleared entries before checking the index to be at the
end.
2017-01-22 19:25:33 +01:00
Bram Moolenaar
d7a96151e0
patch 8.0.0214: leaking memory when syntax cluster id is unknown
...
Problem: Leaking memory when syntax cluster id is unknown. (Coverity)
Solution: Free the memory.
2017-01-22 15:28:55 +01:00
Bram Moolenaar
eb46f8fa14
patch 8.0.0204: compiler warns for uninitialized variable
...
Problem: Compiler warns for uninitialized variable. (Tony Mechelynck)
Solution: When skipping set "id" to -1.
2017-01-17 19:48:53 +01:00
Bram Moolenaar
d61e8aaae5
patch 8.0.0201: completion of highlight groups includes cleared names
...
Problem: When completing a group name for a highlight or syntax command
cleared groups are included.
Solution: Skip groups that have been cleared.
2017-01-17 17:44:46 +01:00
Bram Moolenaar
de318c5c35
patch 8.0.0198: some syntax arguments take effect even after "if 0"
...
Problem: Some syntax arguments take effect even after "if 0". (Taylor
Venable)
Solution: Properly skip the syntax statements. Make "syn case" and "syn
conceal" report the current state. Fix that "syn clear" didn't
reset the conceal flag. Add tests for :syntax skipping properly.
2017-01-17 16:27:10 +01:00
Bram Moolenaar
2d02839050
patch 8.0.0157: no completion for :syntax spell and :syntax sync
...
Problem: No command line completion for ":syntax spell" and ":syntax sync".
Solution: Implement the completion. (Dominique Pelle)
2017-01-08 18:28:22 +01:00
Bram Moolenaar
a216255a4f
patch 8.0.0155: ubsan complains about NULL pointer
...
Problem: When sorting zero elements a NULL pointer is passed to qsort(),
which ubsan warns for.
Solution: Don't call qsort() if there are no elements. (Dominique Pelle)
2017-01-08 17:46:20 +01:00
Bram Moolenaar
0cdb72aa38
patch 8.0.0142
...
Problem: Normal colors are wrong with 'termguicolors'.
Solution: Initialize to INVALCOLOR instead of zero. (Ben Jackson, closes
#1344 )
2017-01-02 21:37:40 +01:00
Bram Moolenaar
edf3f97ae2
patch 7.4.2293
...
Problem: Modelines in source code are inconsistant.
Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-29 22:49:24 +02:00
Bram Moolenaar
1b58cdd160
patch 7.4.2243
...
Problem: Warning for assigning negative value to unsigned. (Danek Duvall)
Solution: Make cterm_normal_fg_gui_color and _bg_ guicolor_T, cast to long_u
only when an unsigned is needed.
2016-08-22 23:04:33 +02:00
Bram Moolenaar
58b853460a
patch 7.4.2213
...
Problem: Cannot highlight the "~" lines at the end of a window differently.
Solution: Add the EndOfBuffer highlighting. (Marco Hinz, James McCoy)
2016-08-14 19:54:54 +02:00
Bram Moolenaar
35a4cfa200
patch 7.4.2209
...
Problem: Cannot map <M-">. (Stephen Riehm)
Solution: Solve the memory access problem in another way. (Dominique Pelle)
Allow for using <M-\"> in a string.
2016-08-14 16:07:48 +02:00
Bram Moolenaar
d80629cef0
patch 7.4.1854
...
Problem: When setting 'termguicolors' the Ignore highlighting doesn't work.
(Charles Campbell)
Solution: Handle the color names "fg" and "bg" when the GUI isn't running
and no colors are speficied, fall back to black and white.
2016-05-28 15:53:53 +02:00
Bram Moolenaar
187147aedd
patch 7.4.1812
...
Problem: Failure on startup with Athena and Motif.
Solution: Check for INVALCOLOR. (Kazunobu Kuriyama)
2016-05-01 13:09:57 +02:00