John Preston
48c1576d7f
Add 'Use proxy for calls' option.
2018-05-07 00:29:53 +03:00
John Preston
f9ff676e57
Improve proxies box design and progress animation.
2018-05-05 21:55:38 +03:00
John Preston
9935a36c3d
Create and edit proxy box.
2018-05-05 21:55:38 +03:00
John Preston
87d6081408
Version 1.2.16: Fix build in Xcode 9.3.
2018-04-07 12:47:08 +04:00
John Preston
5ebecb4de3
Display feed userpic in single column layout.
2018-02-08 12:20:53 +03:00
John Preston
fe1a90bd39
Move message context menu to a separate module.
2018-02-08 12:20:52 +03:00
John Preston
840b42934b
Use server-side my_results in contacts.search.
2018-02-08 12:20:51 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
2a409e3734
Add files from clipboard to composed album.
...
Fixes #4243 .
2017-12-29 20:02:23 +03:00
John Preston
5b4694a4eb
Move text options constant to a separate module.
...
Also start MediaView group thumbs code.
2017-12-28 16:06:06 +03:00
John Preston
2569df9e5a
Rename some Ui methods.
...
myEnsureResized -> Ui::SendPendingMoveResizeEvents.
myGrab -> Ui::GrabWidget.
myGrabImage -> Ui::GrabWidgetToImage.
2017-12-26 19:20:08 +03:00
John Preston
8e45b09083
Use different indentation for rpl operators.
...
It works better with Visual Studio IDE.
2017-12-26 19:20:07 +03:00
John Preston
37b018257e
Replace some std::shared_ptr with std::unique_ptr.
2017-12-18 14:38:14 +04:00
John Preston
14034c255e
Replace QSharedPointer with std::shared_ptr.
2017-12-18 13:07:18 +04:00
John Preston
f8e094392f
Fix ripple animation glitch in history top bar.
2017-12-05 20:14:15 +04:00
John Preston
afd1548533
Attempt to fix a crash in touch event handlers.
2017-11-30 22:18:39 +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
903aa46e5c
Disable tabs in third column info.
2017-11-16 13:13:17 +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
fc66550a32
Support variable width tabs slider.
2017-11-16 07:59:11 +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
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
09d1e3629a
Add media search to all info modes.
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
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
583b0fa778
Display common groups in Info profiles.
2017-11-16 07:59:07 +04:00
John Preston
65cc4d3fbc
Support item repaint in Info media overview.
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
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
fddcdf359b
Use not type-erased producers in code.
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
292e57ffc7
Use PeerListBox content in info profile.
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
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
766e7dadb1
Use improved rpl::start().
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
25ffaaaa2d
Replace t_assert() with Assert().
...
Also use this assertions for Expects(), Ensures() and Unexpected().
2017-08-30 19:15:42 +03:00
John Preston
b3da99c302
Replace gsl::not_null<T*> with just not_null<T*>.
2017-08-30 19:15:41 +03:00
John Preston
edbc3f8fde
Use QDataStream directly on QByteArray.
2017-08-25 14:39:30 +03:00
John Preston
b08732cf28
Move MediaView from MainWindow to Messenger.
2017-08-25 14:39:27 +03:00
John Preston
fa818407e6
Improve group sticker set setup box.
2017-08-25 14:39:25 +03:00
John Preston
a143505fd6
Remove lambda_slot() and lambda_slot_once().
2017-08-25 14:39:15 +03:00
John Preston
ce51abd9d0
Change dialogs filter text area for two icons.
2017-08-25 12:58:09 +03:00
John Preston
6f746c238a
Search for messages from a specific user in group.
2017-08-01 21:38:01 +03:00
John Preston
180f83c528
Fix crash in InnerDropdown widget animations.
2017-07-26 23:43:18 +03:00
John Preston
2dec9c46a7
Add emoji autocomplete to history message field.
2017-07-26 15:55:02 +03:00
John Preston
077e128e9a
Don't uncheck a radiobutton on second click.
2017-07-18 20:11:44 +03:00
John Preston
794ad7bda7
Fix main menu night theme layout for non-English.
...
The place for the phrase was too small because of huge left padding.
2017-07-18 20:10:55 +03:00
John Preston
7cc38f8f6a
Improve disabled Ui::Checkbox layout.
2017-07-14 12:47:44 +03:00
John Preston
2f816942b8
Use objects instead of pointers for corners.
...
Also don't change mask corner images when color theme is changed.
This prevents race condition in mask corner images access, because
the GIF frame readers access mask corner images from other threads.
2017-07-13 17:42:46 +03:00
John Preston
f5a405e6f1
Fix auto media download settings box layout.
2017-07-12 16:53:42 +03:00
John Preston
b79ddb7a1c
Handle click on userpic in edit admin/banned box.
...
In admins/banned/restricted lists on row click the edit box is shown.
Now click on the userpic in this box allows to get to user profile.
2017-07-10 15:43:30 +03:00
John Preston
0402b4f5f4
Add X / V vector icon to checkbox Toggle view.
...
Also use them in the admin rights / restrictions boxes.
2017-07-09 18:06:27 +03:00
John Preston
d5c5549c1a
Make Checkbox text position relative to the View.
2017-07-07 14:27:13 +03:00
John Preston
21d2f6a44f
Generalize Checkbox layout.
...
Now any Checkbox can have Check, Radio or Toggle layout.
Radiobutton is now a subclass of Checkbox with default Radio layout.
2017-07-07 14:16:37 +03:00
John Preston
eaf91bba58
Parse bold / italic markdown entities.
2017-07-06 16:44:11 +03:00
John Preston
da0d78135d
Some refactoring in working with text entities.
...
Also move this code to TextUtilities namespace.
2017-07-06 14:37:42 +03:00
John Preston
61659244b7
Add night mode switch to the main menu.
...
Also fix a bug with the default background applying.
2017-06-30 09:21:46 +03:00
John Preston
19023b4cc2
Display a toggle in Menu for Checkable actions.
2017-06-30 09:21:46 +03:00
John Preston
58b4798b79
Fix tooltip hiding when window is hidden by Cmd+H.
...
For some reason deleteLater() called for the tooltip from the main
window deactivation signal is really handled only on app quit :/
So now we use InvokeQueued(p, [p] { delete p; }); there instead.
Fixes #3461
2017-06-30 09:21:45 +03:00
John Preston
75fdd5315f
Add some more colors for theming.
2017-06-30 09:21:44 +03:00
John Preston
e39b95175b
Handle channel event log mouse events.
2017-06-30 09:21:42 +03:00
John Preston
665a1acfd8
Apply language with app restart if logged in.
...
Confirm and restart if logged in, just quickly apply if not.
2017-06-29 11:39:54 +03:00
John Preston
b94099e25b
Realtime UI translation in all fields and buttons.
2017-06-29 11:39:51 +03:00
John Preston
5fc4f4ed36
Realtime UI translation in Intro.
...
Also support realtime translation testing by F7-F6-F7-F8 keys.
2017-06-29 11:39:49 +03:00
John Preston
3f0b57ec11
Retranslate Settings when language is changed.
...
Also suggest user to change language from 'en' to his for one time.
2017-06-29 11:39:45 +03:00
John Preston
110e7c8074
Finalize rename / move.
2017-06-29 11:39:38 +03:00
John Preston
878e46c61a
Alpha 1.1.5.
...
Also fix build in Xcode.
2017-05-26 19:03:41 +03:00
John Preston
7cea6ede1a
Improve input field placeholders with IME.
...
Respect the IME preedit string when toggling the placeholder.
2017-05-26 18:50:25 +03:00
John Preston
9e3f13ba2e
Destroy members dropdown when the peer changes.
...
Also use object_ptr for passing widget in InnerDropdown.
2017-05-26 17:36:59 +03:00
John Preston
25587d7e8e
Replace different side enums with RectPart.
...
Including Ui::Shadow::Side, App::RectPart and ImportantTooltip::Side.
2017-05-24 16:25:20 +03:00
John Preston
87ff770020
Make Media::Clip::Playback independent of slider.
...
Now animation of the playback progress is processed inside the
Media::Clip::Playback and the sliders just hold plain float64 value.
2017-05-24 16:25:06 +03:00
John Preston
132d884600
Fix Ui::ImportantTooltip render on OS X 10.6-10.7.
2017-05-17 23:49:20 +03:00
John Preston
b88a49d2f8
Show a tooltip about the emoji section toggling.
2017-05-17 12:40:03 +03:00
John Preston
23874a0a26
Animate call answer button with an outer ripple.
2017-05-09 23:46:39 +03:00
John Preston
ded6933867
Add call button answer->hangup->redial animation.
2017-05-09 23:46:35 +03:00
John Preston
5f2e295d63
Improve calls panel in macOS.
...
Use Qt::Dialog instead of Qt::Tool which works better with window
activation / deactivation handling.
Stop displaying the panel on all spaces when the call is established.
2017-05-09 23:46:28 +03:00
John Preston
29fc69ebaa
Show emoji fingerprint tooltip in call panel.
2017-05-09 23:46:25 +03:00
John Preston
f6eb2c5205
Add call top bar above the media player.
2017-05-09 23:46:18 +03:00
John Preston
4925af69e2
Add Calls::Panel and handle incoming calls.
2017-05-09 23:46:15 +03:00
John Preston
297856db32
Load and use Segoe UI [Semibold] if no Open Sans.
...
Sometimes Open Sans Semibold fails to load properly on the latest
Windows Creators Update. In that case try to load Segoe UI instead.
An attempt to fix #3276 .
2017-04-30 19:03:12 +03:00
John Preston
4fc2c18f58
Fix crash in intro label crossfade animation.
...
Remove the assertion because the assumption was not valid.
Closed #3270
2017-04-15 20:40:23 +03:00
John Preston
647ea44881
Extract TabbedSelector from TabbedPanel.
...
Now we can use TabbedSelector separately, not only inside the panel.
2017-04-10 12:08:55 +03:00
John Preston
03a59b04be
Add progress animation to GIFs search.
...
Also display "no results" phrase.
2017-04-04 16:19:49 +03:00
John Preston
e8ed307278
Add search in GIFs to EmojiPanel.
2017-03-31 18:58:59 +03:00
John Preston
1540f6f528
Use emoji/stickers/gifs slider in EmojiPan.
...
Also rename EmojiTabs to EmojiSections.
2017-03-31 15:48:01 +03:00
John Preston
5bb68cfd8f
Support reading me_url_prefix from config.
...
The default value 'https://t.me ' can be overriden from server config.
2017-03-30 12:49:16 +03:00
John Preston
a5df46f381
Improve EditPrivacyBox layout.
...
Also fix incorrect killTimer() calls in DiscreteSlider.
2017-03-19 11:32:24 +03:00
John Preston
5530172add
Alpha 1.0.24: Fix build in Xcode.
2017-03-19 00:29:43 +03:00