summaryrefslogtreecommitdiffstats
path: root/src/fileio.c
AgeCommit message (Collapse)Author
2021-06-21patch 8.2.3032: build problems with MSVC, other crypt issues with libsodiumv8.2.3032Christian Brabandt
Problem: Build problems with MSVC, other crypt issues with libsodium. Solution: Adjust MSVC makefile. Disable swap file only when 'key' is set. Adjust error message used when key is wrong. Fix Coverity issues. (Christian Brabandt, closes #8420, closes #8411)
2021-06-20patch 8.2.3022: available encryption methods are not strong enoughv8.2.3022Christian Brabandt
Problem: Available encryption methods are not strong enough. Solution: Add initial support for xchaha20. (Christian Brabandt, closes #8394)
2021-06-02patch 8.2.2922: computing array length is done in various waysv8.2.2922K.Takata
Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
2021-05-03patch 8.2.2828: Coverity complains about not checking rename() return valuev8.2.2828Bram Moolenaar
Problem: Coverity complains about not checking the rename() return value. Solution: Add "(void)", can't do anything in case of a failure.
2021-01-04patch 8.2.2294: VMS: a few remaining problemsv8.2.2294Bram Moolenaar
Problem: VMS: a few remaining problems. Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
2021-01-02patch 8.2.2276: list of distributed files is outdatedv8.2.2276Bram Moolenaar
Problem: List of distributed files is outdated. Solution: Update the file list. Minor comment updates.
2020-11-26patch 8.2.2055: MS-Windows: two Vim instances may use the same temp filev8.2.2055Bram Moolenaar
Problem: MS-Windows: two Vim instances may use the same temp file. Solution: Use the process ID for the temp name. (Ken Takata, closes #7378)
2020-10-28patch 8.2.1919: assert_fails() setting emsg_silent changes normal executionv8.2.1919Bram Moolenaar
Problem: Assert_fails() setting emsg_silent changes normal execution. Solution: Use a separate flag in_assert_fails.
2020-10-24patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar
Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-10-11patch 8.2.1832: readdirex() error is displayed as a messagev8.2.1832Bram Moolenaar
Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan) Solution: Use semsg() instead of smsg().
2020-10-03patch 8.2.1793: not consistently giving the "is a directory" warningv8.2.1793Bram Moolenaar
Problem: Not consistently giving the "is a directory" warning. Solution: Adjust check for illegal file name and directory. (Yasuhiro Matsumoto, closes #7067)
2020-09-02patch 8.2.1570: configure check for dirfd() does not work on HPUXv8.2.1570Bram Moolenaar
Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov) Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes #6838)
2020-08-11patch 8.2.1422: the Mac GUI implementation is outdatedv8.2.1422Bram Moolenaar
Problem: The Mac GUI implementation is outdated and probably doesn't even work. Solution: Remove the Mac GUI code. The MacVim project provides the supported Vim GUI version.
2020-07-14patch 8.2.1215: Atari MiNT support is outdatedv8.2.1215Bram Moolenaar
Problem: Atari MiNT support is outdated. Solution: Nobody responded this code is still useful, so let's delete it.
2020-07-05patch 8.2.1128: the write message mentions characters, but it's bytesv8.2.1128Bram Moolenaar
Problem: The write message mentions characters, but it's actually bytes. Solution: Change "C" to "B" and "characters" to "bytes".
2020-06-29patch 8.2.1088: a very long translation might cause a buffer overflowv8.2.1088Bram Moolenaar
Problem: A very long translation might cause a buffer overflow. Solution: Trunctate the message if needed.
2020-06-16patch 8.2.0988: getting directory contents is always case sortedv8.2.0988Bram Moolenaar
Problem: Getting directory contents is always case sorted. Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
2020-06-12patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar
Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.
2020-06-12patch 8.2.0966: 'shortmess' flag "n" not used in two placesv8.2.0966Bram Moolenaar
Problem: 'shortmess' flag "n" not used in two places. Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245, closes #6244)
2020-06-10patch 8.2.0947: readdirex() doesn't handle broken link properlyv8.2.0947Bram Moolenaar
Problem: Readdirex() doesn't handle broken link properly. Solution: Small fixes to readdirex(). (Christian Brabandt, closes #6226, closes #6213)
2020-06-02patch 8.2.0888: readdirex() returns size -2 for a directoryv8.2.0888Bram Moolenaar
Problem: Readdirex() returns size -2 for a directory. Solution: Add missing "else". (Ken Takata, closes #6185)
2020-06-01patch 8.2.0875: getting attributes for directory entries is slowv8.2.0875Bram Moolenaar
Problem: Getting attributes for directory entries is slow. Solution: Add readdirex(). (Ken Takata, closes #5619)
2020-05-30patch 8.2.0853: ml_delete() often called with FALSE argumentv8.2.0853Bram Moolenaar
Problem: ml_delete() often called with FALSE argument. Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
2020-05-07patch 8.2.0711: temp directory might be clearedv8.2.0711Bram Moolenaar
Problem: With a long running Vim the temp directory might be cleared on some systems. Solution: Lock the temp directory. (closes #6044)
2020-03-29patch 8.2.0474: cannot use :write when using a plugin with BufWriteCmdv8.2.0474Bram Moolenaar
Problem: Cannot use :write when using a plugin with BufWriteCmd. Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes #5807)
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)