John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								5f94fa24a0 
								
							 
						 
						
							
							
								
								Some fixes in spoiler geometry.  
							
							
							
						 
						
							2021-12-30 15:58:27 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								8b0ff16b66 
								
							 
						 
						
							
							
								
								Fixed isolated emoji under spoilers.  
							
							
							
						 
						
							2021-12-30 03:24:11 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								e961883914 
								
							 
						 
						
							
							
								
								Fixed spoiler width for thin characters.  
							
							
							
						 
						
							2021-12-30 03:23:39 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								a3b3745d7c 
								
							 
						 
						
							
							
								
								Allow click on a submenu-creating item.  
							
							
							
						 
						
							2021-12-29 17:53:27 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								0a0e5e1258 
								
							 
						 
						
							
							
								
								Added ability to pass TextWithEntities to Checkbox.  
							
							
							
						 
						
							2021-12-28 03:27:25 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								3461c18cda 
								
							 
						 
						
							
							
								
								Extracted ellipsis string from String::Text to global access.  
							
							
							
						 
						
							2021-12-25 18:24:09 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								774da18a38 
								
							 
						 
						
							
							
								
								Added utility to correctly cut text with commands.  
							
							
							
						 
						
							2021-12-25 17:31:53 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								44853e9334 
								
							 
						 
						
							
							
								
								Added ability to show or hide spoilers from outside.  
							
							
							
						 
						
							2021-12-25 17:31:53 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								db871a87f5 
								
							 
						 
						
							
							
								
								Added animation for spoilers.  
							
							
							
						 
						
							2021-12-24 15:49:02 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								2c1e6b458d 
								
							 
						 
						
							
							
								
								Moved SpoilerClickHandler to separated file.  
							
							
							
						 
						
							2021-12-24 15:49:02 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								af2cfca307 
								
							 
						 
						
							
							
								
								Improved style of selected text with spoilers.  
							
							
							
						 
						
							2021-12-24 15:49:02 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								6c9d832ad8 
								
							 
						 
						
							
							
								
								Added nice corners for spoilers.  
							
							
							
						 
						
							2021-12-24 15:49:02 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								9c1572564b 
								
							 
						 
						
							
							
								
								Added utility to replace spoiler entities with text commands.  
							
							
							
						 
						
							2021-12-24 15:49:02 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								fc6c3841ee 
								
							 
						 
						
							
							
								
								Improved utility to clean text from text commands except spoilers.  
							
							
							
						 
						
							2021-12-24 15:49:02 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								8331322c20 
								
							 
						 
						
							
							
								
								Replaced tag separator to avoid conflicts with new spoiler tag.  
							
							
							
						 
						
							2021-12-24 15:49:02 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								ee4a94c122 
								
							 
						 
						
							
							
								
								Added spoiler support to input field.  
							
							
							
						 
						
							2021-12-24 15:49:02 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								bcf16c6c80 
								
							 
						 
						
							
							
								
								Added spoiler support to conversion from Ui::Text::String to text.  
							
							
							
						 
						
							2021-12-24 15:49:02 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								6b905f7754 
								
							 
						 
						
							
							
								
								Added text command for spoilers.  
							
							
							
						 
						
							2021-12-24 15:49:02 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								1819e6e3a5 
								
							 
						 
						
							
							
								
								Added initial spoiler support to Ui::Text::String.  
							
							
							
						 
						
							2021-12-24 15:49:02 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								e19a4c6544 
								
							 
						 
						
							
							
								
								Added index for spoiler to AbstractBox.  
							
							
							
						 
						
							2021-12-22 22:39:03 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								0524252197 
								
							 
						 
						
							
							
								
								Added new colors to text palette for spoilers.  
							
							
							
						 
						
							2021-12-22 22:39:03 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								8aeb6def88 
								
							 
						 
						
							
							
								
								Moved out AbstractBlock implementation from header file.  
							
							
							
						 
						
							2021-12-22 17:08:11 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								c06f0435c4 
								
							 
						 
						
							
							
								
								Moved splitting of tags to separated method.  
							
							
							
						 
						
							2021-12-22 17:03:52 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								eaea768ca0 
								
							 
						 
						
							
							
								
								Fix HWND retrieval on Windows.  
							
							
							
						 
						
							2021-12-22 10:23:07 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								26a8f46634 
								
							 
						 
						
							
							
								
								Fix global scale reset with custom platformthemes  
							
							... 
							
							
							
							At least Kvantum makes QGuiApplication constructor to call QGuiApplication::devicePixelRatio, so the value is cached and won't change.
