summaryrefslogtreecommitdiff
path: root/src/file.cc
AgeCommit message (Expand)Author
2024-05-12Handle binary path detection errors on non-/proc platformsChris Webb
2024-05-12Fix error handling when reading binary path from /procChris Webb
2024-05-12Fix tests for OpenBSDMaxime Coste
2024-02-28Fix shell command completion fallback to filenameMaxime Coste
2024-02-06Use different hash algorithms for strings and file hashingMaxime Coste
2023-11-28Set replacement file permissions before moving into placeChris Webb
2023-11-26Restore file ownership when editing with root privilegeChris Webb
2023-11-26Fix crash when ':write -method replace' fails to create tempfileChris Webb
2023-04-24Fix crash after multiple terminal resizesJohannes Altmanninger
2023-03-13Merge remote-tracking branch 'krobelus/perror-on-chmod-failure'Maxime Coste
2022-11-19Print OS error when ":write -force" fails to change permissionsJohannes Altmanninger
2022-11-19Accept "cd dir/" again instead of using a subdirectoryJohannes Altmanninger
2022-10-29Fix memory domain for cached command completionMaxime Coste
2022-06-03Only set fd to non-block if there is an EventManagerMaxime Coste
2022-05-10Run EventManager whenever writing to a file descriptor would blockMaxime Coste
2022-03-06Close MappedFile fd using on_scope_end to handle all return pathsMaxime Coste
2022-02-18Do not keep MappedFile fd openedMaxime Coste
2021-08-21Find the executable path on the GNU Hurd, too.Peter Pentchev
2021-07-31Expose BufferedWriterMaxime Coste
2021-07-20Prevent overwriting existing file in :write <explicit filename>Maxime Coste
2021-05-28Support opening files bigger than 2 GiBMaxime Coste
2021-03-12Fix typo in file.ccMaxime Coste
2021-03-11Do not use replace write method when writing to a non-regular fileMaxime Coste
2021-03-03Re-use the Regex VM when completing filenames to reduce allocationsMaxime Coste
2021-01-03Add missing limits includesMaxime Coste
2020-09-18Add illumos/Solaris supportluka null
2020-04-23Fix get_kak_binary_path() for NetBSDKamil Rytarowski
2020-03-22|| -> or for consistencynia
2020-03-22Fix build on NetBSDnia
2019-12-19Update fs status post buffer writeMaxime Coste
2019-12-04Merge remote-tracking branch 'lenormf/reload-buffer-hash'Maxime Coste
2019-12-03src: Reload buffers when their contents' hash changesFrank LENORMAND
2019-11-26src: Check the filesize before calling `mmap()`Frank LENORMAND
2019-07-06Fix build on FreeBSDTobias Kortkamp
2019-05-29Fix BufferedWriter triggering std::terminate on exception when writingMaxime Coste
2019-05-29Fix trailing slash removal code with root directoryMaxime Coste
2019-05-23Do not try to send remaining data on a closed socketMaxime Coste
2019-05-19Strip all trailing slashes in real_path and compact_pathRobert Melton
2019-04-07Add a -to-file <filename> switch to the echo commandMaxime Coste
2019-04-01Buffer writes in blocks of 4Kb when writing buffers to filesMaxime Coste
2019-02-12Check the return value of the rename callMaxime Coste
2019-02-12Introduce a writemethod option to either overwrite or replace filesMaxime Coste
2019-02-12Refactor write_buffer_to_file to use a flags paramMaxime Coste
2019-01-24Replace std::tie with structured bindingsMaxime Coste
2018-07-04src: Add a `-sync` flag to the write commandsFrank LENORMAND
2018-06-20Pass in OpenBSD binary path using preprocessor optiondahlbaek
2018-06-20Remove extraneous include for openbsdPatrick Marchand
2018-06-20Adds openbsd supportPatrick Marchand
2018-05-26Do not expose C++ typeid().name to user facing errors on wrong option typeMaxime Coste
2018-04-06Make error messages more consistentDelapouite