Commit Graph

1500 Commits

Author SHA1 Message Date
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 96e1f8e7cd Fixed duplicate save file dialog 2016-03-26 11:13:57 +03:00
John Preston 1b5905dc54 dev version 0.9.36 2016-03-26 09:53:23 +03:00
John Preston 42ded6ade9 Merge commit 'b32c6566ffe839025' into dev 2016-03-26 09:44:26 +03:00
John Preston b32c6566ff Fixed crash when deleting items.
Fixed unread counter clear when logging out.
2016-03-26 09:41:23 +03:00
John Preston 29c6b8e2d2 Dependent items clearing done better
Fixed crash on launch if audio playback could not be started
2016-03-25 23:46:35 +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 a69a5c7252 fixed build for clang, 0.9.35 dev version 2016-03-25 20:00:44 +03:00
John Preston 4bb906b9f8 0.9.35 dev version 2016-03-25 19:48:55 +03:00
John Preston 36f34472ba langs updated, supported systems updated 2016-03-25 19:43:14 +03:00
John Preston 3132e4dc17 Fixed collapse button style (looks like service message now).
Added some asserts because of unknown crash in switch in channel.
2016-03-25 19:39:58 +03:00
John Preston 844e375fac fixed new not important message adding 2016-03-25 19:03:57 +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 cbebf9ced7 langs updated for 9034004 2016-03-25 14:31:40 +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 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 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 2876916258 beta 9034003 version 2016-03-24 20:56:12 +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 b86d8638bc Fixed not loaded messages with bot keyboard display
Fixed saved gifs row layout
Removed information about channel members count / left to invite
in invite-to-channel box (channels have no participants limit)
2016-03-24 20:30:31 +03:00
John Preston 6710ef3e2f fixed admin badge display in groups 2016-03-24 19:27:38 +03:00
John Preston 978e86a8ba bubble enlarged for signed thumbed files, error string display added for group/channel create error 2016-03-24 18:31:11 +03:00
John Preston 605f5305e4 Changed all .. to ... in phrases 2016-03-24 18:07:13 +03:00
John Preston a267d9d43b Merge commit 'abaf74a' into dev 2016-03-24 17:54:04 +03:00
John Preston 0ed64e7b51 Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev 2016-03-24 17:50:01 +03:00
John Preston ef69973e6d fixed build for Xcode 2016-03-24 16:27:34 +03:00
John Preston 1f423a6da2 Merge branch 'dev' of https://bitbucket.org/johnprestonmail/telegram-desktop into dev 2016-03-24 15:57:29 +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
John Preston 68ed885568 Moved mtproto/mtpPublicRSA.h to mtproto/rsa_public_key module,
rewritten and refactored, removed openssl headers from stdafx.h

