John Preston
14034c255e
Replace QSharedPointer with std::shared_ptr.
2017-12-18 13:07:18 +04:00
John Preston
d9da2edd7c
Improve grouped media display.
2017-12-16 20:50:43 +04:00
John Preston
efa72578cd
Fix grouped media display in MediaView.
2017-12-16 20:50:43 +04:00
John Preston
8b69e6ab99
Rename some methods in DocumentData.
...
Also fix voice message mark as read when autoplaying after previous.
Also show play icon and don't show playlist for audio files that do
not have shared music files attributes but have audio file mime type.
2017-12-10 14:28:04 +04:00
John Preston
5a7d8bcffb
Add audio playlist using Info::Media::ListWidget.
2017-12-09 19:13:06 +04:00
John Preston
d57f5460b7
Use ShowForwardMessageBox in Info::Media.
2017-12-07 17:43:05 +04:00
John Preston
6764a3cc86
Replace SelectedItemSet with MessageIdsList.
...
Use vector<FullMsgId> everywhere instead QMap<..,HistoryItem*>.
The old way the app crashed in case some messages were deleted.
If the items are needed use HistoryItemsList=vector<HistoryItem*>.
2017-12-06 14:13:38 +04:00
John Preston
e4ce08e64e
Show other shared media links in Saved Photos.
2017-12-05 16:23:08 +04:00
John Preston
e1c68892d4
Show third column only when explicitly requested.
...
This allows you to show info in layer from mention links.
2017-12-04 13:42:05 +04:00
John Preston
595af2c6d9
Rename weak(QObject*) to make_weak(QObject*).
2017-11-30 22:04:13 +04:00
John Preston
5b7059dccd
Fix crash in shared media save state.
2017-11-30 12:15:21 +04:00
John Preston
d014b47958
Move Info::TopBarOverride to Info::TopBar.
...
This allows to improve animations in shared media items selection.
2017-11-27 15:43:57 +04:00
John Preston
6afe18503d
wip redesign info top bar
2017-11-26 21:05:52 +04:00
John Preston
39428841e4
Improve selected shared media items layout.
...
Also fix night mode theme bug in report spam panel.
2017-11-23 18:58:00 +04:00
John Preston
d93c1ccbaa
Improve compile time.
2017-11-21 14:20:52 +04:00
John Preston
eb8800f2d4
Replace $ with _ in rpl::mappers.
2017-11-20 16:32:55 +04:00
John Preston
ac99318f34
Use ranges:: algorithms instead of base::
2017-11-20 16:24:00 +04:00
John Preston
de15da8a93
Improve info layer presentation.
2017-11-19 15:37:15 +04:00
John Preston
33ae4b176a
No shared media empty placeholders while loading.
2017-11-17 20:20:31 +04:00
John Preston
bef87c6dff
Allow showing chat members in a special section.
2017-11-17 17:23:36 +04:00
John Preston
0811190527
Closed beta 1.1.23.5: Fix build for Xcode and GCC.
2017-11-17 11:09:43 +04:00
John Preston
903aa46e5c
Disable tabs in third column info.
2017-11-16 13:13:17 +04:00
John Preston
388d743d29
Add confirmation on leaving group/channel.
2017-11-16 07:59:12 +04:00
John Preston
8dfccf55d1
Add shared media empty placeholders.
2017-11-16 07:59:12 +04:00
John Preston
3a25313e61
Fix restoring shared media state.
2017-11-16 07:59:11 +04:00
John Preston
9743dc1ffb
Add some more actions to three dot menu.
2017-11-16 07:59:10 +04:00
John Preston
11a3308cf5
Scroll to field on search query update.
2017-11-16 07:59:09 +04:00
John Preston
47a52b0587
Moved several modules from history/ to data/.
2017-11-16 07:59:09 +04:00
John Preston
628c8e10f7
Search and save state in common groups.
2017-11-16 07:59:09 +04:00
John Preston
39c5898fa4
Save media search state to memento.
2017-11-16 07:59:08 +04:00
John Preston
09d1e3629a
Add media search to all info modes.
2017-11-16 07:59:08 +04:00
John Preston
86ad15612a
Use Info::Controller for the whole info section.
2017-11-16 07:59:08 +04:00
John Preston
eb2719fad1
Added search to files and links shared media.
2017-11-16 07:59:08 +04:00
John Preston
a27edcad1c
Extract SparseIdsList module from SharedMedia.
...
This way it can be reused in search results management.
2017-11-16 07:59:08 +04:00
John Preston
15cc4502b4
Save scroll top state to media memento.
2017-11-16 07:59:08 +04:00
John Preston
f5c5c32d1d
Add context menu to info shared media.
2017-11-16 07:59:08 +04:00
John Preston
5b190c5098
Preserve TopBarOverride in Info WrapWidget.
...
Also support better selection in info shared media.
Also fix build for Xcode.
2017-11-16 07:59:07 +04:00
John Preston
be5f4c9a71
Allow delete / forward selected in shared media.
...
Also use PeerListBox with a chats list with global search controller
instead of HistoryHider for forward / share contact.
2017-11-16 07:59:07 +04:00
John Preston
54cc3e6315
Shared media multiple items selection.
2017-11-16 07:59:07 +04:00
John Preston
989f0cc683
Fix build in Xcode.
2017-11-16 07:59:07 +04:00
John Preston
fee517384c
Disable round videos in shared media for now.
2017-11-16 07:59:07 +04:00
John Preston
a08dd1f6e1
Fix build for macOS.
2017-11-16 07:59:06 +04:00
John Preston
f107866b42
Add basic click handler support to info shared media.
2017-11-16 07:59:06 +04:00
John Preston
7f3c97fb01
Add info media preloading to both sides.
2017-11-16 07:59:06 +04:00
John Preston
65cc4d3fbc
Support item repaint in Info media overview.
2017-11-16 07:59:06 +04:00
John Preston
ecbc0ae57e
Show info media overview using Overview::Layout.
2017-11-16 07:59:06 +04:00
John Preston
7905694b31
Add tabs and other types links to Info::Media.
2017-11-16 07:59:06 +04:00
John Preston
76b8078bd9
Save section expand state in Info memento.
2017-11-16 07:59:06 +04:00
John Preston
93c15e5ee6
Use internal section stack in Info::WrapWidget.
2017-11-16 07:59:06 +04:00
John Preston
d1687ab963
Improve info wrapping in section / layer.
...
Also move layerwidget to window/layer_widget.
Also replace ui/effects/widget_fade_wrap with ui/wrap/fade_wrap.
2017-11-16 07:59:05 +04:00