summaryrefslogtreecommitdiff
path: root/src/fileio.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.0278: the +wildignore feature is nearly always availablev9.0.0278Bram Moolenaar2022-08-261-3/+3
| | | | | Problem: The +wildignore feature is nearly always available. Solution: Graduate +wildignore for consistency.
* patch 9.0.0275: BufEnter not triggered when using ":edit" in "nofile" bufferv9.0.0275Bram Moolenaar2022-08-261-1/+1
| | | | | Problem: BufEnter not triggered when using ":edit" in "nofile" buffer. Solution: Let readfile() return NOTDONE. (closes #10986)
* patch 9.0.0272: BufReadCmd not triggered when loading a "nofile" bufferv9.0.0272Bram Moolenaar2022-08-261-0/+4
| | | | | | | Problem: BufReadCmd not triggered when loading a "nofile" buffer. (Maxim Kim) Solution: Call readfile() but bail out before reading a file. (closes #10983)
* patch 9.0.0263: too many #ifdefsv9.0.0263Bram Moolenaar2022-08-251-6/+0
| | | | | Problem: Too many #ifdefs. Solution: Make some functions always available.
* patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar2022-08-141-1/+1
| | | | | Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
* patch 9.0.0063: too many type casts for dict_get functionsv9.0.0063Bram Moolenaar2022-07-231-2/+2
| | | | | Problem: Too many type casts for dict_get functions. Solution: Change the key argument from "char_u *" to "char *".
* patch 8.2.5069: various warnings from clang on MS-Windowsv8.2.5069Yegappan Lakshmanan2022-06-081-1/+0
| | | | | | Problem: Various warnings from clang on MS-Windows. Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan, closes #10538)
* patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928Bram Moolenaar2022-05-091-2/+2
| | | | | Problem: Various white space and cosmetic mistakes. Solution: Change spaces to tabs, improve comments.
* patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar2022-05-071-2/+3
| | | | | Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
* patch 8.2.4704: using "else" after return or break increases indentv8.2.4704=?UTF-8?q?Dundar=20G=C3=B6c?=2022-04-071-22/+21
| | | | | Problem: Using "else" after return or break increases indent. Solution: Remove "else" and reduce indent. (Goc Dundar, closes #10099)
* patch 8.2.4696: delete() with "rf" argument does not report a failurev8.2.4696zeertzjq2022-04-051-1/+4
| | | | | Problem: delete() with "rf" argument does not report a failure. Solution: Return -1 if the directory could not be removed. (closes #10078)
* patch 8.2.4610: some conditions are always truev8.2.4610Bram Moolenaar2022-03-221-1/+1
| | | | | Problem: Some conditions are always true. Solution: Remove the useless conditions. (closes #9993)
* patch 8.2.4430: GTK: crash when using 'guiligatures' and reading from stdinv8.2.4430Amon Sha2022-02-211-2/+7
| | | | | Problem: GTK: crash when using 'guiligatures' and reading from stdin. Solution: Make a copy of the message. (Amon Sha, closes #9719, closes #9814)
* patch 8.2.4402: missing parenthesis may cause unexpected problemsv8.2.4402kylo2522022-02-161-1/+1
| | | | | Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. (closes #9788)
* patch 8.2.4343: when reloading not all properties are detectedv8.2.4343Rob Pilling2022-02-111-15/+35
| | | | | Problem: When reloading not all properties are detected. Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)
* patch 8.2.4142: build failure with normal features without persistent undov8.2.4142Bram Moolenaar2022-01-191-1/+1
| | | | | Problem: Build failure with normal features without persistent undo. Solution: Adjust #ifdef. (closes #9557)
* patch 8.2.4043: using int for second argument of ga_init2()v8.2.4043Bram Moolenaar2022-01-081-1/+1
| | | | | Problem: Using int for second argument of ga_init2(). Solution: Remove unnessary type cast (int) when using sizeof().
* patch 8.2.4010: error messages are spread outv8.2.4010Bram Moolenaar2022-01-051-4/+3
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3986: error messages are spread outv8.2.3986Bram Moolenaar2022-01-021-2/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3983: error messages are spread outv8.2.3983Bram Moolenaar2022-01-021-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3975: error messages are spread outv8.2.3975Bram Moolenaar2022-01-011-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar2022-01-011-2/+2
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3961: error messages are spread outv8.2.3961Bram Moolenaar2021-12-311-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3959: error messages are spread outv8.2.3959Bram Moolenaar2021-12-311-9/+9
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3515: nano time test fails on Mac and FreeBSDv8.2.3515ichizok2021-10-151-9/+10
| | | | | | Problem: Nano time test fails on Mac and FreeBSD. Solution: Also check nano time when not on Linux. (Ozaki Kiichi, closes #9000)
* patch 8.2.3510: changes are only detected with one second accuracyv8.2.3510Leah Neukirchen2021-10-141-4/+20
| | | | | | Problem: Changes are only detected with one second accuracy. Solution: Use the nanosecond time if possible. (Leah Neukirchen, closes #8873, closes #8875)
* patch 8.2.3453: autocmd not executed when editing a directoryv8.2.3453Bram Moolenaar2021-09-221-1/+1
| | | | | | Problem: Autocmd not executed when editing a directory ending in a path separator inside try block. Solution: Return NOTDONE instead of FAIL. (closes #8885)
* patch 8.2.3247: using uninitialized memory when checking for crypt methodv8.2.3247Bram Moolenaar2021-07-291-5/+6
| | | | | Problem: Using uninitialized memory when checking for crypt method. Solution: Check the header length before using the salt and seed.
* patch 8.2.3245: the crypt key may appear in a swap partitionv8.2.3245Bram Moolenaar2021-07-291-4/+0
| | | | | | Problem: The crypt key may appear in a swap partition. Solution: When using xchaha20 use sodium_mlock(). (Christian Brabandt, closes #8657)
* patch 8.2.3079: Powershell core not supported by defaultv8.2.3079Mike Williams2021-06-301-2/+5
| | | | | Problem: Powershell core not supported by default. Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481)
* patch 8.2.3071: shell options are not set properly for PowerShellv8.2.3071Mike Williams2021-06-281-2/+3
| | | | | Problem: Shell options are not set properly for PowerShell. Solution: Use better option defaults. (Mike Willams, closes #8459)
* patch 8.2.3063: crash when switching 'cryptmethod' to xchaha20 with undo filev8.2.3063Bram Moolenaar2021-06-271-0/+8
| | | | | | | Problem: Crash when switching 'cryptmethod' to xchaha20 with an existing undo file. (Martin Tournoij) Solution: Disable reading undo file when decoding can't be done inplace. (issue #8467)
* patch 8.2.3032: build problems with MSVC, other crypt issues with libsodiumv8.2.3032Christian Brabandt2021-06-211-1/+3
| | | | | | | 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)
* patch 8.2.3022: available encryption methods are not strong enoughv8.2.3022Christian Brabandt2021-06-201-2/+38
| | | | | | Problem: Available encryption methods are not strong enough. Solution: Add initial support for xchaha20. (Christian Brabandt, closes #8394)
* patch 8.2.2922: computing array length is done in various waysv8.2.2922K.Takata2021-06-021-1/+1
| | | | | Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
* patch 8.2.2828: Coverity complains about not checking rename() return valuev8.2.2828Bram Moolenaar2021-05-031-1/+1
| | | | | Problem: Coverity complains about not checking the rename() return value. Solution: Add "(void)", can't do anything in case of a failure.
* patch 8.2.2294: VMS: a few remaining problemsv8.2.2294Bram Moolenaar2021-01-041-2/+7
| | | | | Problem: VMS: a few remaining problems. Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
* patch 8.2.2276: list of distributed files is outdatedv8.2.2276Bram Moolenaar2021-01-021-0/+1
| | | | | Problem: List of distributed files is outdated. Solution: Update the file list. Minor comment updates.
* patch 8.2.2055: MS-Windows: two Vim instances may use the same temp filev8.2.2055Bram Moolenaar2020-11-261-2/+9
| | | | | 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)
* patch 8.2.1919: assert_fails() setting emsg_silent changes normal executionv8.2.1919Bram Moolenaar2020-10-281-1/+1
| | | | | Problem: Assert_fails() setting emsg_silent changes normal execution. Solution: Use a separate flag in_assert_fails.
* patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar2020-10-241-1/+1
| | | | | Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
* patch 8.2.1832: readdirex() error is displayed as a messagev8.2.1832Bram Moolenaar2020-10-111-2/+2
| | | | | Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan) Solution: Use semsg() instead of smsg().
* patch 8.2.1793: not consistently giving the "is a directory" warningv8.2.1793Bram Moolenaar2020-10-031-10/+18
| | | | | | Problem: Not consistently giving the "is a directory" warning. Solution: Adjust check for illegal file name and directory. (Yasuhiro Matsumoto, closes #7067)
* patch 8.2.1570: configure check for dirfd() does not work on HPUXv8.2.1570Bram Moolenaar2020-09-021-0/+5
| | | | | Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov) Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes #6838)
* patch 8.2.1422: the Mac GUI implementation is outdatedv8.2.1422Bram Moolenaar2020-08-111-6/+0
| | | | | | | 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.
* patch 8.2.1215: Atari MiNT support is outdatedv8.2.1215Bram Moolenaar2020-07-141-1/+1
| | | | | Problem: Atari MiNT support is outdated. Solution: Nobody responded this code is still useful, so let's delete it.
* patch 8.2.1128: the write message mentions characters, but it's bytesv8.2.1128Bram Moolenaar2020-07-051-2/+2
| | | | | Problem: The write message mentions characters, but it's actually bytes. Solution: Change "C" to "B" and "characters" to "bytes".
* patch 8.2.1088: a very long translation might cause a buffer overflowv8.2.1088Bram Moolenaar2020-06-291-3/+7
| | | | | Problem: A very long translation might cause a buffer overflow. Solution: Trunctate the message if needed.
* patch 8.2.0988: getting directory contents is always case sortedv8.2.0988Bram Moolenaar2020-06-161-5/+32
| | | | | Problem: Getting directory contents is always case sorted. Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
* patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar2020-06-121-1/+1
| | | | | Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.