summaryrefslogtreecommitdiff
path: root/src/syntax.c
AgeCommit message (Collapse)Author
2017-03-12patch 8.0.0447: getting font name does not work on X11Bram Moolenaar
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-05patch 8.0.0425: build errors when building without foldingBram Moolenaar
Problem: Build errors when building without folding. Solution: Add #ifdefs. (John Marriott)
2017-02-25patch 8.0.0365: might free a dict item that wasn't allocatedBram Moolenaar
Problem: Might free a dict item that wasn't allocated. Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for b:changedtick.
2017-02-17patch 8.0.0334: can't access b:changedtick from a dict referenceBram Moolenaar
Problem: Can't access b:changedtick from a dict reference. Solution: Make changedtick a member of the b: dict. (inspired by neovim #6112)
2017-01-22patch 8.0.0220: completion of highlight names misses a few valuesBram Moolenaar
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-22patch 8.0.0214: leaking memory when syntax cluster id is unknownBram Moolenaar
Problem: Leaking memory when syntax cluster id is unknown. (Coverity) Solution: Free the memory.
2017-01-17patch 8.0.0204: compiler warns for uninitialized variableBram Moolenaar
Problem: Compiler warns for uninitialized variable. (Tony Mechelynck) Solution: When skipping set "id" to -1.
2017-01-17patch 8.0.0201: completion of highlight groups includes cleared namesBram Moolenaar
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-17patch 8.0.0198: some syntax arguments take effect even after "if 0"Bram Moolenaar
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-08patch 8.0.0157: no completion for :syntax spell and :syntax syncBram Moolenaar
Problem: No command line completion for ":syntax spell" and ":syntax sync". Solution: Implement the completion. (Dominique Pelle)
2017-01-08patch 8.0.0155: ubsan complains about NULL pointerBram Moolenaar
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-02patch 8.0.0142Bram Moolenaar
Problem: Normal colors are wrong with 'termguicolors'. Solution: Initialize to INVALCOLOR instead of zero. (Ben Jackson, closes #1344)
2016-08-29patch 7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-22patch 7.4.2243Bram Moolenaar
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-14patch 7.4.2213Bram Moolenaar
Problem: Cannot highlight the "~" lines at the end of a window differently. Solution: Add the EndOfBuffer highlighting. (Marco Hinz, James McCoy)
2016-08-14patch 7.4.2209Bram Moolenaar
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-05-28patch 7.4.1854Bram Moolenaar
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-01patch 7.4.1812Bram Moolenaar
Problem: Failure on startup with Athena and Motif. Solution: Check for INVALCOLOR. (Kazunobu Kuriyama)
2016-04-30patch 7.4.1800Bram Moolenaar
Problem: Unnecessary #ifdef. Solution: Just use USE_24BIT. (Ken Takata)
2016-04-29patch 7.4.1799Bram Moolenaar
Problem: 'guicolors' is a confusing option name. Solution: Use 'termguicolors' instead. (Hirohito Higashi)
2016-04-22patch 7.4.1774Bram Moolenaar
Problem: Cterm true color feature has warnings. Solution: Add type casts.
2016-04-22patch 7.4.1773Bram Moolenaar
Problem: Compiler warnings. (Dominique Pelle) Solution: Add UNUSED. Add type cast. Avoid a buffer overflow.
2016-04-21patch 7.4.1770Bram Moolenaar
Problem: Cannot use true color in the terminal. Solution: Add the 'guicolors' option. (Nikolai Pavlov)
2016-04-02patch 7.4.1695Bram Moolenaar
Problem: ":syn reset" clears the effect ":syn iskeyword". (James McCoy) Solution: Remove clearing the syntax keywords.
2016-03-31patch 7.4.1691Bram Moolenaar
Problem: When switching to a new buffer and an autocommand applies syntax highlighting an ml_get error may occur. Solution: Check "syn_buf" against the buffer in the window. (Alexander von Buddenbrock, closes #676)
2016-03-19patch 7.4.1611Bram Moolenaar
Problem: The versplit feature makes the code uneccessary complicated. Solution: Remove FEAT_VERTSPLIT, always support vertical splits when FEAT_WINDOWS is defined.
2016-03-12patch 7.4.1552Bram Moolenaar
Problem: ":colorscheme" does not use 'packpath'. Solution: Also use in "start" and "opt" directories in 'packpath'.
2016-03-12patch 7.4.1547Bram Moolenaar
Problem: Getting a cterm highlight attribute that is not set results in the string "-1". Solution: Return an empty string. (Taro Muraoka)
2016-03-02patch 7.4.1473Bram Moolenaar
Problem: Can't build without the autocommand feature. Solution: Add #ifdefs. (Yegappan Lakshmanan)
2016-02-23patch 7.4.1399Bram Moolenaar
Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code.
2016-01-30patch 7.4.1214Bram Moolenaar
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
2016-01-29patch 7.4.1200Bram Moolenaar
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
2016-01-29patch 7.4.1199Bram Moolenaar
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
2016-01-19patch 7.4.1142Bram Moolenaar
Problem: Cannot define keyword characters for a syntax file. Solution: Add the ":syn iskeyword" command. (Christian Brabandt)
2016-01-19patch 7.4.1141Bram Moolenaar
Problem: Using searchpair() with a skip expression that uses syntax highlighting sometimes doesn't work. (David Fishburn) Solution: Reset next_match_idx. (Christian Brabandt)
2016-01-05patch 7.4.1054Bram Moolenaar
Problem: Illegal memory access. Solution: Check for missing pattern. (Dominique Pelle)
2016-01-05patch 7.4.1052Bram Moolenaar
Problem: Illegal memory access with weird syntax command. (Dominique Pelle) Solution: Check for column past end of line.
2016-01-02patch 7.4.1036Bram Moolenaar
Problem: Only terminals with up to 256 colors work properly. Solution: Use the 256 color behavior for all terminals with 256 or more colors. (Robert de Bath, closes #504)
2015-08-25patch 7.4.828Bram Moolenaar
Problem: Crash when using "syn keyword x c". (Dominique Pelle) Solution: Initialize the keyword tabble. (Raymond Ko, PR 397)
2015-08-13patch 7.4.825Bram Moolenaar
Problem: Invalid memory access for ":syn keyword x a[". Solution: Do not skip over the NUL. (Dominique Pelle)
2015-08-11patch 7.4.822Bram Moolenaar
Problem: More problems reported by coverity. Solution: Avoid the warnings. (Christian Brabandt)
2015-08-11patch 7.4.814Bram Moolenaar
Problem: Illegal memory access with "sy match a fold". Solution: Check for empty string. (Dominique Pelle)
2015-06-25patch 7.4.760Bram Moolenaar
Problem: Spelling mistakes are not displayed after ":syn spell". Solution: Force a redraw after ":syn spell" command. (Christian Brabandt)
2015-03-21updated for version 7.4.673Bram Moolenaar
Problem: The first syntax entry gets sequence number zero, which doesn't work. (Clinton McKay) Solution: Start at number one. (Bjorn Linse)
2015-03-13updated for version 7.4.660Bram Moolenaar
Problem: Using freed memory when g:colors_name is changed in the colors script. (oni-link) Solution: Make a copy of the variable value.
2015-02-03updated for version 7.4.610Bram Moolenaar
Problem: Some function headers may be missing from generated .pro files. Solution: Add PROTO to the #ifdef.
2014-11-19updated for version 7.4.524Bram Moolenaar
Problem: When using ":ownsyntax" spell checking is messed up. (Issue 78) Solution: Use the window-local option values. (Christian Brabandt)
2014-11-19updated for version 7.4.519Bram Moolenaar
Problem: Crash when using syntax highlighting. Solution: When regprog is freed and replaced, store the result.
2014-06-12updated for version 7.4.318Bram Moolenaar
Problem: Check for whether a highlight group has settings ignores fg and bg color settings. Solution: Also check cterm and GUI color settings. (Christian Brabandt)
2014-03-23updated for version 7.4.212Bram Moolenaar
Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.