aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
* | Merge branch 'rightlib' into mergelibs-241108-0852Alexander Smirnov2024-11-0832-72/+554
|\|
| * 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
* | Merge branch 'rightlib' into mergelibs-241102-0844Alexander Smirnov2024-11-022-4/+4
|\|
| * 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
| * Intermediate changesrobot-piglet2024-10-311-3/+3
| | | | | | | | commit_hash:6c7ea26efb0f57227eee0726fe43fe72e05f8f33
* | Merge branch 'rightlib' into mergelibs-241031-1710Alexander Smirnov2024-10-317-20/+66
|\|
| * Fix regression: static anchors are not updated properlybabenko2024-10-303-19/+51
| | | | | | | | commit_hash:ab0bd9b2d0569820e495c714baecb05145ed35bf
| * YT-22593: Migrate table schemas to std::stringbabenko2024-10-292-0/+8
| | | | | | | | | | [nodiff:caesar] commit_hash:5dbd8e19169560e317e150cd4c6a420a32abdc05
| * Add specialization for TString. Preparation for methods removingmikhnenko2024-10-291-0/+6
| | | | | | | | commit_hash:022cf546edf10db76dc94b3bc83aad5e07ba5da1
| * New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-10-291-1/+1
| | | | | | | | commit_hash:dfef9ed169e7c82179061ed48b09bf25966eb5d7
* | Merge branch 'rightlib' into mergelibs-241028-2033Alexander Smirnov2024-10-2820-111/+595
|\|
| * Add GetAllSetValue and IsKnownValuebabenko2024-10-273-5/+72
| | | | | | | | commit_hash:cbc39112d8384b8c4bcd2410f0a203466b400c10
| * YT-22885: DEFINE_ENUM_UNKNOWN_VALUE, string-related conversionsbabenko2024-10-267-96/+165
| | | | | | | | commit_hash:14c7e42422af750383f04855b4a7ea6b267b92d2
| * New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-10-261-1/+1
| | | | | | | | commit_hash:f4575d97774bf58fcac1caab0aa05358bac3e29a
| * check POST data length to match Content-Lengthlavv172024-10-241-1/+2
| | | | | | | | commit_hash:9f66fdc1ffe8653fba7144bff4dbee4b92723b50
| * Prevent hyperscan tests from flapping onhoststhegeorg2024-10-241-1/+3
| | | | | | | | commit_hash:bdcbd4c22b70c7ef3897110e2713f19166b16869
| * PopCount => std::popcounttobo2024-10-223-7/+7
| | | | | | | | commit_hash:b648a03fff23eec34a775607e9435d77a885a27a
| * YT-21233: Introduce TErrorAttributes as an opaque type for attributes to ↵arkady-e1ppa2024-10-226-0/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hide dependencies on IAttributeDictionary's API 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 pull request covers steps 1 and 2 laying foundation to 3-4 being implemented in the next one commit_hash:e899bccdef4ebed321ea2eb93215282694c261ac
| * Intermediate changesrobot-piglet2024-10-211-0/+30
| | | | | | | | commit_hash:190ff2d3da523521b04ad0065bc2c0615d719674
* | Merge branch 'rightlib' into mergelibs-241021-1020Alexander Smirnov2024-10-214-21/+36
|\|
| * Introduce message_level_overrides to tune log message levels at runtimebabenko2024-10-203-20/+35
| | | | | | | | | | | | | | | | * Changelog entry Type: feature Add message_level_overrides option to logging config for better run-time tuning. commit_hash:07e9563fd111c437edf7ac0e5dd190781878d8fa
| * New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-10-201-1/+1
| | | | | | | | commit_hash:514e533e0d7a227fbca23493746cfdcfa224756b
* | Merge branch 'rightlib' into mergelibs-241019-1758Alexander Smirnov2024-10-197-32/+40
|\|
| * YTORM-1187: Fix IN and BETWEEN expression work with indexesdgolear2024-10-172-31/+29
| | | | | | | | commit_hash:12d86de033f73ea238ebde7f47b689d30014119a
| * Fix disabling ref counted trackingnastprol2024-10-172-0/+8
| | | | | | | | commit_hash:8552424a0dfce80a71c406632beba95646bf5b3e
| * remove unused includes in util/generic/string.htobo2024-10-172-0/+2
| | | | | | | | commit_hash:edd5ed00db3a4c6090c535fa406f184268188733
| * New version of the tld SKIP_CHECK SKIP_REVIEWrobot-ratatosk2024-10-171-1/+1
| | | | | | | | commit_hash:a96b155c1ea432bcff49800f63149d1ff83f071e
* | Merge branch 'rightlib' into mergelibs-241016-1210Alexander Smirnov2024-10-1637-263/+642
|\|
| * Fancier error messages upon static analysis check failurearkady-e1ppa2024-10-162-43/+15
| | | | | | | | commit_hash:f939fba86939275047d2eca49b11bec3d0ea3ce7
| * reduce number of hash table lookups in the resource libraryswarmer2024-10-161-18/+33
| | | | | | | | commit_hash:7252be1dc97d6361957aa6f9071247cf1a2b8afe
| * Intermediate changesrobot-piglet2024-10-151-0/+1
| | | | | | | | commit_hash:a9d505ad0eca8d52e322f9b3f5daaa1968f65b7b
| * Increase max decimal precision to 76 (decimal256)Andrey Chulkov2024-10-156-0/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changelog entry Type: feature Component: type system Support for decimals with precision from 35 to 76. This PR adds decimal256 support to YT. Additionally: - Decimal256 is supported in skiff as int256. - ClickHouse decimal precisions from 35 to 76 are supported in CHYT. --- Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/798 Co-authored-by: ermolovd <ermolovd@yandex-team.com> Co-authored-by: dakovalkov <dakovalkov@yandex-team.com> commit_hash:73c4809966cf4c625e6007d31b5dde14bd80e829
| * Move atomic object to library/cpp/yt/threadingarkady-e1ppa2024-10-142-0/+160
| | | | | | | | | | [nodiff:caesar] commit_hash:446e45e0378f6b2cb31d85bcc3e4516efbdfe5a7
| * Styledgolear2024-10-141-0/+2
| | | | | | | | commit_hash:e267dc9b41e9291970d760657852a20f06fa8410