John Preston
b7550f63c9
Add a floating player for round video messages.
2017-05-24 16:25:15 +03:00
John Preston
7873cb4373
Using media player for voice / video messages.
...
Media::Player::Widget displays the current voice / video message
if it is played and the current song otherwise.
It is created when a voice / video message starts and is destroyed
when all the voice / video messages in the playlist are finished.
2017-05-24 16:25:12 +03:00
John Preston
b9119e5ef6
Play video messages as Type::Voice.
...
Use AudioMsgId instead of videoPlayId.
Any audio track now can be a child loader track of some video clip.
Use Type::Voice instead of Type::Video for round video messages.
Video messages play / pause / resume the same way as voice messages.
2017-05-24 16:25:09 +03:00
John Preston
d581e00299
Improve history items management.
...
Encapsulate HistoryBlock::y and HistoryBlock::height.
2017-05-12 16:53:08 +03:00
John Preston
c4f90983af
Redesign calls service messages.
2017-05-09 23:46:19 +03:00
John Preston
413eafb240
Allow chat creator/admins to delete for everyone.
...
Chat creator and admins (if admins are enabled) now can delete
any message for everyone, not only outgoing ones.
2017-04-30 16:58:45 +03:00
John Preston
a925822141
Generate and handle new video message links.
2017-04-30 16:43:19 +03:00
John Preston
8f719f8c06
Remove edit caption UI for not my messages.
...
Regression was introduced in 8eb7f1f1aa
.
2017-04-21 13:59:03 +03:00
John Preston
5480a63beb
Support round video inline playback with sound.
2017-04-12 22:37:27 +03:00
John Preston
8eb7f1f1aa
Display round video messages using HistoryGif.
...
Use autodownload and autoplay options from GIFs.
Also improve EditCaptionBox code.
2017-04-12 22:37:26 +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
2019c24e08
Pay button and messageMediaInvoice supported.
...
New button type keyboardButtonBuy just shows a box with information.
WebDocument photo type is not supported yet, 'photo' is ignored.
Also HistoryMediaPtr is now implemented as a std::unique_ptr wrapper.
2017-03-30 12:49:15 +03:00
John Preston
f2465eba73
Make MTPstring and MTPvector value types.
...
Also move MTPstring implementation to QByteArray.
2017-03-10 23:27:26 +03:00
John Preston
83720d8789
Finalizing file renaming.
2017-03-04 13:23:56 +03:00
John Preston
08167a6a91
Removed #include "stdafx.h" from all files.
...
Currently the build without implicitly included precompiled header
is not supported anyway (because Qt MOC source files do not include
stdafx.h, they include plain headers).
So when we decide to support building without implicitly included
precompiled headers we'll have to fix all the headers anyway.
2017-03-04 12:27:52 +03:00
John Preston
63c61637f8
Moved MTP::authedId() to AuthSession::Current().
2017-02-25 19:48:19 +03:00
John Preston
ffc557a0f9
Using standard library instead of std_ namespace.
...
Currently tested only in VS2015.
2017-02-21 16:45:56 +03:00
John Preston
e922e5be39
Alpha 1.0.8: seek in voice messages (by waveform).
2017-02-11 01:37:37 +03:00
John Preston
c39bf239ea
Removed legacy HistoryItem::type() code.
2017-02-10 17:16:50 +03:00
John Preston
4424dbf64a
Allow to resize chats list. One more mode added (narrow chats list).
2017-01-16 12:55:03 +03:00
John Preston
7fb1463c43
Version 1.0 stable: bump copyright date to 2017.
2017-01-11 23:02:13 +04:00
John Preston
eec5b78054
Delete for everyone checkbox added. Various bugfixes.
2017-01-01 15:47:00 +04:00
John Preston
ef927c8465
Theme preview ready.
...
Also style::color is now copyable, constructed only inside a palette.
Also macOS setup new background ready.
2016-12-30 17:53:05 +04:00
John Preston
eb4d2a38b6
Closed beta 10020003: All colors moved to palette, some bug fixes.
2016-12-30 17:53:02 +04:00
John Preston
06ed7b8eaf
Some more ripple animations. Now only anim::value (float64).
...
Also each FloatAnimation now stops MTP responses.
Also slide animations done by FloatAnimation.
Closed beta 10019012.
2016-12-30 17:52:46 +04:00
John Preston
8958ae0377
Typing animations from android.
2016-12-30 17:52:36 +04:00
John Preston
3cff50009c
Closed beta 10019010: unified attach button, new intro, new stickers.
...
Now all files sending is confirmed before preparing for sending.
You can paste from clipboard and drag many files at once.
2016-12-30 17:52:32 +04:00
John Preston
6e0394dd42
Stickers box redesigned.
2016-12-30 17:52:28 +04:00
John Preston
d607f0768a
Closed version 10019009: bubbles with tails.
2016-12-30 17:52:16 +04:00
John Preston
07689476a6
Closed beta 10019008: Some more ripple animations added.
2016-12-30 17:52:13 +04:00
John Preston
7fa274a68e
Improved ripple animation colors and styles for different buttons.
...
Also moved FlatLabel and LabelSimple to ui/widgets/labels module.
Also moved ScrollArea to ui/widgets/scroll_area module.
2016-12-30 17:52:10 +04:00
John Preston
d12177befd
Update Telegram button added to DialogsWidget/Intro. Three dot menu.
2016-12-30 17:51:41 +04:00
John Preston
ec6e46dae7
Some more icons moved from sprite.
2016-10-26 15:24:21 +03:00
John Preston
eb47b9468c
Various fixes.
...
Copy inline keyboard when forwarding messages with a game.
Don't show "Deleted Message" in service message with scores.
Improved tiny web page previews. Ignore right button in emoji panel.
2016-10-07 10:58:34 +03:00
John Preston
41dc0f4e98
Hide all button added to default notifications.
2016-10-05 19:56:27 +03:00
John Preston
0bf55835f5
NB Broken! Notifications refactored to Manager, only Windows working.
2016-10-02 16:54:27 +03:00
John Preston
538ffb9727
Moved History[Media] classes to history_media_types module.
2016-09-28 13:15:03 +03:00
John Preston
d277b0d4bb
Some parts from history module moved to history_[item,media,message].
2016-09-27 17:20:49 +03:00