Commit Graph

5436 Commits

Author SHA1 Message Date
levlam
533990288b Fix null caption handling.
GitOrigin-RevId: 54c7067b9b38fe77090a089423c88aabe0969712
2018-01-31 17:45:49 +03:00
levlam
aa3f1eac49 Fix formatting.
GitOrigin-RevId: 32bc29dbf8eb0fe6fa4c4eacad8bb57acc698830
2018-01-31 16:49:28 +03:00
levlam
5c81c0ddb2 Fix handling of null formattedText.
GitOrigin-RevId: 5bcde391288909e3119988cf94e223511cd22db4
2018-01-31 16:48:28 +03:00
levlam
40fa9f1798 Add missed calls to get_user_id_object.
GitOrigin-RevId: 9a305bc6da356ee0eef3dba9c18eb8e72b0ae794
2018-01-31 16:39:11 +03:00
levlam
5262bfa623 Better logging.
GitOrigin-RevId: 4b04b37167eac281d72388ec210059f07d112b56
2018-01-31 16:09:28 +03:00
levlam
42ea21b4f1 Check directory existence before crash.
GitOrigin-RevId: 94ad49d48af766251107b547e9ea1aaedeeb15c1
2018-01-31 15:43:36 +03:00
levlam
04e3bfaf50 Add debug logging.
GitOrigin-RevId: 0efe2f3134b351d633d2df5e78791a07e212cf82
2018-01-31 15:06:19 +03:00
levlam
d5d78dd1d3 Skip unallowed text entities instead of failing request.
GitOrigin-RevId: d5e22ac01e9d03bf62ebfbbb83a681f48b26b30d
2018-01-31 15:01:53 +03:00
levlam
0b344f1c74 Fix MessagesManager::on_failed_dialog_messages_search.
GitOrigin-RevId: c3abb5a134cf1a393eef17b5a59eb3256cbe1656
2018-01-31 14:59:14 +03:00
levlam
e4c464b3c9 More debug info.
GitOrigin-RevId: 85557dfc9cd889dd08e632ad174a414d0256acee
2018-01-31 14:52:44 +03:00
levlam
a51cf7de1b Ignore duplicate messages.
GitOrigin-RevId: 13a400d0fa7ca7eb31a334e4aa3e6c023445fa8c
2018-01-31 13:58:01 +03:00
levlam
536def0382 Fix has_input_media.
GitOrigin-RevId: f10ffc8116028849b3a0afc4ebf7169d707dd794
2018-01-31 12:18:40 +03:00
levlam
e0d303095f Fix creation of forward_from dialog in Saved Messages.
GitOrigin-RevId: ebd2d54986e374ef4b495ea0f3310d9c87a12933
2018-01-31 10:44:54 +03:00
levlam
eea18f732b Fix operator bool and default members.
GitOrigin-RevId: a981ac683c91ae9ba656b036cf1b56ff462f039d
2018-01-31 00:36:53 +03:00
levlam
6cf95c36ad Clear errno just in case.
GitOrigin-RevId: b45ff66a66fba605e5a1b500a1ab66eb87140e19
2018-01-30 20:10:44 +03:00
levlam
d7ecc96113 Update layer to 75. Support entities in captions.
GitOrigin-RevId: a633d5d57c52794da0fc1b6de04f4ff1a4ed00fd
2018-01-30 20:06:54 +03:00
Arseny Smirnov
d6102462c2 Safe FileNodePtr
GitOrigin-RevId: 23aa73747a520ec594f7027466ca7ba2e71ee826
2018-01-30 23:04:22 +03:00
Arseny Smirnov
d3e4ad0060 FileNode * -> FileNodePtr
GitOrigin-RevId: 1fa58d17dc71c74c78097105fc4c2acbde3b48a7
2018-01-30 19:54:17 +03:00
Arseny Smirnov
74bdbedb5a FileManager: multiple fixes
GitOrigin-RevId: 2b3da1b87529f8a49e9e4da3e0cd490ae2790926
2018-01-30 15:33:02 +03:00
Arseny Smirnov
c329826c5d FileUpload: restart automatically if part_size is too small
GitOrigin-RevId: bbfe3f0fca2f888f6bd4d2909935903d7c4e3b33
2018-01-29 20:46:06 +03:00
Arseny Smirnov
674a99324b PartsManager: bugfix
GitOrigin-RevId: fd8235abdef01c1a384a44b3040ba76c9f4e0c08
2018-01-29 17:41:40 +03:00
levlam
4bfa015e84 Use send_closure_later in timeout callbacks.
GitOrigin-RevId: 21822d261a31900c94e2a37d3d3afa8240a49fc3
2018-01-30 09:16:25 +03:00
levlam
8e14bd16b2 Use static_cast instead of reinterpret_cast.
GitOrigin-RevId: a41264fd2afb5d20bae5846819bc457c79605a26
2018-01-30 01:48:35 +03:00
Arseny Smirnov
666faca521 FileDownloader: bugfix
GitOrigin-RevId: dcdbc014b437c1fcd60378aab951877e2726b7b8
2018-01-29 15:27:28 +03:00
Arseny Smirnov
e671318c99 Fix MutliTimeout bug
GitOrigin-RevId: 7c30c7232b2462d0ad232c71bf66b7af97a9fe38
2018-01-29 14:25:29 +03:00
Arseny Smirnov
b40df8c118 Add test for MutliTimeout bug
GitOrigin-RevId: 5f94f2bfee09705240d2277b1ac9bb344b9d9589
2018-01-29 13:29:24 +03:00
Arseny Smirnov
614c3cffd7 skip_eintr_cstr
GitOrigin-RevId: e13756e7dfa4abb7452172dbedfaf73aa256bcd5
2018-01-29 13:28:56 +03:00
levlam
3f058aff60 Add binlog debug.
GitOrigin-RevId: 29a11dfcdc596a297f2add2a208feb57b20a06f8
2018-01-29 12:33:35 +03:00
levlam
816b02e8c6 Add some debug output.
GitOrigin-RevId: 87f724672d2e21c4c0640b1a4e610acf51260d2a
2018-01-28 23:38:55 +03:00
levlam
b066d34457 Fix suggested file name.
GitOrigin-RevId: 233dae3d49d9801aaad267182f742c0ddaa8ebdd
2018-01-28 21:28:17 +03:00
levlam
62bb714421 Fix some includes and spelling.
GitOrigin-RevId: 489a75315987be488d8caf63a9d3c4f0948ab810
2018-01-28 21:13:25 +03:00
levlam
a47d5d5511 Return whether Log::set_file_path succeded or not.
GitOrigin-RevId: a928f8691ebedfd7451bf8bd7957071786b50349
2018-01-28 19:38:59 +03:00
levlam
662471ea48 Do not fail on unsuccessful FileLog.init.
GitOrigin-RevId: c31bcf155821a973b431234d76aa83e3b0e281a0
2018-01-28 17:48:11 +03:00
levlam
6d21c7c912 Move FileLog implementation to cpp.
GitOrigin-RevId: 3722bed5a7e480e7336d35489dbacc31a91a9428
2018-01-28 17:33:14 +03:00
levlam
d8f4e97747 Update Java example README.md.
GitOrigin-RevId: 3e1a8519808240bb83a7102bda769ad769e8139e
2018-01-28 15:43:04 +03:00
levlam
b339833ef9 Add Java example.
GitOrigin-RevId: 09903810042bd576bff2f59f4cd4cb498af13749
2018-01-28 13:58:33 +03:00
levlam
18034f7806 Add td::jni::get_jni_env wrapper.
GitOrigin-RevId: 5cc7cc927d0195bcdc7f8adbeea052266dff6af5
2018-01-28 13:20:43 +03:00
levlam
afde0fdcc6 Java-binding: remove crash on invalid String encoding.
GitOrigin-RevId: c29f8abdd4207eabf422c01ae67b5d1c73ff6ae8
2018-01-28 09:18:17 +03:00
levlam
99c5bd9ebb Fix main_file_id_priority.
GitOrigin-RevId: cbcb8da8e9fe702c83cac077d46c7b1dd2f53a3a
2018-01-28 08:35:53 +03:00
levlam
ea46851d7e Remove unused sqlite dependency on libdl.
GitOrigin-RevId: 30d56bf3b2cb3cf826f0417c81c23ec9ed037cce
2018-01-27 22:44:31 +03:00
levlam
63e4bb7cda Improve README.md.
GitOrigin-RevId: ea9f2b7813034079ade29f4ff38bbd254279d03c
2018-01-27 18:57:25 +03:00
levlam
0e41d96335 Send update with unknown basic group/supergroup/secret chat when its identifier is returned.
GitOrigin-RevId: e3c0d7904f02b79abdcbf990db1bdcf8d67591e3
2018-01-27 16:57:59 +03:00
levlam
083eba265b Remove forward header for audio messages.
GitOrigin-RevId: 3e5f7d0885866bdd71f32044682e31f3a922e31e
2018-01-26 23:01:52 +03:00
levlam
dc274ea3b5 Send update with an empty User for unknown users.
GitOrigin-RevId: 470184a7277bbce3855ecad8acf955369370ff76
2018-01-26 22:53:20 +03:00
levlam
aed9a9da6f Ignore duplicate updateContactRegistered even first message is already deleted.
GitOrigin-RevId: e95462cf0e77d2b6835d75017791f409eb1bced6
2018-01-26 18:07:21 +03:00
levlam
4d89905aec Better updateCall description.
GitOrigin-RevId: ca4a2180acbdfc6522d024d19bc4b0a950541b1a
2018-01-26 17:07:09 +03:00
levlam
799e4bc324 Fix CE.
GitOrigin-RevId: d8047740df158dbc83c10c7aef231e6b06ec2752
2018-01-26 17:05:02 +03:00
levlam
55b16026c5 Optionally ignore EACCES in realpath.
GitOrigin-RevId: 8043b753ec748b6ff21accb5efde782047e5cd50
2018-01-26 16:47:46 +03:00
levlam
a40619aa64 Add checks that updates are sent only for existing chats.
GitOrigin-RevId: dfb433cc53b8c0b1fbe19eb90f4ec33ca086a446
2018-01-26 16:22:16 +03:00
levlam
b0be2feebc Fix file stat on Windows.
GitOrigin-RevId: 2ca2bb1605af4e25f24d6c06c0aae5ffb8fe09e8
2018-01-26 16:01:40 +03:00