summaryrefslogtreecommitdiff
path: root/src/fileio.c
AgeCommit message (Collapse)Author
2017-03-16patch 8.0.0466: still macros that should be all-capsBram Moolenaar
Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps.
2017-03-12patch 8.0.0452: some macros are in lower caseBram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
2017-03-12patch 8.0.0451: some macros are in lower caseBram 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-03-12patch 8.0.0448: some macros are in lower caseBram Moolenaar
Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
2017-02-25patch 8.0.0365: might free a dict item that wasn't allocatedBram Moolenaar
Problem: Might free a dict item that wasn't allocated. Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for b:changedtick.
2017-02-17patch 8.0.0334: can't access b:changedtick from a dict referenceBram Moolenaar
Problem: Can't access b:changedtick from a dict reference. Solution: Make changedtick a member of the b: dict. (inspired by neovim #6112)
2017-01-24patch 8.0.0227: crash with ff=dos when first line in file has no CRBram 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 effectBram 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 directoryBram 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.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.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.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.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.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.2229Bram Moolenaar
Problem: Startup test fails on Solaris. Solution: Recognize a character device. (Danek Duvall)
2016-08-09patch 7.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.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.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.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.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.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.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.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.2024Bram Moolenaar
Problem: More buf_valid() calls can be optimized. Solution: Use bufref_valid() instead.
2016-07-01patch 7.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.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.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.1928Bram Moolenaar
Problem: Overwriting pointer argument. Solution: Assign to what it points to. (Dominique Pelle)
2016-06-09patch 7.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.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.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.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.1399Bram Moolenaar
Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code.
2016-02-16patch 7.4.1334Bram Moolenaar
Problem: Many compiler warnings with MingW. Solution: Add type casts. (Yasuhiro Matsumoto)
2016-02-07patch 7.4.1276Bram Moolenaar
Problem: Warning for not using return value of fcntl(). Solution: Explicitly ignore the return value.
2016-01-31patch 7.4.1225Bram Moolenaar
Problem: Still a few old style function declarations. Solution: Make them new style. (Hirohito Higashi)
2016-01-30patch 7.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.1197Bram Moolenaar
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
2016-01-17patch 7.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.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.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.1114Bram Moolenaar
Problem: delete() does not work well with symbolic links. Solution: Recognize symbolik links.
2016-01-16patch 7.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.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.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.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.958Bram Moolenaar
Problem: Vim checks if the directory "$TMPDIR" exists. Solution: Do not check if the name starts with "$".
2015-12-03patch 7.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.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.820Bram Moolenaar
Problem: Invalid memory access in file_pat_to_reg_pat. Solution: Avoid looking before the start of a string. (Dominique Pelle)