Commit Graph

5127 Commits

Author SHA1 Message Date
Andrea Cavalli
f9c9f2bd59 Update ContactsManager.cpp 2020-10-21 03:41:05 +02:00
Andrea Cavalli
17230da76a Merge commit 'cecdae448e88603c98d7d079855c992be6df739f' 2020-10-20 23:20:56 +02:00
Andrea Cavalli
76dbe45ad8 Memory cleanup for caching
Remove cached deleted messages from dialogs
Comment out unused variables
2020-10-20 23:16:24 +02:00
Nikolay Nechaev
cecdae448e
Update td_example.cpp (#1254)
Read the whole password, not only the first word from it
2020-10-18 19:25:43 +03:00
levlam
fa91220f88 Remove superflous "struct " specifiers.
GitOrigin-RevId: 317d66fad270e99c4c4e6bc14b172f4c2eec3d6d
2020-10-18 18:29:51 +03:00
levlam
fc5bf9ef06 Suppress SIGPIPE signals on write.
GitOrigin-RevId: 19ff2a079a4dc69535e34282bfb2c2f381856def
2020-10-18 18:12:32 +03:00
levlam
5fc7a7727e Use error code 500 for "Requested data is inaccessible" errors.
GitOrigin-RevId: 2d39f90cd196f508b288089433ba2f066b5fcb22
2020-10-18 01:03:16 +03:00
levlam
7b4afb7673 tdtl: always recalc number of simple constructors.
GitOrigin-RevId: dcc2c48f29d8a8f039bb53ec69c8b3076b153608
2020-10-17 00:47:05 +03:00
levlam
b03e0a827e Remove wrong because of call through send_closure_later CHECK.
GitOrigin-RevId: c61586c3dde988c3174f4ce3e05fe0f08d7af468
2020-10-14 19:03:36 +03:00
levlam
a487d20e2d Fix service message reply_to_message_id.
GitOrigin-RevId: b0c430c6c04167b15e4b195d86d584e376f88efe
2020-10-14 17:30:55 +03:00
Andrea Cavalli
9773e87e96 Update StickersManager.cpp 2020-10-14 12:53:18 +02:00
levlam
a57d9ccbea Don't add dummy message sender for bots on TDLib's side.
GitOrigin-RevId: d1ab4f7ca2739d30b0960f655478404d34d40757
2020-10-13 17:25:25 +03:00
levlam
348fdf1a31 Add "group_anonymous_bot_user_id" option.
GitOrigin-RevId: efb6ee569861df005a53fd0255c50fdfa0460382
2020-10-13 17:02:10 +03:00
levlam
358c0f2249 Add clientCount in Java example.
GitOrigin-RevId: 7b7dfcf77de1ab1db55dd42642b59f5b039943cb
2020-10-13 15:39:17 +03:00
levlam
7a59b3d2b3 Fix td_api C++11 compatibility.
GitOrigin-RevId: de46b13b26aa268770e99cf2b83ecf86b9ba5385
2020-10-13 13:51:13 +03:00
levlam
a9c36dbd57 GeneratePkgConfig: fix install.
GitOrigin-RevId: a5287a6f9147814994dc948b3f59ff184852bc0d
2020-10-13 13:37:47 +03:00
levlam
3d52512d26 GeneratePkgConfig: fix absolute path handling.
GitOrigin-RevId: b5cdd94ca3b8c90781fd6101ab4ed58b159344fe
2020-10-13 13:14:28 +03:00
levlam
f08e0fb116 GeneratePkgConfig: fix variable expansion usages.
GitOrigin-RevId: e7545e211540207bcac81c2600413c1357132680
2020-10-13 12:59:24 +03:00
levlam
39fec60968 Reduce ClientManager timeout in test.
GitOrigin-RevId: 806d6b24d0348af17c6334fd9c1983ef3098e62d
2020-10-13 10:42:18 +03:00
Andrea Cavalli
7654c2706a Update Client.cpp 2020-10-13 03:11:19 +02:00
levlam
1aff1e75ef Fix net query Counter initialization.
GitOrigin-RevId: ba23b816cfed060cea15244e3f2264f74c89d390
2020-10-13 02:30:40 +03:00
levlam
b514800cd1 Fix tdnet dependencies order.
GitOrigin-RevId: cf5c5c4f28cd1a3445ab6cda293944655df1c0fa
2020-10-13 01:30:50 +03:00
levlam
95b397d52e GeneratePkgConfig: minor variable expansion fixes.
GitOrigin-RevId: 7b04158cc1262040fb5a9ebd33df50571e63b529
2020-10-13 01:09:26 +03:00
levlam
797d42679f GeneratePkgConfig: fix dependent library names on Windows.
GitOrigin-RevId: 72de9174b1b9676ef1817b9fe7f2ed893d6c7e16
2020-10-13 00:55:59 +03:00
levlam
9a24cd40ec GeneratePkgConfig: return back prefix variable, so it can be overriden by pkg-config.
GitOrigin-RevId: 4cf5e2a9e65b0114ec8ee30dcfae5bd7f526bcf5
2020-10-13 00:50:08 +03:00
levlam
8a6bf5e7a1 GeneratePkgConfig: fix handling of install path with spaces.
GitOrigin-RevId: b18c2db8cd6314765b41509b094093853bbf5def
2020-10-12 23:38:43 +03:00
levlam
e3449e0df8 GeneratePkgConfig: remove duplicate libraries.
GitOrigin-RevId: b16e2a7e99d22508e09f5df419d27874941991f6
2020-10-12 23:21:30 +03:00
levlam
cb0688d792 GeneratePkgConfig: ignore DEBUG-only dependencies.
GitOrigin-RevId: f4c551006003879bdb079d36fdf3ef76eb553a14
2020-10-12 23:10:28 +03:00
levlam
885a9d8e9c GeneratePkgConfig: fix CMake 3.0 compatibility.
GitOrigin-RevId: 20aad92a716731d09d55c946bf5655e9f388a6d1
2020-10-12 22:31:02 +03:00
levlam
647250bcb4 Generate pkgconfig files only for installed libraries.
GitOrigin-RevId: 72c5089e9aaefbf2886cee16bff729d738f1ef1f
2020-10-12 22:27:26 +03:00
levlam
9390cd20bc GeneratePkgConfig: use CMAKE_INSTALL_* variables.
GitOrigin-RevId: 1054a674f8bdf54d1d45dfe6e439811116f344c4
2020-10-12 21:45:20 +03:00
levlam
162b87e1a8 Use spaces instead of tabs in CMake module for consistency.
GitOrigin-RevId: 39fc482b99cb70235b10624bed6adb9a75752020
2020-10-12 21:39:48 +03:00
Gustavo Marques
ba948f8661
generate pkg-config files for targets (#1223) 2020-10-12 21:31:22 +03:00
Andrea Cavalli
85bf271fb8 Update Client.cpp, Log.cpp, and 4 more files... 2020-10-12 19:50:17 +02:00
Andrea Cavalli
d3b2f81269 Revert standard client implementation 2020-10-12 19:18:48 +02:00
Andrea Cavalli
f5ecc4b896 Merge remote-tracking branch 'td/master' 2020-10-12 17:53:24 +02:00
levlam
a8355f1749 Fix compilation error.
GitOrigin-RevId: a23376048dbd9ed09320ec857ae4153048d259ea
2020-10-12 18:44:35 +03:00
Andrea Cavalli
54938a07d6 Fix Levlam's cmake bug 2020-10-12 16:20:54 +02:00
Andrea Cavalli
fc5b0e9d06 Merge commit '6b1f6b829d0d71f5d50662b1ff58b7869c1e1d7f'
Conflicts:
	td/telegram/Client.cpp
	td/telegram/cli.cpp
2020-10-12 16:15:14 +02:00
Andrea Cavalli
0da9b62eda Merge commit '7207d76a809598d019e17fb04b2edc46789c6e22'
Conflicts:
	td/telegram/Client.cpp
2020-10-12 16:12:59 +02:00
Andrea Cavalli
f423fc0d81 Merge commit '35a9a93fc9adfbced4d5f59baf0c72a2f807f28a'
Conflicts:
	td/telegram/Client.cpp
	td/telegram/StickersManager.cpp
	td/telegram/WebPagesManager.cpp
2020-10-12 16:10:48 +02:00
Andrea Cavalli
ef9e05a805 Merge commit '1cfa7545c938212b8976eafe3055fe161b8fd7c4'
Conflicts:
	td/telegram/Client.cpp
2020-10-12 16:05:01 +02:00
Andrea Cavalli
76a9e1974a Merge commit 'f61bd5b89a428c9158c401cb54b46579cdb58381' 2020-10-12 16:00:57 +02:00
Andrea Cavalli
76cd17e861 Merge commit '74987bf8f08b28001b04da94044528dc169cc90b' 2020-10-12 16:00:25 +02:00
Andrea Cavalli
2b69eef4a5 Merge commit 'd87558177241862f7db1b934f8a211b94180f28b'
Conflicts:
	td/telegram/Client.cpp
2020-10-12 15:59:54 +02:00
Andrea Cavalli
ccaec7e042 Merge commit '3fc140b4a260c606e5c6d79ef148d4beeb37048a'
Conflicts:
	td/telegram/Client.cpp
	td/telegram/Client.h
2020-10-12 15:41:34 +02:00
Andrea Cavalli
62c10c2d37 Merge commit '6d9953aea5e431cc80162f11127a7198453639e9' 2020-10-12 15:05:15 +02:00
levlam
6b1f6b829d Add Object Pascal to build instructions generator.
GitOrigin-RevId: 2c05c0571a01caab103e04d588c8b3aca38c3139
2020-10-12 14:50:41 +03:00
Ruan Diego Lacerda Menezes
f05b0a833d
Add Object Pascal language to readme (#1229) 2020-10-12 14:34:16 +03:00
levlam
966621376b Use new JSON interface in cpp example.
GitOrigin-RevId: b92842c8ca490877a3154cd04fe9c4cea0e76ee2
2020-10-12 13:58:01 +03:00