John Preston
d6070c37d1
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-04-14 20:21:50 +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
d80850a439
Fixed QtCreator build.
2016-04-14 17:30:47 +03:00
John Preston
acc7e08a54
Remove -flto in Linux 32bit (it fails Release link: virtual memory exhausted)
2016-04-14 16:06:36 +03:00
John Preston
246e39adb1
Fixed Xcode build, improved project folders (similar to MSVC), warnings fixed.
2016-04-14 16:03:03 +03:00
John Preston
971ec71836
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
2016-04-14 15:03:06 +03:00
John Preston
4e0a1fad82
Merge branch 'dev' of https://bitbucket.org/johnprestonmail/telegram-desktop into dev
2016-04-14 15:02:57 +03:00
John Preston
291f483671
Allowing to choose bots in appoint supergroup admin box.
...
Better naturalHeight() for bot keyboards. We try to make all
the buttons in the row have equal size (size of the largest button).
2016-04-14 15:00:44 +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
9cbdc6e95e
version 0.9.41
2016-04-11 20:11:31 +03:00
John Preston
e8c675d3b2
Langs updated with changelog.
2016-04-11 20:03:50 +03:00
John Preston
7790d5d597
Fixed build for Xcode. Beta 9040128.
2016-04-11 15:27:55 +04:00
John Preston
4cbbed6445
Added PeerAvatarButton sources to git. Beta 9040128.
2016-04-11 15:23:44 +04:00
John Preston
bf6904c1c8
Moved PeerAvatarButton sources to SourceFiles. Beta 9040128.
2016-04-11 15:22:37 +04:00
John Preston
576239166d
Removed RefPair struct. Beta 9040128.
2016-04-11 15:14:54 +04: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
2b58e4d3a8
Fixed build for Xcode. Beta 9040127.
2016-04-11 01:06:38 +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
1fe562ec13
Fixed crash when bot removes message inline keyboard while editing.
2016-04-10 15:41:14 +04:00
John Preston
5f12c6d85b
Always create photo and document for inline bot results.
2016-04-10 15:13:37 +04:00
John Preston
a09a52d95c
Round unread badges fix for retina display.
2016-04-10 11:47:12 +04:00
John Preston
d960ac2828
Allowing only switch button in inline bot results. 9040124 closed beta.
2016-04-10 09:55:48 +04:00
John Preston
fe5e085fb8
Build in Xcode and QtCreator fixed. Langs updated.
2016-04-10 09:49:05 +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
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
8f00650f0e
Finished moving resource files to Resources. Fixed avatar render.
2016-04-09 17:56:40 +04:00
John Preston
1045d628d6
Moved .qrc, langs and art files from SourceFiles to Resources folder.
2016-04-09 17:17:09 +04:00
John Preston
48ffebe266
Langs updated for 9040123 closed beta.
2016-04-09 15:18:43 +04:00
John Preston
5ccd5f4385
Added serialize/ files to QtCreator project. 9040123 closed beta.
2016-04-09 15:16:59 +04:00
John Preston
90b2b240ce
Merged with master.
2016-04-09 15:15:23 +04:00
John Preston
3003d24cbd
Merge branch 'master' of https://github.com/telegramdesktop/tdesktop
2016-04-09 15:13:55 +04:00
John Preston
1f7e6af2c5
Forwarding of a single message fixed.
2016-04-09 15:08:19 +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
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
ff839bd978
Scheme updated. Inline geo sending requests without geo.
2016-04-08 21:25:20 +04:00
John Preston
18caf2e2f6
Fixed build in Xcode. Langs updated.
2016-04-08 21:22:40 +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
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