summaryrefslogtreecommitdiff
path: root/src/Util.cpp
Commit message (Expand)AuthorAgeFilesLines
* chore: Enable and fix some more warningsJoel Rosdahl2023-03-041-2/+2
* feat: Add quotes around arguments with space in logged command linesJoel Rosdahl2023-02-031-2/+4
* fix: Cache path relativization in preprocessed outputJoel Rosdahl2023-01-291-2/+3
* fix: Fix matching of base directory for MSVCJoel Rosdahl2022-12-231-8/+14
* enhance: Add Util::format_human_readable_diffJoel Rosdahl2022-11-271-0/+7
* feat: Improve Util::format_human_readable_size for small sizesJoel Rosdahl2022-11-271-1/+5
* fix: Fall back to emulation for unsupported posix_fallocate (#1222)Oleg Sidorkin2022-11-141-3/+7
* refactor: Avoid changing loop variable in body of for loopJoel Rosdahl2022-11-101-1/+3
* build: Include limits.h for PATH_MAXJoel Rosdahl2022-10-261-0/+2
* fix: Fix implementation of unsetenv on Windows (#1171)Orgad Shaneh2022-10-051-0/+2
* refactor: Use util::TimePoint for timestampsJoel Rosdahl2022-09-211-6/+3
* fix: Make sure that temporary files always have .tmp. in the nameJoel Rosdahl2022-09-211-1/+2
* feat: Improve logging for Util::clone_hard_link_or_copy_fileJoel Rosdahl2022-09-211-9/+4
* enhance: Improve error messages for Util::copy_fileJoel Rosdahl2022-09-061-2/+4
* refactor: Pass Config instead of Context to Result::WriterJoel Rosdahl2022-09-061-3/+4
* refactor: Use more std::string_viewJoel Rosdahl2022-09-061-7/+7
* fix: Don't fail if object file exists and is unwritableJoel Rosdahl2022-09-051-0/+2
* refactor: Use FMT macro to format exception messagesJoel Rosdahl2022-08-241-30/+32
* chore: Remove now unused Util::{read_fd,read_file,write_file} functionsJoel Rosdahl2022-08-151-137/+0
* refactor: Use util::{read_fd,read_file,write_file} functionsJoel Rosdahl2022-08-151-7/+9
* feat: Improve inode cache robustnessJoel Rosdahl2022-08-051-31/+0
* feat: Move Windows config and cache to LOCALAPPDATA (#1124)Rafael Kitover2022-08-011-12/+10
* chore: Remove redundant include of algorithm headerJoel Rosdahl2022-07-291-8/+6
* refactor: Use [[fallthrough]] attributeJoel Rosdahl2022-06-191-4/+4
* refactor: Use std::clampJoel Rosdahl2022-06-191-0/+2
* feat: Support masquerading as a compiler via copy or hard linkJoel Rosdahl2022-06-101-13/+10
* fix: Add and use Util::{get,set}_umask functionsJoel Rosdahl2022-06-081-3/+15
* enhance: Add util::set_timestamps function for setting mtime/atimeJoel Rosdahl2022-06-081-16/+0
* fix: Use correct umask when populating primary cache from secondaryJoel Rosdahl2022-06-071-9/+2
* Revert "fix: Fall back to copying temporary preprocessed output file"Joel Rosdahl2022-06-071-22/+5
* fix: Fall back to copying temporary preprocessed output fileJoel Rosdahl2022-05-261-5/+22
* chore: Replace nonstd::string_view with std::string_viewJoel Rosdahl2022-05-231-41/+43
* chore: Replace nonstd::optional with std::optionalJoel Rosdahl2022-05-231-7/+5
* refactor: Improve absolute path normalization functionsJoel Rosdahl2022-04-301-11/+16
* fix: Replace skip_last_empty with IncludeDelimiter (#1046)Orgad Shaneh2022-04-121-3/+5
* feat: Support preserving the delimiters on tokenizerOrgad Shaneh2022-04-051-6/+12
* fix: Work around endianness problem in Util::read_text_fileJoel Rosdahl2022-03-191-0/+8
* refactor: Make Util::is_absolute_path_with_prefix return optionalJoel Rosdahl2022-02-271-25/+25
* fix: Make conversion to relative paths more reliable on Windows (#1011)Marius Zwicker2022-02-271-1/+26
* fix: Respect umask when making hard linked files read onlyJoel Rosdahl2022-02-191-1/+3
* refactor: Extract get_umask function to UtilJoel Rosdahl2022-02-191-0/+15
* chore: Touch up Util::read_text_file codeJoel Rosdahl2022-02-191-16/+16
* fix: Support UTF-16LE .rsp files (#1005)vvainola2022-02-191-0/+25
* fix: Fix copying of binary files on Windows (#979)R. Voggenauer2021-12-191-1/+1
* refactor: Simplify code related to send_to_fdJoel Rosdahl2021-11-241-21/+6
* fix: Correct error message in send_to_fdJoel Rosdahl2021-11-241-1/+1
* fix: handle newlines on Windows properlyLuboš Luňák2021-11-231-2/+26
* Don’t use ssize_tJoel Rosdahl2021-07-251-5/+5
* Move code for cleanup, compressing and similar to storage/primaryJoel Rosdahl2021-07-221-47/+0
* Move exceptions.hpp to coreJoel Rosdahl2021-07-201-47/+49