b9cd813127 
								
							 
						 
						
							
							
								
								Apply clang-format  
							
							
							
						 
						
							2018-06-06 11:25:23 +03:00  
				
					
						
							
							
								 
						
							
								69661217d2 
								
							 
						 
						
							
							
								
								Remove PCH ( #148 )  
							
							... 
							
							
							
							This commit brings many changes:
1. Remove cotire;
2. Remove PCH files (stdafx.xxx) and mentions;
3. Rearrange and clean includes:
3.1. Remove core includes path, use full header path core/xxx;
3.2. Move object_ptr to separate file base/object_ptr.h;
3.3. Add missing includes;
5. Add forward decls;
6. Get rid of some Qt private parts;
7. Fix ALL compilation errors after removing cotire on Windows, Linux, MacOS.
Closes  #133 .
Related to #96 . 
							
						 
						
							2018-06-04 16:25:31 +03:00  
				
					
						
							
							
								 
						
							
								40f8f0939a 
								
							 
						 
						
							
							
								
								[Refactoring] change qt math function to cmath analog  
							
							
							
						 
						
							2018-02-28 22:12:25 +02:00  
				
					
						
							
							
								 
						
							
								dc231f2e29 
								
							 
						 
						
							
							
								
								Allow to change app. name using CMake cache  
							
							
							
						 
						
							2018-01-27 16:13:34 +03:00  
				
					
						
							
							
								 
						
							
								29db5da807 
								
							 
						 
						
							
							
								
								Remove autoupdater  
							
							
							
						 
						
							2017-12-20 14:38:02 +02:00  
				
					
						
							
							
								 
						
							
								e9184f9ab5 
								
							 
						 
						
							
							
								
								Replace non-standard types with Qt equivalents  
							
							
							
						 
						
							2017-12-20 14:38:02 +02:00  
				
					
						
							
							
								 
						
							
								25ffaaaa2d 
								
							 
						 
						
							
							
								
								Replace t_assert() with Assert().  
							
							... 
							
							
							
							Also use this assertions for Expects(), Ensures() and Unexpected(). 
							
						 
						
							2017-08-30 19:15:42 +03:00  
				
					
						
							
							
								 
						
							
								17cef93ac0 
								
							 
						 
						
							
							
								
								Use gsl::finally() instead of base::scope_guard().  
							
							
							
						 
						
							2017-08-30 19:15:26 +03:00  
				
					
						
							
							
								 
						
							
								ab35829358 
								
							 
						 
						
							
							
								
								Remove App::app(), App::uploader(), App::api().  
							
							... 
							
							
							
							Also use Auth() instead of AuthSession::Current*(). 
							
						 
						
							2017-08-25 14:39:18 +03:00  
				
					
						
							
							
								 
						
							
								34d2e78308 
								
							 
						 
						
							
							
								
								Allow to edit Bio in Settings.  
							
							
							
						 
						
							2017-07-23 12:34:43 +03:00  
				
					
						
							
							
								 
						
							
								85e6f55536 
								
							 
						 
						
							
							
								
								Support new plural keys format.  
							
							... 
							
							
							
							All the old plural phrases were changed to work with the new format. 
							
						 
						
							2017-06-29 11:39:56 +03:00  
				
					
						
							
							
								 
						
							
								b6046d829f 
								
							 
						 
						
							
							
								
								Save the default language after logging in.  
							
							... 
							
							
							
							We suggest an appropriate language in the intro if server has users
system language langpack. But if user doesn't switch to it we save
the default ("en") language so that he won't be bothered again. 
							
						 
						
							2017-06-29 11:39:55 +03:00  
				
					
						
							
							
								 
						
							
								665a1acfd8 
								
							 
						 
						
							
							
								
								Apply language with app restart if logged in.  
							
							... 
							
							
							
							Confirm and restart if logged in, just quickly apply if not. 
							
						 
						
							2017-06-29 11:39:54 +03:00  
				
					
						
							
							
								 
						
							
								d51fd7b3ad 
								
							 
						 
						
							
							
								
								Update intro change language link.  
							
							... 
							
							
							
							Also now MTP::Sender isn't bound to MTP::Instance, because Intro
Widget is MTP::Sender, but Intro::PhoneWidget destroys current
MTP::Instance. 
							
						 
						
							2017-06-29 11:39:53 +03:00  
				
					
						
							
							
								 
						
							
								b94099e25b 
								
							 
						 
						
							
							
								
								Realtime UI translation in all fields and buttons.  
							
							
							
						 
						
							2017-06-29 11:39:51 +03:00  
				
					
						
							
							
								 
						
							
								5fc4f4ed36 
								
							 
						 
						
							
							
								
								Realtime UI translation in Intro.  
							
							... 
							
							
							
							Also support realtime translation testing by F7-F6-F7-F8 keys. 
							
						 
						
							2017-06-29 11:39:49 +03:00  
				
					
						
							
							
								 
						
							
								d47a38dfcf 
								
							 
						 
						
							
							
								
								Show change language link in intro.  
							
							
							
						 
						
							2017-06-29 11:39:48 +03:00  
				
					
						
							
							
								 
						
							
								139d4e72b5 
								
							 
						 
						
							
							
								
								Start cloud langpack support.  
							
							... 
							
							
							
							Change the way langpacks are stored.
Support custom langpacks in the new storage. 
							
						 
						
							2017-06-29 11:39:42 +03:00  
				
					
						
							
							
								 
						
							
								2334ba1fe1 
								
							 
						 
						
							
							
								
								Use QString + Lang::Tag() instead of Lang::String.  
							
							
							
						 
						
							2017-06-29 11:39:40 +03:00  
				
					
						
							
							
								 
						
							
								110e7c8074 
								
							 
						 
						
							
							
								
								Finalize rename / move.  
							
							
							
						 
						
							2017-06-29 11:39:38 +03:00  
				
					
						
							
							
								 
						
							
								bc7139d67a 
								
							 
						 
						
							
							
								
								Fix crash in AuthSession::Exists() if there is no Messenger.  
							
							... 
							
							
							
							Also use toggleAnimated instead of show/hideAnimated in intro. 
							
						 
						
							2017-04-15 19:28:07 +03:00  
				
					
						
							
							
								 
						
							
								891d200e2d 
								
							 
						 
						
							
							
								
								Add TabbedSection which uses the TabbedSelector.  
							
							
							
						 
						
							2017-04-10 12:08:56 +03:00  
				
					
						
							
							
								 
						
							
								0d0307e175 
								
							 
						 
						
							
							
								
								Move ApiWrap to AuthSession.  
							
							... 
							
							
							
							Also send all ApiWrap requests as an MTP::Sender.
Also create AuthSession only after starting MTProto. 
							
						 
						
							2017-04-07 18:13:19 +03:00  
				
					
						
							
							
								 
						
							
								5444b8166c 
								
							 
						 
						
							
							
								
								Finalize rename / move of files.  
							
							
							
						 
						
							2017-04-07 18:13:18 +03:00  
				
					
						
							
							
								 
						
							
								81375a05f1 
								
							 
						 
						
							
							
								
								Always write MTP data right after login.  
							
							... 
							
							
							
							Also write to DebugLogs all keys write attempts. 
							
						 
						
							2017-04-03 21:59:13 +03:00  
				
					
						
							
							
								 
						
							
								d41372dccd 
								
							 
						 
						
							
							
								
								Allow MTP_flags(0) and MTP_flags(single_flag).  
							
							
							
						 
						
							2017-03-25 18:42:01 +03:00  
				
					
						
							
							
								 
						
							
								1027bd431a 
								
							 
						 
						
							
							
								
								Add some helper methods to effect wrappers.  
							
							... 
							
							
							
							Add and use similar methods to WidgetSlideWrap and WidgetFadeWrap:
[show|hide|toggle]Fast() and [show|hide|toggle]Animated(). 
							
						 
						
							2017-03-15 18:10:18 +03:00  
				
					
						
							
							
								 
						
							
								f2465eba73 
								
							 
						 
						
							
							
								
								Make MTPstring and MTPvector value types.  
							
							... 
							
							
							
							Also move MTPstring implementation to QByteArray. 
							
						 
						
							2017-03-10 23:27:26 +03:00  
				
					
						
							
							
								 
						
							
								6456a83a22 
								
							 
						 
						
							
							
								
								Finalizing files rename.  
							
							... 
							
							
							
							Also moved peer_avatar_button to ui/special_buttons. 
							
						 
						
							2017-03-07 21:58:35 +03:00  
				
					
						
							
							
								 
						
							
								81790b2271 
								
							 
						 
						
							
							
								
								Notifications management moved to AuthSession.  
							
							... 
							
							
							
							Also implemented Global::WorkMode() as an base::Variable. 
							
						 
						
							2017-03-06 18:38:15 +03:00  
				
					
						
							
							
								 
						
							
								83720d8789 
								
							 
						 
						
							
							
								
								Finalizing file renaming.  
							
							
							
						 
						
							2017-03-04 13:23:56 +03:00  
				
					
						
							
							
								 
						
							
								08167a6a91 
								
							 
						 
						
							
							
								
								Removed #include "stdafx.h" from all files.  
							
							... 
							
							
							
							Currently the build without implicitly included precompiled header
is not supported anyway (because Qt MOC source files do not include
stdafx.h, they include plain headers).
So when we decide to support building without implicitly included
precompiled headers we'll have to fix all the headers anyway. 
							
						 
						
							2017-03-04 12:27:52 +03:00  
				
					
						
							
							
								 
						
							
								12705c9065 
								
							 
						 
						
							
							
								
								Removed legacy FileDialog::query* methods.  
							
							... 
							
							
							
							Everything is done easier and better through the FileDialog::Get*. 
							
						 
						
							2017-02-28 19:04:52 +03:00  
				
					
						
							
							
								 
						
							
								f8318177b9 
								
							 
						 
						
							
							
								
								Platform-dependent file methods called async.  
							
							... 
							
							
							
							Some major platform-dependent file operations refactoring.
All methods like "open file", "open file with", "show in folder"
were moved to core/file_utilities module with platform-dependent
backends. All methods interacting with DesktopServices made async. 
							
						 
						
							2017-02-28 18:03:38 +03:00  
				
					
						
							
							
								 
						
							
								c207743338 
								
							 
						 
						
							
							
								
								Made base::lambda a copyable value type.  
							
							... 
							
							
							
							Now base::lambda can be copied and can wrap any immutable lambda.
For mutable lambdas there is base::lambda_once (which you're
supposed to call only once to pass data through lambda captures,
for example by using std::unique_ptr). Generally base::lambda is
passed by value and base::lambda_once is passed by rvalue reference. 
							
						 
						
							2017-02-26 21:01:23 +03:00  
				
					
						
							
							
								 
						
							
								7d89b54d1c 
								
							 
						 
						
							
							
								
								Ability to delete authorization keys added.  
							
							... 
							
							
							
							If we start logging in and we know, that some of the authorization
keys were read from the hard drive, not generated, we destroy all
the existing authorization keys and start generating new keys. 
							
						 
						
							2017-02-25 19:48:22 +03:00  
				
					
						
							
							
								 
						
							
								dd933cf61c 
								
							 
						 
						
							
							
								
								MTP global state moved to MTP::Instance class.  
							
							... 
							
							
							
							Now there will be ability to start multiple mtproto instances. 
							
						 
						
							2017-02-25 19:48:21 +03:00  
				
					
						
							
							
								 
						
							
								c3b3819d9f 
								
							 
						 
						
							
							
								
								Moved AppClass to messenger.cpp:Messenger.  
							
							
							
						 
						
							2017-02-25 19:48:20 +03:00  
				
					
						
							
							
								 
						
							
								63c61637f8 
								
							 
						 
						
							
							
								
								Moved MTP::authedId() to AuthSession::Current().  
							
							
							
						 
						
							2017-02-25 19:48:19 +03:00  
				
					
						
							
							
								 
						
							
								755325fef3 
								
							 
						 
						
							
							
								
								Updated Xcode build for using standard library.  
							
							... 
							
							
							
							Also trying to use g++-6 for travis build. 
							
						 
						
							2017-02-21 17:37:53 +03:00  
				
					
						
							
							
								 
						
							
								ffc557a0f9 
								
							 
						 
						
							
							
								
								Using standard library instead of std_ namespace.  
							
							... 
							
							
							
							Currently tested only in VS2015. 
							
						 
						
							2017-02-21 16:45:56 +03:00  
				
					
						
							
							
								 
						
							
								f2e69d2621 
								
							 
						 
						
							
							
								
								Intro cover now shows palette changes in realtime.  
							
							
							
						 
						
							2017-02-18 14:38:15 +03:00  
				
					
						
							
							
								 
						
							
								4424dbf64a 
								
							 
						 
						
							
							
								
								Allow to resize chats list. One more mode added (narrow chats list).  
							
							
							
						 
						
							2017-01-16 12:55:03 +03:00  
				
					
						
							
							
								 
						
							
								7fb1463c43 
								
							 
						 
						
							
							
								
								Version 1.0 stable: bump copyright date to 2017.  
							
							
							
						 
						
							2017-01-11 23:02:13 +04:00  
				
					
						
							
							
								 
						
							
								bc0c355d2d 
								
							 
						 
						
							
							
								
								Alpha version 0.10.21: pinned chats, groups in common, new design.  
							
							
							
						 
						
							2016-12-30 22:23:17 +04:00  
				
					
						
							
							
								 
						
							
								ef927c8465 
								
							 
						 
						
							
							
								
								Theme preview ready.  
							
							... 
							
							
							
							Also style::color is now copyable, constructed only inside a palette.
Also macOS setup new background ready. 
							
						 
						
							2016-12-30 17:53:05 +04:00  
				
					
						
							
							
								 
						
							
								eb4d2a38b6 
								
							 
						 
						
							
							
								
								Closed beta 10020003: All colors moved to palette, some bug fixes.  
							
							
							
						 
						
							2016-12-30 17:53:02 +04:00  
				
					
						
							
							
								 
						
							
								2436ad74bd 
								
							 
						 
						
							
							
								
								Boxes redesigned. Common groups moved to Shared Media.  
							
							... 
							
							
							
							Also transparent images sending fixed. 
							
						 
						
							2016-12-30 17:52:56 +04:00  
				
					
						
							
							
								 
						
							
								90234cb7a0 
								
							 
						 
						
							
							
								
								Closed beta 10019014: New input fields design and animations.  
							
							
							
						 
						
							2016-12-30 17:52:52 +04:00  
				
					
						
							
							
								 
						
							
								47977009b8 
								
							 
						 
						
							
							
								
								Moved FloatAnimation->Animation, Animation->BasicAnimation.  
							
							
							
						 
						
							2016-12-30 17:52:48 +04:00