John Preston
04e7ce4408
Update API scheme on layer 160: Replies.
2023-07-20 07:20:09 +04:00
John Preston
65afa2c402
Detach ComposeControls from SessionController.
2023-05-17 15:51:52 +04:00
John Preston
ad238108bd
Fix background dimming slider initial visibility.
2023-04-24 22:50:36 +04:00
John Preston
81f40586a3
Don't re-apply exactly the same custom chat wallpaper.
2023-04-24 22:47:31 +04:00
John Preston
66e7f1d490
Fix dimming edition for new wallpapers.
2023-04-20 23:05:54 +04:00
John Preston
4617ba5fb9
Add couple of phrases to the langpack.
2023-04-20 23:02:33 +04:00
John Preston
65f54d937f
Toggle wallpaper dark mode / edit dimming.
2023-04-20 22:55:42 +04:00
John Preston
0b25d19e3b
Allow uploading chat wallpapers from file.
2023-04-19 10:42:01 +04:00
John Preston
352ae5100a
Support chat wallpaper set from gallery.
2023-04-18 16:47:31 +04:00
John Preston
9b25973b49
Update chat wallpaper from service message.
2023-04-17 16:36:13 +04:00
John Preston
1b73b34810
Make HistoryItem a final class.
2022-12-26 14:24:04 +04:00
John Preston
749fb52113
Implement animated spoilers.
2022-09-18 16:52:30 +04:00
John Preston
2e8a03dfd1
Correctly round spoiler animation in ExtendedMedia.
2022-09-12 09:06:26 +04:00
John Preston
ab3d3a449b
Remove MTP from requestWallPaper interface.
2022-08-11 09:05:23 +03:00
23rd
629574685e
Fixed display of most of simple toasts in corresponding window.
2022-06-14 14:24:21 +03:00
John Preston
1aa8029a8a
Improve notification preview settings design.
2022-03-08 15:24:02 +04:00
23rd
5718789d53
Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox.
2022-02-28 09:08:01 +03:00
John Preston
3ff17a8789
Refactor image transformation interfaces.
2022-01-21 15:33:44 +03:00
23rd
e1aa08b985
Removed text commands.
2022-01-12 11:54:24 +03: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
ead695b101
Don't pass wide fake MsgId through MTPMessage.
2021-09-30 15:30:39 +04: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
b2364140e9
Custom colors in all media/history_view_ modules.
2021-09-06 13:13:26 +03:00
John Preston
beff635e45
Colorize bubbles according to a custom chat theme.
2021-08-30 20:32:57 +03:00
John Preston
f5a323e40a
Move all background helper methods to chat_theme module.
2021-08-30 20:32:57 +03:00
John Preston
0a1e84ddb2
Move ChatTheme to td_ui.
2021-08-30 20:32:57 +03:00
John Preston
3cd0f9d189
Start non-unique ChatTheme.
2021-08-30 20:32:57 +03:00
John Preston
f4fdadd3b0
Allow arbitrary QImage as outgoing bubbles background.
2021-08-20 14:54:11 +03:00
John Preston
662966ba31
Support patterns with negative intensity.
2021-08-17 17:35:10 +03:00
John Preston
ce6f9f580f
Remove unused ColorizePattern function.
2021-08-17 13:06:28 +03:00
John Preston
2abcb51dda
Filter out patterns without background colors.
2021-08-16 17:14:34 +03:00
John Preston
436d7b9d82
Add support for linear gradients without patterns.
2021-08-16 10:26:08 +03:00
John Preston
ba7e976fe2
Fix background sample generation.
2021-08-16 10:26:08 +03:00
John Preston
c2b1187948
Start support of linear gradient wallpapers.
2021-08-16 10:26:08 +03:00
John Preston
85cc3b30a0
Don't use MTP* for WallPaper flags.
2021-08-12 12:32:30 +03:00
John Preston
116a768fde
Don't use MTP* for Message flags.
2021-07-28 15:28:17 +03:00
John Preston
565877630f
Dither default background to avoid color banding.
2021-07-23 15:42:17 +03:00
John Preston
4276b6cce0
Use rpl for Window::Theme::Background updates.
2021-07-15 16:42:36 +03:00
23rd
a631a28092
Removed App::pixmapFromImageInPlace.
2021-07-06 12:13:06 +03:00
John Preston
b22e2ffe1d
Animate inline path thumbnails with sliding gradient.
2021-07-02 20:40:32 +03:00
23rd
583c3d3429
Moved static functions from DocumentData to separated file.
2021-06-17 10:57:45 +04:00
23rd
b422ec025e
Removed Ui::show from classes that have pointer to Controller.
2021-06-17 10:57:45 +04:00
John Preston
1342077dcb
Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId.
2021-04-09 15:05:00 +04:00
John Preston
68b0a85369
Rename RPCError to MTP::Error.
2021-03-12 16:58:26 +04:00
John Preston
ae298818a8
Implement message bar with animations.
2020-10-30 18:32:17 +03: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
eb1845e33b
Fix crash in session destruction.
...
Also use rpl::event_stream for downloaderTaskFinished.
2020-07-01 12:26:29 +04:00