John Preston
f8963d7e4b
Read silent flag from PeerData, not SilentToggle.
2017-12-08 15:52:12 +04:00
John Preston
aa16bcd604
Add a special key for saved messages userpic bg.
2017-12-08 13:23:55 +04:00
John Preston
827784e3b2
Focus search field in Info layer.
2017-12-08 12:22:02 +04:00
John Preston
993877b0d4
Change main menu cloud icon to saved messages.
2017-12-05 20:48:03 +04:00
John Preston
f8e094392f
Fix ripple animation glitch in history top bar.
2017-12-05 20:14:15 +04:00
John Preston
aebdc2fd94
Add custom userpic rendering for Saved Messages.
2017-12-05 15:50:32 +04:00
John Preston
5eeb8143b6
Move EmptyUserpic from data_peer to empty_userpic.
2017-12-05 12:44:27 +04:00
John Preston
68009b6fba
Refactor userpic storage and access in PeerData.
2017-12-05 11:58:18 +04:00
John Preston
d6f7cae024
Fix two crashes in OS X 10.6.
...
Disable rtl control chars (harfbuzz-ng crashes on them).
Disable creating state of not yet created top level windows.
2017-12-02 16:10:52 +04:00
John Preston
afd1548533
Attempt to fix a crash in touch event handlers.
2017-11-30 22:18:39 +04:00
John Preston
595af2c6d9
Rename weak(QObject*) to make_weak(QObject*).
2017-11-30 22:04:13 +04:00
John Preston
196ff7f4c1
Don't apply count from getParticipants(Recent).
2017-11-28 22:30:01 +04:00
John Preston
c04991f707
Redesign round checkbox animations.
2017-11-28 00:54:31 +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
7705696d54
Hide all PopupMenu when enabling local passcode.
2017-11-24 20:06:35 +04:00
John Preston
0ced28f991
Nice animations when selecting shared media items.
2017-11-24 19:47:09 +04:00
John Preston
9eacb11f3c
Fix render lag in widgets resizeEvent()->show().
...
ScrollArea calls show() in ScrollBar::resizeEvent. If this event
handlers was called from SendPending...() you could set fake .._Shown
attribute on, call resizeEvent() and remove this attribute even if it
should not be removed already - after call to show().
2017-11-24 17:07:36 +04:00
John Preston
981063596a
Add nice scroll to the bottom of the Info layer.
2017-11-23 17:10:50 +04:00
John Preston
98896ab5ac
Fix crash in RpWidget::event() from alive().done()
2017-11-22 18:02:29 +04:00
John Preston
44e94bfbf5
Add workaround for macOS leaveEvent() bugs.
...
On macOS sometimes when mouse leaves the window we don't receive leaveEvent()
calls in the nested widgets, like buttons, only for the window itself.
2017-11-21 18:27:48 +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
903aa46e5c
Disable tabs in third column info.
2017-11-16 13:13:17 +04:00
John Preston
131efa11be
Various fixes.
2017-11-16 11:45:55 +04:00
John Preston
fafcd02e7c
Improve Emoji / GIFs list variable width support.
2017-11-16 07:59:12 +04:00
John Preston
aecc119bac
Add fast chat photo upload to info profile.
2017-11-16 07:59:11 +04:00
John Preston
830c6a4894
Replace PeerAvatarButton with UserpicButton.
2017-11-16 07:59:11 +04:00
John Preston
3d37ac9235
Replace NewAvatarButton with UserpicButton.
...
This new control should also replace PeerAvatarButton and
Profile::UserpicButton and deliver all the best of those three.
2017-11-16 07:59:11 +04:00
John Preston
bca9b3ca3f
Extract a reusable Ui::ResizeArea class.
2017-11-16 07:59:11 +04:00
John Preston
fc66550a32
Support variable width tabs slider.
2017-11-16 07:59:11 +04:00
John Preston
5c12b0e5fa
Use /permissive- flag for Visual Studio builds.
2017-11-16 07:59:10 +04:00
John Preston
dd3ae22e08
Save data from EditPeerInfoBox.
2017-11-16 07:59:10 +04:00
John Preston
8ff0120642
Add EditPeerInfoBox without saving.
2017-11-16 07:59:10 +04:00
John Preston
8191ebfc49
Improve peer context menu for info.
2017-11-16 07:59:09 +04:00
John Preston
11a3308cf5
Scroll to field on search query update.
2017-11-16 07:59:09 +04:00
John Preston
554eb3a342
Move stickers state variables to AuthSessionData.
...
Also allow to click on the selected set when choosing megagroup
sticker set and allow to paste a t.me link to the set there.
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
b51f865c54
Save info members list state to memento.
2017-11-16 07:59:08 +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
583b0fa778
Display common groups in Info profiles.
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
65cc4d3fbc
Support item repaint in Info media overview.
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
c6c75a1980
Animate Info-to-Info transitions.
2017-11-16 07:59:06 +04:00