summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/yson_string
Commit message (Collapse)AuthorAgeFilesLines
* YT-22593: Migrate yt/yt/ytree to std::stringbabenko2026-05-183-20/+36
| | | | commit_hash:3466775b052bc8a85a2aa85e9605968e7a5ea025
* Add Abseil-compatible support hashersbabenko2026-04-271-0/+16
| | | | commit_hash:2d2808f61599fcfea314ad660585e984d50ffbb3
* YT-27872: Fix ConvertToYsonString ODR violationdann2392026-04-031-0/+2
| | | | commit_hash:70f4e2c519e189107c5e9dec6ba45eeb58973f46
* Fix description of TYsonStringbabenko2026-01-231-1/+1
| | | | commit_hash:47bef2786d6025ec7e078b5989df54417315ac77
* Explicitly use TCowString in TYsonStringbabenko2025-12-243-19/+11
| | | | | Для ревьюеров: изменения вне `library/cpp/yt` убирают `using namespace NYT` из хедера. Эта конструкция приводила к клешу имен глобального неймспейса и `NYT` и ошибкам сборки. commit_hash:f598da488a6dd8671af9f1f02870ab5612ae46eb
* YT-22593: TString -> std::string in unittestssabdenovch2025-12-121-0/+11
| | | | commit_hash:e71661ee774f94e598456363e42562c658cce049
* Add Y_LIFETIME_BOUND to TYsonStringBufapachee2025-11-131-3/+3
| | | | commit_hash:9c12a10680e9747d55895676d6a299dd0ddfd8a8
* YT-21233: Drop dependency on yson in library/cpp/yt/error by switch to ↵arkady-e1ppa2024-12-262-510/+0
| | | | | | | std::string everywhere done commit_hash:8a83afa39917ba66a5161388a7cd74a4488d9908
* YT-21233: Introduce Convert(To/From)TextYsonString in ↵arkady-e1ppa2024-12-212-2/+515
| | | | | | library/cpp/yt/yson_string to be later used for error attribute serialization commit_hash:f7632c9622c71e023148c9454a9889e9cac75ecd
* YT-22593: Migrate table schemas to std::stringbabenko2024-10-292-0/+8
| | | | | [nodiff:caesar] commit_hash:5dbd8e19169560e317e150cd4c6a420a32abdc05
* Remove Size, Empty and Data usages from librarymikhnenko2024-10-041-1/+1
| | | | commit_hash:ef5ad4cfa9e68bbfc586492e8c376c732d0a48af
* YT-21868: Refactor NYT::Formatarkady-e1ppa2024-06-073-7/+10
| | | | | | | | | | | | | | | | | | | | NYT::Format had several problems: 1. There are too many ways to enable printing of T. Not all are equally good. You could specialize TValueFormatter, you could write an overload of FormatValue, you could write an overload of ToString, you could write an overload of operator << for special stream or you could specialize the Out function. 2. If you attempt to print T which cannot be printed, you get a linker error without a proper source location which is very frustrating to work with. 3. There is no static analysis of format string performed even when it is possible. 4. If you write FormatValue overload, you still have to write ToString overload if you want to use this function (and people tend to use it quite a bit, since it is defined for util types and enums. This pr addresses these issues to some extent. Relevant changes: 1. The only way to support NYT::Format is to define the FormatValue overload. Otherwise, you get a compile-time error. 2. Format overloads have changed: Now you have two options for general use: ``` TString Format(TStaticFormat<TArgs...> fmt, TArgs&&... args); TString Format(TRuntimeFormat fmt, TArgs&&... args); ``` Either overload checks if TArg has a FormatValue overload. TStaticFormat performs a compile-time check of flags and the argument count. It binds to any string literal and constexpr string/string_view (and TStringBuf). TRuntimeFormat has to be mentioned explicitly. Otherwise, you will get a compile-time error for using runtime variable as a format. 3(!!!). Types which name begins with NYT:: have a specialization of ToString function which uses FormatValue. Thus, if you write class in namespace NYT and define FormatValue, you get ToString automatically. If your type is not from namespace enclosing NYT, you can just call NYT::ToString for the same effect. This limitation was caused by the fact, that we cannot review all of the external projects code which might inherit from stl classes or adopt some other questionable code practises which may completely break the dispatching mechanism of ToString due to the specialization (there were such cases). Proper documentation of this library will be added soon, so that this interaction is made known. This limitation might be lifted later 77beb68082e10aaf48be1842aad8aba63f26c1bd
* YT-21233: Remove TSimpleException and teach TCompositeException storing ↵arkady-e1ppa2024-03-281-2/+2
| | | | | | | simple attributes Expand the CompositeException 9a10ec65bfc1df854e03bb3a4d8d0a0c0e4a3a5d
* feat contrib: aiogram 3armenqa2024-01-196-153/+0
| | | | Relates: https://st.yandex-team.ru/, https://st.yandex-team.ru/
* External build system generator release 65robot-ya-builder2023-12-051-3/+3
| | | | Update tools: yexport, os-yexport
* add darwin-arm64 CMakeListsdcherednik2023-11-202-0/+29
|
* Support Save/Load TYsonStringyurial2023-11-164-0/+73
|
* add ymake export to ydbalexv-smirnov2023-06-132-0/+38
|
* External build system generator release 29robot-ya-builder2023-04-191-1/+1
| | | Update tools: yexport
* Revert ymake build from ydb oss exportalexv-smirnov2023-03-282-38/+0
|
* External build system generator release 21robot-ya-builder2023-03-171-3/+3
| | | Update tools: yexport
* add library/cpp/actors, ymake build to ydb oss exportalexv-smirnov2023-03-152-0/+38
|
* Intermediate changesrobot-piglet2023-03-092-0/+26
|
* Intermediate changesrobot-piglet2023-03-073-2/+2
|
* External build system generator release 17robot-ya-builder2023-03-061-1/+1
| | | Update tools: yexport
* Enable -Wdeprecated-this-capture for all YT projectsbabenko2023-03-033-0/+9
|
* Intermediate changesrobot-piglet2023-02-073-6/+6
|
* Intermediate changesrobot-piglet2023-02-073-6/+6
|
* External build system generator release 12robot-ya-builder2023-01-311-1/+1
| | | Update tools: yexport
* Refactor and improve TSharedRangeHolderbabenko2023-01-202-14/+33
|
* External build system generator release 8robot-ya-builder2023-01-174-4/+4
| | | Update tools: yexport
* Sync linux-headers instead of using system onesthegeorg2022-12-154-16/+81
|
* Memory reference tracking restylingsavrus2022-10-072-4/+4
|
* Introduce shared range holderssavrus2022-09-192-6/+4
|
* Support logging unstructured messages to structured logbabenko2022-09-152-1/+20
|
* Introduce TSharedMutableRefAllocateOptionsbabenko2022-08-071-1/+1
|
* intermediate changesarcadia-devtools2022-03-152-36/+0
| | | | ref:ca7a95e8c9a9d780f96497136a152091d54e61b5
* Improve SystemCommand check in YDB CLI, KIKIMR-14321pnv12022-03-011-0/+9
| | | | ref:fe5ed49138dce046a93c364cc8879fad3abf3eef
* intermediate changesarcadia-devtools2022-02-181-0/+15
| | | | ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.savrus2022-02-102-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.savrus2022-02-102-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 2 ↵halin-george2022-02-102-5/+5
| | | | of 2.
* Restoring authorship annotation for <[email protected]>. Commit 1 ↵halin-george2022-02-102-5/+5
| | | | of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.sandello2022-02-102-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.sandello2022-02-102-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.shakurov2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.shakurov2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.babenko2022-02-1010-1033/+1033
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.babenko2022-02-1010-1033/+1033
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.ignat2022-02-102-2/+2
|