Xcode project file does not contain mtproto/rsa_public_key.cpp yet
2016-03-23 21:12:07 +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 2ead44d9c0 fixed scrolling issues when switching between conversations 2016-03-23 15:28:40 +03:00
John Preston 02ca81ac64 optimized enumeration of userpics 2016-03-23 14:47:32 +03:00
John Preston 82e4660ae9 fixed build for clang and g++ 2016-03-22 22:50:14 +03:00
John Preston e45de88bd6 moving left userpics at the top of the conversation window, beta 9034002 2016-03-22 22:43:47 +03:00
John Preston ee946025d6 fixed mtproto scheme gen code, 9034001 beta 2016-03-22 19:10:47 +03:00
John Preston 5c9836418f version 9034001 beta 2016-03-22 18:23:34 +03:00
John Preston f662067a68 fixed history block index bug 2016-03-22 12:51:20 +03:00
John Preston fd7a30f143 override specifiers added, retina bug in image circle fixed 2016-03-21 21:57:03 +03:00
John Preston 91f87057bc Merge branch 'dev' of https://bitbucket.org/johnprestonmail/telegram-desktop into dev 2016-03-21 21:41:51 +03:00
John Preston 1919501d1e Qt compiled with force-debug-info, some langs improved, some override specifiers added 2016-03-21 21:41:39 +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 a2f5acdff1 some winrt macro changes 2016-03-20 21:34:20 +03:00
John Preston 27856d830b using operator new/delete instead of malloc/free 2016-03-20 18:08:13 +03:00
John Preston c15db1f77e added TDESKTOP_DISABLE_CRASH_REPORTS macro and new pspecific file, pspecific_wnd renamed to pspecific_win 2016-03-20 12:10:16 +03:00
John Preston 0b2bcbc3e9 some warnings fixed, TDESKTOP_DISABLE_NETWORK_PROXY macro added 2016-03-20 11:16:35 +03:00
John Preston 2cbda4e1e5 removed history resize when adding items, simplified adding items, maintaining item and block indices, history scroll management broken when history changes 2016-03-19 21:32:17 +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
Soltan Tekeev 2ef06a0baa Add "Copy name" option (Requested in #1783)
Also add lng_profile_copy_fullname to lang.strings

Signed-off-by: Soltan Tekeev <stek29@yandex.ru> (github: stek29)
2016-03-18 23:25:09 +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 47c7f76f2c added some additional logging for file downloadings 2016-03-17 21:03:08 +03:00
John Preston ddc802c0af top bar search icon added 2016-03-17 12:23:38 +03:00
John Preston b9616bdf75 some crashes fixed, 0.9.34 dev version 2016-03-16 16:29:44 +03:00
John Preston c8f2f6bc2b fixed duplicates in mentions list with inline bots, fixed bot command autocompletes that start with a digit 2016-03-16 15:45:54 +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 d58e63c82f Merge branch 'master' into dev 2016-03-16 01:21:57 +03:00
John Preston 295b63bc0d Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2016-03-16 01:20:50 +03:00
John Preston b3f11e7dff crash in pinnedbar fix, assertion info added to crash report, onViewsIncrement() and updateCounter() checks added, returned style fake qt args for Xubuntu 15.10, 0.9.33 stable (Linux only) 2016-03-16 00:13:32 +03:00
John Preston d31c8b3602 fixed app code and call on login, accent fold better 2016-03-15 22:53:38 +03:00
John Preston bc172cf70c call after sms is optional now 2016-03-15 22:38:30 +03:00
John Preston c6437ce893 returned the fake -style=0 arg for QApplication, currently it must not load gtk library itself, see https://github.com/telegramdesktop/tdesktop/issues/1774 2016-03-15 21:29:20 +03:00
John Preston 98b0ebcce6 _inPinnedMsg flag now always is set to false when destroying _pinnedBar 2016-03-15 21:15:31 +03:00
John Preston 1828b14cda checking auth in onViewsIncrement 2016-03-15 21:08:17 +03:00
John Preston 281f762869 Merge branch 'master' into dev 2016-03-15 15:25:49 +03:00
John Preston c4a04a620f merged 2016-03-15 15:18:36 +03:00
John Preston 9e1a6d3d3d crash fixed in Title::updateCounter, assertion message added to crash report 2016-03-15 15:18:12 +03:00
John Preston 3226c93f88 order by online in supergroups only 200 users max 2016-03-15 13:55:27 +03:00
John Preston 54af494224 added some asserts in adding history messages, added for_const range-based loop macro, remotecontent() in Qt patch is limited to 64 Mb 2016-03-15 13:37:56 +03:00
John Preston f13c61fbaf stable 0.9.32 2016-03-14 20:47:40 +03:00
John Preston 9d07456a29 fixed scroll to convert group to supergroup service message 2016-03-14 20:45:59 +03:00
John Preston 3a8824a9a6 intro rewrite started, new code sending methods 2016-03-14 19:59:18 +03:00
John Preston ebe6db3c48 crash fixed in migrated message highlight, xcode version fixed in docs 2016-03-14 18:28:39 +03:00
John Preston 680ea9f616 report spam panel positioned under the pinned message 2016-03-14 16:27:01 +03:00
John Preston 3e37be5d5c version 0.9.31 stable 2016-03-14 13:34:32 +03:00
John Preston 54c4ac7cd8 langs updated 2016-03-14 13:23:39 +03:00
John Preston 6220b88ae9 fixed possible crash in playInline() call 2016-03-14 12:58:43 +03:00
John Preston eb728fb36e calling connectTcp/Http even if _conn4 / _conn6 were already nulled 2016-03-14 12:48:53 +03:00
John Preston 91a2d6b02e Merge branch 'dev' of https://bitbucket.org/johnprestonmail/telegram-desktop into dev 2016-03-14 12:26:05 +03:00
John Preston f25e63bad7 offering to send current username in crash report 2016-03-14 12:25:48 +03:00
John Preston b38163b026 adding / removing lastParticipants / lastAdmins in supergroups on adding / removing users / admins 2016-03-14 09:10:24 +03:00
John Preston cab19a141f no report spam if history is empty or there are out messages 2016-03-14 08:54:24 +03:00
John Preston 2a9f24d774 fixed destroy of pinned service msg (unreg dependency), displaying HistoryVideo in webpage-with-document 2016-03-14 08:31:33 +03:00
John Preston 6706b3882d shortcuts repeat mode is defined by the command 2016-03-13 20:50:00 +03:00
John Preston 0e8e098932 beta 9030002 2016-03-13 19:02:57 +03:00
John Preston 0249d3fe61 improved create group / add members box, displaying info about supergroup when trying to add more than 200 members there 2016-03-13 19:01:43 +03:00
John Preston 86a4a388c3 ban / report / deleteAll done in MainWidget instead of RichDeleteMessageBox 2016-03-13 18:45:00 +03:00
John Preston 621052645c fixed searchInPeer when some search was active already 2016-03-13 16:34:27 +03:00
John Preston b09aa49749 not sending typing when edit post is finished 2016-03-13 16:25:19 +03:00
John Preston 6792f9c77b fixed pinned message display if input field is hidden, fixed pinned message remove, removed copy post link context menu item from public supergroup messages 2016-03-13 16:21:26 +03:00