Commit Graph

1806 Commits

Author SHA1 Message Date
John Preston b4bc515079 Renamed MentionsDropdown to FieldAutocomplete, moved to separate file.
Support for message field mentions without usernames was started.
2016-04-29 16:46:16 +03:00
John Preston af248a6714 EntityInText made class instead of struct. Scheme updated.
No left trim of monospace text block when sending / displaying text.
New entity type (mention name) introduced, but not supported yet.
2016-04-29 15:00:48 +03:00
John Preston 724ba9e429 Open edit only for the messages that we can edit. 2016-04-28 12:07:59 +03:00
John Preston 9acf437534 Langs updated. Alpha version 0.9.46. 2016-04-27 19:08:27 +03:00
John Preston 1361eb3fba Alpha version 0.9.46. 2016-04-27 18:55:13 +03:00
John Preston d48826751e Some better path variables in Xcode project. 2016-04-27 17:59:38 +03:00
John Preston 301d84a831 Xcode build fixed. 2016-04-27 17:13:20 +03:00
John Preston fe6e3c5252 Build scripts improved, QtCreator build fixed.
qmake and travis builds use -j4 for make.
2016-04-27 16:59:08 +03:00
John Preston 0854dba76a Added moved files to git. 2016-04-27 15:03:10 +03:00
John Preston 745f89dbb9 Moving build / lang scripts from Telegram to subfolders.
Travis build tested with -j param.
Xcode / QtCreator / qmake builds could be broken.
2016-04-27 15:02:17 +03:00
John Preston 77e5925cf0 Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev 2016-04-26 16:01:16 +03:00
John Preston 390a1b0754 Some improvements for winrt. 2016-04-26 16:00:23 +03:00
John Preston 487406ac46 Moved to the Visual Studio Update 2. 2016-04-26 12:55:34 +03:00
John Preston d5ed93edd5 Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev 2016-04-25 11:06:50 +03:00
John Preston d2922a4173 Fix travis build. Xcode project path fix. 2016-04-25 11:06:13 +03:00
John Preston 53a56bbc2a Telegram.pro using final Qt install path. 2016-04-23 14:53:48 +03:00
John Preston 0130d0cd63 Moved patches to Telegram/Patches, travis builds debug version. 2016-04-23 14:50:28 +03:00
John Preston 2834ce0344 Moving to Qt 5.6.0, instructions can be broken. 2016-04-23 14:40:42 +03:00
John Preston 4aa1f1334c Dev version 0.9.45: first version on new styles codegen. 2016-04-22 13:01:41 +03:00
John Preston d20c370ccc MetaStyle project removed, added -static-libstdc++ for linux build. 2016-04-22 10:25:14 +03:00
John Preston f93e51a934 Fixed Xcode build of the new styles. 2016-04-21 21:18:44 +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 a133115aa6 Merge branch 'master' into dev
Conflicts:
	Telegram/SourceFiles/ui/style.h
