Commit Graph

36 Commits

Author SHA1 Message Date
levlam
28362c1879 Avoid duplicate is_error() check in TRY_STATUS/TRY_RESULT. 2023-03-21 13:30:42 +03:00
levlam
489e5dbc62 Add debug logging. 2023-03-14 22:43:28 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
1bb9b7dfa9 Update clang-format to 13.0.1. 2021-12-10 00:27:13 +03:00
levlam
5e70be9d36 Improve CHECK. 2021-11-13 23:50:18 +03:00
levlam
81b38d5607 Mark move constructors/assignment operators noexcept. 2021-10-18 14:36:15 +03:00
levlam
c5cee50877 Fix TRY_STATUS_PROMISE usage with Result. 2021-07-17 23:37:03 +03:00
levlam
5e7adcd1cb Don't include SliceBuilder.h in Status.h. 2021-05-20 23:13:02 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
17a1015f6b Remove dependency of PSLICE/PSTRING on Logger, move them to separate header and make them always safe. 2021-05-17 03:24:54 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
8872fbf6ac Fix tdutils after merge.
GitOrigin-RevId: 5b9a863e405a9e3782157570156fda71bf2bb589
2020-06-26 02:24:13 +03:00
Arseny Smirnov
fd6423dedf update tdutils from another project
GitOrigin-RevId: 79b8eb2ba229d733f82dbb17b8bd7f27471c9472
2020-06-24 14:47:36 +03:00
levlam
ea4841a37c Unify enum constant name style.
GitOrigin-RevId: 2e36eef9b54c23da0d1bc9beb7e07af8835f702d
2020-06-15 04:23:47 +03:00
levlam
92df8f9827 Remove unneeded brackets.
GitOrigin-RevId: 0b8a2ae21d28e6c276db8b45ffb4d127800f5d73
2020-02-26 18:15:19 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
12ea695b54 Use TRY_RESULT_ASSIGN to handle responses of db_.get_statement.
GitOrigin-RevId: 0b777859b0670661493eff0a1ed6048ba5010bbd
2019-09-02 21:11:56 +03:00
levlam
2f39a42441 Add TRY_RESULT_ASSIGN.
GitOrigin-RevId: ef2a42ead0014285eb29355f132ce093af337770
2019-07-24 05:10:32 +03:00
levlam
635aca2924 Fix tdutils after update.
GitOrigin-RevId: afc6d10dd0e2b2a7193dd2c96f07d5ca1cb11a00
2019-07-21 21:07:07 +03:00
Arseny Smirnov
02c31f486f tdutils: update from other project
GitOrigin-RevId: 73c666dbdd72811b151a48504716ed4aee6af1a0
2019-07-06 13:29:15 +02:00
Arseny Smirnov
20bfcaa979 Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
2019-02-12 19:17:20 +03:00
levlam
8687be3f12 Guarantee crash on Result self-move.
GitOrigin-RevId: 64475d63e5ccc3ebac99d21946941b8f5689cfe8
2019-02-04 07:05:44 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
f948956bf7 Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
2018-09-27 04:19:03 +03:00
levlam
6e57c13f43 Use negative error codes in Result.
GitOrigin-RevId: 3ee4ccc424062be87198b2d706b791d5bf8e2020
2018-07-08 22:00:54 +03:00
levlam
0c907b38a8 Use different Status::Error in Result.
GitOrigin-RevId: 223a42d0bbfa777a821d29d4996e27b1d8fd8fff
2018-07-08 18:55:12 +03:00
levlam
e2a90b9edf Fix some string to Slice conversions.
GitOrigin-RevId: 79ddee1a90c633cc1b1df5c8e3d9917027bad0f3
2018-07-08 02:47:46 +03:00
levlam
7150cfc8b2 Add disable_top_chats option.
GitOrigin-RevId: 732ba115f67d19585b4e2f4aae024194c6e65174
2018-06-26 22:51:00 +03:00
levlam
f18dea245c Remove names Status constructors.
GitOrigin-RevId: bd196c8a3d5657f2f8ce3e5ceaf3e64821177398
2018-06-21 23:20:32 +03:00
levlam
03bb533c07 Fix clang 3.4-3.5 CE.
GitOrigin-RevId: 7273cdff1b885f5dd8889468b0391b906757c2d2
2018-04-12 11:08:20 +03:00
Arseny Smirnov
0eee63b723 sendAuthorizationForm (with bugs)
GitOrigin-RevId: e68b57a2f6ff2e117913c40779cc9473153828ab
2018-04-06 22:37:30 +03:00
Arseny Smirnov
ccb6553a5d Improve TRY_RESULT define
GitOrigin-RevId: 399a4102f795c0c44d3089a1a3b341393c9f0f95
2018-02-16 12:09:50 +03:00
levlam
d55d1179c2 Add file and line to Status.ensure.
GitOrigin-RevId: 3539caee7f92f6970fd5af673866dabeec177336
2018-02-12 19:03:04 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00