John Preston
92c720ddc3
Returned animation type to the old one.
...
Fixed new profile display in single column layout.
2016-05-19 15:38:09 +03:00
John Preston
1d42144c95
Profile done as a new generic Window::SectionWidget.
...
Slide animation reimplemented.
2016-05-19 15:03:51 +03:00
John Preston
6e2dea7030
Merge branch 'master' into profile
...
Conflicts:
Telegram/Telegram.vcxproj.filters
2016-05-16 18:47:44 +03:00
John Preston
7444a9ad67
Fixed scroll down to reply. Show that bot admins see all messages.
...
Fixed date display when messages were at the same day of different months.
Shared contact with author signature height increased.
2016-05-14 20:28:35 +03:00
John Preston
bf8a98a13b
Side shadow moved to MainWidget. Testing slide animation with 3s duration.
...
New profile widget has fixed top bar outside of scroll area.
2016-05-14 19:57:06 +03:00
John Preston
cb025b3aa8
Fixed access hash storing in EntityInTextMentionName.
...
Editing message timer is shown for the last five minutes.
2016-05-12 19:55:45 +03:00
John Preston
6188aea7ed
Beta version 9048001 for Xcode and QtCreator.
2016-05-10 16:39:42 +03:00
John Preston
d26a8cbdcc
Mentioning a user without username by first name only. Beta 9048001.
2016-05-10 14:46:27 +03:00
John Preston
f02fc4dd96
Setting f_views flag for a client-side forwarded message with views.
2016-05-10 10:57:40 +03:00
John Preston
0b2401132e
Message edit warning timer (up to 15 minutes).
...
Displaying "edited" info in messages.
2016-05-09 15:03:06 +03:00
John Preston
b28e9a6167
Requesting difference or messages when users from mentions not loaded.
2016-05-09 13:07:25 +03:00
John Preston
90a3a80bf6
Suggest mentions not only by username, but by user names as well.
2016-05-08 19:11:47 +03:00
John Preston
3e5f51f45a
Everywhere TextWithTags and TextWithEntities are used.
...
Copy tags from messages to clipboard, to drag mime data.
Sorting entities while processing (links, monospace, mentions).
2016-05-06 20:33:48 +03:00
John Preston
463450e607
Saving FlatTextarea tags to drafts, applying them in setText.
...
Now instead of plain text a TextWithTags struct is used almost
everywhere. Started writing and reading serialized tags to drafts
from 9048, switched version to 0.9.48 for testing.
2016-05-05 19:04:17 +03:00
John Preston
5a47d8e29b
Marking tags by random values only inside of FlatTextarea.
...
Added a strategy to convert tags to and from tags-for-mime-data.
2016-05-04 23:38:37 +03:00
John Preston
21f462a77e
Mention names support added to FlatTextarea, messages.
...
Copy of mention names to clipboard done, pasting started.
2016-04-30 20:04:14 +03:00
John Preston
b4bc515079
Renamed MentionsDropdown to FieldAutocomplete, moved to separate file.
...
Support for message field mentions without usernames was started.
2016-04-29 16:46: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
724ba9e429
Open edit only for the messages that we can edit.
2016-04-28 12:07:59 +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
705358993d
New style::icon class added, colorized icons by codegen_style.
...
Moved style_core to /ui/style/, Xcode and QtCreator builds are broken.
2016-04-21 20:57:29 +03:00
John Preston
7d272919aa
Version 0.9.44 copy text context menu item added to some messages.
2016-04-20 15:56:59 +03:00
John Preston
bb70a76b9c
Several crashes fixed.
2016-04-14 22:24:42 +03:00
John Preston
68a9a0a12e
Text copy from HistoryItem/HistoryMedia/combined is done and tested.
...
Moved text module to ui/text/ and split it to several modules.
Xcode build currently broken.
2016-04-14 14:00:23 +03:00
John Preston
c4a7d48d96
Selection of text in attachments: captions, web page previews.
...
Text/HistoryItem/HistoryMedia::getState() unified.
Text::getStateElided added. Tested with web page previews only.
2016-04-13 21:29:32 +03:00
John Preston
a033e31743
Possible crash fixed in ClickHandler.
2016-04-13 08:55:01 +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
b07cd1264c
Version 0.9.42: critical bug fix in contacts box, message edit fix.
2016-04-12 11:13:03 +03:00
John Preston
af014b3c14
Fixed crash in bot keyboard replacement. 0.9.41 version.
...
After username resolve bots always opens conversation, not profile.
2016-04-12 01:34:29 +03:00
John Preston
e0d6a68554
Encapsulated unreadCount and mute fields in History.
...
Support for hiding all muted chats from the list.
2016-04-11 14:59:01 +04:00
John Preston
418e06052c
Some bugfixes. Closed beta 9040127.
...
Crash fix when trying to reply to a bot message which hides the keyboard.
Counting button widths better (more padding, use exact width when avail).
Hiding inline bot results fixed when switched to emoji before hiding.
2016-04-11 00:59:07 +04:00
John Preston
460e2ec0ac
UniquePointer > std_::unique_ptr, MakeUnique > std_::make_unique.
2016-04-10 23:20:48 +04:00
John Preston
dd1d04e9b0
Inline bot results preview: photo, audio, file, voice. Beta 9040126.
2016-04-10 22:18:26 +04:00
John Preston
5f12c6d85b
Always create photo and document for inline bot results.
2016-04-10 15:13:37 +04:00
John Preston
7d792b1ec5
Fixed date display in messages. Round unread badges in chats list.
2016-04-10 00:41:20 +04:00
John Preston
8f00650f0e
Finished moving resource files to Resources. Fixed avatar render.
2016-04-09 17:56:40 +04:00
John Preston
0110a62776
Inline bot cancel button added.
...
It replaces Send button when the user is editing an inline bot
query. First cancel clears the inline bot request, second one
clears the field entirely. Escape key acts the same as cancel.
2016-04-09 15:02:50 +04:00
John Preston
0894931fa1
Encapsulated DocumentData location and serialization.
...
DocumentData now can point to mtproto or http file.
2016-04-09 09:57:55 +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
35d5089f48
Scroll following the inline bot keyboard when message is edited.
2016-04-08 13:20:10 +04:00
John Preston
9af094e278
Toast notification for bot callback result added. Xcode build broken.
2016-04-08 11:12:48 +04:00
John Preston
04f8d4dd37
Build fixed for renamed sources folder SourceFiles/{gui->ui}/
2016-04-07 22:05:28 +04:00
John Preston
db387d50b8
Scheme updated, support for via @bot added to stickers.
2016-04-07 14:03:10 +04:00
John Preston
1bc834bd5e
Sending icon is displayed in the inline keyboard callback button.
2016-04-06 21:02:22 +04:00
John Preston
1947d8e5be
Click on sticker now opens sticker pack, if the sticker is from pack.
2016-04-06 16:02:00 +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
3be34a4bb7
Encapsulated inline bot result class. Started inline bot
...
result downloading by external links, not ready (at all).
2016-04-06 00:24:27 +04:00
John Preston
1e72c8a89b
Merge branch 'master' into bots
2016-04-05 13:32:42 +04:00