aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix various issuespogorelov2024-12-066-9/+8
| | | | commit_hash:50f729d3716d8b1f5b852cfc008e228172fb79c4
* Intermediate changesrobot-piglet2024-12-061-7/+7
| | | | commit_hash:87c6f9898873ec96e4aa9dc4c7df86e67a11e313
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-12-051-1/+1
| | | | commit_hash:7dbe58a7a8a7980241f20a2e53ace94a62c541df
* YT-23698: Check size of ref counted objectslukyan2024-12-041-0/+4
| | | | commit_hash:97159680fa733af4212c094e917bc78a47eb0c15
* Intermediate changesrobot-piglet2024-12-044-0/+1462
| | | | commit_hash:cbf5ab65e5ba1b2d286f974a6b6b463ed152b381
* YTORM: Validate pivot keys in slicer; add a comment about proxy_role optiondgolear2024-12-031-1/+1
| | | | commit_hash:2404d2a79d4961dedf17f7d0cbec38bcabb78014
* Intermediate changesrobot-piglet2024-12-031-1/+1
| | | | commit_hash:6f0d83406a245425d156e961c3519d5bd822857a
* Add missing configs + add mold and coverage to piglet YDB configmaxim-yurchuk2024-12-025-6/+138
| | | | commit_hash:c0112c0409a0972eb859b32a014980020df7ce0a
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-12-021-1/+1
| | | | commit_hash:fac37a51fb5b0fdd660beccb43a2a8861308e39f
* Intermediate changesrobot-piglet2024-12-014-85/+130
| | | | commit_hash:320ab736dea5dae74e2ec8c344fb915be4c4df99
* YT-21233: Introduce ToAttributeValue cpo which removes dependency of ↵arkady-e1ppa2024-11-297-32/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | TErrorAttribute from yt/core Plan: 1) Remove `IAttributedDictionary` type from the public API. \+ 2) Remove `Set` method from public API in favor of `operator<<=`. \+ 3) Adopt `ConvertTo<T>` (or other name) CPO with proper extension into `NYT::NYson::ConvertTo` from `yt/core`. 4) Use CPO from (3) to eliminate direct dependency on `yt/core` of `Get/Find` methods from attributes API. 5) Adopt `ConvertToYsonString` (or other name) CPO with proper extension into `yt/core` customisations. 6) Use CPO from (5) to eliminate direct dependency on `yt/core` of `TErrorAttribute` ctor. 7) Swap attributes implementation to the one which doesn’t use `IAttributeDictionary`. 8) At this point `stripped_error*` can be moved to library/cpp/yt and so can recursively dependant on THROW macro methods `Get/Find/…`. 9) Adjust CPO’s to work with `std::string` instead of `TYsonString` assuming text format to be used (maybe `TString` for now). 10) Remove dep of `library/cpp/yt/error` on `yson` entirely. This pr addresses 5-6 steps of plan. Below is a brief explanation of design decisions. We also expressed everything related to key-value code in terms of aliases of `TErrorAttribute` so that later we could make a relatively simple switch to `std::string`. We expect to do steps 7-8 in the next pull request as everything should be ready commit_hash:de9feca2bd24d823b33d904ef0fa5f4856f9b020
* Intermediate changesrobot-piglet2024-11-296-5134/+0
| | | | commit_hash:60e005cdf76d5bff2a370a6b8f35ef4f6792f414
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-11-291-1/+1
| | | | commit_hash:81fb555c66d5ab8c5c260658be43bb7b61ab2622
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-11-261-1/+1
| | | | commit_hash:d73b9a2f472fbcf5f3ebc54787a964c15fba2504
* YDB Import 625robot-ydb-importer2024-11-2212-406/+0
| | | | commit_hash:bbf24592c367fa158fbc53e041fe367374d0750e
* Signed Enumeratedeep2024-11-221-5/+12
| | | | commit_hash:af73a3ea146e2eb6141cb19913e534d75ba573fd
* [arc][getopt]fix enforcment of RequiredArgument().DisableSpaceParse()tldr2024-11-213-9/+27
| | | | commit_hash:9c2ada5b95be3f810d2750406d74d839bd2598ff
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-11-201-1/+1
| | | | commit_hash:4591e7a8126c65672359f0cdee64ad789ca9ae74
* YDB Import 623robot-ydb-importer2024-11-197-318/+0
| | | | commit_hash:89b2dfdd1bb0d38b205f23744652b1db522e06c4
* Intermediate changesrobot-piglet2024-11-191-1/+1
| | | | commit_hash:1bcd4492a3f6a28a2be8e27b5660e98cc8e4c8d0
* use C++ atomic with proper default constructoreivanov892024-11-191-10/+14
| | | | commit_hash:1c25da3ce2125ca4d8d1e3e026ef0d2a6d0aa355
* Enable -Wformat under clang-clthegeorg2024-11-181-1/+1
| | | | commit_hash:b2cf3b80a36e4867b03a79f3e2c552f19920016f
* YT-23435: Parse format string at compile timearkady-e1ppa2024-11-186-54/+251
| | | | commit_hash:804530d1ee861ff42d7d8cad25d9f569b4feaacf
* Intermediate changesrobot-piglet2024-11-181-1/+1
| | | | commit_hash:a5695d6abae3e01238ce9328956579759caca454
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-11-171-1/+1
| | | | commit_hash:b6c853aa9dfce004915ca07c10eead963195eb97
* YT-22885: Handle unknown values in (Try)CheckedEnumCastbabenko2024-11-163-3/+61
| | | | commit_hash:5ce8019253cdb971d1af36350e3efa3a4ec8545c
* YDB Import 622robot-ydb-importer2024-11-162-51/+0
| | | | commit_hash:a2bd81b4ecf17197f540e5096040491a78428687
* Allow per-module switch to atd_ro_snapshot from arcadia rootthegeorg2024-11-141-0/+4
| | | | commit_hash:d8d2d7bd705c50833ff6e4b03fda17f1c97ca3b7
* Fix babenko issues of rXXXXXXarkady-e1ppa2024-11-142-4/+4
| | | | | [nodiff:caesar] commit_hash:93eef00a7132e68e727aa1f4028616db6522d03c
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-11-141-1/+1
| | | | commit_hash:7313c6e8079a9821476cae610f095855b5c60c93
* Intermediate changesrobot-piglet2024-11-131-0/+1
| | | | commit_hash:e7480dc4037b4e009ef6dcc824697e6e89c5bfe1
* YT-23346: Introduce YT_ASSUME and YT_UNREACHABLE macros.thenewone2024-11-121-0/+14
| | | | | | | | | | | | | Y_ASSUME and Y_UNREACHABLE macros are platform-independent ways to give a hint for a compiler about some value or state. Compilier may use that hint for optimization. On the other hand if the hint is wrong it may lead to undefined behavior. YT_ASSUME and YT_UNREACHABLE are wrappers around Y_ASSUME and Y_UNREACHABLE that actually check that the hint is correct in debug build. That introduces some code safety and at the same time allows certain optimization in optimized build. commit_hash:2d0969361910a10a870bae226d838d494e656edb
* Add TSharedRef::FromString overloads for std::stringbabenko2024-11-113-9/+52
| | | | commit_hash:2edff041e77ead18a6bb7efeb13c8163d85c0750
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-11-111-1/+1
| | | | commit_hash:3381c362bf53465449cc36ad460347615208e001
* [library/cpp/http] support HTTP 434 codezankin2024-11-101-0/+1
| | | | | add constant for HTTP 434 code commit_hash:bb04bc4efd36dc9989de7535b40c968c69b27472
* Intermediate changesrobot-piglet2024-11-082-2/+4
| | | | commit_hash:17dbd6d7e5fc440afa2d816e245a73e25135bfb5
* YT-21233: Rewrite ConvertTo CPO using TagInvokearkady-e1ppa2024-11-088-0/+386
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Plan: 1) Remove `IAttributedDictionary` type from the public API. \+ 2) Remove `Set` method from public API in favor of `operator<<=`. \+ 3) Adopt `ConvertTo<T>` (or other name) CPO with proper extension into `NYT::NYson::ConvertTo` from `yt/core`. 4) Use CPO from (3) to eliminate direct dependency on `yt/core` of `Get/Find` methods from attributes API. 5) Adopt `ConvertToYsonString` (or other name) CPO with proper extension into `yt/core` customisations. 6) Use CPO from (5) to eliminate direct dependency on `yt/core` of `TErrorAttribute` ctor. 7) Swap attributes implementation to the one which doesn’t use `IAttributeDictionary`. 8) At this point `stripped_error*` can be moved to library/cpp/yt and so can recursively dependant on THROW macro methods `Get/Find/…`. 9) Adjust CPO’s to work with `std::string` instead of `TYsonString` assuming text format to be used (maybe `TString` for now). 10) Remove dep of `library/cpp/yt/error` on `yson` entirely. This pr addresses 3-4 steps of plan. Below is a brief explanation of design decisions. We want to have a concept which detects if there is a `ConvertTo` method and if true, try calling it. Templates can only perform unqualified name lookup and if we allow non-ADL overloads to be found, we would have dependency on inclusion order (if `ConvertTo` is included prior to our code, everything works fine, but if the order is reverse, templated dispatch would fail, but direct call would work just fine). That is why we adopt niebloids which first disable ADL lookup of the name `ConvertTo` by directing it to niebloid implemented via `TagInvoke` mechanism. TagInvoke design <https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1895r0.pdf> . TL;DR: we want to have behavior which is consistent with inclusion order. Key difference now is that `ConvertTo` works consistently in both manual calls and template function body calls and is no longer visible for ADL part of the unqualified name lookup commit_hash:32af641bd0af559bfe670c2ceb36721fb4afc2dd
* Support customization of TLockOps for TGuard in TConcurrentHashMaptarasovalexey2024-11-081-10/+11
| | | | commit_hash:ea73897466c683c4f852d5c9b6eebee419e6b8ab
* fix ci base image buildanokhovd2024-11-081-5/+6
| | | | | change base скрипт commit_hash:abea0d7a031fd7bbbb1e754495e2c482b073be62
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-11-081-1/+1
| | | | commit_hash:ee52a32ff7f9601d2ea879be7d0bb07d0fe0f5b6
* [unified-agent] add config endpoint to agentetoraf2024-11-061-0/+1
| | | | commit_hash:f617f0a99f254f9100cea5bb7c2adaa30ae2038d
* Better diagnostics in AbortProcess(Silently|Dramatically)babenko2024-11-068-12/+108
| | | | commit_hash:7bbc13afbd569ca9bb064aed656c12644fd2de96
* NaN-safe comparison and hashingbabenko2024-11-069-2/+294
| | | | commit_hash:46d59ab3acbd313753d3e46f3a6f10a8ebc424d8
* [libray/cpp/threading] Fix typosskvor2024-11-051-3/+3
| | | | commit_hash:f76f3edfa160fba90d0f8d594211fa35c6eb6077
* Intermediate changesrobot-piglet2024-11-051-3/+3
| | | | commit_hash:fa9cb13adebcd335794779a600c4d88ad1af00d4
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-11-051-1/+1
| | | | commit_hash:95cd91e635cd58d38f4e69396d9d6d2201f1946b
* add ::element_type, .get() to smart pointers for better compatibility with stdpavook2024-11-044-0/+22
| | | | | For example, this makes it possible to use gtest pointer matchers on smart pointers commit_hash:2650074ae18ee35696b297d3d1f0393e7350789f
* YT-22885: Refactor checked castsbabenko2024-11-038-51/+122
| | | | commit_hash:7f7600d332c3ddb5c8372e921bcba3b4fbed68f8
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-11-021-1/+1
| | | | commit_hash:fdb84ff67180fd3887207a1b681ca8ab16652f47
* New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-11-011-1/+1
| | | | commit_hash:b51f9bd955778fca55a0628e2ba4acc60cd9c311