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
bb70a76b9c
Several crashes fixed.
2016-04-14 22:24:42 +03:00
John Preston
fdead263d6
Media shortcuts now are enabled only when in-app player is opened.
2016-04-14 19:08:36 +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
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
e8c675d3b2
Langs updated with changelog.
2016-04-11 20:03:50 +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
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
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
90b2b240ce
Merged with master.
2016-04-09 15:15:23 +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
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
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
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
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
1e72c8a89b
Merge branch 'master' into bots
2016-04-05 13:32:42 +04:00
John Preston
24cc72e319
Requesting only supported languages from transifex in UpdateLang.sh
...
and UploadLang.sh, languages list is in Resources/LangList.
Added two special commands in service notifications conversations:
*new_version_text* for viewing current new version description and
*all_new_version_texts* for viewing it in all supported languages.
2016-04-05 11:45:53 +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
John Preston
35785efa50
Inline bot video and sticker layout and sending done.
2016-04-03 13:11:41 +04:00
John Preston
1ef944ed7b
Not inline bot keyboard now supports editing as well.
...
Styles improved for not inline bot keyboard.
Full crash string adding to crash report.
Preparing to leave source code without #include "stdafx.h"
2016-04-01 19:32:26 +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
fa4137418a
Merged with master.
2016-04-01 12:54:32 +04:00
John Preston
f1dfcef868
Styles improved for unread bar margins and sticker timestamp.
...
Possible crash fixes: emoji color picker show, pending repaint
items cleared when history items are cleared.
Deleting MainWidget syncroniously when clearWidgets() is called.
2016-03-31 18:06:40 +04:00
John Preston
8cde13fb8c
Scheme updated, not channel messages editing updates handled.
2016-03-30 21:13:07 +04:00
John Preston
b981472877
Bot keyboard button with type url / callback / phone / location
...
now can be displayed with an icon in the upper-right corner.
Inline bot keyboards almost done.
2016-03-30 20:42:01 +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
599ede9a0b
Beta 9034004 version:
...
Some lang grammar fixes, all "audio" changed to "voice message"
PeerData can have three loaded states (not loaded, minimal, full)
Interface/Interfaces renamed to Component/Composer
HistoryReply moved to a Component named HistoryMessageReply
2016-03-25 14:29:45 +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
034adfab2b
Delete button for large channels is hidden now
...
(server doesn't allow to delete large channels any more).
Error message added in a case when the current user
(not admin) tries to add to a supergroup a user who
was kicked by admin (and blacklisted by this action).
2016-03-23 19:50:40 +03:00
John Preston
4a5b63bbcd
restricted peers support added
2016-03-23 16:21:26 +03:00
John Preston
5c9836418f
version 9034001 beta
2016-03-22 18:23:34 +03:00
John Preston
84e67b8ec0
scrollTop counted relative to the last scrollTop item, attachedToPrevious messages support added, service messages now display date and unreadbar
2016-03-21 21:40:00 +03:00
John Preston
0b2bcbc3e9
some warnings fixed, TDESKTOP_DISABLE_NETWORK_PROXY macro added
2016-03-20 11:16:35 +03:00
John Preston
2ef8c44445
all MTP flags made strictly typed by scoped enums, in-message date display added for non-service messages
2016-03-19 19:55:15 +03:00
John Preston
9d00ec273b
removed Date service messages, removed UnreadBar service message, started adding them to HistoryItems, saving item index in block to keep an eye on the previous message
2016-03-18 22:05:08 +03:00
John Preston
baf1e31b76
circled profile images
2016-03-18 13:18:30 +03:00
John Preston
ddc802c0af
top bar search icon added
2016-03-17 12:23:38 +03:00
John Preston
c2f1e95f3f
fixed opening of uncompressed image sent from clipboard, intro refactoring finished
2016-03-16 14:54:37 +03:00
John Preston
1828b14cda
checking auth in onViewsIncrement
2016-03-15 21:08:17 +03:00
John Preston
3a8824a9a6
intro rewrite started, new code sending methods
2016-03-14 19:59:18 +03:00