Commit Graph

5185 Commits

Author SHA1 Message Date
levlam
78e45da6b9 Use array instead of std::vector in the generated C++ classes. 2020-11-15 19:57:03 +03:00
levlam
f693874c50 Improve documentation. 2020-11-15 17:38:10 +03:00
levlam
5eea5b7501 Rename create_client to create_client_id. 2020-11-15 01:13:11 +03:00
levlam
21f6ddc6fb Fix fatal error handler in Python example. 2020-11-15 00:41:29 +03:00
levlam
6d46662804 Fix documentation misprint. 2020-11-14 23:00:14 +03:00
levlam
66af1a439a Use getOptions as first request. 2020-11-14 23:00:05 +03:00
levlam
cde8acf230 Use new JSON interface in Swift example. 2020-11-14 22:45:18 +03:00
levlam
94fc06c9fc Install php-cli instead of php on Debian/Ubuntu in build instructions as suggested by @Cavallium. 2020-11-14 22:12:48 +03:00
levlam
583a8f41d6 Python example: encode strings to UTF-8 before printing to mitigate possible encoding errors. 2020-11-13 23:49:33 +03:00
levlam
0e824976fc Use new JSON interface in Python example. 2020-11-13 21:23:32 +03:00
levlam
00abe2f401 Use ClientManager in C++ example. 2020-11-13 19:22:57 +03:00
levlam
012353aef5 Update JSON C++ example. 2020-11-13 19:16:11 +03:00
levlam
3efc530fc4 Use ClientManager in check_proxy. 2020-11-13 18:42:47 +03:00
levlam
326fd203e9 Fix documentation misprint. 2020-11-13 18:18:10 +03:00
levlam
1d9f2835d2 Silence SQLite build warnings. 2020-11-13 18:17:23 +03:00
levlam
15b1543e20 Implement OS detection in Emscripten. 2020-11-13 18:04:16 +03:00
levlam
f5dadbb1e5 Automatically install dependent DLLs on Windows. 2020-11-12 17:32:48 +03:00
levlam
5ce7448f7a Send a dummy request to initialize client. 2020-11-12 16:53:51 +03:00
levlam
6a9cd72636 Don't create client through ClientManager until first request is sent to it. 2020-11-12 14:45:18 +03:00
levlam
597c0d2983 Add checks that client ID doesn't overflow. 2020-11-12 01:19:30 +03:00
levlam
9725780fc6 Replace referenced text with anchor name in richTextReference to support nested references. 2020-11-11 16:41:30 +03:00
levlam
d63a16ef8b Remove PHP ctype extension usage. 2020-11-11 16:38:48 +03:00
levlam
6a2dba9e8c Disable IPV6_V6ONLY on IPv6 server sockets on Windows. 2020-11-10 23:08:54 +03:00
levlam
c86687091d Improve documentation. 2020-11-10 20:47:22 +03:00
levlam
1fa87babb3 Fix TcpListener re-init. 2020-11-10 02:03:48 +03:00
levlam
7febd4f9af Support binding of ServerSocket to IPv6 address. 2020-11-10 00:50:05 +03:00
levlam
41825d5790 Fix formatting. 2020-11-09 23:48:43 +03:00
Kunoi Sayami
a49c8676d8
Add parameters specify tcp server bind ip address (#1287) 2020-11-09 23:46:07 +03:00
levlam
ea8c57fea3 Fix canceling chat actions on timeout. 2020-11-09 12:33:40 +03:00
levlam
1d75237893 Don't export CXXFLAGS in build instructions generator. 2020-11-08 21:03:23 +03:00
levlam
7a0b88441a Add CentOS to build instructions generator. 2020-11-08 18:51:35 +03:00
levlam
f9a600c401 Minor fixes. 2020-11-08 14:00:36 +03:00
levlam
b21d667bdf Fix compilation error. 2020-11-08 12:09:27 +03:00
levlam
60edadab90 Automatically group forwarded documents and music files. 2020-11-08 00:40:12 +03:00
levlam
0713c913de Remove now unneeded postponed_get_message_requests_. 2020-11-08 00:40:12 +03:00
levlam
00382f825b Get channel difference if it is needed to add messages. 2020-11-08 00:40:12 +03:00
levlam
ed25a03dda Get channel difference before adding discussion message if needed. 2020-11-08 00:40:12 +03:00
levlam
260c15e3e9 Add process_discussion_message method. 2020-11-08 00:40:12 +03:00
levlam
8f623e8be7 Add early check for another active channel difference. 2020-11-08 00:40:12 +03:00
levlam
cb06833eb1 Reload full dialog info with a small delay. 2020-11-08 00:40:06 +03:00
levlam
431b0bddbc Fix GCC warning. 2020-11-06 18:27:33 +03:00
levlam
7e82a54417 Fix std::is_trivially_copyable usage. 2020-11-06 18:27:19 +03:00
levlam
da1f073e22 Forward messages in two passes. 2020-11-06 16:00:56 +03:00
levlam
398c7cfd52 Don't drop administrator count in non-admined supergroups. 2020-11-06 15:16:30 +03:00
levlam
ff0c727ee2 Fix code formatting. 2020-11-06 02:13:12 +03:00
Sergey Polovko
645052bec7
Implement hash function for MessageContentType enum. (#1283) 2020-11-06 02:05:15 +03:00
levlam
e4dda41a98 Always use SplitSource on OpenBSD. 2020-11-05 23:42:58 +03:00
levlam
254823d602 Fix search inside message threads. 2020-11-05 17:46:47 +03:00
levlam
5c5f3bece5 Fix C++ example. 2020-11-04 21:35:38 +03:00
levlam
821398fa21 Add vcpkg folder to gitignore. 2020-11-04 03:54:07 +03:00