2016-04-20 17:25:32 +03:00
John Preston acec941f02 Merge branch 'styles' into dev 2016-04-20 17:24:51 +03:00
John Preston 522945bbe3 Fixed build for OS X. 0.9.44 version. 2016-04-20 16:09:35 +03:00
John Preston 6838465de2 Fixed paths in codegen_numbers Xcode project. 2016-04-20 16:01:04 +03:00
John Preston ef6bdb7899 Merge branch 'styles' of https://bitbucket.org/johnprestonmail/telegram-desktop into styles 2016-04-20 16:00:29 +03:00
John Preston ed3281d0f5 Improved QtCreator projects for codegen, include dirs used in codegen. 2016-04-20 15:59:25 +03:00
John Preston 7d272919aa Version 0.9.44 copy text context menu item added to some messages. 2016-04-20 15:56:59 +03:00
John Preston 5caceefc2c Fix switch button in outgoing msgs with keyboards.
Inline bot results panel behaviour improved.
Sent and deleted from hard drive GIFs now auto-re-download.
2016-04-20 15:27:38 +03:00
John Preston 10bd2b680d Merge branch 'dev' 2016-04-19 17:02:55 +03:00
John Preston 3e3cd5878e Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev 2016-04-19 17:02:24 +03:00
John Preston ec40b5a9d9 Include directories unified. 2016-04-19 17:01:32 +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 b4d69b847a Xcode build now uses codegen_style/numbers. Xcode projects created. 2016-04-19 13:59:59 +03:00
John Preston 7edb835efc Removed openssl patch. Xcode warning fixed. 2016-04-19 11:57:55 +03:00
John Preston 6859109503 Replaced MetaStyle project with codegen_style/numbers in MSVC. 2016-04-19 01:00:54 +03:00
John Preston 4fe70c3a12 codegen_style completely replaces style gen with MetaStyle.
codegen_numbers project started to replace MetaStyle completely.
2016-04-18 23:33:43 +03:00
Vladimir Belozyorov d14ef3dc5f Fixed inverted checkbox for notify members about pinned message
Signed-off-by: Vladimir Belozyorov <VBelozyorov@users.noreply.github.com> (github: vbelozyorov)
2016-04-18 16:47:23 +04:00
John Preston edd26b3224 Reading of old style format fully supported in codegen_style. 2016-04-17 20:52:17 +03:00
John Preston e0160f7d4c Parsing of color and sprite values started in codegen_style. 2016-04-17 16:22:00 +03:00
John Preston 45bd2dc5fa codegen_style: preparing to parse the whole input file. 2016-04-17 12:30:14 +03:00
John Preston 19f9b56d2c codegen_style project started, basic (common) tokenizer done. 2016-04-16 20:51:25 +03:00
John Preston b61c0941ef Some better source organization. Removed C++11 STL usage (old OS X). 2016-04-15 12:59:02 +03:00
John Preston 3b6d0ef7c0 Dev version 0.9.43 - media text selection and disabling player shortcuts. 2016-04-14 22:28:02 +03:00
John Preston bb70a76b9c Several crashes fixed. 2016-04-14 22:24:42 +03:00
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
Soltan Tekeev 846026051c Fix code duplicate
Signed-off-by: Soltan Tekeev <stek29@yandex.ru>
2016-04-13 20:35:07 +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
John Preston 35d5089f48 Scroll following the inline bot keyboard when message is edited. 2016-04-08 13:20:10 +04:00
John Preston 9af094e278 Toast notification for bot callback result added. Xcode build broken. 2016-04-08 11:12:48 +04:00
Christoph efbf95ae80 Remove unnecessary assignments
Signed-off-by: Christoph <auer.chrisi@gmx.net>
2016-04-07 21:56:47 +02:00
John Preston 04f8d4dd37 Build fixed for renamed sources folder SourceFiles/{gui->ui}/ 2016-04-07 22:05:28 +04:00
John Preston cbed4bc36d Renamed sources folder SourceFiles/gui to SourceFiles/ui. 2016-04-07 21:55:17 +04:00
John Preston 35c05cdba7 Build fixed for gcc, QtCreator. 2016-04-07 20:49:15 +04:00
John Preston a56ece4efe NeverFreedPointer implementation improved and fixed for MSVC. 2016-04-07 20:16:02 +04:00
John Preston a37bbcfaca Fixed building in Xcode. 2016-04-07 14:35:09 +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 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 1947d8e5be Click on sticker now opens sticker pack, if the sticker is from pack. 2016-04-06 16:02:00 +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 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 1e72c8a89b Merge branch 'master' into bots 2016-04-05 13:32:42 +04:00
John Preston e5ec3b6199 New version 0.9.40 2016-04-05 12:05:32 +04:00
John Preston 8f87736523 Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2016-04-05 11:47:48 +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 e3bb506795 Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2016-04-04 13:02:45 +04:00
John Preston 1875ee59ee Disappearing of HistoryInner because of pending resize fixed. 2016-04-04 12:57:36 +04:00
John Preston f760846c82 Added some checks in Qt screen() calls.
Added check for self() user data in self photo update in Settings.
2016-04-04 12:55:47 +04:00
John Preston a2fc7f6915 Improved files support in inline bot results. 2016-04-04 11:21:14 +04:00
John Preston 35785efa50 Inline bot video and sticker layout and sending done. 2016-04-03 13:11:41 +04:00
John Preston c5111c9a51 Renamed types.h to basic_types.h, otherwise conflict with zlib. 2016-04-02 19:15:57 +04:00
John Preston 3c98fd44d0 Moved style.h to SourceFiles/gui folder. 2016-04-02 18:21:08 +04:00
John Preston bf37c73d66 Inline bot results display improved for geo, venue and contact types. 2016-04-02 18:06:36 +04:00
John Preston cf9a78a164 Inline bot stickers done, but not tested yet. 2016-04-02 15:20:53 +04:00
John Preston f7dc832dfe Scheme updated. Current mtp layer is now edited inside
scheme.tl file in a special comment line.
2016-04-01 20:37:23 +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 174302a907 Ignoring 4099 warning in VS project linking.
Added <cmath> header to precompiled header and std:: math usage.
2016-04-01 12:50:02 +04:00
John Preston 2826bb9134 0.9.39 dev version (possible crash fix) 2016-04-01 11:57:30 +04:00
John Preston 73a27c2def Not painting anything in HistoryInner if _history or
_migrated have pending resized items.
2016-04-01 11:52:25 +04:00
John Preston 1f6da4c734 Logging crashed string in hexdump ofutf8. 2016-04-01 11:43:14 +04:00
John Preston f96b7da7ce Crash reporting fixed, radial progress fixed. 0.9.38 dev version. 2016-04-01 00:36:46 +04:00
John Preston 9cb1511b63 Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2016-03-31 18:27:14 +04:00
John Preston f1c69a495b 0.9.37 dev version 2016-03-31 18:26:38 +04:00
John Preston 829513c9ce fixed building for OS X / Linux 2016-03-31 18:12:30 +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 a23470f4b8 Fixed possible crash in NotifyWindow click handler.
Adding information about crashed string in TextBlock parser.
2016-03-31 15:55:25 +04:00
John Preston 40fddc9697 UniquePointer backported. Fixed unifying of adding new history items. 2016-03-31 15:18:21 +04:00
John Preston fed715c1f4 Creating HistoryBlock only before adding an item to it.
Now invariants always should be kept true, including
indexInBlock, indexInHistory and !block->items.isEmpty()

