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
18d8666312
Moved to g++ 4.9, fixed some warnings, codegen used for Linux build.
2016-04-19 16:52:51 +03:00
John Preston
0501633c75
Added codegen_style/numbers QtCreator projects. Telegram.pro still broken.
2016-04-19 15:06:52 +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
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
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
03bbb2269d
Info button replaced by userpic in single column layout.
...
Icons for file inline results never display a download icon.
Using !lastMsg->detached() to detect that all new messages are loaded.
2016-04-11 11:43:40 +04:00
John Preston
00367ec07a
Added type voice for inline bots, fixed keyboard buttons bug.
2016-04-11 08:02:39 +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
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
5f12c6d85b
Always create photo and document for inline bot results.
2016-04-10 15:13:37 +04:00
John Preston
7bba52fb7e
Refactored dialogs structs.
...
Moved DialogRow, FakeDialogRow, DialogsList and DialogsIndexed
from history module to dialogs/ folder, for all struct -> class.
2016-04-09 22:45:55 +04:00
John Preston
c3c82eac2d
Redirect addToHistory for inline bot results to SendData member.
2016-04-09 12:29:34 +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
e1f55822b7
Improved inline bot results layout.
...
Video duration displayed in the middle of the thumbnail.
Contact is now displayed like File, not like Article.
File doesn't have download/open link and displays icon by mimetype.
2016-04-08 19:37:14 +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
04f8d4dd37
Build fixed for renamed sources folder SourceFiles/{gui->ui}/
2016-04-07 22:05:28 +04:00
John Preston
a37bbcfaca
Fixed building in Xcode.
2016-04-07 14:35:09 +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
730dce2cdc
telegram.me links open without confirmation box.
...
EmailClickHandler removed, only UrlClickHandler left.
Some errors lead to @spambot instead of site FAQ.
2016-04-06 17:19:25 +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
3e2485678d
Moved inline bot result structs from structs.cpp/h module.
...
Moved inline bot result layouts from layout.cpp/h module.
Over status prepared for inline bot file result icon.
Dependencies reduced, inline bots code moved to InlineBots namespace.
Build in Xcode and QtCreator broken.
2016-04-05 01:09:46 +04:00