Commit Graph

854 Commits

Author SHA1 Message Date
Andrea Cavalli
2c77e82300 Merge remote-tracking branch 'td/master' into dev 2021-05-27 00:50:41 +02:00
levlam
e1ebf74398 Fix CE. 2021-05-21 02:05:03 +03:00
levlam
5e7adcd1cb Don't include SliceBuilder.h in Status.h. 2021-05-20 23:13:02 +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
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
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
083d599c41 Support stacktrace printing on Windows. 2021-05-11 19:27:37 +03:00
Andrea Cavalli
40048f12ca Merge 2021-05-04 22:17:39 +02:00
levlam
b342ec33e5 Likely add Solaris support. 2021-04-30 02:34:12 +03:00
levlam
3007094fb8 Use -Wl,-z,ignore on illumos. 2021-04-30 01:48:01 +03:00
levlam
f00d562c5b Silence expected warning. 2021-04-30 01:26:02 +03:00
levlam
e1fc85d610 Print warnings about unsupported OS/compiler only once. 2021-04-30 01:24:42 +03:00
Joshua M. Clulow
ed291840d3
add illumos support (#1501) 2021-04-29 16:40:08 +03:00
Andrea Cavalli
799d106c49 Merge remote-tracking branch 'td/master' 2021-04-10 19:44:10 +02:00
levlam
564b44d3b9 Fix ifdef check. 2021-04-08 22:17:55 +03:00
levlam
6e099908cf Don't use sendmsg on Android. 2021-04-08 14:55:54 +03:00
levlam
9bb79b4b27 Ignore invalid Unicode strings in C++/CX. 2021-04-08 14:43:47 +03:00
levlam
02c9caafc0 Fix FromApp building for UWP. 2021-04-04 23:40:05 +03:00
Andrea Cavalli
ae6ef91da2 Merge commit 'c36ed586e25eb9c3f822d595be2b0ef83a2b9fbc'
Conflicts:
	td/telegram/MessagesManager.cpp
2021-04-04 16:37:10 +02:00
levlam
c36ed586e2 Fix MoveFileExFromAppW. 2021-04-04 02:58:59 +03:00
levlam
2ab94b9ca7 Add checks that SocketFd::read/write/writev return correct response. 2021-04-04 01:08:53 +03:00
levlam
e246201cf0 Add checks that FileFd::read/write/pread/pwrite/writev return correct response. 2021-04-04 00:47:30 +03:00
levlam
6285d98479 Fix writev on Windows. 2021-04-04 00:40:37 +03:00
Andrea Cavalli
1ce823b0e6 Merge commit '1bbcc01091c8ca92f79821790b8857edb5a1b6b4' 2021-04-03 12:53:29 +02:00
levlam
40740597f7 Add ChainBufferReader::advance debug. 2021-04-02 16:30:10 +03:00
Arseny Smirnov
a51b63afdd more checks for watch os version 2021-03-29 16:26:11 +03:00
levlam
4df03c8491 Clamp float numbers before conversion to integers. 2021-03-28 22:33:22 +03:00
Andrea Cavalli
0c653e2526 Merge commit 'fbc7e5a7f845d6c8df12b11f5b9a5c9ffc6eea0e' 2021-03-28 12:57:26 +02:00
Arseny Smirnov
5c7b7d4c85 TD_EXPERIMENTAL_WATCH_OS cmake option 2021-03-26 18:04:25 +03:00
Andrea Cavalli
78291a96d4 Merge commit '70b71d569b81c66b25f8f77d9536b1d41fbf091d' 2021-03-21 01:04:45 +01:00
Andrea Cavalli
eb44f72a75 Merge commit 'd5f02b006600724c58edb86d356c494e9d30d1d1' 2021-03-16 13:07:27 +01:00
levlam
d5f02b0066 Avoid int64 multiplication. 2021-03-16 14:35:32 +03:00
levlam
1c92315439 Fix lpad0 signature. 2021-03-15 18:39:02 +03:00
Andrea Cavalli
4a1b295baa Undo breaking database modifications, add tl-parser 2021-03-12 12:31:51 +01:00
Andrea Cavalli
1ea79d2739 Merge latest commits 2021-03-11 18:25:39 +01:00
levlam
29ded98a46 Use full paths for file dependencies. 2021-03-05 23:17:48 +03:00
Arseny Smirnov
0c90ca3784 some cryptography draft 2021-02-10 23:25:28 +03:00
levlam
e031a2c6c1 Improve Slice::truncate usage. 2021-02-04 15:54:12 +03:00
levlam
9e37c85af3 Minor improvements. 2021-01-27 02:57:59 +03:00
levlam
f5f16a1f5d Add opus extension support. 2021-01-26 11:45:36 +03:00