summaryrefslogtreecommitdiffstats
path: root/src/misc1.c
AgeCommit message (Collapse)Author
2019-06-09patch 8.1.1509: cmdline_row can become negative, causing a crashv8.1.1509Bram Moolenaar
Problem: Cmdline_row can become negative, causing a crash. Solution: Make sure cmdline_row does not become negagive. (closes #4102)
2019-05-25patch 8.1.1393: unnecessary type castsv8.1.1393Bram Moolenaar
Problem: Unnecessary type casts. Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
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-23patch 8.1.1371: cannot recover from a swap filev8.1.1371Bram Moolenaar
Problem: Cannot recover from a swap file. Solution: Do not expand environment variables in the swap file name. Do not check the extension when we already know a file is a swap file. (Ken Takata, closes 4415, closes #4369)
2019-05-19patch 8.1.1359: text property wrong after :substitute with backslashv8.1.1359Bram Moolenaar
Problem: Text property wrong after :substitute with backslash. Solution: Adjust text property columns when removing backslashes. (closes #4397)
2019-05-19patch 8.1.1351: text property wrong after :substitutev8.1.1351Bram Moolenaar
Problem: Text property wrong after :substitute. Solution: Save for undo before changing any text properties.
2019-05-17patch 8.1.1343: text properties not adjusted for Visual block mode deletev8.1.1343Bram Moolenaar
Problem: Text properties not adjusted for Visual block mode delete. Solution: Call adjust_prop_columns(). (closes #4384)
2019-05-11patch 8.1.1318: code for text changes is in a "misc" filev8.1.1318Bram Moolenaar
Problem: Code for text changes is in a "misc" file. Solution: Move the code to change.c.
2019-05-09patch 8.1.1306: Borland support is outdated and doesn't workv8.1.1306Bram Moolenaar
Problem: Borland support is outdated and doesn't work. Solution: Remove Borland support, there are other (free) compilers available. (Thomas Dziedzic, Ken Takata, closes #4364)
2019-04-10patch 8.1.1143: may pass weird strings to file name expansionv8.1.1143Bram Moolenaar
Problem: May pass weird strings to file name expansion. Solution: Check for matching characters. Disallow control characters.
2019-04-05patch 8.1.1120: cannot easily get directory entry matchesv8.1.1120Bram Moolenaar
Problem: Cannot easily get directory entry matches. Solution: Add the readdir() function. (Yasuhiro Matsumoto, closes #2439)
2019-04-02patch 8.1.1103: MS-Windows: old API calls are no longer neededv8.1.1103Bram Moolenaar
Problem: MS-Windows: old API calls are no longer needed. Solution: Always use the wide functions. (Ken Takata, closes #4199)
2019-03-30patch 8.1.1091: MS-Windows: cannot use multi-byte chars in environment varv8.1.1091Bram Moolenaar
Problem: MS-Windows: cannot use multi-byte chars in environment var. Solution: Use the wide API. (Ken Takata, closes #4008)
2019-03-30patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar
Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
2019-03-16patch 8.1.1011: indent from autoindent not removed from blank linev8.1.1011Bram Moolenaar
Problem: Indent from autoindent not removed from blank line. (Daniel Hahler) Solution: Do not reset did_ai when text follows. (closes #4119)
2019-02-21patch 8.1.0963: illegal memory access when using 'incsearch'v8.1.0963Bram Moolenaar
Problem: Illegal memory access when using 'incsearch'. Solution: Reset highlight_match when changing text. (closes #4022)
2019-02-17patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and others. Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the GUI build. (Hirohito Higashi, closes #3932)
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-31patch 8.1.0857: indent functionality is not separatedv8.1.0857Bram Moolenaar
Problem: Ignore functionality is not separated. Solution: Move indent functionality into a new file. (Yegappan Lakshmanan, closes #3886)
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-20patch 8.1.0785: depending on the configuration some functions are unusedv8.1.0785Bram Moolenaar
Problem: Depending on the configuration some functions are unused. Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle, closes #3822)
2019-01-19patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
2019-01-17patch 8.1.0770: inconsistent use of ELAPSED_FUNCv8.1.0770Bram Moolenaar
Problem: Inconsistent use of ELAPSED_FUNC. Solution: Consistently use ELAPSED_FUNC. Also turn ELAPSED_TYPE into a typedef. (Ozaki Kiichi, closes #3815)
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.0718: a couple compiler warningsv8.1.0718Bram Moolenaar
Problem: A couple compiler warnings. Solution: Rename shadowed variables. Add UNUSED.
2019-01-08patch 8.1.0707: text property columns are not adjusted for changed indentv8.1.0707Bram Moolenaar
Problem: Text property columns are not adjusted for changed indent. Solution: Adjust text properties.
2019-01-02patch 8.1.0681: text properties as not adjusted for deleted textv8.1.0681Bram Moolenaar
Problem: Text properties as not adjusted for deleted text. Solution: Adjust text properties when backspacing to delete text.
2019-01-02patch 8.1.0678: text properties as not adjusted for inserted textv8.1.0678Bram Moolenaar
Problem: Text properties as not adjusted for inserted text. Solution: Adjust text properties when inserting text.
2018-12-31patch 8.1.0671: cursor in the wrong column after auto-formattingv8.1.0671Bram Moolenaar
Problem: Cursor in the wrong column after auto-formatting. Solution: Check for deleting more spaces than adding. (closes #3748)
2018-12-30patch 8.1.0662: needlessly searching for tilde in stringv8.1.0662Bram Moolenaar
Problem: Needlessly searching for tilde in string. Solution: Only check the first character. (James McCoy, closes #3734)
2018-12-13patch 8.1.0579: cannot attach properties to textv8.1.0579Bram Moolenaar
Problem: Cannot attach properties to text. Solution: First part of adding text properties.
2018-12-09patch 8.1.0574: 'commentstring' not used when adding fold marker in Cv8.1.0574Bram Moolenaar
Problem: 'commentstring' not used when adding fold marker in C. Solution: Require white space before middle comment part. (mostly by Hirohito Higashi)
2018-12-07patch 8.1.0570: 'commentstring' not used when adding fold markerv8.1.0570Bram Moolenaar
Problem: 'commentstring' not used when adding fold marker. (Maxim Kim) Solution: Only use empty 'comments' middle when leader is empty. (Christian Brabandt, closes #3670)
2018-11-16patch 8.1.0534: MS-Windows installer uses different $HOME than Vimv8.1.0534Bram Moolenaar
Problem: MS-Windows installer uses different $HOME than Vim. Solution: Use the Vim logic also in the MS-Windows installer. (Ken Takata, closes #3564)
2018-10-07patch 8.1.0466: autocmd test failsv8.1.0466Bram Moolenaar
Problem: Autocmd test fails. Solution: Do call inchar() when flushing typeahead.
2018-09-30patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
2018-09-16patch 8.1.0394: diffs are not always updated correctlyv8.1.0394Bram Moolenaar
Problem: Diffs are not always updated correctly. Solution: When using internal diff update for any changes properly.
2018-09-10patch 8.1.0361: remote user not used for completionv8.1.0361Bram Moolenaar
Problem: Remote user not used for completion. (Stucki) Solution: Use $USER too. (Dominique Pelle, closes #3407)
2018-08-26patch 8.1.0328: inputlist() doesn't work with a timerv8.1.0328Bram Moolenaar
Problem: inputlist() doesn't work with a timer. (Dominique Pelle) Solution: Don't redraw when cmdline_row is zero. (Hirohito Higashi, closes #3239)
2018-08-21patch 8.1.0306: plural messages are not translated properlyv8.1.0306Bram Moolenaar
Problem: Plural messages are not translated properly. Solution: Add more usage of NGETTEXT(). (Sergey Alyoshin)
2018-07-29patch 8.1.0226: too many #ifdefsv8.1.0226Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the +vreplace feature, it's not much code and quite a few #ifdefs.
2018-07-25patch 8.1.0211: expanding a file name "~" results in $HOMEv8.1.0211Bram Moolenaar
Problem: Expanding a file name "~" results in $HOME. (Aidan Shafran) Solution: Change "~" to "./~" before expanding. (closes #3072)
2018-07-07patch 8.1.0159: completion for user names does not work for a prefix.v8.1.0159Bram Moolenaar
Problem: Completion for user names does not work if a prefix is also a full matching name. (Nazri Ramliy) Solution: Accept both full and partial matches. (Dominique Pelle)
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-19patch 8.1.0084: user name completion does not work on MS-Windowsv8.1.0084Bram Moolenaar
Problem: User name completion does not work on MS-Windows. Solution: Use NetUserEnum() to get user names. (Yasuhiro Matsumoto)
2018-05-14patch 8.0.1841: HP-UX does not have setenv()v8.0.1841Bram Moolenaar
Problem: HP-UX does not have setenv(). Solution: Use vim_setenv(). (John Marriott)
2018-05-13patch 8.0.1832: cannot use :unlet for an environment variablev8.0.1832Bram Moolenaar
Problem: Cannot use :unlet for an environment variable. Solution: Make it work. Use unsetenv() if available. (Ken Takata, closes #2855)
2018-05-01patch 8.0.1783: cannot use 256 colors in a MS-Windows consolev8.0.1783Bram Moolenaar
Problem: Cannot use 256 colors in a MS-Windows console. Solution: Add 256 color support. (Nobuhiro Takasaki, closes #2821)
2018-04-24patch 8.0.1758: open_line() returns TRUE/FALSE for success/failurev8.0.1758Bram Moolenaar
Problem: open_line() returns TRUE/FALSE for success/failure. Solution: Return OK or FAIL.