Commit Graph

76 Commits

Author SHA1 Message Date
Sergey A. Osokin 3ba5b825e5 Fix -Wunused-const-variable warnings by removing unused variables
Fixes #24432
2022-04-26 21:25:05 +04:00
23rd 101e795af8 Changed time picker box to highlight closest value. 2022-04-19 17:48:48 +03:00
23rd d289bbdc5e Added ability to report profile photos.
Fixed #24325.
2022-04-19 09:39:01 +04:00
23rd 8591fae031 Added slight nice effect to time picker. 2022-04-19 09:39:00 +04:00
23rd 18b9bba21c Fixed width of time picker for different scales. 2022-04-19 09:39:00 +04:00
John Preston 90f99ebfbe Add some additional space for TimePickerBox. 2022-04-16 20:26:49 +04:00
23rd 0427f90649 Removed label from confirm box when text is not provided. 2022-04-15 13:13:44 +03:00
23rd 209e09ab66 Moved box with vertical drum picker for time to separated module. 2022-04-01 19:15:10 +03:00
23rd d9541b6a6e Unified general phrases for duration. 2022-04-01 15:53:58 +04:00
23rd 3c4f575bc2 Added ability to set auto-delete from profile info. 2022-04-01 15:53:57 +04:00
23rd ae25804d83 Moved widget for time choosing to td_ui. 2022-04-01 15:53:57 +04:00
Aokromes a3877570fe fix case
closes https://github.com/telegramdesktop/tdesktop/issues/24232
2022-03-23 09:41:14 +04:00
John Preston 32eca14a81 Add icons to report reason selectors. 2022-03-22 09:18:17 +04:00
23rd 2b8eefccca Returned Enter shortcut to confirm box. 2022-03-08 12:43:00 +03:00
23rd 5298cf0e52 Added ability to provide style to box for choosing date and time. 2022-03-06 18:11:47 +03:00
23rd 239c617818 Added ability to provide some style color to calendar box. 2022-03-06 18:11:47 +03:00
23rd df125bac19 Removed Ui::ConfirmDontWarnBox. 2022-02-28 09:08:01 +03:00
23rd e6da3cf845 Removed old implementation of Ui::ConfirmBox. 2022-02-28 09:08:01 +03:00
23rd 1394b1d56f Added ConfirmBox implementation with GenericBox. 2022-02-28 08:08:32 +03:00
John Preston a61048d219 Fix scroll state management in Downloads. 2022-02-27 20:26:52 +03:00
23rd 1da5e7d1f7 Added ability to chose copyright as reason for message report. 2022-02-25 19:41:16 +03:00
23rd ed14e47389 Renamed BoxContent::onScrollToY to BoxContent::scrollToY. 2022-02-25 19:41:16 +03:00
John Preston 9d200017c3 Support two new message report reasons. 2022-02-25 19:41:15 +03:00
John Preston 6daa267329 Adjust privacy edit boxes to the mockup. 2022-02-25 14:14:42 +03:00
23rd 0143d22a21 Split qt_adapters to separated files. 2022-01-26 10:33:28 +03:00
23rd 4ee9751feb Added ability to cancel selection in calendar box with Esc key. 2022-01-12 11:54:24 +03:00
23rd 46fb5ee1d2 Added Page Up / Down keys to calendar box. 2022-01-12 11:54:24 +03:00
23rd 749f837df5 Fixed Home and End keys in calendar box. 2022-01-12 11:54:24 +03:00
23rd e11904e05b Removed TextParseRichText. 2022-01-12 11:54:24 +03:00
John Preston 0c3b289af9 Add floating dates to CalendarBox selecting mode. 2021-11-30 17:36:37 +04:00
John Preston 596c4a06a3 Use button colors for the calendar selections. 2021-11-26 18:00:20 +04:00
John Preston 969b27cb75 Many-day selection by two clicks in the calendar. 2021-11-26 18:00:20 +04:00
John Preston 80fcffcc40 Delete history for specific days in private chats. 2021-11-26 18:00:19 +04:00
John Preston b7c95e9636 Support selecting messages range. 2021-11-26 18:00:19 +04:00
John Preston 4414369fc8 Implement jump-to-start / end by long press in CalendarBox. 2021-11-26 18:00:19 +04:00
John Preston 15dc6064ef Improve CalendarBox title design for vertical layout. 2021-11-26 18:00:19 +04:00
John Preston b9b609f445 Track month in CalendarBox while scrolling. 2021-11-26 18:00:19 +04:00
John Preston be7cd51740 Start scrollable CalendarBox. 2021-11-26 18:00:19 +04:00
John Preston a92394a81f Hide "Request admin approval" in public peers. 2021-11-03 16:01:25 +04:00
John Preston 6d73b11d54 Move "Request approval" button to the top. 2021-11-02 10:22:12 +04:00
John Preston aaae5b0553 Support invite link label editing. 2021-10-29 18:31:07 +04:00
John Preston ab60628386 Usage limit and requests are mutually exclusive. 2021-10-29 18:31:06 +04:00
John Preston b4895ef730 Allow to accept / reject requests by link. 2021-10-29 18:31:06 +04:00
John Preston 3af3f85f82 Allow creating approve-only invite links. 2021-10-29 18:31:06 +04:00
23rd 78f0cf908e Moved RateCallBox to td_ui. 2021-10-29 16:10:07 +04:00
Ilya Fedin 847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd 25f6bea66e Moved ConfirmPhoneBox to td_ui. 2021-10-19 06:34:28 +03:00
23rd 80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
John Preston 19ce1edc16 Use base::SafeRound instead of std::round.
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b, 8f5830d520.

Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00