John Preston
773755d70e
Send as a channel in HistoryWidget.
2021-11-26 18:00:18 +04:00
John Preston
c534f3f22e
Some internal HistoryItem refactoring.
...
Replace most IsServerMsgId / id <=> 0 with isRegular().
Track isLocal / isHistoryEntry in flags.
Remove toHistoryMessage.
2021-11-07 12:50:13 +04:00
23rd
27dc91e51a
Moved management of selecting scroll to separated class in td_ui.
2021-10-30 21:22:51 +03:00
John Preston
7bc4b2c595
Add StickersSet::thumbnailBigFileBaseCacheKey.
2021-10-21 23:01:14 +04:00
Ilya Fedin
847c01d605
Add Qt 6 support
...
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd
80461bd9fe
Moved ConfirmBox to Ui namespace.
2021-10-19 06:34:27 +03:00
23rd
6148edbc7d
Moved ConfirmBox to td_ui.
2021-10-19 06:34:27 +03:00
John Preston
21ac2b8f3a
Don't use MTP* for reply markup data.
2021-10-04 23:47:30 +04:00
John Preston
b78b27f517
Move dialogs_layout to dialogs/ui/.
2021-10-04 23:45:21 +04:00
23rd
cb8f49aea0
Removed Q_OBJECT from ScrollArea.
2021-09-30 18:45:38 +03:00
John Preston
1e660fc2a2
Allocate 64 bits for message ids.
2021-09-30 13:49:37 +04:00
John Preston
19ce1edc16
Use base::SafeRound instead of std::round.
...
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b
, 8f5830d520
.
Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
John Preston
a566405598
Show correct emoticon in interaction-seen status.
2021-09-19 14:40:43 +03:00
John Preston
42cc24e167
Cache interactions in four cache keys.
2021-09-17 19:23:52 +03:00
John Preston
038f19d055
Beta version 3.0.5: Fix build on Linux.
2021-09-17 11:45:05 +03:00
John Preston
cca08e3946
Fix crash in emoji interactions.
2021-09-17 10:25:36 +03:00
John Preston
06798adce4
Accept skin colors and heart colors.
2021-09-17 10:25:36 +03:00
John Preston
34c0d97c54
Show emoji interaction seen status.
2021-09-17 10:25:36 +03:00
John Preston
4b7f594b0e
Send emoji interaction seen requests.
2021-09-17 10:25:36 +03:00
John Preston
cfb43081c7
Play incoming interactions.
2021-09-17 10:25:36 +03:00
John Preston
bc2f96251f
Limit amount of playing interactions.
2021-09-17 10:25:36 +03:00
John Preston
15f83892a1
Start emoji interactions playback.
2021-09-17 10:25:36 +03:00
John Preston
139b9723d7
Accumulate and send emoji interactions.
2021-09-17 10:25:36 +03:00
John Preston
d152782115
Load and reload interaction stickers.
2021-09-17 10:25:36 +03:00
John Preston
8069fdd873
Use base/random.h instead of openssl::RandomValue.
2021-09-15 13:42:22 +03:00
John Preston
7f20cc7b44
Update emoji to 13.1.
2021-09-14 15:14:25 +03:00
23rd
900a7d0b2b
Appended references to const auto types in loop to prevent copying.
...
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston
a6c98f4bb4
Update API scheme to layer 133.
2021-09-07 23:41:07 +03:00
23rd
2f1db4f449
Fixed sending of choosing type from field autocomplete.
2021-09-07 23:41:07 +03:00
John Preston
23e9e7b9f0
Remove for_const macro.
2021-09-06 13:13:26 +03:00
John Preston
1a4a9319f3
Custom colors in history_view_message module.
2021-09-06 13:13:26 +03:00
23rd
59977da2b4
Added choosing sticker action to field autocomplete.
2021-09-01 01:23:20 +03:00
23rd
8c17e3e578
Added sending action when choosing sticker.
2021-08-30 20:50:32 +03:00
John Preston
3cd0f9d189
Start non-unique ChatTheme.
2021-08-30 20:32:57 +03:00
John Preston
3dadcd9352
Animated transition on pattern-on-gradient resize.
2021-08-16 10:26:08 +03:00
John Preston
474a6a71d9
Move unread mentions menu to chat_helpers/send_context_menu.
2021-08-12 10:06:16 +03:00
John Preston
c79cd0b692
Use Images::Read instead of App::readImage.
2021-08-11 18:55:08 +03:00
John Preston
868c494299
Extract Mosaic::Layout::AbstractMosaicLayout.
2021-07-28 17:00:46 +03:00
John Preston
c170a86189
Fix build on Windows.
2021-07-28 15:59:42 +03:00
John Preston
22e77bf3af
Don't use MTP* for ReplyMarkup flags.
2021-07-28 15:16:23 +03:00
23rd
dcc8a64d37
Removed App::sendBotCommand.
2021-07-27 02:50:08 +03:00
23rd
a030907598
Refactored sending bot commands.
2021-07-27 02:50:08 +03:00
23rd
34cac3092f
Moved utils for sending bot commands to separated file.
2021-07-27 02:50:08 +03:00
23rd
93bcd90fd4
Provided more context for click handlers.
2021-07-27 02:18:49 +03:00
23rd
793f748d2e
Replaced overview and inline mosaic layouts with new mosaic layout.
2021-07-26 17:38:51 +03:00
23rd
2256482ae0
Moved layout utils to td_ui.
2021-07-26 17:38:51 +03:00
23rd
73bb1382b1
Replaced MatrixRowShift with layout utils.
2021-07-23 15:42:17 +03:00
23rd
81c39af122
Replaced mosaic drawing in InlineBots::Layout::Inner.
2021-07-23 15:42:17 +03:00
23rd
9699aeb1cd
Slightly simplified ChatHelpers::GifsListWidget.
2021-07-23 15:42:17 +03:00
23rd
c4d8d52aed
Replaced mosaic drawing in ChatHelpers::GifsListWidget.
2021-07-23 15:42:17 +03:00
Ilya Fedin
ba9b72e038
Fix -Wunused-variable warnings with gcc
2021-07-19 22:31:27 +03:00
John Preston
4276b6cce0
Use rpl for Window::Theme::Background updates.
2021-07-15 16:42:36 +03:00
Ilya Fedin
79cc797aff
Fix -Wunused-variable warnings
2021-07-13 21:43:34 +03:00
nyakze
a283049b34
Expand moderator mode + fix
...
Apparently for commands to work, they have to be bind to 1-9 keys, apart from any other alternative hotkeys. It should address this issue, as well as expanding to ease the usage on numpad.
2021-07-13 16:04:16 +03:00
John Preston
4206ff0483
Don't use MTP* for StickersSet flags.
2021-07-09 09:08:58 +03:00
John Preston
75090dedaa
Don't store MTPInputStickerSet in data.
2021-07-08 22:08:59 +03:00
John Preston
2ffda9f240
Don't use MTP* for ChatAdminRight / ChatRestriction.
2021-07-08 13:34:06 +03:00
nyakze
68e351b7c8
Attempt to fix not working commands
...
Attempt to fix not working commands by using more conventional keys
2021-07-06 17:16:46 +03:00
John Preston
8eedc7b2ba
Fix build on Windows.
2021-07-06 15:56:43 +03:00
23rd
a631a28092
Removed App::pixmapFromImageInPlace.
2021-07-06 12:13:06 +03:00
23rd
b2a1c10036
Removed masks panel when there are no masks.
2021-07-06 12:13:05 +03:00
23rd
2a58d01927
Removed search and featured buttons from masks panel.
2021-07-06 12:13:05 +03:00
23rd
de108c8efe
Fixed removing masks set from StickersListWidget.
2021-07-06 12:13:05 +03:00
23rd
2d17bd02a3
Moved mask management to separate box.
2021-07-06 12:13:05 +03:00
23rd
8d62800e77
Moved stickerSetInstalled from ApiWrap to Data::Stickers.
2021-07-06 12:13:05 +03:00
23rd
1cdb83462e
Added initial implementation of masks panel.
2021-07-06 12:13:05 +03:00
23rd
7d2b20e624
Made TabbedSelector more flexible.
2021-07-06 12:13:05 +03:00
John Preston
aaefeed3f1
Support custom keyboard placeholders.
2021-07-05 21:12:52 +03:00
John Preston
b930bc0e6d
Track bot commands separately in different chats.
2021-07-02 20:41:48 +03:00
John Preston
93d99d6173
Track only strings in BotCommand struct.
2021-07-02 20:41:46 +03:00
John Preston
a8df3dcf91
Remove test code for animated path thumbnails.
2021-07-02 20:40:32 +03:00
John Preston
b22e2ffe1d
Animate inline path thumbnails with sliding gradient.
2021-07-02 20:40:32 +03:00
John Preston
4124c2eb57
Show inline path thumbnails for stickers.
2021-07-02 13:13:48 +03:00
23rd
bb76818cc8
Split adaptive changed rpl::producer into two.
2021-06-24 11:25:35 +04:00
23rd
b422ec025e
Removed Ui::show from classes that have pointer to Controller.
2021-06-17 10:57:45 +04:00
23rd
65779ec37e
Removed Adaptive namespace from FieldAutocomplete.
2021-06-16 09:31:32 +03:00
23rd
daa14466e5
Replaced observable in Lang::CloudManager with rpl.
2021-06-16 09:31:32 +03:00
23rd
386fae952b
Replaced observable in SessionController with rpl.
2021-06-16 09:31:32 +03:00
John Preston
f2286fdffd
Fix possible crash in emoji suggestions.
2021-06-11 19:31:16 +04:00
John Preston
468d43c4c7
Don't send by Enter elements, chosen by mouse.
2021-06-11 14:20:00 +04:00
John Preston
eb8f709943
Show members list in PanelMode::Wide.
2021-05-24 22:45:13 +04:00
Daniil
d8ffc114d3
Revert number keys check
2021-04-28 09:38:23 +03:00
Daniil
23bd76a8dd
Expand moderating mode some more
...
Revert key check, since number keys stopped working if bot have
Add missing commands since last PR, also add keys to respect both keypad and regular keyboard users.
2021-04-28 09:38:23 +03:00
John Preston
5bb73d8d3d
Move recent emoji and variants to common settings.
...
Fixes #16163 , fixes #4018 , partially fixes #10123 .
2021-04-26 10:51:10 +04:00
John Preston
1342077dcb
Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId.
2021-04-09 15:05:00 +04:00
Ilya Fedin
4ffe1d3acc
Use base::flat_map for pointer keys
2021-03-15 19:49:06 +03:00
Ilya Fedin
ae0b9141dd
Trying to get rid of unused variables...
2021-03-15 11:40:44 +03:00
Ilya Fedin
c0c10689a1
Get rid of deprecated ranges::view usage
2021-03-13 19:14:58 +03:00
Ilya Fedin
c4dcf064d5
Avoid multiple .arg usage as suggested by clazy
2021-03-13 19:08:33 +03:00
Ilya Fedin
f25b2a2094
Apply autofixes from clazy
2021-03-13 15:25:47 +03:00
23rd
a5abe3d813
Added ability to Save / Delete GIFs from menu for inline bots.
...
Fixed #10511 .
2021-03-13 12:59:12 +03:00
23rd
d4bb62d055
Slightly refactored uploading of edit media.
2021-03-13 12:59:11 +03:00
John Preston
68b0a85369
Rename RPCError to MTP::Error.
2021-03-12 16:58:26 +04:00
Ilya Fedin
23272430b4
Build with QT_NO_KEYWORDS
2021-03-04 12:07:54 +04:00
Daniil
3e379f3171
Expand moderating mode
...
Add additional moderating options.
2021-03-03 22:57:14 +04:00
John Preston
6511d0dfcf
Update more icons in the compose controls.
2021-02-22 23:42:41 +04:00
John Preston
07f94cc184
Fix skin-colored animated emoji refresh.
2021-02-17 10:46:36 +04:00
John Preston
9a0edbd0c5
Update skin-colored animated emoji.
2021-02-17 10:46:36 +04:00
23rd
0b4d0b83c2
Removed App::wnd from classes that have pointer to Window::Controller.
2021-02-04 18:13:04 +04:00
John Preston
8f0e23bb25
Improve editing messages with link previews.
...
Now preview state can be one of (allowed, cancelled, empty-in-edit).
In case of editing a message without preview we set the state to
empty-in-edit and it changes to allowed if the links in the message
are changed somehow.
That way we don't need to cancel the preview when editing a message
with a cancelled preview and at the same time adding a link to
a message that had no preview in the first place will add a preview.
2021-01-29 15:27:17 +04:00
23rd
d4bbbdb65c
Replaced rand_value util function with openssl::RandomValue.
2021-01-24 10:41:10 +03:00
23rd
dd01ece14a
Replaced snap util function with std::clamp.
2021-01-24 10:41:10 +03:00
23rd
1ccfcc824c
Updated code to be consistent with lib_ui.
2021-01-22 16:53:59 +04:00
23rd
a030911ad5
Fixed filling context menu in TabbedPanel between sections.
...
Fixed #10082 .
2021-01-09 14:24:41 +03:00
John Preston
dde94d486b
Change button round radius.
2020-12-08 11:19:23 +04:00
John Preston
25ffdcc919
Update Qt to 5.15.2.
2020-12-07 16:13:46 +04:00
John Preston
d40768f6b0
Use separate styles for group call boxes.
2020-12-01 09:45:23 +03:00
23rd
a2e4403b28
Slightly refactored code for menu with send options.
2020-11-19 18:11:37 +03:00
23rd
e1017380ec
Fixed filling menu with send options for inline bots and autocomplete.
2020-11-19 18:11:37 +03:00
John Preston
f04b3da76a
Add return from bot switch_pm to Scheduled/Replies.
2020-11-17 12:58:06 +03:00
John Preston
ac02e2be9e
Add FieldAutocomplete to ComposeControls.
2020-11-17 12:56:51 +03:00
John Preston
74d2313784
Build Linux version with Qt 5.15.1 in CentOS 7 docker.
2020-11-06 11:21:34 +03:00
John Preston
263d6a30f2
Improve grouped files layout in chat.
2020-10-30 18:32:19 +03:00
John Preston
c2f0bcf933
Keep first game sticker frames inside the binary.
2020-10-30 18:32:19 +03:00
John Preston
7f956d32a6
Support slot machine game.
2020-10-30 18:32:18 +03:00
John Preston
8b96f4c214
Move Media::Clip::Reader and FileLocation to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
05eb549a3d
Move App::roundRect to Ui::FillRoundRect.
2020-10-30 18:32:18 +03:00
John Preston
ae298818a8
Implement message bar with animations.
2020-10-30 18:32:17 +03:00
John Preston
8634c1f7f3
Move lang keys to td_lang library.
2020-09-30 12:18:52 +03:00
John Preston
c535a7c564
Use MaskedInputField for URL input.
2020-09-29 19:03:29 +03:00
John Preston
ce91caa820
Fix build on macOS.
2020-09-29 19:03:23 +03:00
John Preston
f0e1d2fd02
'base::optional_variant<' -> 'std::variant<v::null_t,'
2020-09-29 19:03:19 +03:00
John Preston
734d834a20
Replace mapbox variant with std::variant.
2020-09-29 19:03:19 +03:00
23rd
6e3fb253b9
Added ability to remove recent stickers.
2020-08-21 16:23:44 +03:00
23rd
8a34f29329
Moved toggling of existing media to separate file.
2020-08-19 14:47:25 +03:00
23rd
14cda49db2
Moved code for send context menu to namespace.
2020-08-11 18:13:40 +04:00
23rd
1eea07d88a
Added ability to schedule and send silently stickers from autocomplete.
2020-08-11 18:13:40 +04:00
23rd
cf56658664
Slightly refactored FieldAutocomplete.
2020-08-11 18:13:40 +04:00
23rd
2ac425f350
Moved default send callbacks to separate functions.
2020-08-11 18:13:40 +04:00
23rd
edceed28d7
Moved code for send context menu to separate file.
2020-08-11 18:13:40 +04:00
23rd
d1d153e886
Added Api::SendOptions passing from TabbedSelector for inline results.
2020-08-11 18:13:40 +04:00
23rd
5b95585725
Added other items to TabbedPanel's context menu.
2020-08-11 18:13:40 +04:00
23rd
43056107fd
Added ability to pass SendMenuType to TabbedSelector.
2020-08-11 18:13:40 +04:00
23rd
7db9843543
Added initial context menu to TabbedPanel.
...
Added ability to schedule and send silently stickers and GIFs.
2020-08-11 18:13:40 +04:00
23rd
a95a324401
Separated send menu filling to another method.
2020-08-11 18:13:40 +04:00
23rd
759e802eba
Added ability to pass Api::SendOptions from TabbedSelector.
2020-08-11 18:13:40 +04:00
23rd
2576312cd4
Fixed autodownloading of dictionaries at logout.
2020-08-11 18:13:09 +04:00
John Preston
f316d951ae
Fix stickers list display after account switch.
2020-07-14 19:03:27 +04:00
Sean Wei
556aa28df6
Remove unused variable
...
The following are commits related to removed variables.
apiwrap.cpp
e050e27
: kSaveDraftBeforeQuitTimeout
app.cpp
113f665
: serviceImageCacheSize
boxes/auto_download_box.cpp
a0c6104
: checked(Source source, Type type)
boxes/background_preview_box.cpp
b6edf45
: resultBytesPerPixel
fe21b5a
: ms
boxes/calendar_box.cpp
ae97704
: yearIndex, monthIndex
99bb093
: ms
boxes/connection_box.cpp
f794d8d
: ping
boxes/dictionaries_manager.cpp
8353867
: session
boxes/peer_list_box.cpp
2ce2a14
: grayedWidth
boxes/peers/add_participants_box.cpp
07e010d
: chat, channel
boxes/self_destruction_box.cpp
fe9f02e
: count
chat_helpers/emoji_suggestions_widget.cpp
a12bc60
: is(QLatin1String string)
chat_helpers/field_autocomplete.cpp
8c7a35c
: atwidth, hashwidth
chat_helpers/gifs_list_widget.cpp
ff65734
: inlineItems
3d846fc
: newSelected
d1687ab
: kSaveDraftBeforeQuitTimeout
chat_helpers/stickers_dice_pack.cpp
c83e297
: kZeroDiceDocumentId
chat_helpers/stickers_emoji_pack.cpp
d298953
: length
chat_helpers/stickers_list_widget.cpp
eb75859
: index, x
core/crash_reports.cpp
5940ae6
: LaunchedDateTimeStr, LaunchedBinaryName
data/data_changes.cpp
3c4e959:clearRealtime
data/data_cloud_file.cpp
4b354b0
: fromCloud, cacheTag
data/data_document_media.cpp
7db5359
: kMaxVideoFrameArea
data/data_messages.cpp
794e315
: wasCount
data/data_photo_media.cpp
e27d2bc
: index
data/data_wall_paper.cpp
b6edf45
: resultBytesPerPixel
data/data_types.cpp
aa8f62d
: kWebDocumentCacheTag, kStorageCacheMask
history/admin_log/history_admin_log_inner.cpp
794e315
: canDelete, canForward
history/history_location_manager.cpp
60f45ab
: kCoordPrecision
9f90d3a
: kMaxHttpRedirects
history/history_message.cpp
cedf8a6
: kPinnedMessageTextLimit
history/history_widget.cpp
b305924
: serviceColor
efa5fc4
: hasForward
5e7aa4f
: kTabbedSelectorToggleTooltipTimeoutMs, kTabbedSelectorToggleTooltipCount
history/view/history_view_context_menu.cpp
fe1a90b
: isVideoLink, isVoiceLink, isAudioLink
settings.cpp
e2f54eb
: defaultRecent
settings/settings_folders.cpp
e8bf5bb
: kRefreshSuggestedTimeout
ui/filter_icon_panel.cpp
c4a0bc1
: kDelayedHideTimeoutMs
window/themes/window_theme_preview.cpp
ef927c8
: mutedCounter
-----
Modified variables
boxes/stickers_box.cpp
554eb3a
: _rows[pressedIndex] -> set
data/data_notify_settings.cpp
734c410
: muteForSeconds -> muteUntil
history/view/history_view_list_widget.cpp
07528be
: _items[index] -> view
e5f3bed
: fromState, tillState
history/history.cpp
cd3c1c6
: kStatusShowClientsideRecordVideo -> kStatusShowClientsideRecordVoice
storage/download_manager_mtproto.cpp
ae8fb14
: _queues[dcId] -> queue
storage/localstorage.cpp
357caf8
: MTP::Environment::Production -> production
2020-07-13 09:33:55 +04:00
John Preston
b1554782fb
Add one more moderate hotkey.
2020-07-01 22:33:19 +04:00
John Preston
eb1845e33b
Fix crash in session destruction.
...
Also use rpl::event_stream for downloaderTaskFinished.
2020-07-01 12:26:29 +04:00
John Preston
3c028590b1
Fix crash in StickersListWidget.
2020-06-30 19:04:52 +04:00
John Preston
107dea085c
Fix build for OS X 10.10-10.11.
2020-06-30 00:05:27 +04:00
John Preston
bf7aae5fc6
Allow float video player across accounts.
2020-06-25 18:17:37 +04:00
John Preston
30c82bb2e0
Remove some MainWindow::sessionController() calls.
2020-06-23 21:53:44 +04:00
John Preston
51c2bc7349
Create only one EmojiImageLoader to fix a crash.
2020-06-23 21:53:43 +04:00
23rd
0696a2d5c0
Replaced mapping to rpl::empty_value with rpl::to_empty.
2020-06-23 21:53:43 +04:00
23rd
e318a7d65f
Simplified ranges::find_if with ranges::any_of and ranges::none_of.
2020-06-23 21:53:43 +04:00
John Preston
83538675ce
Move a lot of settings to Core::Settings.
2020-06-23 21:53:42 +04:00
John Preston
4d6cc58f0d
Move session settings to main_session_settings.
2020-06-23 21:53:42 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
6fc5e22882
Allow several accounts in Core::App.
2020-06-23 21:53:40 +04:00
John Preston
f450f81215
Remove non-UI calls to App::main.
2020-06-23 21:53:40 +04:00
John Preston
3c4e959468
Replace observer_peer with rpl interface.
2020-06-23 21:53:40 +04:00
John Preston
0ad7dcaef9
Remove MTP::MainInstance() global access point.
2020-06-23 21:53:40 +04:00
John Preston
ee43027bea
Remove some usages of App::main().
2020-06-23 21:53:39 +04:00
John Preston
ea86433be5
Remove some activeAccount() calls.
2020-06-23 21:53:39 +04:00
John Preston
598fb67cdf
Remove Session::Exists() global access point.
2020-06-23 21:53:39 +04:00
John Preston
5f8d22f1f2
Remove Auth() global access point.
2020-06-23 21:53:39 +04:00
John Preston
ad4afe9293
Move session data localstorage -> storage_account.
2020-06-23 21:53:39 +04:00
John Preston
fc174f742a
Move stickers code to Data::Stickers class.
2020-06-23 21:53:38 +04:00
John Preston
4b354b0928
Use Main::Session in download/upload.
2020-06-23 21:53:38 +04:00
John Preston
3878a1b212
Remove some more Auth() calls.
2020-06-23 21:53:38 +04:00
John Preston
c868cd6036
Update lib_ui.
2020-06-04 10:53:59 +04:00
John Preston
f4cd84c313
Fix crash in stickers.
2020-06-01 18:09:34 +04:00
John Preston
6660338ccc
Fix crash in sticker sets without a thumbnail.
2020-06-01 18:09:34 +04:00
John Preston
4695ebae6e
Fix crash in sticker set parsing.
2020-06-01 18:09:34 +04:00
John Preston
36fbdfb380
Simplify Image, remove ImageSource.
2020-06-01 18:09:33 +04:00
John Preston
d0c78eaddd
Leave only one image source type.
2020-06-01 18:09:33 +04:00
John Preston
6513422e40
Remove legacy image-related code.
2020-06-01 18:09:33 +04:00
John Preston
f066e0f05a
Use Data::CloudImage for userpics.
2020-06-01 18:09:33 +04:00
John Preston
249f7813c1
Don't hold session pointer in Data::CloudImage.
2020-06-01 18:09:33 +04:00
John Preston
ae9ed820ee
Fix sticker set icons display.
2020-06-01 18:09:33 +04:00
John Preston
803593cd8d
Change Stickers::Set from value to object type.
2020-06-01 18:09:33 +04:00
John Preston
7ad660a0e7
Allow photos not have some of the thumbnails.
2020-06-01 18:09:32 +04:00
John Preston
e27d2bc2d5
Move photo data to Data::PhotoMedia.
2020-06-01 18:09:32 +04:00
John Preston
24fed8105c
Fix stickers panel on Retina screens.
2020-06-01 18:09:32 +04:00
John Preston
0834920db8
Fix sending of video-thumbed GIFs from panel.
2020-06-01 18:09:32 +04:00
John Preston
c967a72dcb
Save frame in GIFs panel.
2020-06-01 18:09:31 +04:00
John Preston
7d386b164b
Save a frame in stickers panel.
2020-06-01 18:09:31 +04:00
John Preston
9725d4272e
Clear DocumentMedia in sticker panel.
2020-06-01 18:09:31 +04:00
John Preston
eb75859dc0
Cache last frame of stickers panel footer icons.
2020-06-01 18:09:31 +04:00
John Preston
fb322b5fc5
Use empty Storage::Cache::Key as nullopt.
2020-06-01 18:09:31 +04:00
John Preston
cbb9657044
Fix download task finalizing.
2020-06-01 18:09:30 +04:00
John Preston
3797753d16
Support different location types for thumbnails.
2020-06-01 18:09:30 +04:00
John Preston
956c3af0ae
Start DocumentData::thumbnail move to DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
1e9c79ca85
Move automaticLoad() to DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
40f12a2584
Keep document byte data only in DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
97bab388ea
Use rpl for file download progress notifications.
2020-06-01 18:09:30 +04:00
John Preston
bf616036b3
Check loaded status through DocumentMedia if possible.
2020-06-01 18:09:30 +04:00
John Preston
33f4946242
Start using document bytes from DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
70c79eb6bd
Move sticker image to DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
bdd3c51ab8
Move inline thumbnail image to DocumentMedia.
2020-06-01 18:09:30 +04:00
John Preston
c7878f9d21
Pause by-emoji stickers on sticker preview.
2020-05-12 12:18:31 +04:00
John Preston
36997f084a
Automatically load and apply old emoji set by id.
2020-05-08 11:22:22 +04:00
John Preston
942fcb9aae
Add new emoji sets file ids.
2020-05-07 19:05:57 +04:00
John Preston
dd78052f92
Use new toast style structure.
2020-04-30 11:35:01 +04:00
John Preston
aabc8173c3
Use similar margins in all controls.
2020-04-30 11:35:01 +04:00
John Preston
46f3cf3395
Load more official sets while scrolling.
2020-04-21 18:55:35 +04:00
John Preston
dfc0491524
Improve trending stickers layout and position.
2020-04-21 18:55:35 +04:00
John Preston
abfd3ad1b9
Use built-in zero-value dice animations.
2020-04-21 18:55:35 +04:00
John Preston
e118972d5c
Support generic dice media display.
2020-04-21 18:55:35 +04:00
John Preston
3e2f4bed50
Update scheme to layer 102.
...
Support different dice-like media.
2020-04-21 18:55:34 +04:00
John Preston
f5aba5a907
Fix build with new lib_ui commits.
2020-04-13 15:26:09 +04:00
23rd
15db48b0cc
Added application name as exception word for spell checker.
2020-03-27 20:36:07 +04:00
John Preston
4f718aeead
Add filter icons to Settings -> Folders.
2020-03-27 20:36:05 +04:00
John Preston
ba6373a0ae
Fix filter icon panel wrong hiding.
2020-03-27 20:36:04 +04:00
John Preston
b8c11f3d8c
Manage filters: delete, add suggested.
2020-03-27 20:36:02 +04:00
John Preston
c83e297554
Implement dice media display.
2020-03-27 20:36:02 +04:00
John Preston
7b51383b3b
Force animation unload in inline results.
...
Fixes #7335 .
2020-03-16 17:41:35 +04:00
John Preston
1492571232
Fix members dropdown and mention autocomplete.
...
Fixes #7345 .
2020-03-13 23:14:23 +04:00
23rd
a0584ea7a1
Moved all destruction calls of DictLoader to main thread.
2020-02-27 15:18:00 +04:00
23rd
0ca0930066
Updated context menu for spellchecker.
2020-02-24 18:48:33 +03:00
23rd
8734ebe4c4
Added auto download of new dictionary when input locale is changed.
2020-02-24 18:48:33 +03:00
23rd
bc6e1e7a0d
Added new setting for automatic dictionaries download.
2020-02-24 18:48:33 +03:00
23rd
bb8aead078
Added sequential background dictionary loader.
...
- Moved the Loader from the dictionaries manager to the spellchecker
common space as a DictLoader.
2020-02-24 18:48:33 +03:00
23rd
9daf362df6
Added label with state to "Manage dictionaries" button.
2020-02-24 18:48:33 +03:00
23rd
a0f995b134
Added ability to remove dictionary from context menu.
2020-02-24 18:48:33 +03:00
23rd
9d1b93fe50
Moved spellchecker work from message_field to Spellchecker::Start.
2020-02-24 18:48:33 +03:00
23rd
783269e256
Removed unnecessary Sets() function.
2020-02-24 18:48:33 +03:00
23rd
f598bf0b42
Replaced fake dictionary ids with real values.
2020-02-24 18:48:33 +03:00
23rd
f377ac54fd
Slightly refactored spellchecker_common.cpp.
...
- Moved LocaleFromLangId to lib_spellcheck.
2020-02-24 18:48:33 +03:00
23rd
9d98682089
Removed unnecessary includes from emoji sets and dictionaries managers.
2020-02-24 18:48:33 +03:00
23rd
efdf5f1767
Moved producer of state description to CloudBlob.
2020-02-24 18:48:33 +03:00
23rd
8ca0b614d7
Moved loader of emoji sets and dictionaries to CloudBlob.
2020-02-24 18:48:33 +03:00
23rd
704dcc8d65
Moved emoji sets and dictionaries loader states to CloudBlob.
...
- Moved CloudBlob to second namespace.
2020-02-24 18:48:33 +03:00
23rd
9f4d05b04c
Moved emoji sets from lib_ui. Added parent struct to storage_cloud_blob.
2020-02-24 18:48:33 +03:00
23rd
08cd7450ff
Added storage/storage_cloud_blob.
...
- This file is needed to store same code parts related
to management of dictionaries and emoji sets.
- Moved extracting of zip files to storage_cloud_blob.
2020-02-24 18:48:33 +03:00
23rd
4b684a4926
Added spellchecker helper for common purposes.
2020-02-24 18:48:33 +03:00
23rd
26a45885ff
Added updating of spell highlighter when enabled languages are changed.
2020-02-24 18:48:33 +03:00
John Preston
3c5f8d08ad
Fix radial animations in emoji download.
2020-02-11 14:12:42 +04:00
John Preston
74d848311b
Replace str_const with base::const_string.
2020-01-29 12:47:50 +03:00
John Preston
bdfa080701
Fix build for Windows.
2020-01-23 10:09:34 +03:00
23rd
465a42a825
Added ability to customize shortcuts for sending messages.
2020-01-23 10:09:34 +03:00
23rd
7d519990b2
Added ability to customize shortcuts for silent or scheduled messages.
2020-01-23 10:09:34 +03:00
23rd
c08b2ae3df
Added ability to schedule messages to be sent when user comes online.
...
Pro tip: Hold Ctrl key to send a silent scheduled message!
2020-01-23 10:09:33 +03:00
23rd
b4fbff0b6c
Fixed build for Windows with c++latest.
2020-01-21 20:29:14 +03:00
John Preston
f2a92f2b02
Check if app is active before showing a tooltip.
...
Fixes #6885 , fixes #6895 .
2019-12-31 16:48:44 +03:00
23rd
e5682a9b25
Fixed Spelling Highlighter creation on unsupported platforms.
2019-12-30 16:02:15 +03:00
John Preston
c7836be614
In emoji suggestions match only full strings.
2019-12-10 11:17:27 +03:00
John Preston
c301be3826
Fix GIFs and animated stickers freeze.
2019-12-09 09:37:02 +03:00
John Preston
ee94e78533
All mtproto downloads using DownloadMtprotoTask.
2019-12-05 11:32:33 +03:00
John Preston
e943264823
Pass MTP::Instance to MTP::Sender.
2019-11-29 15:36:05 +03:00
Nicholas Guriev
793862bee6
Fix -Wredundant-move and -Wdeprecated-copy warnings ( #6663 )
...
* Do not move result at end of function
This makes GCC 9.1.2 happy with the active -Wredundant-move warning.
Indeed, such moving of local variables or local arguments before
returning is unnecessary and prevents the compiler from copy elision
optimization.
2019-11-12 18:15:34 +03:00
23rd
16d06527be
Updated lib_spellcheck.
...
- Fixed #6756 .
2019-11-06 15:45:03 +03:00
John Preston
d1e2fec760
Fix crash in destructor of spellchecked input field.
2019-11-05 17:03:48 +03:00
John Preston
1eb62579e2
Support building OS X 10.10/10.11 version.
2019-11-05 14:27:42 +03:00
John Preston
88e0342e02
Update to the latest submodules.
2019-11-05 14:27:42 +03:00
John Preston
d63e50944a
Update submodules to the latest spellcheck.
2019-11-05 13:23:56 +03:00
23rd
aa9dc2bee2
Added phrases for spellchecker.
2019-10-20 21:11:38 +04:00