summaryrefslogtreecommitdiffstats
path: root/src/map.c
AgeCommit message (Collapse)Author
2021-11-22patch 8.2.3643: header for source file is outdatedv8.2.3643zeertzjq
Problem: Header for source file is outdated. Solution: Make the header more accurate. (closes #9186)
2021-07-30patch 8.2.3252: duplicated code for adding buffer linesv8.2.3252Yegappan Lakshmanan
Problem: Duplicated code for adding buffer lines. Solution: Move code to a common function. Also move map functions to map.c. (Yegappan Lakshmanan, closes #8665)
2021-07-20patch 8.2.3190: error messages are spread outv8.2.3190Bram Moolenaar
Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
2021-07-20patch 8.2.3188: Vim9: argument types are not checked at compile timev8.2.3188Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, also at runtime. (Yegappan Lakshmanan, closes #8587)
2021-06-27patch 8.2.3069: error messages are spread outv8.2.3069Bram Moolenaar
Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
2021-06-02patch 8.2.2922: computing array length is done in various waysv8.2.2922K.Takata
Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
2021-05-03patch 8.2.2826: compiler warnings for int to size_t conversionv8.2.2826Bram Moolenaar
Problem: Compiler warnings for int to size_t conversion. (Randall W. Morris) Solution: Add type casts.
2021-04-30patch 8.2.2819: finishing an abbreviation with multi-byte char may not workv8.2.2819Bram Moolenaar
Problem: Finishing an abbreviation with a multi-byte char may not work. Solution: Escape K_SPECIAL in the typed character. (closes #8160)
2021-04-24patch 8.2.2804: setting buffer local mapping with mapset() changes globalv8.2.2804Bram Moolenaar
Problem: Setting buffer local mapping with mapset() changes global mapping. Solution: Only set the local mapping. (closes #8143)
2021-01-03patch 8.2.2289: Vim9: 'cpo' can become emptyv8.2.2289Bram Moolenaar
Problem: Vim9: 'cpo' can become empty. Solution: Use empty_option instead of an empty string. Update quickfix buffer after restoring 'cpo'. (closes #7608)
2020-12-18patch 8.2.2160: various typosv8.2.2160Bram Moolenaar
Problem: Various typos. Solution: Fix spelling mistakes. (closes #7494)
2020-11-12patch 8.2.1978: making a mapping work in all modes is complicatedv8.2.1978Bram Moolenaar
Problem: Making a mapping work in all modes is complicated. Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282, closes 4784, based on patch by Bjorn Linse)
2020-10-01patch 8.2.1782: Vim9: cannot pass boolean to mapset()v8.2.1782Bram Moolenaar
Problem: Vim9: cannot pass boolean to mapset(). Solution: Use get_tv_bool(). (closes #7041)
2020-09-29patch 8.2.1773: crash when calling mapset() with a list as first argumentv8.2.1773Bram Moolenaar
Problem: Crash when calling mapset() with a list as first argument. Solution: Check for NULL. (closes #7040)
2020-09-02patch 8.2.1577: Vim9: hasmapto()/mapcheck()/maparg() do nottake "true" argv8.2.1577Bram Moolenaar
Problem: Vim9: hasmapto(), mapcheck() and maparg() do not take "true" as argument. Solution: Use tv_get_bool(). (closes #6822, closes #6824)
2020-08-30patch 8.2.1547: various comment problemsv8.2.1547Bram Moolenaar
Problem: Various comment problems. Solution: Update comments.
2020-06-24patch 8.2.1049: Vim9: leaking memory when using continuation linev8.2.1049Bram Moolenaar
Problem: Vim9: leaking memory when using continuation line. Solution: Keep a pointer to the continuation line in evalarg_T. Centralize checking for a next command.
2020-05-27patch 8.2.0832: compiler warning for uninitialized variablev8.2.0832Bram Moolenaar
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) Solution: Add initial value.
2020-05-24patch 8.2.0815: maparg() does not provide enough information for mapset()v8.2.0815Bram Moolenaar
Problem: maparg() does not provide enough information for mapset(). Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified"
2020-05-22patch 8.2.0812: mapset() does not properly handle <> notationv8.2.0812Bram Moolenaar
Problem: mapset() does not properly handle <> notation. Solution: Convert <> codes. (closes #6116)
2020-05-22patch 8.2.0809: build failure with small featuresv8.2.0809Bram Moolenaar
Problem: Build failure with small features. (Tony Mechelynck) Solution: Move "expr" inside #ifdef.
2020-05-22patch 8.2.0807: cannot easily restore a mappingv8.2.0807Bram Moolenaar
Problem: Cannot easily restore a mapping. Solution: Add mapset().
2020-04-30patch 8.2.0670: cannot change window when evaluating 'completefunc'v8.2.0670Bram Moolenaar
Problem: Cannot change window when evaluating 'completefunc'. Solution: Make a difference between not changing text or buffers and also not changing window.
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-04-01patch 8.2.0491: cannot recognize a <script> mapping using maparg()v8.2.0491Bram Moolenaar
Problem: Cannot recognize a <script> mapping using maparg(). Solution: Add the "script" key. (closes #5873)
2020-01-24patch 8.2.0148: mapping related function in wrong source filev8.2.0148Bram Moolenaar
Problem: Mapping related function in wrong source file. Solution: Move the function. Add a few more test cases. (Yegappan Lakshmanan, closes #5528)
2020-01-07patch 8.2.0098: exe stack length can be wrong without being detectedv8.2.0098Bram Moolenaar
Problem: Exe stack length can be wrong without being detected. Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
2019-12-29patch 8.2.0056: execution stack is incomplete and inefficientv8.2.0056Bram Moolenaar
Problem: Execution stack is incomplete and inefficient. Solution: Introduce a proper execution stack and use it instead of sourcing_name/sourcing_lnum. Create a string only when used.
2019-11-02patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar
Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
2019-10-16patch 8.1.2159: some mappings are listed twicev8.1.2159Bram Moolenaar
Problem: Some mappings are listed twice. Solution: Skip mappings duplicated for modifyOtherKeys. (closes #5064)
2019-10-13patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabledv8.1.2145Bram Moolenaar
Problem: Cannot map <C-H> when modifyOtherKeys is enabled. Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use only the first one when modifyOtherKeys has been detected.
2019-09-03patch 8.1.1969: popup window filter is used in all modesv8.1.1969Bram Moolenaar
Problem: Popup window filter is used in all modes. Solution: Add the "filtermode" property.
2019-09-02patch 8.1.1966: some code in options.c fits better elsewherev8.1.1966Bram Moolenaar
Problem: Some code in options.c fits better elsewhere. Solution: Move functions from options.c to other files. (Yegappan Lakshmanan, closes #4889)
2019-08-18patch 8.1.1887: the +cmdline_compl feature is not in the tiny versionv8.1.1887Bram Moolenaar
Problem: The +cmdline_compl feature is not in the tiny version. Solution: Graduate the +cmdline_compl feature.
2019-08-01patch 8.1.1785: map functionality mixed with character inputv8.1.1785Bram Moolenaar
Problem: Map functionality mixed with character input. Solution: Move the map functionality to a separate file. (Yegappan Lakshmanan, closes #4740) Graduate the +localmap feature.