b9cd813127 
								
							 
						 
						
							
							
								
								Apply clang-format  
							
							
							
						 
						
							2018-06-06 11:25:23 +03:00  
				
					
						
							
							
								 
						
							
								49982a33a5 
								
							 
						 
						
							
							
								
								Pre-reformat fixes  
							
							
							
						 
						
							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  
				
					
						
							
							
								 
						
							
								c237414cc6 
								
							 
						 
						
							
							
								
								text_entity: Add enum for used Unicode codepoints  
							
							... 
							
							
							
							It's better to use the named constants instead of magic character codes. 
							
						 
						
							2018-04-21 19:14:34 +03:00  
				
					
						
							
							
								 
						
							
								49b3469963 
								
							 
						 
						
							
							
								
								Add option for typographic message formatting  
							
							... 
							
							
							
							This option allows to turn off the old behaviour with replacing char
sequences like <<, >>, -- to chars represented by HTML escape characters
"«", "»", "—".
Based on upstream pull
https://github.com/telegramdesktop/tdesktop/pull/4553  and commit
fe118833aeCloses  #132  
							
						 
						
							2018-04-21 19:14:34 +03:00  
				
					
						
							
							
								 
						
							
								ed0e5b9958 
								
							 
						 
						
							
							
								
								Reorganize #include's in ui/text/text.cpp  
							
							... 
							
							
							
							Now it compiles faster
Related to #16  
							
						 
						
							2018-04-17 22:06:33 +03:00  
				
					
						
							
							
								 
						
							
								56cbcdcf94 
								
							 
						 
						
							
							
								
								Get rid of qharfbuzz_p private dependency  
							
							... 
							
							
							
							It's used for weird conversion from "QChar::Script" to internal
