summaryrefslogtreecommitdiffstats
path: root/src/charset.c
AgeCommit message (Collapse)Author
2022-05-22patch 8.2.5004: right shift on negative number does not work as documentedv8.2.5004Bram Moolenaar
Problem: Right shift on negative number does not work as documented. Solution: Use a uvarnumber_T type cast.
2022-05-21patch 8.2.4993: smart/C/lisp indenting is optionalv8.2.4993Bram Moolenaar
Problem: smart/C/lisp indenting is optional, which makes the code more complex, while it only reduces the executable size a bit. Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
2022-05-07patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar
Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-03-09patch 8.2.4531: LGTM warnings for condition and buffer sizev8.2.4531=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: LGTM warnings for condition always true and buffer size too small. Solution: Remove the useless condition. Make the buffer larger. (Goc Dundar, closes #9914)
2022-03-03patch 8.2.4501: with 'showbreak' set cursor displayed in wrong positionv8.2.4501Bram Moolenaar
Problem: With 'showbreak' set and after the end of the line the cursor may be displayed in the wrong position. Solution: Do not apply 'showbreak' after the end of the line. (closes #9884)
2022-02-19patch 8.2.4418: crash when using special multi-byte characterv8.2.4418Bram Moolenaar
Problem: Crash when using special multi-byte character. Solution: Don't use isalpha() for an arbitrary character.
2022-02-16patch 8.2.4402: missing parenthesis may cause unexpected problemsv8.2.4402kylo252
Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. (closes #9788)
2022-01-31patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273Bram Moolenaar
Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
2022-01-08patch 8.2.4038: various code not used when features are disabledv8.2.4038Dominique Pelle
Problem: Various code not used when features are disabled. Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
2021-12-30patch 8.2.3950: going beyond the end of the line with /\%Vv8.2.3950Bram Moolenaar
Problem: Going beyond the end of the line with /\%V. Solution: Check for valid column in getvcol().
2021-12-15patch 8.2.3815: Vim9: cannot have a multi-line dict inside a blockv8.2.3815Bram Moolenaar
Problem: Vim9: cannot have a multi-line dict inside a block. Solution: Do not split the command at a line break, handle NL characters as white space.
2021-11-29patch 8.2.3694: cannot use quotes in the count of an Ex commandv8.2.3694Bram Moolenaar
Problem: Cannot use quotes in the count of an Ex command. Solution: Add getdigits_quoted(). Give an error when misplacing a quote in a range. (closes #9240)
2021-10-16patch 8.2.3522: cannot use \x and \u when setting 'listchars'v8.2.3522Bram Moolenaar
Problem: Cannot use \x and \u when setting 'listchars'. Solution: Support hex and unicode in hex form. (closes #9006)
2021-05-18patch 8.2.2871: unnessary VIM_ISDIGIT() calls, badly indented codev8.2.2871Dominique Pelle
Problem: Unnessary VIM_ISDIGIT() calls, badly indented code. Solution: Call skipdigits() on the next character. Improve indenting. (Dominique Pellé, closes #8227)
2021-04-06patch 8.2.2728: special key names don't work if 'isident' is clearedv8.2.2728Bram Moolenaar
Problem: Special key names don't work if 'isident' is cleared. Solution: Add vim_isNormalIDc() and use it for special key names. (closes #2389)
2021-03-29patch 8.2.2675: directory change in a terminal window shell is not followedv8.2.2675Bram Moolenaar
Problem: Directory change in a terminal window shell is not followed. Solution: Add the 'autoshelldir' option. (closes #6290)
2021-02-15patch 8.2.2518: 'listchars' should be window-localv8.2.2518Bram Moolenaar
Problem: 'listchars' should be window-local. Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz, closes #5206, closes #7850)
2021-01-07patch 8.2.2309: 0o777 not recognized as octalv8.2.2309Bram Moolenaar
Problem: 0o777 not recognized as octal. Solution: Use vim_isodigit(). (Ken Takata, closes #7633, closes #7631)
2020-06-10patch 8.2.0943: displaying ^M or ^J depends on current bufferv8.2.0943Bram Moolenaar
Problem: Displaying ^M or ^J depends on current buffer. Solution: Pass the displayed buffer to transchar(). (closes #6225)
2020-06-02patch 8.2.0886: cannot use octal numbers in scriptversion 4v8.2.0886Bram Moolenaar
Problem: Cannot use octal numbers in scriptversion 4. Solution: Add the "0o" notation. (Ken Takata, closes #5304)
2020-04-12patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar
Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
2020-01-26patch 8.2.0156: various typos in source files and testsv8.2.0156Bram Moolenaar
Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes #5532)
2019-11-30patch 8.1.2368: using old C style commentsv8.1.2368Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-11-09patch 8.1.2281: 'showbreak' cannot be set for one windowv8.1.2281Bram Moolenaar
Problem: 'showbreak' cannot be set for one window. Solution: Make 'showbreak' global-local.
2019-09-15patch 8.1.2036: the str2nr() tests failv8.1.2036Bram Moolenaar
Problem: The str2nr() tests fail. Solution: Add missing part of patch.
2019-08-21patch 8.1.1901: the +insert_expand feature is not always availablev8.1.1901Bram Moolenaar
Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature.
2019-08-20patch 8.1.1891: functions used in one file are globalv8.1.1891Bram Moolenaar
Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
2019-05-27patch 8.1.1411: Coverity warns for divide by zerov8.1.1411Bram Moolenaar
Problem: Coverity warns for divide by zero. Solution: Make sure width is larger than zero.
2019-05-24patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar
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-19patch 8.1.1355: obvious mistakes are accepted as valid expressionsv8.1.1355Bram Moolenaar
Problem: Obvious mistakes are accepted as valid expressions. Solution: Be more strict about parsing numbers. (Yasuhiro Matsumoto, closes #3981)
2019-03-21patch 8.1.1032: warnings from clang static analyzerv8.1.1032Bram Moolenaar
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan) Solution: Fix relevant warnings.
2019-02-16patch 8.1.0932: Farsi support is outdated and unusedv8.1.0932Bram Moolenaar
Problem: Farsi support is outdated and unused. Solution: Delete the Farsi support.
2019-01-26patch 8.1.0826: too many #ifdefsv8.1.0826Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
2019-01-24patch 8.1.0806: too many #ifdefsv8.1.0806Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 2.
2019-01-24patch 8.1.0805: too many #ifdefsv8.1.0805Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 1.
2018-09-30patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
2018-06-23patch 8.1.0105: all tab stops are the samev8.1.0105Bram Moolenaar
Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes #2711)
2018-06-12patch 8.1.0048: vim_str2nr() does not handle numbers close to the maximumv8.1.0048Bram Moolenaar
Problem: vim_str2nr() does not handle numbers close to the maximum. Solution: Check for overflow more precisely. (Ken Takata, closes #2746)
2018-04-25patch 8.0.1765: CTRL-G j in Insert mode is incorrect when 'virtualedit' setv8.0.1765Bram Moolenaar
Problem: CTRL-G j in Insert mode is incorrect when 'virtualedit' is set. Solution: Take coladd into account. (Christian Brabandt, closes #2743)
2018-03-29patch 8.0.1650: too many #ifdefsv8.0.1650Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_LISTCMDS, no reason to leave out buffer commands.
2017-10-28patch 8.0.1230: CTRL-A in Visual mode uses character after selectionv8.0.1230Bram Moolenaar
Problem: CTRL-A in Visual mode uses character after selection. (Nikolai Pavlov) Solution: Check the length before using a character.
2017-10-28patch 8.0.1229: condition in vim_str2nr() is always truev8.0.1229Bram Moolenaar
Problem: Condition in vim_str2nr() is always true. (Nikolai Pavlov) Solution: Remove the condition. (Closes #2259)
2017-09-22patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar
Problem: W_WIDTH() is always the same. Solution: Expand the macro.
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar
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-02patch 8.0.1041: bogus characters when indenting during visual-block appendv8.0.1041Bram Moolenaar
Problem: Bogus characters appear when indenting kicks in while doing a visual-block append. Solution: Recompute when indenting is done. (Christian Brabandt)
2017-04-09patch 8.0.0554: toupper and tolower don't work properly for Turkishv8.0.0554Bram Moolenaar
Problem: Toupper and tolower don't work properly for Turkish when 'casemap' contains "keepascii". (Bjorn Linse) Solution: When 'casemap' contains "keepascii" use ASCII toupper/tolower.
2017-04-08patch 8.0.0552: toupper and tolower don't work properly for Turkishv8.0.0552Bram Moolenaar
Problem: Toupper and tolower don't work properly for Turkish when 'casemap' is empty. (Bjorn Linse) Solution: Check the 'casemap' options when deciding how to upper/lower case.
2017-03-12patch 8.0.0454: compiler warnings for "always true" comparisonv8.0.0454Bram Moolenaar
Problem: Compiler warnings for comparing unsigned char with 256 always being true. (Manuel Ortega) Solution: Add type cast.
2017-03-12patch 8.0.0452: some macros are in lower casev8.0.0452Bram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
2017-03-12patch 8.0.0451: some macros are in lower casev8.0.0451Bram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.