summaryrefslogtreecommitdiffstats
path: root/src/fileio.c
AgeCommit message (Collapse)Author
2017-01-24patch 8.0.0227: crash with ff=dos when first line in file has no CRv8.0.0227Bram Moolenaar
Problem: Crash when 'fileformat' is forced to "dos" and the first line in the file is empty and does not have a CR character. Solution: Don't check for CR before the start of the buffer.
2017-01-23patch 8.0.0224: change to 'fileformats' from autocmd does not take effectv8.0.0224Bram Moolenaar
Problem: When 'fileformats' is changed in a BufReadPre auto command, it does not take effect in readfile(). (Gary Johnson) Solution: Check the value of 'fileformats' after executing auto commands. (Christian Brabandt)
2017-01-13patch 8.0.0177: BufEnter autocommand not fired for a directoryv8.0.0177Bram Moolenaar
Problem: When opening a buffer on a directory and inside a try/catch then the BufEnter event is not triggered. Solution: Return NOTDONE from readfile() for a directory and deal with the three possible return values. (Justin M. Keyes, closes #1375, closes #1353)
2016-09-25patch 8.0.0010v8.0.0010Bram Moolenaar
Problem: Crash when editing file that starts with crypt yeader. (igor2x) Solution: Check for length of text. (Christian Brabandt) Add a test.
2016-09-03patch 7.4.2314v7.4.2314Bram Moolenaar
Problem: No error when deleting an augroup while it's the current one. Solution: Disallow deleting an augroup when it's the current one.
2016-09-03patch 7.4.2313v7.4.2313Bram Moolenaar
Problem: Crash when deleting an augroup and listing an autocommand. (Dominique Pelle) Solution: Make sure deleted_augroup is valid.
2016-09-01patch 7.4.2300v7.4.2300Bram Moolenaar
Problem: Get warning for deleting autocommand group when the autocommand using the group is scheduled for deletion. (Pavol Juhas) Solution: Check for deleted autocommand.
2016-08-29patch 7.4.2293v7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-20patch 7.4.2229v7.4.2229Bram Moolenaar
Problem: Startup test fails on Solaris. Solution: Recognize a character device. (Danek Duvall)
2016-08-09patch 7.4.2189v7.4.2189Bram Moolenaar
Problem: Cannot detect encoding in a fifo. Solution: Extend the stdin way of detecting encoding to fifo. Add a test for detecting encoding on stdin and fifo. (Ken Takata)
2016-07-29patch 7.4.2117v7.4.2117Bram Moolenaar
Problem: Deleting an augroup that still has autocmds does not give a warning. The next defined augroup takes its place. Solution: Give a warning and prevent the index being used for another group name.
2016-07-26patch 7.4.2103v7.4.2103Bram Moolenaar
Problem: Can't have "augroup END" right after ":au!". Solution: Check for the bar character before the command argument.
2016-07-24patch 7.4.2101v7.4.2101Bram Moolenaar
Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
2016-07-19patch 7.4.2077v7.4.2077Bram Moolenaar
Problem: Cannot update 'tabline' when a tab was closed. Solution: Add the TabClosed autocmd event. (partly by Felipe Morales)
2016-07-19patch 7.4.2075v7.4.2075Bram Moolenaar
Problem: No autocommand event to initialize a window or tab page. Solution: Add WinNew and TabNew events. (partly by Felipe Morales)
2016-07-16patch 7.4.2048v7.4.2048Bram Moolenaar
Problem: There is still code and help for unsupported systems. Solution: Remove the code and text. (Hirohito Higashi)
2016-07-14patch 7.4.2035v7.4.2035Bram Moolenaar
Problem: On Solaris with ZFS the ACL may get removed. Solution: Always restore the ACL for Solaris ZFS. (Danek Duvall)
2016-07-10patch 7.4.2024v7.4.2024Bram Moolenaar
Problem: More buf_valid() calls can be optimized. Solution: Use bufref_valid() instead.
2016-07-01patch 7.4.1977v7.4.1977Bram Moolenaar
Problem: With 64 bit changes don't need three calls to sprintf(). Solution: Simplify the code, use vim_snprintf(). (Ken Takata)
2016-07-01patch 7.4.1976v7.4.1976Bram Moolenaar
Problem: Number variables are not 64 bits while they could be. Solution: Add the num64 feature. (Ken Takata)
2016-07-01patch 7.4.1975v7.4.1975Bram Moolenaar
Problem: On MS-Windows large files (> 2Gbyte) cause problems. Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct stat". Use 64 bit system functions if available. (Ken Takata)
2016-06-13patch 7.4.1928v7.4.1928Bram Moolenaar
Problem: Overwriting pointer argument. Solution: Assign to what it points to. (Dominique Pelle)
2016-06-09patch 7.4.1913v7.4.1913Bram Moolenaar
Problem: When ":doautocmd" is used modelines are used even when no autocommands were executed. (Daniel Hahler) Solution: Skip processing modelines. (closes #854)
2016-06-04patch 7.4.1889v7.4.1889Bram Moolenaar
Problem: When umask is set to 0177 Vim can't create temp files. (Lcd) Solution: Also correct umask when using mkdtemp().
2016-05-05patch 7.4.1819v7.4.1819Bram Moolenaar
Problem: Compiler warnings when sprintf() is a macro. Solution: Don't interrupt sprintf() with an #ifdef. (Michael Jarvis, closes #788)
2016-04-20patch 7.4.1754v7.4.1754Bram Moolenaar
Problem: When 'filetype' was set and reloading a buffer which does not cause it to be set, the syntax isn't loaded. (KillTheMule) Solution: Remember whether the FileType event was fired and fire it if not. (Anton Lindqvist, closes #747)
2016-02-23patch 7.4.1399v7.4.1399Bram Moolenaar
Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code.
2016-02-16patch 7.4.1334v7.4.1334Bram Moolenaar
Problem: Many compiler warnings with MingW. Solution: Add type casts. (Yasuhiro Matsumoto)
2016-02-07patch 7.4.1276v7.4.1276Bram Moolenaar
Problem: Warning for not using return value of fcntl(). Solution: Explicitly ignore the return value.
2016-01-31patch 7.4.1225v7.4.1225Bram Moolenaar
Problem: Still a few old style function declarations. Solution: Make them new style. (Hirohito Higashi)
2016-01-30patch 7.4.1206v7.4.1206Bram Moolenaar
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
2016-01-29patch 7.4.1197v7.4.1197Bram Moolenaar
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
2016-01-17patch 7.4.1128v7.4.1128Bram Moolenaar
Problem: MS-Windows: delete() does not recognize junctions. Solution: Add mch_isrealdir() for MS-Windows. Update mch_is_symbolic_link(). (Ken Takata)
2016-01-17patch 7.4.1120v7.4.1120Bram Moolenaar
Problem: delete(x, 'rf') fails if a directory is empty. (Lcd) Solution: Ignore not finding matches in an empty directory.
2016-01-17patch 7.4.1116v7.4.1116Bram Moolenaar
Problem: delete(x, 'rf') does not delete files starting with a dot. Solution: Also delete files starting with a dot.
2016-01-17patch 7.4.1114v7.4.1114Bram Moolenaar
Problem: delete() does not work well with symbolic links. Solution: Recognize symbolik links.
2016-01-16patch 7.4.1107v7.4.1107Bram Moolenaar
Problem: Vim can create a directory but not delete it. Solution: Add an argument to delete() to make it possible to delete a directory, also recursively.
2015-12-31patch 7.4.1009v7.4.1009Bram Moolenaar
Problem: There are still #ifdefs for ARCHIE. Solution: Remove references to ARCHIE, the code was removed in Vim 5.
2015-12-31patch 7.4.1008v7.4.1008Bram Moolenaar
Problem: The OS/2 code pollutes the source while nobody uses it these days. Solution: Drop the support for OS/2.
2015-12-11patch 7.4.965v7.4.965Bram Moolenaar
Problem: On FreeBSD /dev/fd/ files are special. Solution: Use is_dev_fd_file() also for FreeBSD. (Derek Schrock, closes #521)
2015-12-03patch 7.4.958v7.4.958Bram Moolenaar
Problem: Vim checks if the directory "$TMPDIR" exists. Solution: Do not check if the name starts with "$".
2015-12-03patch 7.4.948v7.4.948Bram Moolenaar
Problem: Can't build when the insert_expand feature is disabled. Solution: Add #ifdefs. (Dan Pasanen, closes #499)
2015-10-13patch 7.4.896v7.4.896Bram Moolenaar
Problem: Editing a URL, which netrw should handle, doesn't work. Solution: Avoid changing slashes to backslashes. (Yasuhiro Matsumoto)
2015-08-11patch 7.4.820v7.4.820Bram Moolenaar
Problem: Invalid memory access in file_pat_to_reg_pat. Solution: Avoid looking before the start of a string. (Dominique Pelle)
2015-08-11patch 7.4.817v7.4.817Bram Moolenaar
Problem: Invalid memory access in file_pat_to_reg_pat(). Solution: Use vim_isspace() instead of checking for a space only. (Dominique Pelle)
2015-07-28patch 7.4.799v7.4.799Bram Moolenaar
Problem: Accessing memory before an allocated block. Solution: Check for not going before the start of a pattern. (Dominique Pelle)
2015-07-17patch 7.4.786v7.4.786Bram Moolenaar
Problem: It is not possible for a plugin to adjust to a changed setting. Solution: Add the OptionSet autocommand event. (Christian Brabandt)
2015-07-17patch 7.4.785v7.4.785Bram Moolenaar
Problem: On some systems automatically adding the missing EOL causes problems. Setting 'binary' has too many side effects. Solution: Add the 'fixeol' option, default on. (Pavel Samarkin)
2015-03-31updated for version 7.4.684v7.4.684Bram Moolenaar
Problem: When starting several Vim instances in diff mode, the temp files used may not be unique. (Issue 353) Solution: Add an argument to vim_tempname() to keep the file.
2015-02-27updated for version 7.4.643v7.4.643Bram Moolenaar
Problem: Using the default file format for Mac files. (Issue 77) Solution: Reset the try_mac counter in the right place. (Oswald)