Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | YT-22593: More trivial TString->std::string migrations | babenko | 2025-02-22 | 1 | -2/+2 |
| | | | | | [nodiff:runtime] commit_hash:1ba799aed1703ab7c6304b6da7090b3337f768dd | ||||
* | YT-21233: Issues and tidying up of rXXXXXX | arkady-e1ppa | 2024-12-25 | 1 | -1/+2 |
| | | | | commit_hash:19481c9fbb008aab4f4d676f1a3a242f6e90e90e | ||||
* | YT-21233: Adjust (To/From)ErrorAttributeValue CPOs, revert ConvertTo ↵ | arkady-e1ppa | 2024-12-25 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | becoming CPO, move TErrorCode and TError to library/cpp/yt/error \[nodiff:caesar\] List of changes: 1) Make `ConvertTo` a normal function again (basically, a revert of previous change). It turned out to be very inconvenient entry point 2) Introduce concept for "Primitive types" which are handled without yt/core module. Please note that inclusion of core **does not** affect work with primitive types (otherwise we would be facing and ODR violation). These are numerics, duration, instant, string-like objects and guid 3) Introduce `FromErrorAttributeValue` which is a substitute to `ConvertTo` with special behavior (see below) 4) Scheme for (de-)serialization has changed: 1) Primitive types are handled via `ConvertToTextYsonString` and `ConvertFromTextYsonString` 2) Other types are not supported without yt/core. Otherwise `ConvertToYsonString(value, EYsonFormat::Text)` used for serialization and `ConvertTo<T>(value)` for deserialization. 5) New format of attribute value storage allows to not care about concrete type of the attribute (text yson strings can be detected since they start with `\"` and deserialized so are text yson bools, everything else is already human readable). This drops dependency on `TTokenizer` 6) Some small parts (e.g. enums or constants or aliases) of yt/core/misc files were moved to library/cpp/yt/\* locations and re-included to drop dependencies of stripped\_error on them 7) `TErrorAttributes` is now a simple hash map instead of a handle to `IAttributeDictionary` 8) `ExtractFromAttributes` weak symbol is finally moved to library/cpp/yt/error due to point 9 allowing to fully drop dependency on `IAttributeDictionary`. Combined with point 7 this drops dep on yt/core/ytree altogether 9) Moved `TErrorCode` to library/cpp/yt/error. There is a logger there which forces dep on library/cpp/yt/logging. It is not required really, and can be later removed 10) Moved `TError` with format and macroes to library/cpp/yt/error. It still (and probably forever will) depend on yson. What can be done next: Switch TYsonString to TString and move ConvertTo/FromTextYsonString to library/cpp/yt/error. This would remove dep on library/cpp/yt/yson\_string commit_hash:6f11dc478ab782a1f98a5aedcd45a4800d3f4e7b | ||||
* | YT-21233: Remove TSimpleException and teach TCompositeException storing ↵ | arkady-e1ppa | 2024-03-28 | 1 | -0/+2 |
| | | | | | | | simple attributes Expand the CompositeException 9a10ec65bfc1df854e03bb3a4d8d0a0c0e4a3a5d | ||||
* | Natively support %x and %X in Format | babenko | 2022-08-26 | 1 | -15/+103 |
| | |||||
* | Restoring authorship annotation for <savrus@yandex-team.ru>. Commit 2 of 2. | savrus | 2022-02-10 | 1 | -25/+25 |
| | |||||
* | Restoring authorship annotation for <savrus@yandex-team.ru>. Commit 1 of 2. | savrus | 2022-02-10 | 1 | -25/+25 |
| | |||||
* | Restoring authorship annotation for <sandello@yandex-team.ru>. Commit 2 of 2. | sandello | 2022-02-10 | 1 | -8/+8 |
| | |||||
* | Restoring authorship annotation for <sandello@yandex-team.ru>. Commit 1 of 2. | sandello | 2022-02-10 | 1 | -8/+8 |
| | |||||
* | Restoring authorship annotation for <babenko@yandex-team.ru>. Commit 2 of 2. | babenko | 2022-02-10 | 1 | -100/+100 |
| | |||||
* | Restoring authorship annotation for <babenko@yandex-team.ru>. Commit 1 of 2. | babenko | 2022-02-10 | 1 | -100/+100 |
| | |||||
* | Restoring authorship annotation for <nadya73@yandex-team.ru>. Commit 2 of 2. | nadya73 | 2022-02-10 | 1 | -1/+1 |
| | |||||
* | Restoring authorship annotation for <nadya73@yandex-team.ru>. Commit 1 of 2. | nadya73 | 2022-02-10 | 1 | -1/+1 |
| | |||||
* | Restoring authorship annotation for <ignat@yandex-team.ru>. Commit 2 of 2. | ignat | 2022-02-10 | 1 | -130/+130 |
| | |||||
* | Restoring authorship annotation for <ignat@yandex-team.ru>. Commit 1 of 2. | ignat | 2022-02-10 | 1 | -130/+130 |
| | |||||
* | Restoring authorship annotation for <max42@yandex-team.ru>. Commit 2 of 2. | max42 | 2022-02-10 | 1 | -3/+3 |
| | |||||
* | Restoring authorship annotation for <max42@yandex-team.ru>. Commit 1 of 2. | max42 | 2022-02-10 | 1 | -3/+3 |
| | |||||
* | Restoring authorship annotation for <levysotsky@yandex-team.ru>. Commit 2 of 2. | levysotsky | 2022-02-10 | 1 | -1/+1 |
| | |||||
* | Restoring authorship annotation for <levysotsky@yandex-team.ru>. Commit 1 of 2. | levysotsky | 2022-02-10 | 1 | -1/+1 |
| | |||||
* | Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 2 of 2. | tobo | 2022-02-10 | 1 | -2/+2 |
| | |||||
* | Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 1 of 2. | tobo | 2022-02-10 | 1 | -2/+2 |
| | |||||
* | Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 2 of 2. | eeight | 2022-02-10 | 1 | -2/+2 |
| | |||||
* | Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 1 of 2. | eeight | 2022-02-10 | 1 | -2/+2 |
| | |||||
* | intermediate changes | Devtools Arcadia | 2022-02-07 | 1 | -0/+272 |
ref:cde9a383711a11544ce7e107a78147fb96cc4029 |