John Preston
2d8e6f9745
Fix crash in EditLinkBox destruction.
...
Fixes #10432 .
2021-02-24 19:07:49 +04:00
John Preston
ce5739048a
Fix build on Xcode.
2021-02-22 23:42:42 +04:00
John Preston
5f030bc0c8
Remove debug-only ttl for messages.
2021-02-22 23:42:42 +04:00
John Preston
48821af475
Toggle selection by comments button click.
2021-02-22 23:42:42 +04:00
John Preston
467449ac13
When reporting peer allow to select messages first.
2021-02-22 23:42:42 +04:00
John Preston
781e7a2e79
Update API scheme, simplify auto-delete.
2021-02-22 23:42:41 +04:00
John Preston
6511d0dfcf
Update more icons in the compose controls.
2021-02-22 23:42:41 +04:00
John Preston
18d62c070d
Show auto-delete info in message context menu.
2021-02-22 23:42:41 +04:00
John Preston
15e03687f8
Add auto-delete period edit box.
2021-02-22 23:42:41 +04:00
John Preston
dd2dcd7fd9
Update icons in the compose controls.
2021-02-22 23:42:41 +04:00
John Preston
f97064ed37
Add auto-delete control to compose controls.
2021-02-22 23:42:41 +04:00
John Preston
c9fccc8ea7
Improve revoked link view box.
2021-02-22 23:42:41 +04:00
John Preston
3399a05f1f
Improve phrases for invite links.
2021-02-22 23:42:40 +04:00
Ilya Fedin
15d18077b8
Use new methods from lib_ui
2021-02-19 14:15:09 +04:00
23rd
0aaa88cb79
Added animation to toggle silent broadcast button.
2021-02-04 18:13:03 +04:00
23rd
2d50c61703
Added ability to set dividers to MediaSlider.
2021-02-04 18:13:03 +04:00
John Preston
2a1096d83c
Don't reset interface scale to auto on Settings open.
2021-02-01 12:32:08 +04:00
23rd
6c0553f4d6
Returned default icon color for songs without cover art.
...
Related commit: 9b9531d279
.
2021-01-29 18:24:52 +03:00
John Preston
8d85dd7c19
Fix scheduling messages without sound.
2021-01-29 18:05:13 +04:00
John Preston
0d0a79b0b5
Revert "Fixed adding caption to grouped files."
...
This reverts commit 5277080115
.
When sending an album of files each one of them can have its own
caption that will be shown below the file.
A caption for the whole album (in case of media albums) is added
to the first album item. In case of media albums this caption is
displayed under the whole album mosaic. But in case of an album
of files this caption will be displayed under the first file,
between the first and the second file of the album. This is not
what user can expect when he adds a caption for an album.
So we will send it as a separate comment, like it was done before.
2021-01-26 12:15:54 +04:00
23rd
e1f5e10764
Added missed implementation of ContinuousSlider::value.
2021-01-25 19:05:03 +03:00
John Preston
58733ba6ea
Add support for FAKE badge.
2021-01-25 16:50:59 +04:00
John Preston
19455d44db
Add support for imported messages.
2021-01-25 16:50:58 +04:00
John Preston
97fb310f54
Move CalendarBox and ChooseDateTimeBox to td_ui.
2021-01-25 16:50:56 +04:00
John Preston
5e10d97abe
Hide 'No one joined yet.' message.
2021-01-25 16:47:41 +04:00
John Preston
be1afb4781
Show recently joined by permanent link userpics.
2021-01-25 16:47:41 +04:00
John Preston
8c7030378a
Add 'Copy Link' and 'Share Link' buttons.
2021-01-25 16:47:41 +04:00
John Preston
754dedc40e
Improve permanent link edit design.
2021-01-25 16:47:40 +04:00
23rd
9b9531d279
Replaced icon color for songs with bright one.
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
5277080115
Fixed adding caption to grouped files.
...
Fixed #10192 .
2021-01-22 16:53:59 +04:00
23rd
cf0cde6e83
Added ability to show song cover in EditCaptionBox and SendFilesBox.
2021-01-11 22:46:56 +03:00
23rd
8fffe7d128
Added ability to show song cover in HistoryView and Overview::Layout.
2021-01-11 22:46:45 +03:00
John Preston
bcd2560e8f
Reuse the code for userpics in Calls::TopBar.
2020-12-25 14:10:08 +04:00
John Preston
cf5cc3646a
Fix multi-pin bar render after theme switch.
2020-12-24 07:59:34 +04:00
23rd
348712059b
Moved date and progress text formatting to tg_ui:ui/text/format_values.
2020-12-22 09:11:04 +03:00
23rd
c14313d64a
Replaced bezier circles in record button with blobs.
2020-12-21 14:03:04 +03:00
23rd
4b41962ff6
Added hiding of Blob animations in GroupCallBar.
2020-12-18 17:45:33 +03:00
23rd
f8039f9b99
Added cancel button to VoiceRecordBar.
2020-12-18 06:00:07 +03:00
John Preston
bb8647dd4c
Show participants count in the subtitle.
2020-12-17 14:19:33 +04:00
John Preston
7217d14f09
Show speaking animations in voice chat bar.
2020-12-11 18:53:02 +04:00
John Preston
fe23ba086a
Animate userpics in join voice chat bar.
2020-12-11 17:16:37 +04:00
John Preston
424ba1dbea
Track speaking state in non-joined voice chats.
2020-12-11 15:04:34 +04:00
John Preston
dde94d486b
Change button round radius.
2020-12-08 11:19:23 +04:00
John Preston
a527d5c535
Improve join group call bar style.
2020-12-08 10:44:22 +04:00
23rd
be9644c2ff
Removed redundant condition in drawing of voice chat indicator.
...
Related commit: 4a20a4d739
.
2020-12-05 15:32:41 +03:00
23rd
4a20a4d739
Fixed drawing of voice chat indicator for non-default scales.
2020-12-03 00:16:26 +03:00
John Preston
fdbe6bdeb2
Add voice chat indicator in the chats list.
2020-12-02 13:52:33 +03:00
John Preston
d40768f6b0
Use separate styles for group call boxes.
2020-12-01 09:45:23 +03:00
John Preston
5339523824
Add userpics to the active call bar.
2020-12-01 09:45:23 +03:00
John Preston
e3a73378e7
Add recent members userpics to group call bar.
2020-12-01 09:45:23 +03:00
John Preston
ec5aeb32f1
Add title to group call panel.
2020-12-01 09:45:22 +03:00
John Preston
2e62eb1186
Start group call members list.
2020-12-01 09:45:22 +03:00
John Preston
267c2d32f0
Fix shadow of group call bar.
2020-12-01 09:45:21 +03:00
John Preston
33941ad1b9
Start group call bar in HistoryWidget.
2020-12-01 09:45:21 +03:00
John Preston
62eaa3f225
Update API scheme to layer 121.
2020-12-01 09:45:21 +03:00
23rd
1758f0fd8f
Added send icon to VoiceRecordButton.
2020-11-19 18:11:37 +03:00
23rd
79cc4da626
Reduced block size for voice record lock.
2020-11-17 12:58:08 +03:00
23rd
92298316ab
Added transform animation from lock to stop icon for recording voice.
2020-11-17 12:58:08 +03:00
23rd
c9314e5e5e
Added ripple animation to stop recording voice button.
2020-11-17 12:58:07 +03:00
23rd
d2defabd4b
Improved waveform display of recorded voice data.
2020-11-17 12:58:07 +03:00
23rd
189c940710
Added waveform display of recorded voice data.
2020-11-17 12:58:07 +03:00
23rd
647cbc5464
Added initial ability to delete recorded voice data.
2020-11-17 12:58:07 +03:00
23rd
81723a5d19
Slightly improved voice lock design.
2020-11-17 12:58:07 +03:00
23rd
5d2ffae215
Improved VoiceRecordButton colors.
2020-11-17 12:56:51 +03:00
23rd
c4897cec0a
Replaced dummy lock icons with lock animation.
2020-11-17 12:56:51 +03:00
23rd
7a32d78689
Replaced record circle button with bezier circle.
2020-11-17 12:56:51 +03:00
23rd
6ed7615653
Removed redundant methods for record from SendButton.
2020-11-17 12:56:50 +03:00
23rd
cab22c07a5
Replaced recording animation with simple red circle animation.
2020-11-17 12:56:50 +03:00
23rd
ba3862e70f
Added new send recorded voice button with recording animation.
2020-11-17 12:56:50 +03:00
23rd
cdb77d46b1
Slightly refactored text drawing in VoiceRecordBar.
2020-11-17 12:56:50 +03:00
23rd
914e40fb62
Added red coloring of record button.
2020-11-17 12:56:50 +03:00
23rd
326342420d
Added animation of voice recording lock with dummy lock icons.
2020-11-17 12:56:50 +03:00
23rd
478f5f671c
Added initial implementation of voice recording lock.
2020-11-17 12:56:50 +03:00
23rd
5c006002b6
Added appearance animation to VoiceRecordBar.
2020-11-17 12:56:50 +03:00
23rd
e7454e3849
Removed redundant record methods from SendButton.
2020-11-17 12:56:50 +03:00
23rd
3e4866d3b7
Moved active animation processing from SendButton to VoiceRecordBar.
2020-11-17 12:56:50 +03:00
23rd
112dea8594
Created voice record bar as separated history view class.
2020-11-17 12:56:50 +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
23rd
42d4fdb89f
Fixed preview display of small media in SendFilesBox.
2020-11-05 17:51:28 +03:00
John Preston
5cc1871f2f
Fix caption/comment label in SendFilesBox.
2020-11-02 11:26:39 +03:00
John Preston
78492386c4
Fix pinned bar consecutive animations.
2020-10-30 18:32:21 +03:00
John Preston
2233058ae0
Move pin icon to the right.
2020-10-30 18:32:21 +03:00
John Preston
ea6821aca2
Improve animation in pinned bar.
2020-10-30 18:32:21 +03:00
John Preston
12debce246
Show checks when sending file albums.
2020-10-30 18:32:20 +03:00
John Preston
3dbc131b98
Show pin icon in pinned messages.
2020-10-30 18:32:20 +03:00
John Preston
698c9fc4be
Fix preloading of pinned messages.
2020-10-30 18:32:20 +03:00
John Preston
d742fa32de
Add button to show all pinned messages.
2020-10-30 18:32:20 +03:00
John Preston
aefef948cd
Improve multi-pinned message bar.
2020-10-30 18:32:20 +03:00
John Preston
a614ccad97
Correctly check media when editing files.
2020-10-30 18:32:19 +03:00
John Preston
c4af731b19
Wrap messageActionGeoProximityReached service message.
2020-10-30 18:32:19 +03:00
John Preston
263d6a30f2
Improve grouped files layout in chat.
2020-10-30 18:32:19 +03:00
John Preston
012ebdd15e
Fix grouping of music files / just files.
2020-10-30 18:32:19 +03:00
John Preston
0d37949e74
Improve SendFilesBox previews layout.
2020-10-30 18:32:19 +03:00
John Preston
d7fe2948ac
Add edit/remove buttons to Single[File|Media]Preview.
2020-10-30 18:32:19 +03:00
John Preston
5589f51369
Allow delete / replace items in SendFilesBox.
2020-10-30 18:32:19 +03:00
John Preston
bb4fdde616
Fix sending many files with a comment.
2020-10-30 18:32:19 +03:00
John Preston
843fba61ee
Allow adding any amount of files in SendFilesBox.
2020-10-30 18:32:19 +03:00
John Preston
0539cc9448
Add a way to recreate SendFilesBox content.
2020-10-30 18:32:19 +03:00
John Preston
202534575b
Allow many previews in SendFilesBox.
2020-10-30 18:32:19 +03:00
John Preston
8d2fa313b7
Add setting for grouping files.
2020-10-30 18:32:19 +03:00
John Preston
64ac6b18bf
Move SingleMediaPreview to td_ui.
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
b3b11bd9e7
Move PreparedFile/PreparedList to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
39cf51c066
Move SendButton/EmojiButton to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
af1854e877
Use Ui::PinnedBar in Replies section.
2020-10-30 18:32:18 +03:00
John Preston
0873db58d0
Moved PinnedBar to Ui:: in td_ui.
2020-10-30 18:32:18 +03:00
John Preston
9b4b15ee6d
Handle pinned bar clicks.
2020-10-30 18:32:18 +03:00
John Preston
67290eed58
Use new message bar for pinned message.
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
719bed6e85
Move some text formatting to tg_ui:ui/text/format_values.
2020-09-30 16:29:17 +03:00
John Preston
def1266216
Rename td-specific libs from lib_ to td_.
2020-09-30 10:51:17 +03:00
John Preston
a1a845dbf1
Improve Replies chat design.
2020-09-29 19:03:25 +03:00
John Preston
008a301755
Paint some sort of replies icon.
2020-09-29 19:03:24 +03:00
John Preston
4a94a0c438
Show replies dialog correctly.
2020-09-29 19:03:24 +03:00
John Preston
ce91caa820
Fix build on macOS.
2020-09-29 19:03:23 +03:00
John Preston
734d834a20
Replace mapbox variant with std::variant.
2020-09-29 19:03:19 +03:00
John Preston
437c9320cd
Implement progressive jpeg loading and sending.
2020-09-29 19:03:18 +03:00
John Preston
0888901d79
Try using progressive jpeg photo size.
2020-09-29 19:03:18 +03:00
John Preston
55edb3bdfe
Update API scheme to layer 119. Count replies.
2020-09-29 19:03:18 +03:00
John Preston
5c5414b680
Improve video userpics in chat history.
2020-07-25 11:25:22 +04:00
John Preston
f99960e1f6
Play video userpics in photo change messages.
2020-07-25 11:25:22 +04:00
John Preston
060fe6a928
Play video userpics in profiles and settings.
2020-07-25 11:24:11 +04:00
John Preston
8c45b5e0f8
Show video userpics in media viewer.
2020-07-25 11:24:11 +04:00
John Preston
0126578dbd
Allow to load video components of photos.
2020-07-25 11:24:11 +04:00
John Preston
2f5cb33bf2
Fix finalizing media in non-active account.
2020-07-14 19:02: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
Ilya Fedin
93e78f1565
Make export window and PiP window movable on Wayland with Qt < 5.15
2020-07-12 23:19:05 +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
Ilya Fedin
0ede4bba72
Unity doesn't support _NET_WM_MOVERESIZE
2020-06-29 19:17:06 +04:00
Ilya Fedin
73b0153a66
Use startSystemMove in export window
2020-06-29 16:44:02 +04:00
23rd
0696a2d5c0
Replaced mapping to rpl::empty_value with rpl::to_empty.
2020-06-23 21:53:43 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
3c4e959468
Replace observer_peer with rpl interface.
2020-06-23 21:53:40 +04:00
John Preston
fc174f742a
Move stickers code to Data::Stickers class.
2020-06-23 21:53:38 +04:00
John Preston
cdc295c1d7
Fix build with updated submodules.
2020-06-16 19:10:39 +04:00
John Preston
c868cd6036
Update lib_ui.
2020-06-04 10:53:59 +04:00
Ilya Fedin
586744c112
Apply sway fixes to the PiP and export windows too
2020-06-01 18:21:30 +04:00
John Preston
423ea5b499
Fix crash on invalid image data.
2020-06-01 18:09:34 +04:00
John Preston
d5b3fa017b
Fix build for macOS.
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
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
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
056945d9f5
Remove legacy image creation methods.
2020-06-01 18:09:32 +04:00
John Preston
b35b6c4449
Fix saving cache from InMemoryLocation.
2020-06-01 18:09:32 +04:00
John Preston
74ef8104a7
Fix photo edit caption box, remove 's' size.
2020-06-01 18:09:32 +04:00
John Preston
64cf0e1a44
Fix caching of sent photos and document previews.
2020-06-01 18:09:32 +04:00