Resetting the cache fixes the issue. 
							
						 
						
							2021-12-16 08:43:30 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								5195b7b45f 
								
							 
						 
						
							
							
								
								Use XCB instead of QPlatformNativeInterface to get state of translucent windows support  
							
							
							
						 
						
							2021-12-14 09:52:19 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								692fd7a3a2 
								
							 
						 
						
							
							
								
								Use generic XCB::GetRootWindow instead of QPlatformNativeInterface-based GetRootWindowFromQt  
							
							
							
						 
						
							2021-12-14 09:52:19 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								9c7fe32830 
								
							 
						 
						
							
							
								
								Use winId to get window handle on Windows  
							
							... 
							
							
							
							There's no need to call QPlatformNativeInterface for that 
							
						 
						
							2021-12-14 09:52:19 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								6ac846adbb 
								
							 
						 
						
							
							
								
								Allow adding submenu actions with icons.  
							
							
							
						 
						
							2021-12-09 21:55:35 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								7efa1f9b2b 
								
							 
						 
						
							
							
								
								Use base::unique_qptr for PopupMenu-s.  
							
							
							
						 
						
							2021-12-09 21:55:19 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								a6eae0aa27 
								
							 
						 
						
							
							
								
								Improve color in the default popup menu.  
							
							
							
						 
						
							2021-12-09 21:54:51 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								e3c4d49912 
								
							 
						 
						
							
							
								
								Remove legacy QRC files  
							
							... 
							
							
							
							qt_linux.conf has no visible effect for a long time and mac.qrc is empty, so remove them to get rid of unneeded rcc invocations 
							
						 
						
							2021-12-06 12:27:45 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								5cf6981bbb 
								
							 
						 
						
							
							
								
								Allow attaching properties to click handlers.  
							
							
							
						 
						
							2021-11-29 13:32:45 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								725654654d 
								
							 
						 
						
							
							
								
								Allow changing menu action icons in realtime.  
							
							
							
						 
						
							2021-11-25 17:22:46 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								f4a32c34f8 
								
							 
						 
						
							
							
								
								Move box divider colors to the palette.  
							
							
							
						 
						
							2021-11-24 12:28:36 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								1111718ea3 
								
							 
						 
						
							
							
								
								Correctly handle "internal:url:..." links.  
							
							
							
						 
						
							2021-11-18 17:11:59 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								f18fbbc2a1 
								
							 
						 
						
							
							
								
								Allow custom-styled left button in BoxContent.  
							
							
							
						 
						
							2021-11-16 09:51:24 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								bd7c085bd0 
								
							 
						 
						
							
							
								
								Fix warning in GCC on C++20.  
							
							
							
						 
						
							2021-11-14 11:26:24 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								abfd578851 
								
							 
						 
						
							
							
								
								Remove unneeded check for Qt::AA_DisableHighDpiScaling  
							
							
							
						 
						
							2021-11-05 17:00:16 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								4907cf35d1 
								
							 
						 
						
							
							
								
								Fix warning about inactive QPainter.  
							
							
							
						 
						
							2021-11-02 16:14:10 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								53e39e37eb 
								
							 
						 
						
							
							
								
								Debug std::isnan assertion violation.  
							
							
							
						 
						
							2021-11-02 09:37:16 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								402b73f5cf 
								
							 
						 
						
							
							
								
								Fix crash in TWidgetHelper::show/hideChildren.  
							
							
							
						 
						
							2021-11-02 00:08:10 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								d9953c29b8 
								
							 
						 
						
							
							
								
								Don't set window border color on Windows 11.  
							
							... 
							
							
							
							When set it can only be opaque which doesn't look great.
When left default it is made of a semi-transparent shadow color. 
							
						 
						
							2021-11-01 15:02:21 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								cc79439fee 
								
							 
						 
						
							
							
								
								Fixed RpWindow dragging on macOS with Qt 6.2.  
							
							
							
						 
						
							2021-10-31 08:58:44 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								f51ff6b513 
								
							 
						 
						
							
							
								
								Use Qt resources from a file on macOS.  
							
							
							
						 
						
							2021-10-27 20:39:21 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								efdb990d96 
								
							 
						 
						
							
							
								
								Fix emoji single pixmap size on Retina screens.  
							
							
							
						 
						
							2021-10-27 10:39:05 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								7b4114d907 
								
							 
						 
						
							
							
								
								Fix RpWindow drag-by-title on macOS with Qt 6.2.  
							
							
							
						 
						
							2021-10-26 19:32:24 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								9e4ffb81a5 
								
							 
						 
						
							
							
								
								Re-enable kwayland with Qt 6  
							
							
							
						 
						
							2021-10-25 08:49:29 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								397be4f175 
								
							 
						 
						
							
							
								
								Call QInputMethod::show on TouchEnd  
							
							... 
							
							
							
							Qt calls QInputMethod::show on mouseReleaseEvent, but tdesktop sets Qt::WA_AcceptTouchEvents, so Qt's callback is never called and the keyboard is never shown. Adding the same to TouchEnd event should synchornize the behavior.
QInputMethod::hide is called in QWidget::focusOutEvent and shouldn't be affected. 
							
						 
						
							2021-10-25 08:47:23 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								3177c78bda 
								
							 
						 
						
							
							
								
								Disable OpenGL on NVIDIA driver on Linux.  
							
							
							
						 
						
							2021-10-22 19:39:09 +04:00