John Preston
4aafcebef5
Add empty experimental settings section.
2022-01-28 19:10:07 +03:00
John Preston
28f2c213f7
Remove app module. Support delayed quit by Cmd+Q on macOS.
2022-01-27 15:54:20 +03:00
23rd
0143d22a21
Split qt_adapters to separated files.
2022-01-26 10:33:28 +03:00
John Preston
3ff17a8789
Refactor image transformation interfaces.
2022-01-21 15:33:44 +03:00
John Preston
bfdbb64295
Move some Settings icons to a subfolder.
2021-12-29 21:22:33 +03:00
John Preston
2c36623cfb
Add some icons to popup menus.
2021-12-29 21:22:33 +03:00
John Preston
a1439163ce
Update API scheme to layer136.
2021-12-29 21:22:32 +03:00
John Preston
caaeff32c5
Move global privacy setting down.
2021-12-02 13:36:49 +04:00
John Preston
28eb2f1a91
Return terminate session button to the list.
2021-11-30 21:08:15 +04:00
John Preston
168711b352
Use PeerList for sessions list (wip).
2021-11-30 20:44:15 +04:00
23rd
3647241f71
Removed unused MTP::Error from callbacks on fail.
2021-11-30 17:37:07 +04:00
John Preston
1d1fa5f98b
Improve session details box design.
2021-11-30 16:06:41 +04:00
John Preston
d4c6475ae8
Show sessions list in a Settings Section.
2021-11-29 17:30:14 +04:00
John Preston
8264968718
Use cloud "disable calls" settings instead of local.
2021-11-26 18:04:03 +04:00
John Preston
f3e1aef264
Allow editing sessions auto-termination period.
2021-11-26 18:00:22 +04:00
John Preston
fe4bb19358
Improve custom device name input design.
2021-11-26 18:00:22 +04:00
John Preston
f10ed4b9bc
Support autostart in Windows Store version.
...
Fixes #3234 .
2021-11-04 12:36:28 +04:00
John Preston
aef45b3a1d
Refactor icon unread counter painting.
2021-11-02 20:12:57 +04:00
John Preston
ab58aa020e
Allow many custom elements in PeerListRow.
2021-10-29 18:31:06 +04:00
Ilya Fedin
45bbe33929
Multiple scale values in UI by device pixel ratio on non-Mac
...
To avoid confusion
2021-10-25 19:55:11 +04:00
Ilya Fedin
847c01d605
Add Qt 6 support
...
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd
159beb138a
Moved api peer photo processing to separated file.
...
Removed MainWidget::deletePhotoLayer.
2021-10-20 22:56:19 +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
23rd
c6e1b14429
Added Window::SessionController to ChangePhoneBox.
2021-10-19 06:34:27 +03:00
23rd
94d5d20281
Simplified saving self bio.
2021-10-19 06:34:27 +03:00
John Preston
0c906a5e6d
Fix crash in local changelog messages.
2021-10-07 10:58:24 +04:00
John Preston
ead695b101
Don't pass wide fake MsgId through MTPMessage.
2021-09-30 15:30:39 +04:00
John Preston
1e660fc2a2
Allocate 64 bits for message ids.
2021-09-30 13:49:37 +04:00
John Preston
b1ba9a42c6
Use Ui::GenerateBackgroundImage for preview in Settings.
2021-09-28 19:27:41 +04: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
Ilya Fedin
e92ae40ecb
Implement close to taskbar option
2021-09-13 17:46:53 +03:00
John Preston
13c00949ed
Add a simple way of testing color themes.
2021-09-10 22:29:30 +03:00
John Preston
a6c98f4bb4
Update API scheme to layer 133.
2021-09-07 23:41:07 +03:00
John Preston
b2364140e9
Custom colors in all media/history_view_ modules.
2021-09-06 13:13:26 +03:00
John Preston
23e9e7b9f0
Remove for_const macro.
2021-09-06 13:13:26 +03:00
John Preston
2554aaf3c0
Move Window::Theme::Colorizer to style::colorizer.
2021-09-06 13:13:26 +03:00
John Preston
d684c8057c
Fix build for macOS.
2021-08-30 20:32:57 +03:00
John Preston
beff635e45
Colorize bubbles according to a custom chat theme.
2021-08-30 20:32:57 +03:00
John Preston
0a1e84ddb2
Move ChatTheme to td_ui.
2021-08-30 20:32:57 +03:00
John Preston
3cd0f9d189
Start non-unique ChatTheme.
2021-08-30 20:32:57 +03:00
John Preston
868015da25
Add extensive video playback crash logs.
2021-08-23 12:17:40 +03:00
John Preston
b4eb9a0827
Fix single-colored patterns.
2021-08-20 16:24:26 +03:00
John Preston
aaf0015be4
Improve pattern wallpaper preview in Settings.
2021-08-20 16:14:09 +03:00
John Preston
f3f741e1eb
Hide 'Tile' option in generated backgrounds.
2021-08-20 15:14:28 +03:00
John Preston
f4fdadd3b0
Allow arbitrary QImage as outgoing bubbles background.
2021-08-20 14:54:11 +03:00
John Preston
662966ba31
Support patterns with negative intensity.
2021-08-17 17:35:10 +03:00
John Preston
3dadcd9352
Animated transition on pattern-on-gradient resize.
2021-08-16 10:26:08 +03:00
John Preston
c2b1187948
Start support of linear gradient wallpapers.
2021-08-16 10:26:08 +03:00
23rd
1fd28d5cfb
Removed MTP* from public interface of Api::CloudPassword.
2021-08-15 13:44:43 +03:00
23rd
b3622b413e
Added ability to set custom auto-lock timer.
2021-08-12 02:36:41 +03:00
John Preston
c79cd0b692
Use Images::Read instead of App::readImage.
2021-08-11 18:55:08 +03:00
John Preston
91ef6f13c8
Use good bitrate for screen capture in calls.
2021-08-10 15:46:18 +03:00
23rd
cbad2469db
Moved MTP cloud password from ApiWrap to Api::CloudPassword.
2021-08-10 15:46:18 +03:00
23rd
0ae260c6e1
Moved MTP blocked peers from ApiWrap to Api::BlockedPeers.
2021-08-10 15:46:18 +03:00
23rd
5bd73bab9b
Moved user privacy from ApiWrap to Api::UserPrivacy.
2021-08-10 15:46:18 +03:00
John Preston
256546071b
Add ability to reset cloud password in 7 days.
2021-07-30 14:32:49 +03:00
John Preston
c100055fac
Allow sharing screen or window in one-on-one calls.
2021-07-30 00:40:25 +03:00
Ilya Fedin
1ebf27bfa1
Switch MainWindow to Ui::RpWindow
2021-07-28 18:05:39 +03:00
John Preston
116a768fde
Don't use MTP* for Message flags.
2021-07-28 15:28:17 +03:00
23rd
024bb5e54f
Moved App::formatPhone to td_ui.
2021-07-26 17:38:51 +03:00
23rd
a14f2144e1
Removed layout.cpp/h.
2021-07-26 17:38:51 +03:00
Ilya Fedin
49fed41dfa
Use RegisterUrlScheme from lib_base
2021-07-19 22:55:57 +03:00
Ilya Fedin
ba9b72e038
Fix -Wunused-variable warnings with gcc
2021-07-19 22:31:27 +03:00
John Preston
4276b6cce0
Use rpl for Window::Theme::Background updates.
2021-07-15 16:42:36 +03:00
Ilya Fedin
79cc797aff
Fix -Wunused-variable warnings
2021-07-13 21:43:34 +03:00
Ilya Fedin
89765340c3
Fix -Wunused-function warnings
2021-07-13 21:31:22 +03:00
23rd
a631a28092
Removed App::pixmapFromImageInPlace.
2021-07-06 12:13:06 +03:00
23rd
1a7d5b7c95
Removed unused photo crop box.
2021-07-06 12:13:05 +03:00
23rd
17465e1082
Replaced old photo crop box with photo editor for profile photos.
2021-07-06 12:13:05 +03:00
23rd
4909ba5a1e
Added ability to pass custom layer widgets to stack.
2021-07-06 12:13:05 +03:00
John Preston
b22e2ffe1d
Animate inline path thumbnails with sliding gradient.
2021-07-02 20:40:32 +03:00
John Preston
f09b91ebb5
Beta version 2.8.5: Fix build on non-Windows.
2021-07-02 04:45:58 +03:00
John Preston
18b48df9ce
Allow to choose ANGLE backend.
2021-07-01 23:48:18 +03:00
23rd
b422ec025e
Removed Ui::show from classes that have pointer to Controller.
2021-06-17 10:57:45 +04:00
23rd
6d08542afa
Moved proxy global variables from facades to core settings.
2021-06-16 09:31:32 +03:00
23rd
707b36dc12
Moved DBIWorkMode to Core::Settings.
2021-06-16 09:31:32 +03:00
23rd
da3e140069
Moved DBINotifyView to Core::Settings.
2021-06-16 09:31:32 +03:00
23rd
5334372671
Moved WorkMode global variable from facades to core settings.
2021-06-16 09:31:32 +03:00
23rd
2ed3543b53
Renamed class back from AdaptiveModern to Adaptive.
2021-06-16 09:31:32 +03:00
23rd
9b488f03a1
Removed Adaptive namespace from Settings::Chat.
2021-06-16 09:31:32 +03:00
23rd
d2c8780c0f
Removed NotificationsDemoIsShown global variable from facades.
2021-06-16 09:31:32 +03:00
23rd
54dd63d61a
Removed LocalPasscode global variable from facades.
2021-06-16 09:31:32 +03:00
23rd
7852c82eab
Simplified updating of autolock time in Settings::PrivacySecurity.
2021-06-16 09:31:32 +03:00
23rd
aad38c2809
Replaced observable in Window::Notifications::System with rpl.
2021-06-16 09:31:32 +03:00
John Preston
ef61443342
Fix tg://settings/devices link.
2021-06-09 09:19:28 +04:00
John Preston
c12a50544e
Allow force-disabling OpenGL.
2021-05-24 22:45:15 +04:00
John Preston
00ce302b38
Improve narrow participants column design.
2021-05-24 22:45:14 +04:00
John Preston
eb8f709943
Show members list in PanelMode::Wide.
2021-05-24 22:45:13 +04:00
John Preston
c93ddf6aac
Separate Call/GroupCall delegates and Instance.
2021-05-24 22:45:13 +04:00
John Preston
fef1f80570
Disable video preview in Settings when in group call.
2021-05-24 22:45:13 +04:00
John Preston
1342077dcb
Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId.
2021-04-09 15:05:00 +04:00
John Preston
79f7aa703a
Allow clearing saved payments information.
2021-04-07 15:43:32 +04:00
John Preston
0d44736575
First full-featured version of payments, no design.
2021-04-06 18:41:15 +04:00
Ilya Fedin
cffb615a4d
Fix build
2021-04-05 09:22:04 +03:00
Ilya Fedin
073b5b106c
Get rid of modal parent hack
...
It was introduced to workaround the absence of size hints propagating in Qt 5.12 Wayland backend, there's no need in it anymore
2021-04-05 08:03:46 +03:00
Ilya Fedin
c0c10689a1
Get rid of deprecated ranges::view usage
2021-03-13 19:14:58 +03:00
John Preston
68b0a85369
Rename RPCError to MTP::Error.
2021-03-12 16:58:26 +04:00
John Preston
54f06740d5
Remove some App::wnd() calls.
2021-03-03 11:29:26 +04:00
John Preston
047bf467b5
Allow editing links from ShowInviteLinkBox.
2021-02-22 23:42:40 +04:00
John Preston
502a3ca70f
Update API scheme to layer 124.
2021-02-22 23:42:40 +04:00
23rd
b4af805521
Moved showLogoutConfirmation from MainWindow to Window::Controller.
2021-02-04 18:13:03 +04:00
John Preston
cb2d77d386
Implement SingleChoiceBox using Ui::GenericBox.
2021-02-01 17:51:01 +04:00
John Preston
2a1096d83c
Don't reset interface scale to auto on Settings open.
2021-02-01 12:32:08 +04:00
John Preston
61f6851486
Update settings and report phrases.
2021-01-26 16:33:12 +04:00
John Preston
7da224d725
Allow disabling calls on tdesktop device.
2021-01-26 15:58:30 +04:00
John Preston
b2c84d675c
Allow clearing calls log.
2021-01-25 16:50:59 +04:00
23rd
dd01ece14a
Replaced snap util function with std::clamp.
2021-01-24 10:41:10 +03:00
Ilya Fedin
5e60b87cf9
Remove platform_specific.h include from mainwindow.h
...
In order to avoid mass rebuilds on specific_*.h changing
2021-01-22 17:22:37 +04:00
Ilya Fedin
64b12bde55
Allow qualified notification daemons by default on Linux
2021-01-22 17:02:50 +04:00
John Preston
e11efe483e
Add ability to choose calls audio backend.
2021-01-07 19:27:11 +04:00
John Preston
d648d294ca
Fix layout in intro Settings.
2020-12-28 18:29:09 +04:00
John Preston
92bc278052
Allow inviting contacts to voice chats.
2020-12-22 12:33:06 +04:00
John Preston
aa5e8422bf
Fix input device edit in Calls Settings.
...
Fixes #9930 .
2020-12-15 14:23:40 +04:00
John Preston
e523687328
Show bar waves from any member-s level.
2020-12-09 13:08:36 +04:00
John Preston
d40768f6b0
Use separate styles for group call boxes.
2020-12-01 09:45:23 +03:00
John Preston
9e5006dd67
Add group call settings box.
2020-12-01 09:45:22 +03:00
John Preston
00504b61cd
Allow all messages silent in support mode.
2020-11-19 16:23:57 +03:00
Ilya Fedin
772bd81ea5
Fix typo in the installlauncher cheat code
2020-11-16 12:33:22 +03:00
Ilya Fedin
204a08df14
Add a cheat code to install launcher on Linux
2020-11-02 10:17:24 +03:00
Ilya Fedin
3bd34fcff0
Remove autodark cheat code since there are an UI setting for this
2020-11-02 10:16:34 +03:00
John Preston
c35b6e1209
Highlight internal links in Bio.
2020-10-30 18:32:22 +03:00
John Preston
05eb549a3d
Move App::roundRect to Ui::FillRoundRect.
2020-10-30 18:32:18 +03:00
John Preston
39cf51c066
Move SendButton/EmojiButton to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
ae298818a8
Implement message bar with animations.
2020-10-30 18:32:17 +03:00
Ilya Fedin
bb94507af1
Use UrlClickHandler::Open instead of File::OpenUrl
2020-10-30 11:52:10 +03:00
Ilya Fedin
8f5b136003
Implement possibility to hide taskbar icon on Linux
2020-10-30 11:27:42 +03:00
Ilya Fedin
a38b4f039a
Use some methods from lib_base
2020-10-30 10:52:49 +03:00
23rd
41cb37b091
Added labels update in privacy box by timer.
2020-09-30 18:48:35 +03:00
23rd
163e549708
Added count of active sessions as label of button in settings.
2020-09-30 18:48:34 +03:00
John Preston
719bed6e85
Move some text formatting to tg_ui:ui/text/format_values.
2020-09-30 16:29:17 +03:00
John Preston
8634c1f7f3
Move lang keys to td_lang library.
2020-09-30 12:18:52 +03:00
23rd
f81271d1fe
Simplified confirmed callback for ConfirmBox instances.
2020-09-29 19:03:29 +03:00
John Preston
4a94a0c438
Show replies dialog correctly.
2020-09-29 19:03:24 +03:00
John Preston
f0e1d2fd02
'base::optional_variant<' -> 'std::variant<v::null_t,'
2020-09-29 19:03:19 +03:00
John Preston
55edb3bdfe
Update API scheme to layer 119. Count replies.
2020-09-29 19:03:18 +03:00
John Preston
883a62c0a2
Return 'testmode' code when no authed accounts.
2020-09-29 19:03:18 +03:00
Ilya Fedin
70c993774a
Get rid of redudant cmake options
2020-09-29 18:24:16 +03:00
John Preston
4d2041ae48
Share video capturer between call and settings.
2020-08-21 17:52:13 +04:00
John Preston
4672e3d068
Improve calls settings (camera / microphone).
2020-08-21 17:52:13 +04:00
John Preston
41c98a6c49
Fix build on macOS.
2020-08-21 17:52:13 +04:00
John Preston
aa87d627c9
Allow to choose camera device in Settings.
2020-08-21 17:52:13 +04:00
John Preston
e782e065a0
Use audio device enumeration from lib_webrtc.
2020-08-21 17:52:12 +04:00
John Preston
3aea9cb3ca
Add archive and mute settings editing.
2020-07-25 11:24:37 +04:00
John Preston
511067981d
Forbid auto-night mode with theme editor.
2020-07-24 10:01:37 +04:00
23rd
9e0b046213
Fixed handling of language switch for connection type in intro settings.
2020-07-23 13:00:55 +03:00
23rd
d46b9d024e
Fixed handling of language switch for theme names in intro settings.
2020-07-23 13:00:55 +03:00
23rd
52cd9f8cbf
Fixed handling of language switch for checkboxes in intro settings.
2020-07-23 13:00:55 +03:00
John Preston
8c4e8212cd
Add 'respect system dark mode' checkbox.
2020-07-22 17:18:17 +04:00
Ilya Fedin
47a237c924
Implement system-based dark mode for Windows and Linux
2020-07-22 10:32:56 +04:00
23rd
fc3a9d98c0
Fixed phrase translate of option for native window frame.
2020-07-22 10:31:32 +04:00
John Preston
52e780b065
Fix a memory leak using a recursive lambda.
2020-07-14 19:03:14 +04:00
Sean Wei
556aa28df6
Remove unused variable
...
The following are commits related to removed variables.
apiwrap.cpp
e050e27
: kSaveDraftBeforeQuitTimeout
app.cpp
113f665
: serviceImageCacheSize
boxes/auto_download_box.cpp
a0c6104
: checked(Source source, Type type)
boxes/background_preview_box.cpp
b6edf45
: resultBytesPerPixel
fe21b5a
: ms
boxes/calendar_box.cpp
ae97704
: yearIndex, monthIndex
99bb093
: ms
boxes/connection_box.cpp
f794d8d
: ping
boxes/dictionaries_manager.cpp
8353867
: session
boxes/peer_list_box.cpp
2ce2a14
: grayedWidth
boxes/peers/add_participants_box.cpp
07e010d
: chat, channel
boxes/self_destruction_box.cpp
fe9f02e
: count
chat_helpers/emoji_suggestions_widget.cpp
a12bc60
: is(QLatin1String string)
chat_helpers/field_autocomplete.cpp
8c7a35c
: atwidth, hashwidth
chat_helpers/gifs_list_widget.cpp
ff65734
: inlineItems
3d846fc
: newSelected
d1687ab
: kSaveDraftBeforeQuitTimeout
chat_helpers/stickers_dice_pack.cpp
c83e297
: kZeroDiceDocumentId
chat_helpers/stickers_emoji_pack.cpp
d298953
: length
chat_helpers/stickers_list_widget.cpp
eb75859
: index, x
core/crash_reports.cpp
5940ae6
: LaunchedDateTimeStr, LaunchedBinaryName
data/data_changes.cpp
3c4e959:clearRealtime
data/data_cloud_file.cpp
4b354b0
: fromCloud, cacheTag
data/data_document_media.cpp
7db5359
: kMaxVideoFrameArea
data/data_messages.cpp
794e315
: wasCount
data/data_photo_media.cpp
e27d2bc
: index
data/data_wall_paper.cpp
b6edf45
: resultBytesPerPixel
data/data_types.cpp
aa8f62d
: kWebDocumentCacheTag, kStorageCacheMask
history/admin_log/history_admin_log_inner.cpp
794e315
: canDelete, canForward
history/history_location_manager.cpp
60f45ab
: kCoordPrecision
9f90d3a
: kMaxHttpRedirects
history/history_message.cpp
cedf8a6
: kPinnedMessageTextLimit
history/history_widget.cpp
b305924
: serviceColor
efa5fc4
: hasForward
5e7aa4f
: kTabbedSelectorToggleTooltipTimeoutMs, kTabbedSelectorToggleTooltipCount
history/view/history_view_context_menu.cpp
fe1a90b
: isVideoLink, isVoiceLink, isAudioLink
settings.cpp
e2f54eb
: defaultRecent
settings/settings_folders.cpp
e8bf5bb
: kRefreshSuggestedTimeout
ui/filter_icon_panel.cpp
c4a0bc1
: kDelayedHideTimeoutMs
window/themes/window_theme_preview.cpp
ef927c8
: mutedCounter
-----
Modified variables
boxes/stickers_box.cpp
554eb3a
: _rows[pressedIndex] -> set
data/data_notify_settings.cpp
734c410
: muteForSeconds -> muteUntil
history/view/history_view_list_widget.cpp
07528be
: _items[index] -> view
e5f3bed
: fromState, tillState
history/history.cpp
cd3c1c6
: kStatusShowClientsideRecordVideo -> kStatusShowClientsideRecordVoice
storage/download_manager_mtproto.cpp
ae8fb14
: _queues[dcId] -> queue
storage/localstorage.cpp
357caf8
: MTP::Environment::Production -> production
2020-07-13 09:33:55 +04:00
John Preston
f10b2194e6
Add option for a native window frame.
...
Fixes #2958 .
2020-07-07 21:34:25 +04:00
John Preston
90c6ff3e41
Fix Settings layout.
2020-07-01 22:33:13 +04:00
John Preston
1dc31c7f2f
Allow turning off inactive accounts notifications.
2020-06-30 22:11:54 +04:00
John Preston
5cc7c2b6c6
Add account from settings three-dot menu.
2020-06-30 21:16:05 +04:00
John Preston
a95b756111
Fix settings saving.
...
Regression was introduced in 5d6a494934
.
Fixes #8168 .
2020-06-30 13:49:22 +04:00
Ilya Fedin
a726c6411b
Don't use custom notificaions on Wayland even with TDESKTOP_DISABLE_DBUS_INTEGRATION
2020-06-29 16:53:50 +04:00
John Preston
79a361ba43
Move call management to Core::App.
2020-06-25 21:57:36 +04:00
John Preston
65050bf9dd
Move export management to Core::App.
2020-06-25 11:14:05 +04:00
John Preston
e7b8a52278
Move terms lock from Core::App to Session.
2020-06-24 11:56:16 +04:00
John Preston
30c82bb2e0
Remove some MainWindow::sessionController() calls.
2020-06-23 21:53:44 +04:00
23rd
0696a2d5c0
Replaced mapping to rpl::empty_value with rpl::to_empty.
2020-06-23 21:53:43 +04:00
23rd
e318a7d65f
Simplified ranges::find_if with ranges::any_of and ranges::none_of.
2020-06-23 21:53:43 +04:00
John Preston
3bb352e0e5
Fix build and working on macOS.
2020-06-23 21:53:42 +04:00
John Preston
997913be25
One Window::Notifications system for all sessions.
2020-06-23 21:53:42 +04:00
John Preston
83538675ce
Move a lot of settings to Core::Settings.
2020-06-23 21:53:42 +04:00
John Preston
4d6cc58f0d
Move session settings to main_session_settings.
2020-06-23 21:53:42 +04:00
John Preston
3a5ede534e
Count all accounts in Core::App().unreadBadge.
2020-06-23 21:53:41 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
bc144377c0
Support logout of a secondary account.
2020-06-23 21:53:41 +04:00
John Preston
ab5796c117
Several working accounts together.
2020-06-23 21:53:40 +04:00
23rd
9faf15943a
Fixed build for macOS.
2020-06-23 21:53:40 +04:00
John Preston
3c4e959468
Replace observer_peer with rpl interface.
2020-06-23 21:53:40 +04:00
John Preston
b0f9ad71dd
Check some more App::main()s.
2020-06-23 21:53:40 +04:00
John Preston
0ad7dcaef9
Remove MTP::MainInstance() global access point.
2020-06-23 21:53:40 +04:00
John Preston
0b028b959b
Move updates handling MainWidget -> Api::Updates.
2020-06-23 21:53:39 +04:00
John Preston
ee43027bea
Remove some usages of App::main().
2020-06-23 21:53:39 +04:00
John Preston
ea86433be5
Remove some activeAccount() calls.
2020-06-23 21:53:39 +04:00
John Preston
598fb67cdf
Remove Session::Exists() global access point.
2020-06-23 21:53:39 +04:00
John Preston
5f8d22f1f2
Remove Auth() global access point.
2020-06-23 21:53:39 +04:00
John Preston
ad4afe9293
Move session data localstorage -> storage_account.
2020-06-23 21:53:39 +04:00
Ilya Fedin
68fde210c6
Platform::IsWayland could be used on any platform now
2020-06-23 21:24:44 +04:00
Ilya Fedin
1beada6e4a
Hide notification position in settings on Wayland
2020-06-19 06:28:01 +04:00
John Preston
a56ecfebeb
Version 2.1.12: Fix build on macOS.
2020-06-17 22:36:53 +04:00
Ilya Fedin
dbad9fa73a
Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku
2020-06-17 20:33:23 +04:00
Ilya Fedin
56de3194ef
Never use custom notifications on Wayland since there are no positioning API
2020-06-17 20:32:50 +04:00
Ilya Fedin
e098922a4b
Add Platform::AutostartSupported
2020-06-01 18:25:21 +04:00
Ilya Fedin
be96bf2812
Set parent for dialogs only on Wayland
2020-06-01 18:09:34 +04:00
John Preston
36fbdfb380
Simplify Image, remove ImageSource.
2020-06-01 18:09:33 +04:00
John Preston
6513422e40
Remove legacy image-related code.
2020-06-01 18:09:33 +04:00
John Preston
803593cd8d
Change Stickers::Set from value to object type.
2020-06-01 18:09:33 +04:00
Ilya Fedin
3479a4ec59
Add parent, minimum and maximum size to notifications
2020-05-25 09:29:15 +04:00
John Preston
6f760d513e
Add a checkbox to disable taskbar flash.
...
Also add ability to set urgent flag for the window on Linux.
Fixes #223 , fixes #897 , fixes #906 .
2020-05-12 14:16:24 +04:00
Ilya Fedin
7409d615a3
Add a cheat code to enable freetype on Windows and macOS
2020-05-10 17:09:59 +04:00
Ilya Fedin
95b4f56b86
Don't use QDesktopServices::openUrl on snap
2020-05-01 12:06:01 +04:00
John Preston
dd78052f92
Use new toast style structure.
2020-04-30 11:35:01 +04:00
John Preston
aabc8173c3
Use similar margins in all controls.
2020-04-30 11:35:01 +04:00
John Preston
8d632bd2be
Update API scheme to layer 103.
2020-04-30 11:35:01 +04:00