John Preston
6a4aa184f3
Closed beta 1.1.23.10.
2017-11-24 21:42:19 +04:00
John Preston
20c9280ada
Add some more debug info for crashes.
2017-11-24 21:41:31 +04:00
John Preston
fea122ae12
Handle PHONE_NUMBER_BANNED error in login.
2017-11-24 21:41:09 +04:00
John Preston
86c0205faa
Handle USERS_TOO_FEW error in group creation.
2017-11-24 20:33:06 +04:00
John Preston
9f76be9d26
Elide 'Delete for {user}' checkbox text.
2017-11-24 20:28:14 +04:00
John Preston
7705696d54
Hide all PopupMenu when enabling local passcode.
2017-11-24 20:06:35 +04:00
John Preston
bb7ab625c1
Fix channel admin rights checking.
2017-11-24 20:05:50 +04:00
John Preston
da386f2c2e
Update user status in Info::Profile cover.
2017-11-24 19:51:47 +04:00
John Preston
0ced28f991
Nice animations when selecting shared media items.
2017-11-24 19:47:09 +04:00
John Preston
9dc39cb758
Add slide animation to Info::TopBarOverride.
2017-11-24 18:12:39 +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
4b1d15f968
Closed beta 1.1.23.9.
2017-11-23 19:46:08 +04:00
John Preston
7395cc21b8
Update libtgvoip, opus to 1.2.1 and ffmpeg to 3.4.
2017-11-23 19:41:59 +04:00
John Preston
efdba3a482
Handle errors in getMessages().
2017-11-23 19:41:13 +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
981063596a
Add nice scroll to the bottom of the Info layer.
2017-11-23 17:10:50 +04:00
John Preston
67d4eb688a
Reverse user and chat profile photos.
2017-11-23 13:58:12 +04:00
John Preston
da71938d18
Link libstdc++ statically in Updater.
...
This will allow running it on Ubuntu 12.04 when it was built on 14.04.
2017-11-23 09:29:58 +04:00
John Preston
2850d456d0
Closed beta 1.1.23.8: Test an upstream fix backport for macOS issue.
2017-11-22 21:53:10 +04:00
John Preston
5063a22155
Closed beta 1.1.23.8.
2017-11-22 18:03:00 +04:00
John Preston
98896ab5ac
Fix crash in RpWidget::event() from alive().done()
2017-11-22 18:02:29 +04:00
John Preston
5913e6d187
Closed beta 1.1.23.7.
2017-11-22 15:11:41 +04:00
John Preston
f477aea2a5
Add some more debug info for crashes.
2017-11-22 15:10:11 +04:00
John Preston
5803edb77b
Add members from info to mgInfo->lastParticipants.
2017-11-22 13:56:00 +04:00
John Preston
f6ba59ed14
Improve group stickers choose process.
...
Allow to choose from featured if used has no his own sets.
Allow to choose group sticker set from group info box.
2017-11-22 13:31:02 +04:00
John Preston
542ba89f25
Edit pre-history visibility in megagroups.
2017-11-22 12:04:45 +04:00
John Preston
2387b66e86
Allow supergroup members to clear history.
2017-11-22 12:04:24 +04:00
John Preston
75d8d01b17
Allow pinned messages in channels.
2017-11-21 18:27:48 +04:00
John Preston
b337d54623
Use custom base::overload() helper.
2017-11-21 18:27:48 +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
6ca105a290
Minimal layer 72 support.
2017-11-20 23:54:05 +04:00
John Preston
bccd801874
API scheme updated to layer 72.
2017-11-20 16:33:12 +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
bc7c88c511
Fix build in Xcode / GCC.
2017-11-19 20:31:58 +04:00
John Preston
f1f955b7ac
Pass already-members when adding members to channel.
2017-11-19 18:41:52 +04:00
John Preston
68bc8d0231
Add range-v3 library.
2017-11-19 18:37:07 +04:00
John Preston
04a1cff24a
Fix wrong unread counter in history top bar.
2017-11-19 15:52:15 +04:00
John Preston
de15da8a93
Improve info layer presentation.
2017-11-19 15:37:15 +04:00
John Preston
59938791ef
Closed beta 1.1.23.6: Log crash info.
2017-11-18 00:04:22 +04:00
John Preston
3ef0bcc5d5
Closed beta 1.1.23.6.
2017-11-17 22:52:16 +04:00
John Preston
15d2ce150d
Remove Send Message animation in !Wrap::Side
2017-11-17 21:02:49 +04:00
John Preston
33ae4b176a
No shared media empty placeholders while loading.
2017-11-17 20:20:31 +04:00
John Preston
4aae4f9399
Show channel members inside Info as well.
2017-11-17 20:06:20 +04:00
John Preston
fc4c31b673
Make members header a button.
2017-11-17 19:34:51 +04:00
John Preston
88d7f172ca
Improve unread counter for HistoryTopBarWidget.
2017-11-17 18:54:01 +04:00
John Preston
bef87c6dff
Allow showing chat members in a special section.
2017-11-17 17:23:36 +04:00
John Preston
747ebd2136
Make links clickable in channel descriptions.
2017-11-17 11:42:53 +04:00
John Preston
41873412e7
Fix crash and improve info navigation.
2017-11-17 11:33:20 +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
0a5ba3490d
Closed beta 1.1.23.5.
2017-11-16 21:20:27 +04:00
John Preston
55616a4d1b
Inject active peer profile on the stack bottom.
...
Always have active peer profile on the bottom of third column stack.
2017-11-16 21:19:41 +04:00
John Preston
c872cd76e1
Improve window extension by third column.
2017-11-16 20:43:52 +04:00
John Preston
cf977cb41a
Improve history -> profile top bar navigation.
2017-11-16 19:24:01 +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
5a159d0204
Improve string encoding.
2017-11-16 07:59:12 +04:00
John Preston
7fdeab829f
Paint native title instead of using custom.
2017-11-16 07:59:12 +04:00
John Preston
4e1b94d37d
Allow 3 photo/video in the minimal third column.
2017-11-16 07:59:12 +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
fafcd02e7c
Improve Emoji / GIFs list variable width support.
2017-11-16 07:59:12 +04:00
John Preston
defa0ae4d0
Improve stickers list variable width support.
2017-11-16 07:59:12 +04:00
John Preston
7db80d20f1
Closed beta 1.1.23.4.
2017-11-16 07:59:12 +04:00
John Preston
a86788f4d7
Improve info section navigation.
...
Also fix render glitch in StickersListWidget.
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
8dd3f24285
Replace Profile::UserpicButton with one from Ui::
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
3deea14559
Remove old shared media overview section.
...
Also move window/top_bar_widget to history/history_top_bar_widget.
2017-11-16 07:59:11 +04:00
John Preston
534b578598
Fix crash when switching two columns at once.
2017-11-16 07:59:11 +04:00
John Preston
8355722f4e
Closed beta 1.1.23.3.
2017-11-16 07:59:11 +04:00
John Preston
866ff628b7
Fix render bug, enable wide third column.
2017-11-16 07:59:11 +04:00
John Preston
fe9630bb20
Allow to resize third column.
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
3a25313e61
Fix restoring shared media state.
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
0255d0c59e
Support any size in the tabbed selector.
2017-11-16 07:59:10 +04:00
John Preston
5c12b0e5fa
Use /permissive- flag for Visual Studio builds.
2017-11-16 07:59:10 +04:00
John Preston
aa160e775c
Fix huge CPU consumption in the group info profile.
2017-11-16 07:59:10 +04:00
John Preston
d3c152022c
Closed beta 1.1.23.2
2017-11-16 07:59:10 +04:00
John Preston
dbb011fc56
Add members link in info for channel admins.
2017-11-16 07:59:10 +04:00
John Preston
a6df928d45
Improve copy of info profile phrases.
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
3998fad7ef
Add manage supergroup / channel box.
2017-11-16 07:59:10 +04:00
John Preston
7f8cdf85d5
Grow history stack following joinchat links.
2017-11-16 07:59:10 +04:00
John Preston
1871425b2d
Add 'X' and admin star in group info members.
2017-11-16 07:59:10 +04:00
John Preston
5f0ba48309
Add top bar menu and notifications toggle.
2017-11-16 07:59:10 +04:00
John Preston
9743dc1ffb
Add some more actions to three dot menu.
2017-11-16 07:59:10 +04:00
John Preston
fcf2b9d1a7
Add some more actions to info profile.
2017-11-16 07:59:10 +04:00
John Preston
9f37820901
Add bot Help and Settings buttons in info.
2017-11-16 07:59:09 +04:00
John Preston
4295a823c6
Improve bot About section in info profile.
2017-11-16 07:59:09 +04:00
John Preston
8191ebfc49
Improve peer context menu for info.
2017-11-16 07:59:09 +04:00
John Preston
3fe12f1249
Display verified badge in the info.
2017-11-16 07:59:09 +04:00
John Preston
230c83d218
Follow group->supergroup migration in 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
3992ff6b59
Switch add member and search members buttons.
2017-11-16 07:59:09 +04:00
John Preston
a05c7a815a
Fix animation lag in info layer wrap.
2017-11-16 07:59:09 +04:00
John Preston
a7807420fa
Fix animation lag in shared media.
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
d67a8a4708
Fix edit bio in Settings.
2017-11-16 07:59:09 +04:00
John Preston
9c01bbca95
Fix invoice amount display.
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
9a56b2d20f
Move dialogsWidthRatio to AuthSessionData.
2017-11-16 07:59:09 +04:00
John Preston
4771ea7cd4
Display "{from}:" in global search results.
...
Regression was introduced in c09fbcfeb3
.
2017-11-16 07:59:09 +04:00
John Preston
aec496d520
Remove RTL Override symbols from filenames.
2017-11-16 07:59:09 +04:00
John Preston
cb5c59c86c
Fix build and crash in Xcode.
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
a6361d6221
Move common_groups info module.
2017-11-16 07:59:08 +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
c9152b0b3a
Cache media search results until empty query.
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
f6ed3dff7f
Rewrite base::lambda_guard, use only one pointer.
...
Support base::enable_weak_from_this for guarding, not only QObject,
in base::lambda_guard, in App::CallDelayed and in App::LambdaDelayed.
Allow only one guarding pointer, no places in code use more than one.
2017-11-16 07:59:08 +04:00
John Preston
101d4f6444
Use std::function for base::lambda implementation.
...
base::lambda becomes just std::function and base::lambda_once becomes
base::unique_function - a move-only wrapper around std::function.
This is required because Visual C++ 2017 15.4.1 has a compiler bug
with static member variables of class templates, they may collide.
The std::function uses inheritance and virtual functions instead of
custom vtables done by static members of class templates used in
custom base::lambda implementation, so they work fine.
2017-11-16 07:59:08 +04:00
John Preston
fde3ff1bbf
Simplify rpl::consumer.
2017-11-16 07:59:08 +04:00
John Preston
53de44f272
Clear selection after forward in info shared media.
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
9a988d89e3
Remove std::any dependency (for now).
...
Xcode 9 still doesn't have std::any :(
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
fb46c33d7f
Add context menu support to info members list.
2017-11-16 07:59:07 +04:00
John Preston
856ca22aad
Display online count in the info profile section.
2017-11-16 07:59:07 +04:00
John Preston
508fa14385
Workaround render glitches on new MacBooks.
...
For unknown reason large windows have bad render glitches in High Sierra.
Forcing of OpenGL composition (by adding a fake child QOpenGLWidget) fixes it.
2017-11-16 07:59:07 +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
6b5e06de50
Removed collapsing of shared media.
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
7b69282c7e
Add rpl::merge().
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
66146c382d
Improve paths for Xcode build.
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
e02d209e6f
Fix build with GCC.
2017-11-16 07:59:07 +04:00
John Preston
6445c0563e
Fix reading from freed memory in rpl::take().
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
fee517384c
Disable round videos in shared media for now.
2017-11-16 07:59:07 +04:00
John Preston
aa260d263b
Don't forget current item in MediaView.
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
fdd89d65ca
Allow using custom comparators in flat_[map|set].
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
335704e176
Fix layer resize animation glitches.
2017-11-16 07:59:06 +04:00
John Preston
c0bb8a8af7
Return third section when returning in main section.
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
c6c75a1980
Animate Info-to-Info transitions.
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
525cde3498
Use make_state for flatten_latest().
2017-11-16 07:59:06 +04:00
John Preston
c4d33f9986
Add rpl::take(count).
2017-11-16 07:59:06 +04:00
John Preston
f0ad78d808
Change *[Fast|Animated] to anim::type in SlideWrap.
2017-11-16 07:59:06 +04:00
John Preston
83850d9b86
Change *[Fast|Animated] to anim::type in FadeWrap.
2017-11-16 07:59:06 +04:00
John Preston
0c4bda71fd
Remove some unused / rare phrases.
2017-11-16 07:59:05 +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
John Preston
ea0f6b9a12
Use 'if constexpr ()' instead of tag dispatch.
2017-11-16 07:59:05 +04:00
John Preston
5cc7cb1d85
Allow empty arg list in rpl next/error handlers.
2017-11-16 07:59:05 +04:00
John Preston
21b1ba1f88
Move build to Ubuntu 14.04 and GCC 7.2.
...
To be able to run on the same distributions as before we need to have
the same GLIBC version dependency as in Ubuntu 12.04, which is 2.15.
For that we need to remove all usages of GLIBC features from 2.16 and above.
Currently there are three methods used, so they're wrapped in a separate
static library, linux_glibc_wraps.
It is a separate library because it must be compiled without '-flto' flag,
otherwise the inline __asm__ is not working and we get unresolved symbols.
2017-11-16 07:59:05 +04:00
John Preston
1cd126d728
Disable not type-erased consumers on GCC.
2017-11-16 07:59:05 +04:00
John Preston
6861059d18
Fix build for old OS X with Qt 5.3.2
2017-11-16 07:59:05 +04:00
John Preston
80d9938e96
Support and use not type-erased consumers.
2017-11-16 07:59:05 +04:00
John Preston
fddcdf359b
Use not type-erased producers in code.
2017-11-16 07:59:05 +04:00
John Preston
cdda7f8f9a
Allow not type-erased producers.
2017-11-16 07:59:05 +04:00
John Preston
086e46c162
Add and use only rpl::start_with_*() methods.
2017-11-16 07:59:05 +04:00
John Preston
ed061252a5
Move to Xcode 9.0 and fix errors in Clang build.
2017-11-16 07:59:05 +04:00
John Preston
7c4e4d7fa2
Closed beta 1.1.23.1.
2017-11-16 07:59:05 +04:00
John Preston
4180ed09a5
Add user actions to info profile.
2017-11-16 07:59:05 +04:00
John Preston
f50bf0b97f
Show old overview / common groups for now.
2017-11-16 07:59:05 +04:00
John Preston
2c75b4836d
Improve sorting by online in info profile.
2017-11-16 07:59:05 +04:00
John Preston
292e57ffc7
Use PeerListBox content in info profile.
2017-11-16 07:59:04 +04:00
John Preston
1a0e524b49
Optimize third column (create it only once).
...
Before historyPeer and historyPeerCanWrite were independent, so we
created a new Info section for both of them changing.
Now we use Data::CanWriteValue(peer) and rpl::flatten_latest().
2017-11-16 07:59:04 +04:00
John Preston
ffc20e4492
Divide structs into several data/ modules.
2017-11-16 07:59:04 +04:00
John Preston
f2a5862714
Add members list to info profile.
2017-11-16 07:59:04 +04:00
John Preston
faeb1483f2
Divide info_profile_lines in different modules.
2017-11-16 07:59:04 +04:00
John Preston
a4c2138e74
Finalize move of info-profile modules.
2017-11-16 07:59:04 +04:00
John Preston
1c5d410373
Move info-profile modules to info/profile/
...
Next commit fixes the build.
2017-11-16 07:59:04 +04:00
John Preston
b9fb9af74f
Info shared media and common groups counters.
2017-11-16 07:59:04 +04:00
John Preston
812dcb5e8d
Update styles to match the design.
2017-11-16 07:59:04 +04:00
John Preston
703b944839
Return FlatLabel.margins in getMargins().
2017-11-16 07:59:04 +04:00
John Preston
e1ba9f8ff8
Hide send message in Info for current chat.
2017-11-16 07:59:04 +04:00
John Preston
3db696d52f
Add rpl::combine_previous() operator.
2017-11-16 07:59:04 +04:00
John Preston
6d0dbebda9
Fix tabbed selector section / panel exchange.
2017-11-16 07:59:04 +04:00
John Preston
f4d9618487
Improve layer / section exchange for Info.
2017-11-16 07:59:04 +04:00
John Preston
b7077eb71d
Enable third column info by default.
2017-11-16 07:59:03 +04:00
John Preston
1a4d326abb
Show Info if writing is forbidden.
2017-11-16 07:59:03 +04:00
John Preston
48cbdd9d40
Don't toggle tabbed section from OneColumn.
2017-11-16 07:59:03 +04:00
John Preston
26532ab9b4
Fix small chats list column bug with boxes.
2017-11-16 07:59:03 +04:00
John Preston
c0e780a28f
Allow small dialogs list with three columns.
2017-11-16 07:59:03 +04:00
John Preston
5c4daeee4c
Add rpl::variable, improve filter / combine.
2017-11-16 07:59:03 +04:00
John Preston
1c5abaa518
Remove mutex locks from rpl for now.
2017-11-16 07:59:03 +04:00
John Preston
5586d231de
Switch Info between columns and layer.
2017-11-16 07:59:03 +04:00
John Preston
3fbb643d51
GCC bug workaround.
...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67274
2017-11-16 07:59:03 +04:00
John Preston
766e7dadb1
Use improved rpl::start().
2017-11-16 07:59:03 +04:00
John Preston
ee9763c98f
Improve rpl::combine() and rpl::start().
2017-11-16 07:59:03 +04:00
John Preston
5e7aa4ff81
Move third column from HistoryWidget to MainWidget.
2017-11-16 07:59:03 +04:00
John Preston
f162462111
Move info between Layer and Narrow wrap.
2017-11-16 07:59:03 +04:00
John Preston
088d23d557
Start new Info section (profile + shared media).
2017-11-16 07:59:02 +04:00
John Preston
fbcd5e2f1e
Try to use const-ref better in rpl.
2017-11-16 07:59:02 +04:00
John Preston
c302219f9e
Use rpl in some widgets and effects.
2017-11-16 07:59:02 +04:00
John Preston
21d136e224
myEnsureResized() now forces recursive create.
2017-11-16 07:59:02 +04:00
John Preston
487ddb5694
Add some rpl operators.
2017-11-16 07:59:02 +04:00
John Preston
873ccf8096
Implement SharedMediaWithLastViewer using rpl.
2017-11-16 07:59:02 +04:00
John Preston
696478843e
Implement UserPhotosViewer using rpl.
2017-11-16 07:59:02 +04:00
John Preston
2690618da2
Add Storage::UserPhotos and UserPhotosSlice.
2017-11-16 07:59:02 +04:00
John Preston
68a0e32a3d
Add SharedMediaSliceWithLast for chat photos.
2017-11-16 07:59:02 +04:00
John Preston
449986456e
Add SharedMediaSliceMerged for migrated histories.
2017-11-16 07:59:02 +04:00
John Preston
2363a6bd44
Add SharedMediaSlice to observe shared media.
...
Start testing / using it in MediaView.
2017-11-16 07:59:02 +04:00
John Preston
41ed2d1b84
New storage for shared media messages index.
2017-11-16 07:59:02 +04:00
John Preston
b873fee1cf
Use rvalue references in rpl next / error.
2017-11-16 07:59:01 +04:00
John Preston
e70052e966
Add piping and on_next, on_error, on_done, start.
2017-11-16 07:59:01 +04:00
John Preston
101fdb1fba
Add event_stream for events with many consumers.
2017-11-16 07:59:01 +04:00
John Preston
ebe4bbbf0f
Add core rpl::producer/consumer implementation.
2017-11-16 07:59:01 +04:00
John Preston
1c8db1e2e9
Fix travis build for the latest ffmpeg code.
2017-11-13 13:55:11 +04:00
John Preston
d46a5f693f
Remove unused lang phrases and some code.
2017-09-28 19:18:27 +03:00
eegorov
8bfe407610
New build option: without GTK and appindicator
...
Signed-off-by: Egor Y. Egorov <egor.y.egorov@gmail.com> (github: eegorov)
2017-09-28 18:32:51 +03:00
visuve
08e3a54a58
Mark missing ctors deleted
...
- Satisfy the rule of five
Signed-off-by: Veli-Matti Visuri <veli-matti.visuri@cerescon.fi> (github: visuve)
2017-09-28 18:23:42 +03:00
visuve
8c92f42de3
Fix uninitialized values
...
- Use C++11 default member initializers
Signed-off-by: Veli-Matti Visuri <veli-matti.visuri@cerescon.fi> (github: visuve)
2017-09-28 18:23:42 +03:00
Alexander GQ Gerasiov
07106897a6
Fix CVE-2016-10351: Insecure cWorkingDir permissions.
...
Set 700 permisson on dir on every start.
Signed-off-by: Alexander GQ Gerasiov <gq@cs.msu.su>
2017-09-28 18:19:27 +03:00
Jan Niklas Hasse
e42cc02d0e
Prefer AppIndicator if DBus interface is available
...
Starting with Ubuntu 17.10 the interface will be provided by an
extension (shipped by default):
https://github.com/ubuntu/gnome-shell-extension-appindicator
Legacy tray icons have been completely removed in GNOME 3.26. By
checking the interface, this will allow users of other distributions
with GNOME to also use Telegram's indicator with the extension.
Signed-off-by: Jan Niklas Hasse <jhasse@bixense.com> (github: jhasse)
2017-09-28 12:59:46 +03:00
Yonsh Lin
11a46a1072
Fix IME being interrupted after reconnection
...
Signed-off-by: Yonsh Lin <yonsh@live.com> (github: yonsh)
2017-09-28 12:57:25 +03:00
John Preston
b8d1b8d6c1
Update build docs for VS 2017.
...
Closes #3117 . Closes #3729 .
2017-09-06 17:11:30 +03:00
John Preston
7ae1ef0a1a
Migrate to VS2017.
2017-09-06 17:11:06 +03:00
John Preston
13aa42c883
Use GYP rule for Qt MOC only on Telegram project.
2017-09-06 12:12:04 +03:00
John Preston
aca957595a
Version 1.1.23.
...
- See the message author photo and name
while searching specific chat messages.
- Fix "Send To" menu action on Windows.
2017-09-05 20:38:38 +03:00
John Preston
c09fbcfeb3
Display author photo / name in search results.
2017-09-05 20:21:56 +03:00
John Preston
def97b3f70
Update faved sticker / saved GIF remove button.
2017-09-05 19:34:36 +03:00
John Preston
da373e3334
Update emoji / sticker icons.
2017-09-05 17:44:14 +03:00
John Preston
28a0402253
Fix command line parsing.
2017-09-05 17:38:40 +03:00
John Preston
a09fa1b267
Fix sending files from "Send To" in Windows.
...
Regression was introduced in 8e433971c9
.
2017-09-05 16:45:58 +03:00
John Preston
917be105ac
Version 1.1.22: Faved stickers limit is 5 right now.
2017-09-04 16:29:35 +03:00
John Preston
710f9d049f
Version 1.1.22.
...
- Bug fixes and other minor improvements.
2017-09-04 15:34:40 +03:00
John Preston
34a43fc62f
Update langs.
2017-09-04 15:34:11 +03:00
John Preston
5e77fe8412
Don't display admin stars if admins are disabled.
2017-09-04 15:21:54 +03:00
John Preston
52195ff95a
Fix saving chat admins.
...
Regression was introduced in 0880c01a20
.
2017-09-04 15:21:53 +03:00
John Preston
5b77bd5aa0
Limit maximum IP length in case of corrupted data.
2017-09-04 15:21:52 +03:00
John Preston
fbf8cd04b5
Fix travis build.
...
Regression was introduced in 5faca8d4f6
.
GYP patch for GCC precompiled header support was accidentally removed.
2017-09-04 14:30:33 +03:00
John Preston
1effaa4e03
Version 1.1.21.
...
- Bug fixes and other minor improvements.
2017-09-03 23:41:04 +03:00
John Preston
66c94515f3
Fix crash in setting group sticker set.
2017-09-03 22:50:16 +03:00
John Preston
c2a1cc2ae8
Fix crash in contacts list box global search.
...
Regression was introduced in f7359093b4
.
2017-09-03 22:50:16 +03:00
John Preston
ad41a81b66
Fix window size reset on every launch.
...
Regression was introduced in b08732cf28
.
In MediaView constructor a call to setWindowState(WindowFullScreen)
invokes QWindowSystemInterface::flushWindowSystemEvents() which then
delivers some delayed system window resize event for the main window,
resetting its size to something default.
2017-09-03 22:50:15 +03:00
John Preston
2e374e68c5
Fix working with layers.
...
Regression was introduced in df64c97
.
New base::flags work correctly only if all mutually exclusive flag
values use mutually exclusive bits (a & b == 0 for exclusive (a, b)).
Closes #3856 .
2017-09-03 22:49:33 +03:00
John Preston
8f82880b93
Version 1.1.20.
...
- Groups with unread mentions and replies are now marked
with an '@' badge in the chats list.
- Navigate new mentions and replies in a group
using the new '@' button.
- Mark your stickers as “favorite” to quickly access them
from the redesigned sticker panel.
- Add an official sticker set for your group which all members will
be able to use while chatting in your group (100+ member groups only)
2017-09-03 19:23:50 +03:00
John Preston
cd8d73c7ad
Langs updated.
2017-09-03 19:14:47 +03:00
John Preston
c76389e126
Allow to use base::lambda independently.
2017-09-03 15:45:49 +03:00
John Preston
76489a7885
Fix stack overflow in passcode lock check.
...
A regression was introduced in e209737b1a
.
We call MainWindow::doWeReadMentions() in the history paintEvent,
that calls Auth().checkAutoLock() and may start passcode locking.
Passcode locking starts animation and grabs the window content,
calling history paintEvent() which leads to deadlock.
Now we call Auth().checkAutoLock() asyncronously.
2017-09-03 15:45:48 +03:00
John Preston
df64c972d8
Replace QFlags with base::flags.
2017-09-03 15:45:47 +03:00
John Preston
a1344e862a
Add base/flags for bit flags on scoped enums.
2017-09-03 15:45:46 +03:00