Commit graph

  • 7790d5d597 Fixed build for Xcode. Beta 9040128. John Preston 2016-04-11 15:27:55 +04:00
  • 4cbbed6445 Added PeerAvatarButton sources to git. Beta 9040128. John Preston 2016-04-11 15:23:44 +04:00
  • bf6904c1c8 Moved PeerAvatarButton sources to SourceFiles. Beta 9040128. John Preston 2016-04-11 15:22:37 +04:00
  • 576239166d Removed RefPair struct. Beta 9040128. John Preston 2016-04-11 15:14:54 +04:00
  • e0d6a68554 Encapsulated unreadCount and mute fields in History. Support for hiding all muted chats from the list. John Preston 2016-04-11 14:59:01 +04:00
  • 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. John Preston 2016-04-11 11:43:40 +04:00
  • 00367ec07a Added type voice for inline bots, fixed keyboard buttons bug. John Preston 2016-04-11 08:02:39 +04:00
  • 2b58e4d3a8 Fixed build for Xcode. Beta 9040127. John Preston 2016-04-11 01:06:38 +04:00
  • 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. John Preston 2016-04-11 00:59:07 +04:00
  • 460e2ec0ac UniquePointer > std_::unique_ptr, MakeUnique > std_::make_unique. John Preston 2016-04-10 23:20:48 +04:00
  • dd1d04e9b0 Inline bot results preview: photo, audio, file, voice. Beta 9040126. John Preston 2016-04-10 22:18:26 +04:00
  • fe59c815b2 HistoryMedia always holds a pointer to its parent HistoryItem. Using local cached data when sending media inline bot results. John Preston 2016-04-10 18:53:01 +04:00
  • 1fe562ec13 Fixed crash when bot removes message inline keyboard while editing. John Preston 2016-04-10 15:41:14 +04:00
  • 5f12c6d85b Always create photo and document for inline bot results. John Preston 2016-04-10 15:13:37 +04:00
  • a09a52d95c Round unread badges fix for retina display. John Preston 2016-04-10 11:47:12 +04:00
  • d960ac2828 Allowing only switch button in inline bot results. 9040124 closed beta. John Preston 2016-04-10 09:55:48 +04:00
  • fe5e085fb8 Build in Xcode and QtCreator fixed. Langs updated. John Preston 2016-04-10 09:49:05 +04:00
  • 7d792b1ec5 Fixed date display in messages. Round unread badges in chats list. John Preston 2016-04-10 00:41:20 +04:00
  • 7bba52fb7e Refactored dialogs structs. Moved DialogRow, FakeDialogRow, DialogsList and DialogsIndexed from history module to dialogs/ folder, for all struct -> class. John Preston 2016-04-09 22:45:55 +04:00
  • 8f00650f0e Finished moving resource files to Resources. Fixed avatar render. John Preston 2016-04-09 17:56:40 +04:00
  • 1045d628d6 Moved .qrc, langs and art files from SourceFiles to Resources folder. John Preston 2016-04-09 17:17:09 +04:00
  • 48ffebe266 Langs updated for 9040123 closed beta. John Preston 2016-04-09 15:18:43 +04:00
  • 5ccd5f4385 Added serialize/ files to QtCreator project. 9040123 closed beta. John Preston 2016-04-09 15:16:59 +04:00
  • 90b2b240ce Merged with master. John Preston 2016-04-09 15:15:23 +04:00
  • 3003d24cbd Merge branch 'master' of https://github.com/telegramdesktop/tdesktop John Preston 2016-04-09 15:13:55 +04:00
  • 1f7e6af2c5 Forwarding of a single message fixed. John Preston 2016-04-09 15:08:19 +04:00
  • 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. John Preston 2016-04-09 15:02:50 +04:00
  • c3c82eac2d Redirect addToHistory for inline bot results to SendData member. John Preston 2016-04-09 12:29:34 +04:00
  • 0894931fa1 Encapsulated DocumentData location and serialization. DocumentData now can point to mtproto or http file. John Preston 2016-04-09 09:57:55 +04:00
  • ff839bd978 Scheme updated. Inline geo sending requests without geo. John Preston 2016-04-08 21:25:20 +04:00
  • 18caf2e2f6 Fixed build in Xcode. Langs updated. John Preston 2016-04-08 21:22:40 +04:00
  • 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. John Preston 2016-04-08 19:37:14 +04:00
  • fa0c700ca6 Inline switch to pm and back support added for inline bots. John Preston 2016-04-08 18:16:52 +04:00
  • 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. John Preston 2016-04-08 14:44:35 +04:00
  • 35d5089f48 Scroll following the inline bot keyboard when message is edited. John Preston 2016-04-08 13:20:10 +04:00
  • 9af094e278 Toast notification for bot callback result added. Xcode build broken. John Preston 2016-04-08 11:12:48 +04:00
  • 73a5a2a28f Merge pull request #1878 from telegramdesktop/auchri/fix_code_style John Preston 2016-04-08 08:15:52 +04:00
  • efbf95ae80 Remove unnecessary assignments Christoph 2016-04-07 01:55:14 +02:00
  • 04f8d4dd37 Build fixed for renamed sources folder SourceFiles/{gui->ui}/ John Preston 2016-04-07 22:05:28 +04:00
  • cbed4bc36d Renamed sources folder SourceFiles/gui to SourceFiles/ui. John Preston 2016-04-07 21:55:17 +04:00
  • 35c05cdba7 Build fixed for gcc, QtCreator. John Preston 2016-04-07 20:49:15 +04:00
  • ecce77ec4c Merge branch 'bots' of https://bitbucket.org/johnprestonmail/telegram-desktop into bots John Preston 2016-04-07 20:19:18 +04:00
  • a56ece4efe NeverFreedPointer implementation improved and fixed for MSVC. John Preston 2016-04-07 20:16:02 +04:00
  • a37bbcfaca Fixed building in Xcode. John Preston 2016-04-07 14:35:09 +04:00
  • db387d50b8 Scheme updated, support for via @bot added to stickers. John Preston 2016-04-07 14:03:10 +04:00
  • 1bc834bd5e Sending icon is displayed in the inline keyboard callback button. John Preston 2016-04-06 21:02:22 +04:00
  • a728dcfca8 Sticker preview done for inline bot results. ReplyMarkupClickHandler moved to .cpp (implementation details). John Preston 2016-04-06 19:32:05 +04:00
  • ba7cb1abbc Defaulting inline bot reuslt video title/description to "Video file"/duration. Scheme updated. John Preston 2016-04-06 17:46:52 +04:00
  • 730dce2cdc telegram.me links open without confirmation box. EmailClickHandler removed, only UrlClickHandler left. Some errors lead to @spambot instead of site FAQ. John Preston 2016-04-06 17:19:25 +04:00
  • 1947d8e5be Click on sticker now opens sticker pack, if the sticker is from pack. John Preston 2016-04-06 16:02:00 +04:00
  • 80b0667ff9 Requesting getDifference if some users or channels are not loaded while processing updateNewChannelMessage update. John Preston 2016-04-06 15:07:05 +04:00
  • 259a996276 Scheme updated. Inline bot result messages now may have reply markup. Fully applying media from send inline bot result response. John Preston 2016-04-06 12:00:37 +04:00
  • 3be34a4bb7 Encapsulated inline bot result class. Started inline bot result downloading by external links, not ready (at all). John Preston 2016-04-06 00:24:27 +04:00
  • 1e72c8a89b Merge branch 'master' into bots John Preston 2016-04-05 13:32:42 +04:00
  • 13310206fa Merge pull request #1848 from telegramdesktop/auchri/fix_travis John Preston 2016-04-05 13:24:18 +04:00
  • e5ec3b6199 New version 0.9.40 John Preston 2016-04-05 12:05:32 +04:00
  • 8f87736523 Merge branch 'master' of https://github.com/telegramdesktop/tdesktop John Preston 2016-04-05 11:47:48 +04:00
  • 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. John Preston 2016-04-05 11:45:53 +04:00
  • 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. John Preston 2016-04-05 01:09:46 +04:00
  • e3bb506795 Merge branch 'master' of https://github.com/telegramdesktop/tdesktop John Preston 2016-04-04 13:02:45 +04:00
  • 1875ee59ee Disappearing of HistoryInner because of pending resize fixed. John Preston 2016-04-04 12:57:36 +04:00
  • f760846c82 Added some checks in Qt screen() calls. Added check for self() user data in self photo update in Settings. John Preston 2016-04-04 12:55:47 +04:00
  • a2fc7f6915 Improved files support in inline bot results. John Preston 2016-04-04 11:21:14 +04:00
  • 35785efa50 Inline bot video and sticker layout and sending done. John Preston 2016-04-03 13:11:41 +04:00
  • c5111c9a51 Renamed types.h to basic_types.h, otherwise conflict with zlib. John Preston 2016-04-02 19:15:57 +04:00
  • 3c98fd44d0 Moved style.h to SourceFiles/gui folder. John Preston 2016-04-02 18:21:08 +04:00
  • bf37c73d66 Inline bot results display improved for geo, venue and contact types. John Preston 2016-04-02 18:06:36 +04:00
  • cf9a78a164 Inline bot stickers done, but not tested yet. John Preston 2016-04-02 15:20:53 +04:00
  • 6bac9029fa Fix travis build Christoph 2016-04-01 20:29:08 +02:00
  • f7dc832dfe Scheme updated. Current mtp layer is now edited inside scheme.tl file in a special comment line. John Preston 2016-04-01 20:37:23 +04:00
  • 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" John Preston 2016-04-01 19:32:26 +04:00
  • 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. John Preston 2016-04-01 14:23:40 +04:00
  • fa4137418a Merged with master. John Preston 2016-04-01 12:54:32 +04:00
  • 174302a907 Ignoring 4099 warning in VS project linking. Added <cmath> header to precompiled header and std:: math usage. John Preston 2016-04-01 12:50:02 +04:00
  • 2826bb9134 0.9.39 dev version (possible crash fix) John Preston 2016-04-01 11:57:30 +04:00
  • 73a27c2def Not painting anything in HistoryInner if _history or _migrated have pending resized items. John Preston 2016-04-01 11:52:25 +04:00
  • 1f6da4c734 Logging crashed string in hexdump ofutf8. John Preston 2016-04-01 11:43:14 +04:00
  • f96b7da7ce Crash reporting fixed, radial progress fixed. 0.9.38 dev version. John Preston 2016-04-01 00:36:46 +04:00
  • 9cb1511b63 Merge branch 'master' of https://github.com/telegramdesktop/tdesktop John Preston 2016-03-31 18:27:14 +04:00
  • f1c69a495b 0.9.37 dev version John Preston 2016-03-31 18:26:38 +04:00
  • e6689a6ec0 Merge pull request #1843 from telegramdesktop/auchri/travis_check_commit_message John Preston 2016-03-31 18:24:26 +04:00
  • 829513c9ce fixed building for OS X / Linux John Preston 2016-03-31 18:12:30 +04:00
  • 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. John Preston 2016-03-31 18:06:40 +04:00
  • a23470f4b8 Fixed possible crash in NotifyWindow click handler. Adding information about crashed string in TextBlock parser. John Preston 2016-03-31 15:55:25 +04:00
  • 40fddc9697 UniquePointer backported. Fixed unifying of adding new history items. John Preston 2016-03-31 15:18:21 +04:00
  • fed715c1f4 Creating HistoryBlock only before adding an item to it. Now invariants always should be kept true, including indexInBlock, indexInHistory and !block->items.isEmpty() John Preston 2016-03-31 14:37:58 +04:00
  • 8f06244895 Merge branch 'master' of https://github.com/telegramdesktop/tdesktop John Preston 2016-03-31 12:35:25 +04:00
  • c7673096c9 deployment targets set to 10.8, QtCreator build instructions fixed openssl libraries John Preston 2016-03-31 12:18:44 +04:00
  • 88282d8364 Check commit message Christoph 2016-03-30 21:42:16 +02:00
  • 8cde13fb8c Scheme updated, not channel messages editing updates handled. John Preston 2016-03-30 21:13:07 +04:00
  • b981472877 Bot keyboard button with type url / callback / phone / location now can be displayed with an icon in the upper-right corner. John Preston 2016-03-30 20:42:01 +04:00
  • 3210aecbd2 Fixed some ClickHandler bugs, bot keyboard active/pressed states done, handling enterEvent() for ClickHandler activate. John Preston 2016-03-30 12:03:29 +04:00
  • d4c9097610 Merge branch 'dev' John Preston 2016-03-30 10:19:33 +04:00
  • 00bada8d45 Added C++11 config option to MetaStyle and MetaLang .pro projects. John Preston 2016-03-30 10:17:04 +04:00
  • 18db57ba96 Added a new project codegen_style to the solution. It should replace MetaStyle in the far future. John Preston 2016-03-30 01:35:36 +04:00
  • cd49565457 Skipping message date height when scrolling to the unread bar. John Preston 2016-03-29 21:03:53 +03:00
  • 80365c9207 Receiving a min user now should not force showing him in the conversations list by a phone number instead of his name. John Preston 2016-03-29 20:57:27 +03:00
  • 532e7e7e81 Fixed crash when trying to update selected state in HistoryInner while _history/_migrated had pending resize items. John Preston 2016-03-29 20:48:54 +03:00
  • 7f6cf32cdd ITextLink moved to ClickHandler, TextLinkPtr > ClickHandlerPtr. John Preston 2016-03-29 20:17:00 +03:00
  • 2c6f74f923 Reply markup keyboard class almost ready, single class for inline and external bot keyboard handling. John Preston 2016-03-28 20:15:17 +03:00