23rd
04dbbab4a1
Replaced vector container for SendFilesBox::Block with deque.
...
SendFilesBox::Block (aka Block) passes action
callbacks to AlbumPreview / SingleMediaPreview.
These callbacks access Block::_items through a captured "this" pointer.
With std::vector<Block>, _blocks.emplace_back() may reallocate and
move existing Block objects. Callbacks already stored inside previews
then keep a dangling Block*, and a later context-menu action can crash
when reading this->_items.
Switched _blocks to std::deque<Block> so existing element addresses stay
stable on std::deque::push_back, keeping callback captures valid
for previews.
2026-02-28 19:07:08 +04:00
23rd
7ffebafb60
Added ability rename files from send files box.
2026-02-19 12:02:11 +03:00
23rd
c6817a60cb
Added ability to take written caption from SendFilesBox on cancel.
2026-02-13 11:56:57 +03:00
John Preston
b3f9a77ba7
Star-count button in SendFilesBox/ShareBox.
2025-03-07 19:03:38 +04:00
John Preston
e05bb75b8a
Allow sending videos with covers.
2025-02-12 17:24:24 +04:00
John Preston
5f10c1875c
Ask for boosts to unlock group restrictions.
2025-01-06 21:42:23 +04:00
John Preston
3eec43cacd
Add FieldAutocomplete to SendFilesBox.
2024-09-19 10:34:01 +04:00
John Preston
bd49887607
Fix paid media price tag background.
2024-06-30 21:16:11 +04:00
John Preston
d47c5df73d
Nice price tag on sending media.
2024-06-30 21:16:08 +04:00
John Preston
a9bd7803e6
Edit price on send, send single paid media.
2024-06-30 21:16:08 +04:00
John Preston
67f7816088
Allow sending photo/video captions above media.
2024-05-30 21:35:10 +04:00
John Preston
d1106e5ae6
Check effects availability in all SendMenu-s.
2024-05-30 21:35:05 +04:00
John Preston
571f1a5179
Implement free megagroup emoji set.
2024-02-15 13:51:40 +04:00
23rd
6de471db17
Added counter label of characters limit to send files box.
2024-02-15 09:37:11 +03:00
23rd
12272a450f
Slightly optimized include directives in some headers.
2023-11-15 04:20:20 +03:00
23rd
4b503ad7ed
Slightly refactored include directives in some source files.
2023-08-30 14:50:00 +03:00
John Preston
2c5d990e1c
Implement full theming of attachments in stories.
2023-07-20 07:20:08 +04:00
John Preston
e285b22398
Add "Send when online" to the send button context menu.
2023-04-22 22:26:09 +04:00
John Preston
554f66f089
Support separate message type group restrictions.
2023-02-02 22:12:31 +04:00
John Preston
2ce8094932
Add spoiler toggle to three dot menu in SendFilesBox.
2022-12-26 14:24:06 +04:00
John Preston
5bee6310c0
Allow sending media with spoilers.
2022-12-26 14:24:05 +04:00
23rd
8db8bc466e
Added ability to remember last choice in send files box.
2022-12-26 14:24:05 +04:00
John Preston
7c2d3a8855
Fix custom emoji in initial send files caption.
2022-08-15 19:10:38 +03:00
John Preston
b42f2784ab
Allow sending premium emoji to Saved Messages.
2022-08-02 13:20:38 +03:00
John Preston
26c99cea7c
Show all premium limits boxes.
2022-05-19 17:27:03 +04:00
23rd
2f8efb5ce6
Moved out setup of top and bottom scroll shadows to separated file.
2022-04-13 14:26:11 +03:00
23rd
e30eacff41
Added photo editor hint to SendFilesBox.
2021-07-06 12:13:06 +03:00
23rd
3ce315111f
Added draft menu to SendFilesBox to open photo editor.
2021-07-06 12:13:05 +03:00
John Preston
39777f6149
Fix compress images with drag-n-drop.
...
Fixes #8943 .
2020-11-02 11:26:39 +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
85d08c8f52
Send files grouped in albums, show captions.
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
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
23rd
14cda49db2
Moved code for send context menu to namespace.
2020-08-11 18:13:40 +04:00
23rd
e0750f7b87
Added drag'n'drop area to SendFilesBox for images.
2020-07-20 21:44:07 +03:00
23rd
12250676f9
Added restoring of scroll position after edit items in SendFilesBox.
2020-01-23 10:09:34 +03:00
23rd
5f8c2f90ff
Added button to add new files in SendFilesBox to album only.
2020-01-23 10:09:33 +03:00
23rd
abc7b8364c
Slightly refactored code in SendFilesBox.
2020-01-23 10:09:33 +03:00
23rd
a26e4eee18
Split some things into different methods in SendFilesBox.
2020-01-23 10:09:33 +03:00
John Preston
1eb62579e2
Support building OS X 10.10/10.11 version.
2019-11-05 14:27:42 +03:00
23rd
4be178c75f
Added SpellingHighlighter to InputField in HistoryWidget and some boxes.
2019-10-20 21:11:38 +04:00
John Preston
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
4951eeac98
Allow creating desktop part of multi-theme.
2019-09-06 19:31:07 +03:00