levlam
f70498898b
Add fileSourceAppConfig.
2021-10-08 13:41:22 +03:00
levlam
038abf5466
Add sound to messageAnimatedEmoji.
2021-10-05 23:20:49 +03:00
levlam
9fb1f1438e
Add color replacements to messageAnimatedEmoji.
2021-10-05 18:42:05 +03:00
levlam
aae781295c
Improve updating animated emoji stickers.
2021-10-05 18:06:05 +03:00
levlam
eb20f82730
Add disable_animated_emoji option.
2021-10-05 17:17:29 +03:00
levlam
ffe03ecb10
Add messageAnimatedEmoji.
2021-10-05 16:12:04 +03:00
levlam
77158cd7a5
Register emoji messages.
2021-10-04 16:08:51 +03:00
Andrea Cavalli
45e855f89d
Remove most memory related features
...
I can't maintain anymore this amount of features while keeping the library constantly updated and without bugs. Every merge was taking me multiple hours of revisioning the code. I give up.
From this commit onwards TDLight will only have small useful customizations that are easy to maintain.
Now the people relying on the OptimizeMemory method can restart the session every N hours to free up the memory.
The real way to keep a low memory usage must involve a huge refactoring to allow the unloading of the caches into the sqlite database, similar to what's already happening with messages data. Only Levlam has the ability to implement this without needing to merge the upstream everytime.
2021-09-25 22:11:42 +02:00
Andrea Cavalli
897d4af16c
Merge remote-tracking branch 'td/master'
2021-09-25 19:24:57 +02:00
levlam
ef1bfc7c3e
Improve field names.
2021-09-24 16:53:42 +03:00
levlam
fbd2309b37
Don't remove emoji modifiers in chat action emojis.
2021-09-23 17:16:59 +03:00
levlam
53f9b0438e
Optimize remove_emoji_modifiers usages.
2021-09-20 13:45:49 +03:00
levlam
22cd853249
Delay responses to clickAnimatedEmojiMessage.
2021-09-19 20:43:47 +03:00
levlam
3883ffcc75
Check emoji in incoming chatActionEnjoyingAnimations.
2021-09-19 01:52:56 +03:00
levlam
db18baa503
Unify include order.
2021-09-19 00:47:05 +03:00
levlam
95d4ec8973
Simplify updateAnimatedEmojiMessageClicked.
2021-09-17 23:36:25 +03:00
levlam
b15244f59d
Ensure delay of 0.2 seconds between updateAnimatedEmojiMessageClicked animations.
2021-09-17 19:59:31 +03:00
levlam
6d21161f70
Add get_animated_emoji_stickers.
2021-09-17 16:58:20 +03:00
levlam
5de53e09eb
Add updateAnimatedEmojiMessageClicked.
2021-09-17 15:51:42 +03:00
levlam
f0c2f8f124
Prepare sendMessageEmojiInteraction.
2021-09-16 23:22:34 +03:00
levlam
5fd11e4b7a
Add td_api::clickAnimatedEmojiMessage.
2021-09-16 00:41:40 +03:00
Andrea Cavalli
6e1836a024
Merge remote-tracking branch 'td/master'
2021-09-15 16:03:11 +02:00
levlam
c03621d72c
Add CHECK debug.
2021-09-13 16:03:21 +03:00
Andrea Cavalli
a20e8b6db3
Merge remote-tracking branch 'td/master'
2021-09-04 16:03:33 +02:00
levlam
41c391f140
Update layer to 133.
2021-09-03 12:27:59 +03:00
levlam
cf7c14fb59
Remove unneeded document.is_changed.
2021-08-26 18:50:28 +03:00
Andrea Cavalli
3dde04b17f
Merge remote-tracking branch 'td/master'
2021-07-17 11:15:40 +02:00
levlam
40c5d47717
Make inherited classes final if possible.
2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98
Use final instead of override.
2021-07-03 23:51:36 +03:00
Andrea Cavalli
c41ec7df43
Merge remote-tracking branch 'td/master'
2021-06-30 13:31:50 +02:00
levlam
7e543cf80b
Allow to use uploadStickerFile for animated stickers.
2021-06-21 22:25:26 +03:00
levlam
16f52b59ab
Add createNewStickerSet.source.
2021-06-18 18:45:57 +03:00
levlam
9440925711
Move some classes inside corresponding managers.
2021-06-18 03:06:20 +03:00
levlam
84cf82583e
Add td_api::checkStickerSetName.
2021-06-17 21:29:07 +03:00
levlam
706647bdbc
Add the method getSuggestedStickerSetName.
2021-06-17 20:38:03 +03:00
Andrea Cavalli
1ea79d2739
Merge latest commits
2021-03-11 18:25:39 +01:00
levlam
fe6fe481f6
Add document ID to SVG path warnings.
2021-03-02 04:48:02 +03:00
levlam
a36f020084
Improve StickersManager::has_webp_thumbnail.
2021-03-01 23:48:48 +03:00
levlam
2bc3d7424b
Improve logging of unsupported SVG paths.
2021-03-01 04:19:50 +03:00
Andrea Cavalli
9a01a9da1d
Merge commit 'e72c129f9ce3b7463c7a42406aab0d3ebffdc6be'
...
Conflicts:
td/telegram/MessagesManager.cpp
2021-01-23 22:47:58 +01:00
levlam
dc45d89848
Make searchStickers response cache time-bound.
2021-01-15 14:54:07 +03:00
levlam
cb24fd8037
Add struct FoundStickers.
2021-01-15 14:01:59 +03:00
Andrea Cavalli
85fb357a19
Merge commit '82f0386e73b7128a8aafec5bfa7dd825fe94ac39'
...
Conflicts:
td/telegram/MessagesManager.cpp
2021-01-02 12:57:08 +01:00
levlam
52c1da0a70
Update copyright year.
2021-01-01 15:57:46 +03:00
Andrea Cavalli
f610ff028c
Merge
2020-12-25 20:24:09 +01:00
Andrea Cavalli
8e99c3c873
Merge
2020-12-25 19:55:29 +01:00
Andrea Cavalli
204757e075
Merge
2020-12-25 18:58:35 +01:00
levlam
bbde4f32c6
Allow to specify emoji for sent stickers.
2020-12-19 14:31:42 +03:00
Andrea Cavalli
b47fab11cd
Merge commit 'eb80924dad30af4e6d8385d058bb7e847174df5e'
2020-12-02 23:31:03 +01:00
levlam
1da1a14255
Represent sticker contours as vector path.
2020-12-02 18:45:06 +03:00
levlam
dc12edbde1
Return back 0 as default next load time.
2020-11-23 20:33:35 +03:00
Andrea Cavalli
cba9f74cba
Merge remote-tracking branch 'td/master'
2020-11-22 01:11:21 +01:00
levlam
5cbf90e4a0
Safer work with negative monotonic time.
2020-11-21 16:34:39 +03:00
levlam
3ff1f6cec1
Add sticker cover to API.
2020-11-20 16:22:07 +03:00
levlam
d22dabfdaf
Update layer to 121.
2020-11-09 23:41:23 +03:00
Andrea Cavalli
16f41643ed
Merge commit '821398fa211b6a3c53733ccf271ee7a783d9bc75'
...
Conflicts:
.gitignore
td/generate/scheme/td_api.tlo
td/telegram/ContactsManager.h
2020-11-04 20:05:50 +01:00
Andrea Cavalli
2e31ced59b
Update to tdlib 1.6.10
2020-11-04 20:03:14 +01:00
levlam
0efc6ee617
Reload all sticker sets once to drop legacy photo locations.
...
GitOrigin-RevId: 2ab5e1ba035ea3946a733a06e44cc1f7b327cd36
2020-10-31 01:32:18 +03:00
Andrea Cavalli
017073e0a2
Add memory optimize and memory stats methods
2020-10-25 03:20:24 +02:00
levlam
fd9732dcfa
Add slot machine support.
...
GitOrigin-RevId: e0c3c5d9b2cff2870162f11983bd546aba101caf
2020-10-15 15:59:51 +03:00
205fa52f8d
Merge commit '44689f81ff8b9bc4583c1c889d8034c47f0c5270'
...
Conflicts:
td/telegram/DialogDb.cpp
td/telegram/MessagesManager.cpp
td/telegram/StickersManager.cpp
td/telegram/TdDb.cpp
td/telegram/WebPagesManager.cpp
2020-06-11 17:44:52 +02:00
e3bf0f63f0
Patches
2020-05-23 21:27:24 +02:00
levlam
52ea0998ec
Allow to pass multiple input language codes in searchEmojis.
...
GitOrigin-RevId: 0fb99694447f3ac02063eb9c03af2c2b3dfc267e
2020-04-22 15:17:53 +03:00
levlam
c96f62b34f
Assume Russian language in searchEmojis with Cyrillic text.
...
GitOrigin-RevId: e9f0212882bafadde17f49a345847f4df8010e73
2020-04-22 15:02:56 +03:00
levlam
851d23f06c
Add messageDice.success_animation_frame_number.
...
GitOrigin-RevId: d0afff34c7d74fe5e06b008b7a8438be4aebe88b
2020-04-21 19:08:01 +03:00
levlam
8109988247
Add messageDice.need_success_animation.
...
GitOrigin-RevId: 1c308f71d628d896321ce331c634a6868f504bc0
2020-04-21 14:51:46 +03:00
levlam
84ecb75f5d
Automatically load dice stickers.
...
GitOrigin-RevId: cc5478256fdfa9d898f54b8a372437e0ad2a2c34
2020-04-20 00:41:26 +03:00
levlam
0fe8cc5250
Support arbitrary dice sticker sets.
...
GitOrigin-RevId: 46e3d636c79dfddf15dadf9794fb900a6b27a53a
2020-04-19 16:30:04 +03:00
levlam
fc3a8105a3
Add updateDiceEmojis.
...
GitOrigin-RevId: 8495528763939fda21e04eac8555aaed975ded62
2020-04-19 11:17:51 +03:00
levlam
06135cccf9
Add parameters offset and limit to getTrendingStickerSets.
...
GitOrigin-RevId: 360c14f4cd357d23c3537ab26ee55a5b5ed29e81
2020-04-18 01:55:54 +03:00
levlam
b343e148e8
Do not iniitalize stickers manager before authorization.
...
GitOrigin-RevId: 497a09aeb0c7f8cadb00902d1ceeceaa144c0885
2020-04-17 16:12:12 +03:00
levlam
6225237cb9
Add td_api::updateStickerSet.
...
GitOrigin-RevId: 4c4299138929e45a2c5a044895f18bd49045256a
2020-04-17 15:56:57 +03:00
levlam
34eb79bbb5
Add StickerSet.need_save_to_database.
...
GitOrigin-RevId: 90a1be59896d9cc5c49af536f6329791de3fe9d1
2020-04-17 15:06:08 +03:00
levlam
f153539ea2
Support creation of animated sticker sets by bots.
...
GitOrigin-RevId: d75133cf70b667cbdf6dc555cc06f2b43f9c8609
2020-03-23 18:03:13 +03:00
levlam
05253ca35e
Add td_api::setStickerSetThumbnail.
...
GitOrigin-RevId: 1083c307cf89744c4dcfa16f89eaec1d2660309f
2020-03-20 16:36:07 +03:00
levlam
d6850e891e
Add "animated_dice_sticker_set_name" option.
...
GitOrigin-RevId: b20ac808e74435c39acdb9f051ba11f77aa236af
2020-03-14 03:47:19 +03:00
levlam
dcb15d0a13
Asynchronously reload emoji keywords languages after restart.
...
GitOrigin-RevId: 1f24d44c715d96aead91402fdc7f6d7abf04d041
2020-01-08 19:25:36 +03:00
levlam
3659757dc3
Add parameter searchEmojis.input_language_code.
...
GitOrigin-RevId: c0cc78cb2957c9b9be4c3310a0505d08f6189006
2020-01-08 19:07:40 +03:00
levlam
80c35676a2
Update copyright year.
...
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
ba5ccf48c6
Add source to on_get_sticker_set.
...
GitOrigin-RevId: 90cccf55f20fc5dafb6c76a2f780f19a818487cf
2019-12-29 04:59:34 +03:00
levlam
c9929b9528
Do not load dice sticker sets before init.
...
GitOrigin-RevId: f9c26c05c433a31e97b2fb8bcdcf5344dfe041c0
2020-06-04 01:19:37 +03:00
levlam
6e42d79769
Replace emoji with icon_mane in chat filters.
...
GitOrigin-RevId: 61b30d075e330a92935ea2c8cfc0bf78fb32958b
2020-06-01 16:55:31 +03:00
levlam
c3d470a27c
Remove unneeded add_*_inner proxy functions.
...
GitOrigin-RevId: ef4e8233590c1d4133c65275474c32f7f985d217
2019-11-30 21:22:40 +03:00
levlam
43fc3b3ecb
Animated emoji sticker set cache.
...
GitOrigin-RevId: adb54c26e904cb0661f6880bfad9f86e5a4587d9
2019-11-21 22:18:29 +03:00
levlam
408a456589
Add strongly typed StickerSetId.
...
GitOrigin-RevId: 518121f89e3a4c95ab5a2095a9bc2217090911de
2019-09-18 06:55:43 +03:00
levlam
3377c38073
Store *Full to database.
...
GitOrigin-RevId: 160369861878befa880e2b4355fd6585977f84dc
2019-09-18 02:14:24 +03:00
levlam
2fd851dfe2
Repair sticker set thumbnail if changed.
...
GitOrigin-RevId: 1b0e2e997338d85249e6eee877ab0483d9826342
2019-07-30 18:43:29 +03:00
levlam
5b032ba290
Fix handling of sticker thumbnails.
...
GitOrigin-RevId: d551c7d00baa5fbc2e2090b15fd26ff41929ae5b
2019-07-15 04:01:26 +03:00
levlam
5a7f326140
Support animated stickers.
...
GitOrigin-RevId: f4a02797a47ffb39eaeee5bcc75ad4b5231dfdfd
2019-07-15 03:43:05 +03:00
levlam
0cdac3fd83
Add td_api::getEmojiSuggestionsUrl.
...
GitOrigin-RevId: 5e69942a3996e6e7354567b658eabcb32ccb1b4b
2019-05-21 22:44:13 +03:00
levlam
e1d787c7d9
Get emoji keywords difference from time to time.
...
GitOrigin-RevId: 748d8376d6eeee09c2b907854073b0c3d451b8d5
2019-05-21 20:42:41 +03:00
levlam
b59abdc9f7
Add td_api::searchEmojis.
...
GitOrigin-RevId: 01540620ce3e0d7e64cb1ec409774a003cfd42e9
2019-05-21 18:48:35 +03:00
levlam
df10fcfdd9
Reload sticker sets once to get actual thumbnail.
...
GitOrigin-RevId: f910afa02095e2f098ca28bb0304a14775e08f93
2019-05-17 18:08:17 +03:00
levlam
c72f7e4eee
Support sticker set thumbnails.
...
GitOrigin-RevId: 7eed134519d7bf5708691f13a2b1cc79579317ba
2019-05-17 17:35:45 +03:00
levlam
6d2842d0b4
Fix getting list of archived sticker sets.
...
GitOrigin-RevId: d73147d8e6ff0e7c0db2319793feb73c7a1755e1
2019-06-05 02:32:10 +03:00
levlam
719377a7de
Fix warnings.
...
GitOrigin-RevId: 3d6129e1f99996938316c53b297ced56df14aa23
2019-04-26 05:49:48 +03:00
levlam
a25ac45f08
Fix searching Great Minds by name.
...
GitOrigin-RevId: 1c9b2731b3b44bda2ca001363e5d4754326ecd70
2019-04-19 02:36:48 +03:00
levlam
3bb65d6ea3
Fix getting of Great Minds by ID.
...
GitOrigin-RevId: ca1a68ae5c3f2a0be8f0e3f0a80ee96ae7077004
2019-04-19 02:15:17 +03:00
levlam
4d5fb2902c
Unify names of ParserT/StorerT classes.
...
GitOrigin-RevId: 69df5062e20cc87c0778e1b125ab46575c365377
2019-02-21 20:54:20 +03:00
levlam
c6d1a10734
Support repairing file references in SaveRecentStickerQuery.
...
GitOrigin-RevId: 710cd8d2bb126456dae78848eb5acaace18ffbca
2019-02-02 14:41:30 +03:00