Need to backport UniquePointer from other branch.
2016-03-31 14:37:58 +04:00
John Preston 8f06244895 Merge branch 'master' of https://github.com/telegramdesktop/tdesktop 2016-03-31 12:35:25 +04:00
John Preston c7673096c9 deployment targets set to 10.8, QtCreator build instructions fixed openssl libraries 2016-03-31 12:18:44 +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 3210aecbd2 Fixed some ClickHandler bugs, bot keyboard active/pressed
states done, handling enterEvent() for ClickHandler activate.
2016-03-30 12:03:29 +04:00
John Preston 00bada8d45 Added C++11 config option to MetaStyle and MetaLang .pro projects. 2016-03-30 10:17:04 +04:00
John Preston 18db57ba96 Added a new project codegen_style to the solution.
It should replace MetaStyle in the far future.
2016-03-30 01:35:36 +04:00
John Preston cd49565457 Skipping message date height when scrolling to the unread bar. 2016-03-29 21:03:53 +03:00
John Preston 80365c9207 Receiving a min user now should not force showing him in the
conversations list by a phone number instead of his name.
2016-03-29 20:57:27 +03:00
John Preston 532e7e7e81 Fixed crash when trying to update selected state in
HistoryInner while _history/_migrated had pending resize items.
2016-03-29 20:48:54 +03: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 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