Commit Graph

6548 Commits

Author SHA1 Message Date
levlam
3d28aaca62 Use Td.Client.SetLogMessageCallback in UWP example. 2021-05-20 03:51:33 +03:00
levlam
58a12aca83 Support logMessageCallback in .NET bindings. 2021-05-20 02:54:49 +03:00
Fela Ameghino
a0728a9476
Added SetFatalErrorCallback to CX/CLI Client (#1490) 2021-05-20 02:36:47 +03:00
levlam
5dcd254623 Add BackgroundFill::Type, 2021-05-20 02:21:20 +03:00
levlam
d710058f2a Move value checks in get_background_fill. 2021-05-20 01:57:38 +03:00
levlam
9662679968 Process updateMessagePollVote as qts update. 2021-05-18 19:33:18 +03:00
levlam
7edffa1bc7 Move TsLog out of logging.h. 2021-05-18 17:41:33 +03:00
levlam
df4c4b9471 Move TsCerr to separate header. 2021-05-18 17:24:32 +03:00
levlam
674a112bfa Add NullLog.h. 2021-05-18 17:13:26 +03:00
levlam
f72195baab Remove TC_* defines. 2021-05-18 16:55:35 +03:00
levlam
9ad1b3b49a Use set_log_message_callback in Java example. 2021-05-18 16:36:11 +03:00
levlam
e31ec28c30 Python example: use td_set_log_message_callback instead of td_set_fatal_error_callback. 2021-05-18 15:49:21 +03:00
levlam
d34680b83f Remove set_log_fatal_error_callback. Add td_set_log_message_callback, deprecate td_set_log_fatal_error_callback. 2021-05-18 04:41:09 +03:00
levlam
41d75d8c99 tg_cli: fix response printing. 2021-05-17 23:41:20 +03:00
levlam
d03bad88b4 Improve log messages. 2021-05-17 19:11:59 +03:00
levlam
3b0e2f5e85 Added the ability to hook into logging system. 2021-05-17 18:49:09 +03:00
levlam
8231c58335 Rename LogInterface::rotate to after_rotation. 2021-05-17 17:58:33 +03:00
levlam
fdeaafa70d tg_cli: always write log to file. 2021-05-17 17:33:26 +03:00
levlam
135f9de4a9 Add CombinedLog.h. 2021-05-17 16:53:35 +03:00
levlam
13a21b4fe2 Make LogInterface::append non-virtual. 2021-05-17 16:18:19 +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
29230948c3 Remove redundant LogInterface::rotate overrides. 2021-05-17 02:04:50 +03:00
levlam
3798ecaef5 Move outgoing query logging to INFO. 2021-05-17 00:12:52 +03:00
levlam
8a7a3f403b Try to create secret chat dialog when receive new message in it. 2021-05-16 02:11:37 +03:00
levlam
add28462a0 Fix Slice underflow. 2021-05-14 13:18:52 +03:00
levlam
083d599c41 Support stacktrace printing on Windows. 2021-05-11 19:27:37 +03:00
levlam
d794866448 Add description to groupCallParticipantVideoInfo. 2021-05-11 17:58:00 +03:00
levlam
445183e52c Simplify UWP build script. 2021-05-11 03:24:47 +03:00
Fela Ameghino
32fe6456e6
Use RelWithDebInfo for UWP package (#1467)
* Added -release_only flag for RelWithDebInfo
2021-05-10 23:41:32 +03:00
levlam
eecb0476b5 Unify error messages for private and secret chats. 2021-05-10 19:36:18 +03:00
levlam
260eee8bff Avoid upgrade of read transaction to a write transaction. 2021-05-10 01:59:35 +03:00
levlam
9176381cff Add debug for failed CHECK. 2021-05-09 18:43:39 +03:00
levlam
0d41ba340f Ensure that ChannelFull isn't loaded in on_channel_status_changed and on_channel_username_changed. 2021-05-09 18:14:43 +03:00
levlam
c0c5e24b9b Drop slow_mode_delay in saved to database ChannelFull if slow mode is disabled in the channel. 2021-05-09 03:23:45 +03:00
levlam
4a13e791bb Don't load ChannelFull from database in invalidate_channel_full. 2021-05-09 03:21:18 +03:00
levlam
25a6cb07bc Add more checks. 2021-05-09 02:53:15 +03:00
levlam
ec362f9e2b Add more logging on failed CHECK. 2021-05-09 01:00:02 +03:00
levlam
6baf923f07 Fix handling of left dialogs, which are still pinned in filters. 2021-05-09 00:31:43 +03:00
levlam
9c49e6a625 Log versions on Td instance creation. 2021-05-07 20:52:54 +03:00
levlam
7dbee21918 Fix sending of updateGroupCallParticipant in some rare cases. 2021-05-07 02:10:37 +03:00
Andrea Cavalli
49fd5cbd87 Merge branch 'dev' 2021-05-04 23:35:00 +02:00
Andrea Cavalli
344ebbaefc Bugfix 2021-05-04 23:34:45 +02:00
Andrea Cavalli
54baffc897 Merge branch 'master' into dev 2021-05-04 23:26:43 +02:00
Andrea Cavalli
99ffef30b6 Bugfix 2021-05-04 23:26:04 +02:00
Andrea Cavalli
903df5899c Merge branch 'master' into dev 2021-05-04 22:23:33 +02:00
Andrea Cavalli
40048f12ca Merge 2021-05-04 22:17:39 +02:00
levlam
138bf15dec Add getGroupCallMediaChannelDescriptions method. 2021-05-03 21:44:21 +03:00
levlam
529213030c Add class groupCallParticipantVideoInfo. 2021-05-03 16:30:14 +03:00
levlam
84b96be914 Fix error handling in process_join_group_call_presentation_response. 2021-05-02 02:47:34 +03:00