John Preston
12523f4c0c
Checking self-computed crc32 magics with the ones from tl scheme.
2016-07-17 21:21:57 +03:00
John Preston
cb0c99acc8
Seek done in video player in MediaView. Some memory leaks fixed.
...
Using pixmapFromImageInPlace() instead of QPixmap::fromImage().
2016-07-13 20:34:57 +03:00
John Preston
38c2915533
Fixes in floating dates with migrated histories.
...
All service messages are now not multiline (including pinned).
Confirmation for profile photo deleting will be added (not enabled).
Copy-by-selection should be supported in Linux version now.
Drafts that contain only reply-to-id (without text) support added.
2016-06-14 19:26:41 +03:00
John Preston
16429b3008
Floating dates that appear animated when scrolling messages added.
2016-06-10 13:21:09 +03:00
John Preston
520260f207
Merge branch 'profile' into drafts
...
Conflicts:
Telegram/SourceFiles/app.cpp
Telegram/SourceFiles/codegen/style/processor.cpp
Telegram/SourceFiles/history.cpp
Telegram/SourceFiles/historywidget.cpp
Telegram/SourceFiles/mainwidget.cpp
Telegram/SourceFiles/mainwidget.h
Telegram/SourceFiles/profilewidget.cpp
Telegram/SourceFiles/profilewidget.h
Telegram/Telegram.vcxproj
Telegram/Telegram.vcxproj.filters
2016-06-06 18:16:52 +03:00
John Preston
958e47cc19
Received messages are not marked as read while scroll is at the top.
...
HistoryToEnd button is always shown if there are unread messages.
HistoryToEnd button displayes unread messages count.
New service message (HistoryCleared) is handled (not displayed at all).
2016-06-03 15:45:33 +03:00
John Preston
7f353d9b1a
Removed all code related to channel comments.
2016-05-27 19:47:46 +03:00
John Preston
1c13556b8d
Simplified usage of Observer, new event types can be added easier.
2016-05-25 21:49:47 +03:00
John Preston
46ad43bb1e
New profile cover actions by buttons done.
...
Two new types of Observers: image loaded and async file dialog.
2016-05-25 20:59:21 +03:00
John Preston
533a955dda
Unread outgoing messages in supergroups supported.
...
Looking through the history of group avatar photos added.
Messages about some contact joined Telegram are never unread.
2016-05-20 19:35:16 +03:00
John Preston
af248a6714
EntityInText made class instead of struct. Scheme updated.
...
No left trim of monospace text block when sending / displaying text.
New entity type (mention name) introduced, but not supported yet.
2016-04-29 15:00:48 +03:00
John Preston
2834ce0344
Moving to Qt 5.6.0, instructions can be broken.
2016-04-23 14:40:42 +03:00
John Preston
5a3fea05ac
ClickHandler, TopBarWidget and Overview layouts moved to separate files.
...
Xcode and QtCreator builds are currently broken.
2016-04-13 00:31:28 +03:00
John Preston
fe59c815b2
HistoryMedia always holds a pointer to its parent HistoryItem.
...
Using local cached data when sending media inline bot results.
2016-04-10 18:53:01 +04:00
John Preston
90b2b240ce
Merged with master.
2016-04-09 15:15:23 +04:00
John Preston
ff839bd978
Scheme updated. Inline geo sending requests without geo.
2016-04-08 21:25:20 +04:00
John Preston
fa0c700ca6
Inline switch to pm and back support added for inline bots.
2016-04-08 18:16:52 +04:00
John Preston
8e89486fbc
Error handling changed, 'auto' keyword used for MTP types.
...
All errors that lead to MTP request resending by default
error handler now can be handled differently. For example
inline bot requests are not being resent on 5XX error codes.
+ extensive use of auto keyword in MTP types handling.
2016-04-08 14:44:35 +04:00
John Preston
35c05cdba7
Build fixed for gcc, QtCreator.
2016-04-07 20:49:15 +04:00
John Preston
db387d50b8
Scheme updated, support for via @bot added to stickers.
2016-04-07 14:03:10 +04:00
John Preston
a728dcfca8
Sticker preview done for inline bot results.
...
ReplyMarkupClickHandler moved to .cpp (implementation details).
2016-04-06 19:32:05 +04:00
John Preston
ba7cb1abbc
Defaulting inline bot reuslt video title/description to
...
"Video file"/duration. Scheme updated.
2016-04-06 17:46:52 +04:00
John Preston
80b0667ff9
Requesting getDifference if some users or channels are not loaded
...
while processing updateNewChannelMessage update.
2016-04-06 15:07:05 +04:00
John Preston
259a996276
Scheme updated. Inline bot result messages now may have reply markup.
...
Fully applying media from send inline bot result response.
2016-04-06 12:00:37 +04:00
John Preston
35785efa50
Inline bot video and sticker layout and sending done.
2016-04-03 13:11:41 +04:00
John Preston
cf9a78a164
Inline bot stickers done, but not tested yet.
2016-04-02 15:20:53 +04:00
John Preston
f7dc832dfe
Scheme updated. Current mtp layer is now edited inside
...
scheme.tl file in a special comment line.
2016-04-01 20:37:23 +04:00
John Preston
0e0956451a
MTP_bytes() replaces MTP_string() for QByteArray payload.
...
Scheme updated for bot callbacks sending data bytearrays.
ReplyKeyboard edition is supported when editing the messages.
2016-04-01 14:23:40 +04:00
John Preston
40fddc9697
UniquePointer backported. Fixed unifying of adding new history items.
2016-03-31 15:18:21 +04:00
John Preston
8cde13fb8c
Scheme updated, not channel messages editing updates handled.
2016-03-30 21:13:07 +04:00
John Preston
7f6cf32cdd
ITextLink moved to ClickHandler, TextLinkPtr > ClickHandlerPtr.
...
Global methods textlnkOver/Down/DrawOver were replaced by
static members of ClickHandler, now global state consists
of the handler pointer + host pointer, who declares callbacks
for the active and pressed handler changed events.
This will allow to use ClickHandler from different hosts
simultaneously (like HistoryItem / BotDescription / BotKeyboard).
Not yet tested.
2016-03-29 20:17:00 +03:00
John Preston
2c6f74f923
Reply markup keyboard class almost ready, single class
...
for inline and external bot keyboard handling.
But it needs to reinvent a good improvement/replacement
for ITextLink concept that will support automatic calls
of linkOver()/linkOut() methods in all link holders.
2016-03-28 20:15:17 +03:00
John Preston
daa5016c23
Components are now almost plain structs
...
Moved reply markups to history items which hold them
2016-03-28 15:51:22 +03:00
John Preston
ebf9d3285b
Merge branch 'dev' into bots
2016-03-26 11:24:50 +03:00
John Preston
40ab82e4bd
critical bug fixed in auth import, 0.9.35 dev version
2016-03-25 21:30:19 +03:00
John Preston
559a74847b
OrderedSet class done using QMap as implementation,
...
instead of inheriting it, fixed replies delete code.
2016-03-25 18:20:34 +03:00
John Preston
54032d96b7
Merge branch 'dev' into bots
2016-03-25 15:47:18 +03:00
John Preston
9c7ac50ba6
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-03-25 14:30:10 +03:00
John Preston
a299c1f9e8
fixed upload of files
2016-03-24 23:35:46 +03:00
John Preston
0b6dea311b
scheme for new bot keyboards
2016-03-24 23:34:47 +03:00
John Preston
3e79d7477e
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-03-24 21:12:37 +03:00
John Preston
55e8612f27
fixed QtCreator build
2016-03-24 21:12:30 +03:00
John Preston
cd25799884
Merge branch 'dev' of https://bitbucket.org/johnprestonmail/telegram-desktop into dev
2016-03-24 20:31:55 +03:00
John Preston
605f5305e4
Changed all .. to ... in phrases
2016-03-24 18:07:13 +03:00
John Preston
ef69973e6d
fixed build for Xcode
2016-03-24 16:27:34 +03:00
John Preston
7c99f947eb
added connection implementations to git, protocol improved
2016-03-24 15:57:10 +03:00
John Preston
ad53185645
moved connection implementations from connection module to separate modules, Xcode and QtCreator projects need fixing
2016-03-24 13:55:42 +03:00
John Preston
ddd63d73b7
MTP::nonce -> rand_value, fixed first_name and last_name reading from minimal users
2016-03-24 13:12:18 +03:00
John Preston
d9ef8217e5
moved MTProtoSession and MTProtoConnection to MTP::internal:: namespace
2016-03-24 11:57:11 +03:00
John Preston
26e2918841
Modules renamed in mtproto folder, Xcode build should not work yet
2016-03-23 21:43:12 +03:00