summaryrefslogtreecommitdiffstats
path: root/src/fileio.c
AgeCommit message (Collapse)Author
2020-02-26patch 8.2.0320: no Haiku supportv8.2.0320Bram Moolenaar
Problem: No Haiku support. Solution: Add support for Haiku. (Emir Sari, closes #5605)
2020-02-22patch 8.2.0296: mixing up "long long" and __int64 may cause problemsv8.2.0296Bram Moolenaar
Problem: Mixing up "long long" and __int64 may cause problems. (John Marriott) Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
2020-02-04patch 8.2.0209: function a bit far away from where it's usedv8.2.0209Bram Moolenaar
Problem: Function a bit far away from where it's used. Solution: Move function close to where it's used. (Ken Takata, closes #5569)
2019-12-15patch 8.2.0009: VMS: terminal version doesn't buildv8.2.0009Bram Moolenaar
Problem: VMS: terminal version doesn't build. Solution: Move MIN definition. Adjust #ifdefs. (Zoltan Arpadffy)
2019-12-01patch 8.1.2379: using old C style commentsv8.1.2379Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-12-01patch 8.1.2373: cannot build with +popupwin but without +quickfixv8.1.2373Bram Moolenaar
Problem: Cannot build with +popupwin but without +quickfix. (John Marriott) Solution: Adjust #ifdefs.
2019-11-30patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar
Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
2019-11-17patch 8.1.2313: debugging where a delay comes from is not easyv8.1.2313Bram Moolenaar
Problem: Debugging where a delay comes from is not easy. Solution: Use different values when calling ui_delay().
2019-11-16patch 8.1.2302: :lockmarks does not work for '[ and ']v8.1.2302Bram Moolenaar
Problem: :lockmarks does not work for '[ and ']. Solution: save and restore '[ and '] marks. (James McCoy, closes #5222)
2019-09-28patch 8.1.2094: the fileio.c file is too bigv8.1.2094Bram Moolenaar
Problem: The fileio.c file is too big. Solution: Move buf_write() to bufwrite.c. (Yegappan Lakshmanan, closes #4990)
2019-09-21patch 8.1.2064: MS-Windows: compiler warnings for unused argumentsv8.1.2064Bram Moolenaar
Problem: MS-Windows: compiler warnings for unused arguments. Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963)
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-08-13patch 8.1.1843: might be freeing memory that was not allocatedv8.1.1843Bram Moolenaar
Problem: Might be freeing memory that was not allocated. Solution: Have next_fenc() set the fenc_alloced flag. (closes #4804)
2019-08-01patch 8.1.1789: cannot see file name of preview popup windowv8.1.1789Bram Moolenaar
Problem: Cannot see file name of preview popup window. Solution: Add the file name as the title.
2019-07-31patch 8.1.1780: warning for file no longer available is repeatedv8.1.1780Bram Moolenaar
Problem: Warning for file no longer available is repeated every time Vim is focused. (Brian Armstrong) Solution: Only give the message once. (closes #4748)
2019-07-23patch 8.1.1736: viminfo support is spread outv8.1.1736Bram Moolenaar
Problem: Viminfo support is spread out. Solution: Move more viminfo code to viminfo.c. (Yegappan Lakshmanan, closes #4717) Reorder code to make most functions static.
2019-06-15patch 8.1.1547: functionality of bt_nofile() is confusingv8.1.1547Bram Moolenaar
Problem: Functionality of bt_nofile() is confusing. Solution: Split into bt_nofile() and bt_nofilename().
2019-06-08patch 8.1.1498: ":write" increments b:changedtick even though nothing changedv8.1.1498Bram Moolenaar
Problem: ":write" increments b:changedtick even though nothing changed. (Daniel Hahler) Solution: Only increment b:changedtick if the modified flag is reset.
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-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.1386: unessesary type casts for lalloc()v8.1.1386Bram Moolenaar
Problem: Unessesary type casts for lalloc(). Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
2019-05-24patch 8.1.1385: signed/unsigned compiler warningv8.1.1385Bram Moolenaar
Problem: Signed/unsigned compiler warning. Solution: Use STRLEN() instead of strlen().
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-24patch 8.1.1379: filechanged test hangsv8.1.1379Bram Moolenaar
Problem: Filechanged test hangs. Solution: Do not check 'autoread'.
2019-05-24patch 8.1.1378: delete() can not handle a file name that looks like a patternv8.1.1378Bram Moolenaar
Problem: Delete() can not handle a file name that looks like a pattern. Solution: Use readdir() instead of appending "/*" and expanding wildcards. (Ken Takata, closes #4424, closes #696)
2019-05-24patch 8.1.1374: check for file changed triggers too oftenv8.1.1374Bram Moolenaar
Problem: Check for file changed triggers too often. Solution: Don't use "b_p_ar" when it is negative.
2019-05-18patch 8.1.1349: if writing runs into conversion error backup file is deletedv8.1.1349Bram Moolenaar
Problem: If writing runs into a conversion error the backup file is deleted. (Arseny Nasokin) Solution: Don't delete the backup file is the file was overwritten and a conversion error occurred. (Christian Brabandt, closes #4387)
2019-04-28patch 8.1.1231: asking about existing swap file unnecessarilyv8.1.1231Bram Moolenaar
Problem: Asking about existing swap file unnecessarily. Solution: When it is safe, delete the swap file. Remove HAS_SWAP_EXISTS_ACTION, it is always defined. (closes #1237)
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-03-21patch 8.1.1032: warnings from clang static analyzerv8.1.1032Bram Moolenaar
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan) Solution: Fix relevant warnings.
2019-02-21patch 8.1.0961: Mac: fsync may fail sometimesv8.1.0961Bram Moolenaar
Problem: Mac: fsync may fail sometimes. Solution: Do not check errno. (Yee Cheng Chin, closes #4025)
2019-02-20patch 8.1.0957: Mac: fsync fails on network sharev8.1.0957Bram Moolenaar
Problem: Mac: fsync fails on network share. Solution: Check for ENOTSUP. (Yee Cheng Chin, closes #4016)
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-15patch 8.1.0927: USE_CR is never definedv8.1.0927Bram Moolenaar
Problem: USE_CR is never defined. Solution: Remove usage of USE_CR. (Ken Takata, closes #3958)
2019-02-14patch 8.1.0915: fsync() may not work properly on Macv8.1.0915Bram Moolenaar
Problem: fsync() may not work properly on Mac. Solution: Use fcntl() with F_FULLFSYNC. (suggested by Justin M. Keyes)
2019-02-12patch 8.1.0904: USE_LONG_FNAME never definedv8.1.0904Bram Moolenaar
Problem: USE_LONG_FNAME never defined. Solution: Remove using USE_LONG_FNAME. (Ken Takata, closes #3938)
2019-02-10patch 8.1.0895: MS-Windows: dealing with temp name encoding not quite rightv8.1.0895Bram Moolenaar
Problem: MS-Windows: dealing with temp name encoding not quite right. Solution: Use more wide functions. (Ken Takata, closes #3921)
2019-02-08patch 8.1.0882: checking for FEAT_MBYTE which doesn't exist anymorev8.1.0882Bram Moolenaar
Problem: Checking for FEAT_MBYTE which doesn't exist anymore. (Christ van Willegen) Solution: Remove it.
2019-02-08patch 8.1.0879: MS-Windows: temp name encoding can be wrongv8.1.0879Bram Moolenaar
Problem: MS-Windows: temp name encoding can be wrong. Solution: Convert from active code page to 'encoding'. (Ken Takata, closes #3520, closes #1698)
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)