summaryrefslogtreecommitdiffstats
path: root/src/proto/misc2.pro
AgeCommit message (Collapse)Author
2022-11-18patch 9.0.0901: setting w_leftcol and handling side effects is confusingv9.0.0901Bram Moolenaar
Problem: Setting w_leftcol and handling side effects is confusing. Solution: Use a function to set w_leftcol() and handle side effects.
2022-11-14patch 9.0.0881: cannot get the currently showing mouse shapev9.0.0881Bram Moolenaar
Problem: Cannot get the currently showing mouse shape. Solution: Add getmouseshape().
2022-05-16patch 8.2.4969: changing text in Visual mode may cause invalid memory accessv8.2.4969Bram Moolenaar
Problem: Changing text in Visual mode may cause invalid memory access. Solution: Check the Visual position after making a change.
2022-05-02patch 8.2.4858: K_SPECIAL may be escaped twicev8.2.4858zeertzjq
Problem: K_SPECIAL may be escaped twice. Solution: Avoid double escaping. (closes #10340)
2021-08-06patch 8.2.3301: memory allocation functions don't have their own placev8.2.3301Yegappan Lakshmanan
Problem: Memory allocation functions don't have their own place. Solution: Move memory allocation functions to alloc.c. (Yegappan Lakshmanan, closes #8717)
2021-07-29patch 8.2.3244: Lua 5.3 print() with a long string crashesv8.2.3244Yegappan Lakshmanan
Problem: Lua 5.3 print() with a long string crashes. Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan, closes #8655)
2021-07-27patch 8.2.3228: cannot use a simple block for the :command argumentv8.2.3228Bram Moolenaar
Problem: Cannot use a simple block for the :command argument. (Maarten Tournoij) Solution: Recognize a simple {} block. (issue #8623)
2021-07-10patch 8.2.3139: functions for string manipulation are spread outv8.2.3139Yegappan Lakshmanan
Problem: Functions for string manipulation are spread out. Solution: Move string related functions to a new source file. (Yegappan Lakshmanan, closes #8470)
2020-10-07patch 8.2.1809: mapping some keys with Ctrl does not work properlyv8.2.1809Bram Moolenaar
Problem: Mapping some keys with Ctrl does not work properly. Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
2020-07-31patch 8.2.1329: Vim9: cannot define global function inside :def functionv8.2.1329Bram Moolenaar
Problem: Vim9: cannot define global function inside :def function. Solution: Assign to global variable instead of local. (closes #6584)
2020-06-20patch 8.2.1019: mapping <M-S-a> does not work in the GUIv8.2.1019Bram Moolenaar
Problem: Mapping <M-S-a> does not work in the GUI. Solution: Move the logic to remove the shift modifier to may_remove_shift_modifier() and also use it in the GUI.
2020-06-07patch 8.2.0928: many type casts are used for vim_strnsave()v8.2.0928Bram Moolenaar
Problem: Many type casts are used for vim_strnsave(). Solution: Make the length argument size_t instead of int. (Ken Takata, closes #5633) Remove some type casts.
2020-05-30patch 8.2.0855: GUI tests fail because the test doesn't use a modifierv8.2.0855Bram Moolenaar
Problem: GUI tests fail because the test doesn't use a modifier. Solution: Add "\{xxx}" to be able to encode a modifier.
2020-05-13patch 8.2.0751: Vim9: performance can be improvedv8.2.0751Bram Moolenaar
Problem: Vim9: performance can be improved. Solution: Don't call break. Inline check for list materialize. Make an inline version of ga_grow().
2020-02-14patch 8.2.0256: time and timer related code is spread outv8.2.0256Bram Moolenaar
Problem: Time and timer related code is spread out. Solution: Move time and timer related code to a new file. (Yegappan Lakshmanan, closes #5604)
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-21patch 8.1.2062: the mouse code is spread outv8.1.2062Bram Moolenaar
Problem: The mouse code is spread out. Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan, closes #4959)
2019-09-15patch 8.1.2042: the evalfunc.c file is too bigv8.1.2042Bram Moolenaar
Problem: The evalfunc.c file is too big. Solution: Move getchar() and parse_queued_messages() to getchar.c.
2019-09-13patch 8.1.2027: MS-Windows: problem with ambiwidth charactersv8.1.2027Bram Moolenaar
Problem: MS-Windows: problem with ambiwidth characters. Solution: handle ambiguous width characters in ConPTY on Windows 10 (1903). (Nobuhiro Takasaki, closes #4411)
2019-09-04patch 8.1.1985: code for dealing with paths is spread outv8.1.1985Bram Moolenaar
Problem: Code for dealing with paths is spread out. Solution: Move path related functions from misc1.c to filepath.c. Remove NO_EXPANDPATH.
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-07-28patch 8.1.1766: code for writing session file is spread outv8.1.1766Bram Moolenaar
Problem: Code for writing session file is spread out. Solution: Put it in one file. (Yegappan Lakshmanan, closes #4728)
2019-06-01patch 8.1.1441: popup window filter not yet implementedv8.1.1441Bram Moolenaar
Problem: Popup window filter not yet implemented. Solution: Implement the popup filter.
2019-05-28patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar
Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
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-04-28patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exev8.1.1230Bram Moolenaar
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-02-13patch 8.1.0914: code related to findfile() is spread outv8.1.0914Bram Moolenaar
Problem: Code related to findfile() is spread out. Solution: Put findfile() related code into a new source file. (Yegappan Lakshmanan, closes #3934)
2019-01-13patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar
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-11patch 8.1.0722: cannot build without the virtualedit featurev8.1.0722Bram Moolenaar
Problem: Cannot build without the virtualedit feature. Solution: Make getviscol2() always available.
2018-12-28patch 8.1.0654: when deleting a line text property flags are not adjustedv8.1.0654Bram Moolenaar
Problem: When deleting a line text property flags are not adjusted. Solution: Adjust text property flags in preceding and following lines.
2018-12-21patch 8.1.0614: placing signs can be complicatedv8.1.0614Bram Moolenaar
Problem: Placing signs can be complicated. Solution: Add functions for defining and placing signs. Introduce a group name to avoid different plugins using the same signs. (Yegappan Lakshmanan, closes #3652)
2018-12-18patch 8.1.0607: proto files are not in sync with the source codev8.1.0607Bram Moolenaar
Problem: Proto files are not in sync with the source code. Solution: Update the proto files.
2018-11-11patch 8.1.0519: cannot save and restore the tag stackv8.1.0519Bram Moolenaar
Problem: Cannot save and restore the tag stack. Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan, closes #3604)
2018-04-21patch 8.0.1747: MS-Windows: term_start() does not set job_info() cmdv8.0.1747Bram Moolenaar
Problem: MS-Windows: term_start() does not set job_info() cmd. Solution: Share the code from job_start() to set jv_argv.
2018-04-21patch 8.0.1745: build failure on MS-Windowsv8.0.1745Bram Moolenaar
Problem: Build failure on MS-Windows. Solution: Build job arguments for MS-Windows. Fix allocating job twice.
2018-02-10patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
2018-02-09patch 8.0.1481: clearing a pointer takes two linesv8.0.1481Bram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add vim_clear() to free and clear the pointer.
2018-02-03patch 8.0.1459: cannot handle change of directoryv8.0.1459Bram Moolenaar
Problem: Cannot handle change of directory. Solution: Add the DirChanged autocommand event. (Andy Massimino, closes #888) Avoid changing directory for 'autochdir' too often.
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.
2017-01-26patch 8.0.0243: tolower() does not work if the byte count changesv8.0.0243Bram Moolenaar
Problem: When making a character lower case with tolower() changes the byte cound, it is not made lower case. Solution: Add strlow_save(). (Dominique Pelle, closes #1406)
2016-11-10patch 8.0.0074v8.0.0074Bram Moolenaar
Problem: Cannot make Vim fail on an internal error. Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an internal error without mentioning where.
2016-09-04patch 7.4.2326v7.4.2326Bram Moolenaar
Problem: Illegal memory access when Visual selection starts in invalid position. (Dominique Pelle) Solution: Correct position when needed.
2016-08-14patch 7.4.2209v7.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-06-26patch 7.4.1955v7.4.1955Bram Moolenaar
Problem: Using 32-bit Perl with 64-bit time_t causes memory corruption. (Christian Brabandt) Solution: Use time_T instead of time_t for global variables. (Ken Takata)
2016-01-19patch 7.4.1133v7.4.1133Bram Moolenaar
Problem: Generated function prototypes still have __ARGS(). Solution: Generate function prototypes without __ARGS().
2016-01-18patch 7.4.1131v7.4.1131Bram Moolenaar
Problem: New lines in the viminfo file are dropped. Solution: Copy lines starting with "|". Fix that when using :rviminfo in a function global variables were restored as function-local variables.
2016-01-09patch 7.4.1073v7.4.1073Bram Moolenaar
Problem: Alloc_id depends on numbers, may use the same one twice. It's not clear from the number what it's for. Solution: Use an enum. Add a function to lookup the enum value from the name.
2016-01-07patch 7.4.1061v7.4.1061Bram Moolenaar
Problem: Compiler warning for ignoring return value of fwrite(). Solution: Do use the return value. (idea: Charles Campbell)
2016-01-07patch 7.4.1058v7.4.1058Bram Moolenaar
Problem: It is not possible to test code that is only reached when memory allocation fails. Solution: Add the alloc_fail() function. Try it out with :vimgrep.
2015-09-15patch 7.4.866v7.4.866Bram Moolenaar
Problem: Crash when changing the 'tags' option from a remote command. (Benjamin Fritz) Solution: Instead of executing messages immediately, use a queue, like for netbeans. (James Kolb)