John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								e943264823 
								
							 
						 
						
							
							
								
								Pass MTP::Instance to MTP::Sender.  
							
							 
							
							
							
						 
						
							2019-11-29 15:36:05 +03:00  
						
					 
				
					
						
							
							
								 
								Nicholas Guriev
							
						 
						
							 
							
							
							
							
								
							
							
								793862bee6 
								
							 
						 
						
							
							
								
								Fix -Wredundant-move and -Wdeprecated-copy warnings ( #6663 )  
							
							 
							
							... 
							
							
							
							* Do not move result at end of function
This makes GCC 9.1.2 happy with the active -Wredundant-move warning.
Indeed, such moving of local variables or local arguments before
returning is unnecessary and prevents the compiler from copy elision
optimization. 
							
						 
						
							2019-11-12 18:15:34 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								a6c84c36c0 
								
							 
						 
						
							
							
								
								Use layers and boxes from lib_ui.  
							
							 
							
							
							
						 
						
							2019-10-19 12:27:52 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								0c713a930a 
								
							 
						 
						
							
							
								
								Remove app.h / facades.h from precompiled header.  
							
							 
							
							
							
						 
						
							2019-10-01 23:59:46 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								7893ad0558 
								
							 
						 
						
							
							
								
								Mark all types of local history items.  
							
							 
							
							
							
						 
						
							2019-09-06 10:53:44 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								405ccb8580 
								
							 
						 
						
							
							
								
								Add editing of AddedByPhone privacy.  
							
							 
							
							
							
						 
						
							2019-08-29 11:44:03 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								549789bfb7 
								
							 
						 
						
							
							
								
								Update API scheme to layer 105.  
							
							 
							
							
							
						 
						
							2019-08-27 19:10:37 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								02b65a42f7 
								
							 
						 
						
							
							
								
								Move message client flags to a separate field.  
							
							 
							
							
							
						 
						
							2019-08-09 20:19:23 +01:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								bacaf805b5 
								
							 
						 
						
							
							
								
								Pass SessionNavigation to some boxes.  
							
							 
							
							
							
						 
						
							2019-07-25 20:55:11 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								137fa0378c 
								
							 
						 
						
							
							
								
								Remove some more Auth() calls.  
							
							 
							
							
							
						 
						
							2019-07-24 16:00:30 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								ff44094ded 
								
							 
						 
						
							
							
								
								Rename AuthSession to Main::Session.  
							
							 
							
							
							
						 
						
							2019-07-24 13:45:24 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								873b77cf40 
								
							 
						 
						
							
							
								
								Use UserData::isBot where applicable.  
							
							 
							
							
							
						 
						
							2019-07-24 08:02:20 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								c5df4db621 
								
							 
						 
						
							
							
								
								Fix possible race conditions in msgid().  
							
							 
							
							
							
						 
						
							2019-07-15 16:00:30 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								567bf60644 
								
							 
						 
						
							
							
								
								Use getters in MTP classes.  
							
							 
							
							
							
						 
						
							2019-07-05 16:23:07 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								9d09cee1cc 
								
							 
						 
						
							
							
								
								Unblock bots without restarting from Settings.  
							
							 
							
							
							
						 
						
							2019-07-04 16:26:53 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								4917ca7b32 
								
							 
						 
						
							
							
								
								Remove all legacy global namespace langs.  
							
							 
							
							
							
						 
						
							2019-06-21 11:06:52 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								87fc066e67 
								
							 
						 
						
							
							
								
								Use tr:: instead of lang().  
							
							 
							
							
							
						 
						
							2019-06-21 11:06:51 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								a7c8feaecb 
								
							 
						 
						
							
							
								
								Use tr:: instead of langFactory and __rich.  
							
							 
							
							
							
						 
						
							2019-06-21 11:06:50 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								d1d98c3bb1 
								
							 
						 
						
							
							
								
								Use tr:: instead of langFactory in box titles.  
							
							 
							
							
							
						 
						
							2019-06-21 11:06:50 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								7af0dd105e 
								
							 
						 
						
							
							
								
								Use tr:: instead of Lang::Viewer.  
							
							 
							
							
							
						 
						
							2019-06-21 11:06:49 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								5e3734d7bf 
								
							 
						 
						
							
							
								
								ReportSpamPanel -> HistoryView::ContactStatus.  
							
							 
							
							
							
						 
						
							2019-06-21 11:06:45 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								371f1a51c3 
								
							 
						 
						
							
							
								
								Preload blocked users slice in Settings.  
							
							 
							
							
							
						 
						
							2019-05-27 15:09:47 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								8660f976a9 
								
							 
						 
						
							
							
								
								Add phone number privacy.  
							
							 
							
							... 
							
							
							
							Also move calls peer-to-peer privacy inside calls privacy. 
							
						 
						
							2019-05-27 15:09:15 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								7ee16ba45c 
								
							 
						 
						
							
							
								
								Clear hidden animated stickers.  
							
							 
							
							
							
						 
						
							2019-05-27 14:11:26 +02:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								08bddc5579 
								
							 
						 
						
							
							
								
								Move messages data to AuthSession.  
							
							 
							
							
							
						 
						
							2019-05-01 16:11:42 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								854870683b 
								
							 
						 
						
							
							
								
								Add ability to archive/unarchive the chats.  
							
							 
							
							
							
						 
						
							2019-05-01 16:11:35 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								8c6e72b21a 
								
							 
						 
						
							
							
								
								Hide Nobody option from profile photo privacy.  
							
							 
							
							
							
						 
						
							2019-03-25 11:57:04 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								b972da059a 
								
							 
						 
						
							
							
								
								Show explaining preview of forwards privacy.  
							
							 
							
							
							
						 
						
							2019-03-24 12:12:42 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								81862215b4 
								
							 
						 
						
							
							
								
								Add forwards and profile photo privacy settings.  
							
							 
							
							
							
						 
						
							2019-03-24 12:12:42 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								13a9b967e9 
								
							 
						 
						
							
							
								
								Use user phrases for support accounts.  
							
							 
							
							
							
						 
						
							2019-03-12 14:38:59 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								4111da1dd0 
								
							 
						 
						
							
							
								
								Move some calls from App namespace.  
							
							 
							
							
							
						 
						
							2019-01-22 17:10:01 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								c5a41e1f55 
								
							 
						 
						
							
							
								
								Divide data/data_peer and remove from PCH.  
							
							 
							
							
							
						 
						
							2019-01-17 12:21:29 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								61add763ae 
								
							 
						 
						
							
							
								
								Restart instead of Unblock for bots.  
							
							 
							
							
							
						 
						
							2018-12-04 15:46:07 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								123523ef62 
								
							 
						 
						
							
							
								
								Separate some lang phrases.  
							
							 
							
							
							
						 
						
							2018-11-20 19:38:39 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								8d27d8efcf 
								
							 
						 
						
							
							
								
								Use cloud-based settings for p2p in calls.  
							
							 
							
							
							
						 
						
							2018-11-16 20:17:58 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								fd0719db6d 
								
							 
						 
						
							
							
								
								Add animations enable/disable setting.  
							
							 
							
							... 
							
							
							
							Open chats / users on mouse press if animations are disabled. 
							
						 
						
							2018-09-20 21:26:10 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								9388e154cf 
								
							 
						 
						
							
							
								
								Improve edit privacy box design.  
							
							 
							
							... 
							
							
							
							Also move calls peer-to-peer settings to EditPrivacyBox. 
							
						 
						
							2018-09-19 19:22:15 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								2f408cd773 
								
							 
						 
						
							
							
								
								Remove old settings.  
							
							 
							
							
							
						 
						
							2018-09-19 19:22:14 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								4f16ad6757 
								
							 
						 
						
							
							
								
								Move old settings to old_settings.  
							
							 
							
							
							
						 
						
							2018-09-19 19:22:12 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								dd81f5d59f 
								
							 
						 
						
							
							
								
								Replace base::lambda with shorter term.  
							
							 
							
							... 
							
							
							
							base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type. 
							
						 
						
							2018-06-04 18:38:27 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								97a9089ebf 
								
							 
						 
						
							
							
								
								Move draw / getState code to HistoryView::Message.  
							
							 
							
							... 
							
							
							
							Item dimensions broken for now.
Also remove history.h from pch. 
							
						 
						
							2018-02-08 12:20:48 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								6a9556d42c 
								
							 
						 
						
							
							
								
								Move non-settings session data to Data::Session.  
							
							 
							
							... 
							
							
							
							Rename AuthSessionData to AuthSessionSettings, move data away. 
							
						 
						
							2018-02-08 12:20:46 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								ea7441ae77 
								
							 
						 
						
							
							
								
								Use single LEGAL file with license and copyright.  
							
							 
							
							
							
						 
						
							2018-01-03 13:23:14 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								93c15e5ee6 
								
							 
						 
						
							
							
								
								Use internal section stack in Info::WrapWidget.  
							
							 
							
							
							
						 
						
							2017-11-16 07:59:06 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								f162462111 
								
							 
						 
						
							
							
								
								Move info between Layer and Narrow wrap.  
							
							 
							
							
							
						 
						
							2017-11-16 07:59:03 +04:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								b3da99c302 
								
							 
						 
						
							
							
								
								Replace gsl::not_null<T*> with just not_null<T*>.  
							
							 
							
							
							
						 
						
							2017-08-30 19:15:41 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								f7359093b4 
								
							 
						 
						
							
							
								
								Replace ContactsBox with PeerListBox in two cases.  
							
							 
							
							... 
							
							
							
							- View contacts list in PeerListBox.
- Add participants when creating group / channel in PeerListBox. 
							
						 
						
							2017-08-30 19:15:27 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								012d59ab42 
								
							 
						 
						
							
							
								
								Use nullptr instead of std::unique_ptr<Type>().  
							
							 
							
							
							
						 
						
							2017-08-30 19:15:25 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								ab35829358 
								
							 
						 
						
							
							
								
								Remove App::app(), App::uploader(), App::api().  
							
							 
							
							... 
							
							
							
							Also use Auth() instead of AuthSession::Current*(). 
							
						 
						
							2017-08-25 14:39:18 +03:00  
						
					 
				
					
						
							
							
								 
								John Preston
							
						 
						
							 
							
							
							
							
								
							
							
								adcecaa195 
								
							 
						 
						
							
							
								
								Make search in restricted/blocked box paginated.  
							
							 
							
							
							
						 
						
							2017-06-29 11:40:17 +03:00