summaryrefslogtreecommitdiffstats
path: root/src/fileio.c
AgeCommit message (Collapse)Author
2019-01-26patch 8.1.0825: code for autocommands is mixed with file I/O codev8.1.0825Bram Moolenaar
Problem: Code for autocommands is mixed with file I/O code. Solution: Move autocommand code to a separate file. (Yegappan Lakshmanan, closes #3863)
2019-01-24patch 8.1.0811: too many #ifdefsv8.1.0811Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter.
2019-01-24patch 8.1.0805: too many #ifdefsv8.1.0805Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 1.
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-18patch 8.1.0773: not all crypt code is testedv8.1.0773Bram Moolenaar
Problem: Not all crypt code is tested. Solution: Disable unused crypt code. Add more test coverage.
2019-01-17patch 8.1.0766: various problems when using Vim on VMSv8.1.0766Bram Moolenaar
Problem: Various problems when using Vim on VMS. Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy)
2019-01-17patch 8.1.0763: nobody is using the Sun Workshop supportv8.1.0763Bram Moolenaar
Problem: Nobody is using the Sun Workshop support. Solution: Remove the Workshop support.
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-12patch 8.1.0729: there is a SourcePre autocommand event but not a SourcePostv8.1.0729Bram Moolenaar
Problem: There is a SourcePre autocommand event but not a SourcePost. Solution: Add the SourcePost autocommand event. (closes #3739)
2018-12-24patch 8.1.0630: "wincmd p" does not work after using an autocmd windowv8.1.0630Bram Moolenaar
Problem: "wincmd p" does not work after using an autocmd window. Solution: Store "prevwin" in aco_save_T. (Christian Brabandt, closes #3690)
2018-11-16patch 8.1.0528: various typos in commentsv8.1.0528Bram Moolenaar
Problem: Various typos in comments. Solution: Fix the typos.
2018-10-14patch 8.1.0475: memory not freed on exit when quit in autocmdv8.1.0475Bram Moolenaar
Problem: Memory not freed on exit when quit in autocmd. Solution: Remember funccal stack when executing autocmd.
2018-10-11patch 8.1.0470: pointer ownership around fname_expand() is unclearv8.1.0470Bram Moolenaar
Problem: Pointer ownership around fname_expand() is unclear. Solution: Allow b_ffname and b_sfname to point to the same allocated memory, only free one. Update comments.
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.0397: no event triggered after updating diffsv8.1.0397Bram Moolenaar
Problem: No event triggered after updating diffs. Solution: Add the DiffUpdated event.
2018-09-13patch 8.1.0377: xdiff doesn't use the Vim memory allocation functionsv8.1.0377Bram Moolenaar
Problem: Xdiff doesn't use the Vim memory allocation functions. Solution: Change the xdl_ defines. Check for out-of-memory. Rename "ignored" to "vim_ignored".
2018-09-10patch 8.1.0362: cannot get the script line number when executing a functionv8.1.0362Bram Moolenaar
Problem: Cannot get the script line number when executing a function. Solution: Store the line number besides the script ID. (Ozaki Kiichi, closes #3362) Also display the line number with ":verbose set".
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-08-11patch 8.1.0268: file type checking has too many #ifdefv8.1.0268Bram Moolenaar
Problem: File type checking has too many #ifdef. Solution: Always define the S_IF macros. (Ken Takata, closes #3306)
2018-08-07patch 8.1.0251: using full path is not supported for 'backupdir'v8.1.0251Bram Moolenaar
Problem: Using a full path is supported for 'directory' but not for 'backupdir'. (Mikolaj Machowski) Solution: Support 'backupdir' as well. (Christian Brabandt, closes #179)
2018-08-01patch 8.1.0230: directly checking 'buftype' valuev8.1.0230Bram Moolenaar
Problem: Directly checking 'buftype' value. Solution: Add the bt_normal() function. (Yegappan Lakshmanan)
2018-07-07patch 8.1.0161: buffer not updated with 'autoread' set if file was deletedv8.1.0161Bram Moolenaar
Problem: Buffer not updated with 'autoread' set if file was deleted. (Michael Naumann) Solution: Don't set the timestamp to zero. (closes #3165)
2018-06-22patch 8.1.0096: inconsistent use of the word autocommandsv8.1.0096Bram Moolenaar
Problem: Inconsistent use of the word autocommands. Solution: Don't use auto-commands or "auto commands".
2018-05-22patch 8.1.0020: cannot tell whether a register is executing or recordingv8.1.0020Bram Moolenaar
Problem: Cannot tell whether a register is being used for executing or recording. Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi, closes #2745) Rename the global variables for consistency. Store the register name in reg_executing.
2018-05-21patch 8.1.0012: misplaced #endifv8.1.0012Bram Moolenaar
Problem: Misplaced #endif. Solution: Move the #endif to after the expression. (David Binderman)
2018-05-01patch 8.0.1781: file names in quickfix window are not shortenedv8.0.1781Bram Moolenaar
Problem: File names in quickfix window are not always shortened. Solution: Shorten the file name when opening the quickfix window. (Yegappan Lakshmanan, closes #2851, closes #2846)
2018-04-30patch 8.0.1777: cannot cleanup before loading another colorschemev8.0.1777Bram Moolenaar
Problem: Cannot cleanup before loading another colorscheme. Solution: Add the ColorSchemePre autocommand event.
2018-04-29patch 8.0.1774: reading very long lines can be slowv8.0.1774Bram Moolenaar
Problem: Reading very long lines can be slow. Solution: Read up to 1 Mbyte at a time to avoid a lot of copying. Add a check for going over the column limit.
2018-04-24patch 8.0.1753: various warnings from a static analyserv8.0.1753Bram Moolenaar
Problem: Various warnings from a static analyser Solution: Add type casts, remove unneeded conditions. (Christian Brabandt, closes #2770)
2018-04-22patch 8.0.1748: CmdlineEnter command uses backslash instead of slashv8.0.1748Bram Moolenaar
Problem: CmdlineEnter command uses backslash instead of slash. Solution: Don't treat the character as a file name. (closes #2837)
2018-04-19patch 8.0.1737: fchown() used when it is not supportedv8.0.1737Bram Moolenaar
Problem: fchown() used when it is not supported. Solution: Add #ifdef.
2018-04-08patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()v8.0.1677Bram Moolenaar
Problem: No compiler warning for wrong format in vim_snprintf(). Solution: Add printf attribute for gcc. Fix reported problems.
2018-04-04patch 8.0.1660: the terminal API "drop" command doesn't support optionsv8.0.1660Bram Moolenaar
Problem: The terminal API "drop" command doesn't support options. Solution: Implement the options.
2018-03-11patch 8.0.1596: no autocommand specifically for opening a terminal windowv8.0.1596Bram Moolenaar
Problem: No autocommand specifically for opening a terminal window. Solution: Add TerminalOpen. (?, closes #2484)
2018-03-11patch 8.0.1595: no autocommand triggered before exitingv8.0.1595Bram Moolenaar
Problem: No autocommand triggered before exiting. Solution: Add the ExitPre autocommand event.
2018-03-04patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
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-10patch 8.0.1494: no autocmd triggered in Insert mode with visible popup menuv8.0.1494Bram Moolenaar
Problem: No autocmd triggered in Insert mode with visible popup menu. Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt, closes #2372, closes #1691) Fix that the TextChanged autocommands are not always triggered when sourcing a script.
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.
2018-01-31patch 8.0.1445: cannot act on edits in the command linev8.0.1445Bram Moolenaar
Problem: Cannot act on edits in the command line. Solution: Add the CmdlineChanged autocommand event. (xtal8, closes #2603, closes #2524)
2017-12-16patch 8.0.1394: cannot intercept a yank commandv8.0.1394Bram Moolenaar
Problem: Cannot intercept a yank command. Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al., closes #2333)
2017-11-18patch 8.0.1308: the "Reading from stdin" message may be undesiredv8.0.1308Bram Moolenaar
Problem: The "Reading from stdin" message may be undesired and there is no easy way to skip it. Solution: Don't show the message with --not-a-term was used.
2017-11-17patch 8.0.1307: compiler warning for ignoring return valuev8.0.1307Bram Moolenaar
Problem: Compiler warning for ignoring return value of ftruncate(). (Tony Mechelynck) Solution: Assign returned value to "ignore".
2017-11-16patch 8.0.1305: writefile() never calls fsync()v8.0.1305Bram Moolenaar
Problem: Writefile() never calls fsync(). Solution: Follow the 'fsync' option with override to enable or disable.
2017-11-16patch 8.0.1300: file permissions may end up wrong when writingv8.0.1300Bram Moolenaar
Problem: File permissions may end up wrong when writing. Solution: Use fchmod() instead of chmod() when possible. Don't truncate until we know we can change the file.
2017-11-10patch 8.0.1284: loading file type detection slows down startupv8.0.1284Bram Moolenaar
Problem: Loading file type detection slows down startup. Solution: Store the last pattern of an autocommand event to make appending quicker.
2017-11-09patch 8.0.1275: CmdlineLeave autocmd prevents fold from openingv8.0.1275Bram Moolenaar
Problem: CmdlineLeave autocmd prevents fold from opening. (Waivek) Solution: Save and restore KeyTyped. (closes #2305)
2017-11-04patch 8.0.1263: others can read the swap file if a user is carelessv8.0.1263Bram Moolenaar
Problem: Others can read the swap file if a user is careless with his primary group. Solution: If the group permission allows for reading but the world permissions doesn't, make sure the group is right.
2017-10-28patch 8.0.1236: Mac features are confusingv8.0.1236Bram Moolenaar
Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)