HB_Script and back.
Looks like it was in old Qt on this mirror link:
39b4955da3#96  #27  #16  
							
						 
						
							2018-04-17 22:06:33 +03:00  
				
					
						
							
							
								 
						
							
								40f8f0939a 
								
							 
						 
						
							
							
								
								[Refactoring] change qt math function to cmath analog  
							
							
							
						 
						
							2018-02-28 22:12:25 +02:00  
				
					
						
							
							
								 
						
							
								e609b4464d 
								
							 
						 
						
							
							
								
								Fix non-utf8 text in commit  31ed5214f0 
							
							
							
						 
						
							2018-01-14 01:36:38 +02:00  
				
					
						
							
							
								 
						
							
								31ed5214f0 
								
							 
						 
						
							
							
								
								Allow unicode quotes as markdown entry separators. ( #54 )  
							
							... 
							
							
							
							Fixes  #13 . (Based on upstream's commit telegramdesktop/tdesktop@2e421e8 , ) 
						
							2017-12-24 20:30:13 +04:00  
				
					
						
							
							
								 
						
							
								c4fe2f86ea 
								
							 
						 
						
							
							
								
								Add explicit typecasting for some constants  
							
							
							
						 
						
							2017-12-20 14:38:02 +02:00  
				
					
						
							
							
								 
						
							
								6b6a0475ab 
								
							 
						 
						
							
							
								
								Fix compilation on Windows  
							
							
							
						 
						
							2017-12-20 14:38:02 +02:00  
				
					
						
							
							
								 
						
							
								c417b45469 
								
							 
						 
						
							
							
								
								Remove useless bitfield qualifier  
							
							
							
						 
						
							2017-12-20 14:38:02 +02:00  
				
					
						
							
							
								 
						
							
								e9184f9ab5 
								
							 
						 
						
							
							
								
								Replace non-standard types with Qt equivalents  
							
							
							
						 
						
							2017-12-20 14:38:02 +02:00  
				
					
						
							
							
								 
						
							
								941b306f7a 
								
							 
						 
						
							
							
								
								Suppress warnings for unhandled enum values  
							
							
							
						 
						
							2017-12-20 14:38:02 +02:00  
				
					
						
							
							
								 
						
							
								cf7ca3df15 
								
							 
						 
						
							
							
								
								Subject: [PATCH] Fixed build under Fedora using rpmbuild and mock.  
							
							... 
							
							
							
							From dba8b962c805af477ceee699aa1c05143aa19d43 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly@easycoding.org>
Date: Fri, 31 Mar 2017 14:29:58 +0200 
							
						 
						
							2017-12-20 14:38:02 +02:00  
				
					
						
							
							
								 
						
							
								1bb38d5b12 
								
							 
						 
						
							
							
								
								Change used private header  
							
							... 
							
							
							
							* Hopefully it will be replaced with separate fixed-point lib 
							
						 
						
							2017-12-20 14:38:02 +02:00  
				
					
						
							
							
								 
						
							
								8c92f42de3 
								
							 
						 
						
							
							
								
								Fix uninitialized values  
							
							... 
							
							
							
							- Use C++11 default member initializers
Signed-off-by: Veli-Matti Visuri <veli-matti.visuri@cerescon.fi> (github: visuve) 
							
						 
						
							2017-09-28 18:23:42 +03:00  
				
					
						
							
							
								 
						
							
								2e374e68c5 
								
							 
						 
						
							
							
								
								Fix working with layers.  
							
							... 
							
							
							
							Regression was introduced in df64c97Closes  #3856 . 
							
						 
						
							2017-09-03 22:49:33 +03:00  
				
					
						
							
							
								 
						
							
								df64c972d8 
								
							 
						 
						
							
							
								
								Replace QFlags with base::flags.  
							
							
							
						 
						
							2017-09-03 15:45:47 +03:00  
				
					
						
							
							
								 
						
							
								25ffaaaa2d 
								
							 
						 
						
							
							
								
								Replace t_assert() with Assert().  
							
							... 
							
							
							
							Also use this assertions for Expects(), Ensures() and Unexpected(). 
							
						 
						
							2017-08-30 19:15:42 +03:00  
				
					
						
							
							
								 
						
							
								b3da99c302 
								
							 
						 
						
							
							
								
								Replace gsl::not_null<T*> with just not_null<T*>.  
							
							
							
						 
						
							2017-08-30 19:15:41 +03:00  
				
					
						
							
							
								 
						
							
								a72453fb1b 
								
							 
						 
						
							
							
								
								Remove ContactsBox and contacts_box module.  
							
							
							
						 
						
							2017-08-30 19:15:30 +03:00  
				
					
						
							
							
								 
						
							
								0880c01a20 
								
							 
						 
						
							
							
								
								Replace group admins ContactsBox with PeerListBox.  
							
							
							
						 
						
							2017-08-30 19:15:28 +03:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								012d59ab42 
								
							 
						 
						
							
							
								
								Use nullptr instead of std::unique_ptr<Type>().  
							
							
							
						 
						
							2017-08-30 19:15:25 +03:00  
				
					
						
							
							
								 
						
							
								e209737b1a 
								
							 
						 
						
							
							
								
								Display and follow unread mentions in history.  
							
							
							
						 
						
							2017-08-30 19:15:13 +03:00  
				
					
						
							
							
								 
						
							
								edbc3f8fde 
								
							 
						 
						
							
							
								
								Use QDataStream directly on QByteArray.  
							
							
							
						 
						
							2017-08-25 14:39:30 +03:00  
				
					
						
							
							
								 
						
							
								b08732cf28 
								
							 
						 
						
							
							
								
								Move MediaView from MainWindow to Messenger.  
							
							
							
						 
						
							2017-08-25 14:39:27 +03:00  
				
					
						
							
							
								 
						
							
								fa818407e6 
								
							 
						 
						
							
							
								
								Improve group sticker set setup box.  
							
							
							
						 
						
							2017-08-25 14:39:25 +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  
				
					
						
							
							
								 
						
							
								417f5684dc 
								
							 
						 
						
							
							
								
								Add ability to disable animations.  
							
							
							
						 
						
							2017-08-25 14:39:16 +03:00  
				
					
						
							
							
								 
						
							
								a143505fd6 
								
							 
						 
						
							
							
								
								Remove lambda_slot() and lambda_slot_once().  
							
							
							
						 
						
							2017-08-25 14:39:15 +03:00  
				
					
						
							
							
								 
						
							
								ce51abd9d0 
								
							 
						 
						
							
							
								
								Change dialogs filter text area for two icons.  
							
							
							
						 
						
							2017-08-25 12:58:09 +03:00  
				
					
						
							
							
								 
						
							
								6f746c238a 
								
							 
						 
						
							
							
								
								Search for messages from a specific user in group.  
							
							
							
						 
						
							2017-08-01 21:38:01 +03:00  
				
					
						
							
							
								 
						
							
								180f83c528 
								
							 
						 
						
							
							
								
								Fix crash in InnerDropdown widget animations.  
							
							
							
						 
						
							2017-07-26 23:43:18 +03:00  
				
					
						
							
							
								 
						
							
								9bf40c927e 
								
							 
						 
						
							
							
								
								Improve emoji suggestions and replace on send.  
							
							... 
							
							
							
							Bring recent emoji up in suggestions.
Apply saved skin color to emoji suggestions.
Write to recents when choosing emoji suggestion. 
							
						 
						
							2017-07-26 15:55:04 +03:00  
				
					
						
							
							
								 
						
							
								2dec9c46a7 
								
							 
						 
						
							
							
								
								Add emoji autocomplete to history message field.  
							
							
							
						 
						
							2017-07-26 15:55:02 +03:00  
				
					
						
							
							
								 
						
							
								65371ec1b8 
								
							 
						 
						
							
							
								
								Fix selected text render on Retina.  
							
							... 
							
							
							
							QPainter::viewport() can be a too large rect to be passed as a
clipping region to QPainter on Retina displays.
QPainter in case of Retina displays tries to transform QRegion using
scale matrix and fails with "QRegion: creating region from big
polygon failed" warning message and disables painting completely. 
							
						 
						
							2017-07-26 15:51:24 +03:00  
				
					
						
							
							
								 
						
							
								077e128e9a 
								
							 
						 
						
							
							
								
								Don't uncheck a radiobutton on second click.  
							
							
							
						 
						
							2017-07-18 20:11:44 +03:00  
				
					
						
							
							
								 
						
							
								794ad7bda7 
								
							 
						 
						
							
							
								
								Fix main menu night theme layout for non-English.  
							
							... 
							
							
							
							The place for the phrase was too small because of huge left padding. 
							
						 
						
							2017-07-18 20:10:55 +03:00  
				
					
						
							
							
								 
						
							
								7cc38f8f6a 
								
							 
						 
						
							
							
								
								Improve disabled Ui::Checkbox layout.  
							
							
							
						 
						
							2017-07-14 12:47:44 +03:00  
				
					
						
							
							
								 
						
							
								2f816942b8 
								
							 
						 
						
							
							
								
								Use objects instead of pointers for corners.  
							
							... 
							
							
							
							Also don't change mask corner images when color theme is changed.
This prevents race condition in mask corner images access, because
the GIF frame readers access mask corner images from other threads. 
							
						 
						
							2017-07-13 17:42:46 +03:00  
				
					
						
							
							
								 
						
							
								f5a405e6f1 
								
							 
						 
						
							
							
								
								Fix auto media download settings box layout.  
							
							
							
						 
						
							2017-07-12 16:53:42 +03:00  
				
					
						
							
							
								 
						
							
								f32af6999b 
								
							 
						 
						
							
							
								
								Add a fast share button in channels and bots.  
							
							
							
						 
						
							2017-07-11 20:11:06 +03:00  
				
					
						
							
							
								 
						
							
								b79ddb7a1c 
								
							 
						 
						
							
							
								
								Handle click on userpic in edit admin/banned box.  
							
							... 
							
							
							
							In admins/banned/restricted lists on row click the edit box is shown.
Now click on the userpic in this box allows to get to user profile. 
							
						 
						
							2017-07-10 15:43:30 +03:00  
				
					
						
							
							
								 
						
							
								0402b4f5f4 
								
							 
						 
						
							
							
								
								Add X / V vector icon to checkbox Toggle view.  
							
							... 
							
							
							
							Also use them in the admin rights / restrictions boxes. 
							
						 
						
							2017-07-09 18:06:27 +03:00  
				
					
						
							
							
								 
						
							
								d5c5549c1a 
								
							 
						 
						
							
							
								
								Make Checkbox text position relative to the View.  
							
							
							
						 
						
							2017-07-07 14:27:13 +03:00  
				
					
						
							
							
								 
						
							
								21d2f6a44f 
								
							 
						 
						
							
							
								
								Generalize Checkbox layout.  
							
							... 
							
							
							
							Now any Checkbox can have Check, Radio or Toggle layout.
Radiobutton is now a subclass of Checkbox with default Radio layout. 
							
						 
						
							2017-07-07 14:16:37 +03:00  
				
					
						
							
							
								 
						
							
								28f7dc73a5 
								
							 
						 
						
							
							
								
								Optimize markdown parser, use less regex matches.  
							
							
							
						 
						
							2017-07-06 19:57:19 +03:00