| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
commit_hash:7bbc13afbd569ca9bb064aed656c12644fd2de96
|
| |
|
|
| |
commit_hash:46d59ab3acbd313753d3e46f3a6f10a8ebc424d8
|
| |
|
|
| |
commit_hash:fa9cb13adebcd335794779a600c4d88ad1af00d4
|
| |
|
|
|
| |
For example, this makes it possible to use gtest pointer matchers on smart pointers
commit_hash:2650074ae18ee35696b297d3d1f0393e7350789f
|
| |
|
|
| |
commit_hash:7f7600d332c3ddb5c8372e921bcba3b4fbed68f8
|
| |
|
|
| |
commit_hash:6c7ea26efb0f57227eee0726fe43fe72e05f8f33
|
| |
|
|
| |
commit_hash:ab0bd9b2d0569820e495c714baecb05145ed35bf
|
| |
|
|
|
| |
[nodiff:caesar]
commit_hash:5dbd8e19169560e317e150cd4c6a420a32abdc05
|
| |
|
|
| |
commit_hash:cbc39112d8384b8c4bcd2410f0a203466b400c10
|
| |
|
|
| |
commit_hash:14c7e42422af750383f04855b4a7ea6b267b92d2
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
* Changelog entry
Type: feature
Add message_level_overrides option to logging config for better run-time tuning.
commit_hash:07e9563fd111c437edf7ac0e5dd190781878d8fa
|
| |
|
|
| |
commit_hash:12d86de033f73ea238ebde7f47b689d30014119a
|
| |
|
|
| |
commit_hash:8552424a0dfce80a71c406632beba95646bf5b3e
|
| |
|
|
| |
commit_hash:f939fba86939275047d2eca49b11bec3d0ea3ce7
|
| |
|
|
|
| |
[nodiff:caesar]
commit_hash:446e45e0378f6b2cb31d85bcc3e4516efbdfe5a7
|
| |
|
|
| |
commit_hash:e267dc9b41e9291970d760657852a20f06fa8410
|
| |
|
|
| |
commit_hash:1573c88f09db79bab2755c9c2c3ffd0bc219b2d2
|
| |
|
|
| |
commit_hash:a21164c621de657007dd5ba88024cf92cb5ba739
|
| |
|
|
|
| |
(HIDDEN_URL
commit_hash:d9358ac48da1ab4a4ef9ccdbf7eb77a100cf3897
|
| |
|
|
| |
commit_hash:8b7eb71badc9f2fcd168ee34e8c379b35577eccb
|
| |
|
|
| |
commit_hash:a7e152eae3d2996e60fa5940906933bfb64bdc88
|
| |
|
|
| |
commit_hash:4ef7f7ef82cc22483672460eb87dfe4fa6b5d817
|
| |
|
|
| |
commit_hash:e48e4ec5e5215afc5c32dc6213398b6b28dbdd7b
|
| |
|
|
| |
commit_hash:ef5ad4cfa9e68bbfc586492e8c376c732d0a48af
|
| |
|
|
| |
commit_hash:5d76a2050843e639046dc696be3b43c1795fd1dc
|
| |
|
|
| |
commit_hash:dd1c08771b1d4865d03a492927afa0f9895a5f44
|
| |
|
|
| |
commit_hash:ceb575c0377d4a48c0507590d878e690e92f5c63
|
| |
|
|
| |
commit_hash:9da3eb91ac1626625fafab7ae80b22f3f3b75821
|
| |
|
|
| |
commit_hash:7db063d2838aac3ab4a0c681ca1744361cfbb31e
|
| |
|
|
| |
commit_hash:c4a4db14dd6f9b82fb65377014112bf0a131d3e0
|
| |
|
|
| |
commit_hash:7b3f45fc7a89f88cb3f5609ab96fe1951290bfa4
|
| |
|
|
| |
commit_hash:31d021c482ac2a3f99e86bf1a2aca7231c86c11d
|
| |
|
|
| |
commit_hash:0c6147f498fdf817921889ac84a321f84f2d1059
|
| |
|
|
| |
commit_hash:f3123d7cb2022bdc565cc9aadd347deb2cd235d3
|
| |
|
|
| |
commit_hash:018112cc71f6f4d8bb32bb04a09e8741ba4f8d3d
|
| |
|
|
| |
commit_hash:429a843ed1a0e0fe3a5bc7d237f586b6671b8997
|
| |
|
|
| |
commit_hash:3ef81205ed4cf9360829f834baa07c2fbf69b999
|
| |
|
|
|
|
| |
around [TRIVIAL]
643d86a500b7db9df11009f54364b468b29a409a
|
| |
|
|
| |
9d68586af8dfca759270be14dad2e1c5a97a7891
|
| |
|
|
|
|
|
|
|
| |
No description
---
b181413931eab2909c605b373dc858657e8bcb14
Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/816
|
| | |
|
| | |
|
| |
|
|
| |
b7397bff929c40b73c27256bbf9be5a5594ebafa
|
| |
|
|
| |
378099ca41e7698fba0ceda68b8d2b554e61b6ea
|
| |
|
|
|
|
| |
allocator
86ad7067e751c73259ce60432651ce3ecd0d057e
|
| |
|
|
| |
9da49d54d0eb5009874c090d094aac3117ca77b7
|
| |
|
|
|
|
| |
This reverts commit d9b67f1778da2d15dd94f7285afe4e3490a233ab, reversing
changes made to 461a09e0c18bd14cef7df8060e7f9537e3ad74b5.
92cdaf4185661b7058f6a30d5a532ad40b725345
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
deps on global variables
What happened:
1. error contents has been split into stripped_error and error. stripped_error contains the error itself (with attributes for now) and macros; error contains stripped_error and some extensions, namely, functions to get fiberId, hostname and traceid/spanid and all functions used to (de-)serialize error. This means that you cannot print error if you only include stripped_error, therefore you are likely to still require the entire error.h at the moment.
2. Mechanic for gathering origin attributes has been moved to newly created library/cpp/yt/error thus having no dependency on fibers, net or tracing. stripped_error uses these attributes as extendable semi-erased (meaning, you still would have to add a field and recompile the entire thing, but you don't have to introduce an extra dependency) storage for a bunch of attributes
3. Parsing of said attributes is done in error file (and not stripped_error).
P.S. So far the plan is to eventually move stripped_error (once dependency on core/ytree/attributes is eliminated) without any actual change to dependency graph of anything outside of core (e.g. you would still have to include misc/error.h to use it). Next step would be re-teaching the error how to print, which would move some more methods from core to the standalone module. After that one could finally depend on the error itself and not the entire core.
Annotations: [nodiff:caesar]
66615172181355821241d2e5f8e4a0f15e0ea791
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Static analysis enabled for TError creation and related macros
TRuntimeFormat can be used to disable this feature, but requires copying the viewed object.
See NYT::TError::DisableFormat overloads to optimize constructions which want to move the given string
Note to future readers: TError is not "perfect-forwarding" unfriendly class. This means that the code
```
template <class... TArgs>
TError MakeError(TArgs&&... args) {
return TError(std::forward<TArgs>(args)...);
}
```
will not compile and needs to be properly adjusted (see. TError::Wrap for implementation example)
This implies that emplace construction in containers will not work either. Use move construction instead, as it is simply a pointer swap and therefore free
Annotations: [nodiff:caesar]
cff12f05849402d09a4487bad26ffcd968215dc7
|