Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | util: Flatten cython tests layout | thegeorg | 2022-06-03 | 1 | -0/+12 | |
| | | | | ref:7427208d08ebeb9e88247fb7dac6445bc814d756 | |||||
* | IGNIETFERRO-1105 Get rid of TAtomic in spin_wait | eeight | 2022-05-23 | 1 | -10/+13 | |
| | | | | ref:788357fd9a851f54e97a8e0f133dcb3c3e275f92 | |||||
* | IGNIETFERRO-1105 Get rid of TAtomic in system/{atexit, event, shellcommand} | eeight | 2022-05-20 | 5 | -39/+57 | |
| | | | | ref:c74bffae7e90dee515f5089979fc050d20a34e4e | |||||
* | IGNIETFERRO-1105 Get rid of TAtomic in unittests | eeight | 2022-05-19 | 4 | -78/+58 | |
| | | | | ref:f4d9cf527b4f26efcc95307ca7b07d1c42ebd11b | |||||
* | IGNIETFERRO-1105 Use std::atomic in spinlock | eeight | 2022-05-17 | 3 | -56/+49 | |
| | | | | ref:dca14f354fc9b9698f83663ceb0e62e797fe98c5 | |||||
* | remove unused includes | tobo | 2022-04-07 | 30 | -84/+18 | |
| | | | | ref:f8c119cf3a796a59ab5be4424e5364ba6a201d40 | |||||
* | util: Fix -Wunused-but-set-variable | kmartynkov | 2022-03-23 | 1 | -2/+0 | |
| | | | | ref:0186c219d9c56c8f183ce0236e33f6d647fe5fa0 | |||||
* | util: Do not define SIZEOF_SIZE_T, as it is not used in our codebase | thegeorg | 2022-03-20 | 2 | -5/+1 | |
| | | | | | | | | | | | | | | codesearch shows [114 usages](https://a.yandex-team.ru/search?search=%5CbSIZEOF_SIZE_T%5Cb,,jC,arcadia,,500) of this macro outside of contrib. None of these usages looks as being util-dependent. Defining this in util triggers `-Wmacro-redefined` whenever `` gets included after our ``. UPD: It turns out that our curl was using this define for a reason, so I have implemented an util-independent solution instead. ref:c80e45c42a9c0ec76eda33e63b560b285e1ee502 | |||||
* | Remove read-only files and directories on Windows (to match behavior on unix) | setser | 2022-03-16 | 2 | -0/+75 | |
| | | | | | | | | | | Current behavior of RemoveDirWithContents does not allow removing directories if any of files in this directory is read-only. This behavior, however, does not allow, for example, to remove temporary directory, in which git repository was created (on *nix systems, however, this problem was not noticed). This PR overrides this behavior. ref:1faf91e233008b4aece4f2b953884b52346ce2be | |||||
* | intermediate changes | arcadia-devtools | 2022-03-15 | 9 | -200/+0 | |
| | | | | ref:ca7a95e8c9a9d780f96497136a152091d54e61b5 | |||||
* | Fix -Wpragma-pack in trie.h | thegeorg | 2022-03-07 | 1 | -1/+13 | |
| | | | | | | | | | | `#include ` and `#include ` modify current `#pragma pack` value and thus trigger `-Wpragma-pack` under clang-cl. As there is no way to implement packed structs via attributes, introduce proper compiler-specific variables in `` and use them to check whether we are compiling with MSVC. ref:e47cdb9c38eb305b9c5bcc5ad719e21ec52eb14c | |||||
* | rm unused includes | tobo | 2022-03-05 | 1 | -8/+0 | |
| | | | | ref:b9f56a64ccc7a4f4980fa176af362932c04214b3 | |||||
* | Enable yet another warning under clang-cl | thegeorg | 2022-03-03 | 2 | -37/+50 | |
| | | | | ref:fdd92250532d24eebbf27cb8f8369eeb88e17df9 | |||||
* | Support std::filesystem::path in Arcadia streams | thegeorg | 2022-03-03 | 1 | -1/+1 | |
| | | | | ref:11bbdd83544b9579747dd12d51395840bda86faf | |||||
* | clang-tidy - move-constructor and move-assignment operators should be marked ↵ | tobo | 2022-02-28 | 2 | -2/+2 | |
| | | | | | | noexcept + pass some args by reference ref:5da43163e6b3c2499597234dc80ad47042259013 | |||||
* | rm unused include | tobo | 2022-02-25 | 1 | -1/+0 | |
| | | | | ref:98e6837fcfff74a0af567f24b8c63f3353a501a1 | |||||
* | fix CLion perf warnings - use const references instead of passing by value | tobo | 2022-02-24 | 4 | -20/+21 | |
| | | | | ref:e94e72a813a3aa41c543fd1d9f7d73f02cca8bc0 | |||||
* | rm unused include | tobo | 2022-02-22 | 1 | -1/+0 | |
| | | | | ref:f0f0572f52d7977841789105c6b51d4ca5ea1382 | |||||
* | Properly attribute err.h replacements as [[noreturn]] | thegeorg | 2022-02-19 | 2 | -9/+12 | |
| | | | | ref:e86419934a6858c3f36f45e15d1e42cc501ea395 | |||||
* | pass string by reference, rm unused include | tobo | 2022-02-19 | 2 | -3/+2 | |
| | | | | ref:b2a9abb354b18c7a8d339a26c1e23fba39e48c06 | |||||
* | [util] fix fstat for archive directories on windows | kikht | 2022-02-17 | 4 | -32/+154 | |
| | | | | | | | | | | | | | | | | | | | Currently TFileStat has a bunch of problems on Windows: 1. Mode computation ORs different types, but file attributes it checks are not mutually exclusive. E.g. it is possible for directory to have both `FILE_ATTRIBUTE_DIRECTORY` and `FILE_ATTRIBUTE_ARCHIVE`, but it will currently lead to invalid `_S_IFDIR | _S_IFREG` mode. 2. Any file with `FILE_ATTRIBUTE_REPARSE_POINT` flag is considered to be symlink. But there are many other types of reparse points even user-defined ones. For more info see https://docs.microsoft.com/en-us/windows/win32/fileio/reparse-point-tags To fix all this we do the following: 1. Add `ReparseTag` field to `TSystemFStat` and fill it for reparse points in `GetStatByHandle`. 2. Refactor `GetWinFileType` out of `GetFileMode` to ensure that we always select only single `S_IFMT` value. 3. Pass reparse tag value into `GetWinFileType` and select `S_IFLNK` only for `IO_REPARSE_TAG_SYMLINK` and `IO_REPARSE_TAG_MOUNT_POINT` tags. The latter one is a bit strange, but this behaviour is aligned with current implementation of `WinReadLink`. 4. Factor `ReadReparsePoint` out of `WinReadLink`. This function uses `DeviceIoControl` to read reparse point data into structures copied from WDK. 5. Add `WinReadReparseTag` that uses `ReadReparsePoint` to extract reparse point tag. We use this approach instead of MSDN-recommended `FindFirstFile` because latter requires file path, but we have file handle at this point. AFAIK golang and python use similar approach for this. 6. Add test for archived directory case. 7. Make symlink nofollow tests run only when symlink creation is possible for current user. Discovered in https://st.yandex-team.ru/ARC-3931 ref:4f6735817b9f85f3351a1021a56dd7eb4606bd65 | |||||
* | TShellCommand::TImpl via TShellCommandOptions | gleb-kov | 2022-02-17 | 2 | -96/+65 | |
| | | | | ref:f149c0bc76521a1273f6a2c155f2bd116141b1eb | |||||
* | Restoring authorship annotation for <vsevolod@yandex-team.ru>. Commit 2 of 2. | vsevolod | 2022-02-10 | 1 | -6/+6 | |
| | ||||||
* | Restoring authorship annotation for <vsevolod@yandex-team.ru>. Commit 1 of 2. | vsevolod | 2022-02-10 | 1 | -6/+6 | |
| | ||||||
* | Restoring authorship annotation for <pzuev@yandex-team.ru>. Commit 2 of 2. | pzuev | 2022-02-10 | 1 | -1/+1 | |
| | ||||||
* | Restoring authorship annotation for <pzuev@yandex-team.ru>. Commit 1 of 2. | pzuev | 2022-02-10 | 1 | -1/+1 | |
| | ||||||
* | Restoring authorship annotation for <the0@yandex-team.ru>. Commit 2 of 2. | the0 | 2022-02-10 | 1 | -1/+1 | |
| | ||||||
* | Restoring authorship annotation for <the0@yandex-team.ru>. Commit 1 of 2. | the0 | 2022-02-10 | 1 | -1/+1 | |
| | ||||||
* | Restoring authorship annotation for <immartynov@yandex-team.ru>. Commit 2 of 2. | immartynov | 2022-02-10 | 3 | -24/+24 | |
| | ||||||
* | Restoring authorship annotation for <immartynov@yandex-team.ru>. Commit 1 of 2. | immartynov | 2022-02-10 | 3 | -24/+24 | |
| | ||||||
* | Restoring authorship annotation for <marat-khalili@yandex-team.ru>. Commit 2 ↵ | marat-khalili | 2022-02-10 | 2 | -24/+24 | |
| | | | | of 2. | |||||
* | Restoring authorship annotation for <marat-khalili@yandex-team.ru>. Commit 1 ↵ | marat-khalili | 2022-02-10 | 2 | -24/+24 | |
| | | | | of 2. | |||||
* | Restoring authorship annotation for <pppp@yandex-team.ru>. Commit 2 of 2. | pppp | 2022-02-10 | 1 | -21/+21 | |
| | ||||||
* | Restoring authorship annotation for <pppp@yandex-team.ru>. Commit 1 of 2. | pppp | 2022-02-10 | 1 | -21/+21 | |
| | ||||||
* | Restoring authorship annotation for <alyashko@yandex-team.ru>. Commit 2 of 2. | alyashko | 2022-02-10 | 1 | -86/+86 | |
| | ||||||
* | Restoring authorship annotation for <alyashko@yandex-team.ru>. Commit 1 of 2. | alyashko | 2022-02-10 | 1 | -86/+86 | |
| | ||||||
* | Restoring authorship annotation for <muzykantov@yandex-team.ru>. Commit 2 of 2. | muzykantov | 2022-02-10 | 2 | -23/+23 | |
| | ||||||
* | Restoring authorship annotation for <muzykantov@yandex-team.ru>. Commit 1 of 2. | muzykantov | 2022-02-10 | 2 | -23/+23 | |
| | ||||||
* | Restoring authorship annotation for <earwin@yandex-team.ru>. Commit 2 of 2. | earwin | 2022-02-10 | 2 | -12/+12 | |
| | ||||||
* | Restoring authorship annotation for <earwin@yandex-team.ru>. Commit 1 of 2. | earwin | 2022-02-10 | 2 | -12/+12 | |
| | ||||||
* | Restoring authorship annotation for <alex@yandex-team.ru>. Commit 2 of 2. | alex | 2022-02-10 | 2 | -19/+19 | |
| | ||||||
* | Restoring authorship annotation for <alex@yandex-team.ru>. Commit 1 of 2. | alex | 2022-02-10 | 2 | -19/+19 | |
| | ||||||
* | Restoring authorship annotation for <otarakan@yandex-team.ru>. Commit 2 of 2. | otarakan | 2022-02-10 | 1 | -6/+6 | |
| | ||||||
* | Restoring authorship annotation for <otarakan@yandex-team.ru>. Commit 1 of 2. | otarakan | 2022-02-10 | 1 | -6/+6 | |
| | ||||||
* | Restoring authorship annotation for <giraffe@yandex-team.ru>. Commit 2 of 2. | giraffe | 2022-02-10 | 1 | -2/+2 | |
| | ||||||
* | Restoring authorship annotation for <giraffe@yandex-team.ru>. Commit 1 of 2. | giraffe | 2022-02-10 | 1 | -2/+2 | |
| | ||||||
* | Restoring authorship annotation for <nocomer@yandex-team.ru>. Commit 2 of 2. | nocomer | 2022-02-10 | 3 | -22/+22 | |
| | ||||||
* | Restoring authorship annotation for <nocomer@yandex-team.ru>. Commit 1 of 2. | nocomer | 2022-02-10 | 3 | -22/+22 | |
| | ||||||
* | Restoring authorship annotation for <muhden@yandex-team.ru>. Commit 2 of 2. | muhden | 2022-02-10 | 4 | -12/+12 | |
| | ||||||
* | Restoring authorship annotation for <muhden@yandex-team.ru>. Commit 1 of 2. | muhden | 2022-02-10 | 4 | -12/+12 | |
| |