John Preston
eba2a98703
Add general StorageFileLocation abstraction.
2019-03-29 14:24:06 +04:00
John Preston
f1b0b60340
Fix possible crash in MainWindow destructor.
2019-03-24 12:12:41 +04:00
John Preston
0df628dc7a
Fix notifications hiding on Linux.
...
Regression was introduced in 3372dfcd3e
.
Only when platform-specific code can give us the global time of the
last user input event we rely on idle time for notifications hiding.
Fixes #5791 .
2019-03-14 21:59:10 +04:00
23rd
3372dfcd3e
Refactored checking of last input while notifications are displayed.
...
- Removed condition for Windows platform only.
- Added smooth hiding of notifications in case video is watched or voice message is recorded.
- psUserActionDone() was completely replaced with Core::App().updateNonIdle().
2019-03-10 22:02:58 +04:00
23rd
78d00bcf22
Refactored counting idle time.
...
- psIdleTime() was replaced with Platform::LastUserInputTime().
- _lastTimeVideoPlayedAt was moved to Application as _lastNonIdleTime.
- Call of updateNonIdle() was added while voice is recording.
- Fixed #5695 .
- Thanks Preston. =)
2019-03-10 22:02:58 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
98cb85df66
Polymorphic classes without virtual dtor warning.
2019-02-15 15:55:34 +04:00
John Preston
032694ad9e
Move files to media/audio and media/clip.
2019-02-13 15:41:33 +03:00
John Preston
e2f0886950
Add option to blur chat background.
2019-02-07 19:36:30 +03:00
John Preston
a70e72f75d
Application->Sandbox, Messenger->Application.
2019-01-23 12:51:58 +04:00
John Preston
314e30272b
Replace SingleTimer with base::Timer.
2019-01-18 16:41:08 +04:00
John Preston
65430d92ea
Refactor calls settings panel.
2019-01-11 17:30:57 +04:00
Gregory K
11b991cddc
Add call settings ( #5540 )
2019-01-05 15:08:02 +04:00
John Preston
d1be4c6d96
Fix crash with event loop nesting.
2018-12-25 14:11:10 +04:00
John Preston
de4a477686
Mark event loop nesting more carefully.
...
Fixes #5506 . I hope fixes #5508 .
2018-12-23 16:08:48 +04:00
John Preston
b683d84df1
Report memory usage in MB.
2018-12-11 16:26:33 +04:00
John Preston
6562a1f6af
Add 'Count unread messages' option.
2018-12-04 14:32:48 +04:00
John Preston
3f58c930e3
Use separate download folder for support.
2018-11-22 17:15:52 +04:00
John Preston
60103f7ad6
Use upstream range-v3 on MSVC.
...
The build works using MSVS 15.9 and latest range-v3 code.
2018-11-20 19:38:39 +04:00
John Preston
4ab0e693c1
Write memory usage to crashdump on Windows.
2018-11-12 14:39:21 +04:00
John Preston
6db4972208
Fix blurry App Switcher icon on macOS.
...
Fixes #5267 .
2018-11-04 15:51:38 +04:00
John Preston
113f665295
Move Image and derived to ui/image.
2018-11-04 15:51:36 +04:00
John Preston
a429e22b93
Beta version 1.4.4: Add some checks.
2018-10-17 09:25:24 +03:00
Grishka
44eac2bf07
Added support for platform-specific microphone permission in calls
2018-10-17 08:53:23 +03:00
John Preston
6e566e0165
Swap 'alpha' and 'beta'. Happy debugging!
2018-09-26 21:23:08 +03:00
John Preston
2e5a0e056c
Move to std::optional.
2018-09-21 19:28:46 +03:00
John Preston
81731139e9
Add tests for storage encrypted file.
...
Also fix some bugs found by the tests.
2018-09-01 18:56:08 +03:00
John Preston
8a371b9c1b
New storage encrypted file.
2018-09-01 18:56:08 +03:00
John Preston
c8aa35d23c
Don't show PopupMenu for inactive window on macOS.
...
This is a fixup for 06bf67c146
.
2018-08-04 15:17:23 +03:00
John Preston
c7ed36d558
Check for composition in WM_NCACTIVATE.
2018-07-31 22:56:04 +03:00
John Preston
fae0bccc9c
Don't use registry quiet hours entry any more.
...
In the latest Windows 10 those settings aren't stored in registry.
2018-07-31 22:53:37 +03:00
John Preston
4c9ef606f3
Display unread/mention mark in small left column.
...
Fixes #4939 .
2018-07-12 22:25:10 +03:00
John Preston
52e7ddf079
Add '-externalupdater' command-line argument.
...
Now no-autoupdater mode can be switched on in runtime.
Also TDESKTOP_DISABLE_AUTOUPDATE build is disabled in CI (trivial).
Fixes #4895 .
2018-07-12 18:35:59 +03:00
John Preston
e2bc6990c7
Fix crash in taskbar icon refresher.
...
Regression was introduced in 3b956c598
.
2018-07-11 23:20:21 +03:00
John Preston
3b956c598b
Fix data export window theme changing.
...
Fixes #4902 .
2018-06-28 04:39:10 +01:00
John Preston
d6a00523a8
Add crash annotations for file dialog.
2018-06-06 21:45:32 +03:00
John Preston
9ebeddbed8
Request, show and require accept for updated ToS.
2018-06-06 21:37:01 +03:00
John Preston
72f95b984f
Replace cDebug() with Logs::DebugEnabled().
2018-06-05 21:51:05 +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
67ea175fc6
Show choose file box over the passport panel.
2018-06-03 23:16:37 +03:00
John Preston
ddb4527159
Start passport support: handle link, receive form.
2018-06-03 23:16:33 +03:00
John Preston
e122353bfb
Show better information in sessions list.
2018-06-03 23:14:44 +03:00
Kirsan
3ff033cdf3
Fix for https://github.com/telegramdesktop/tdesktop/issues/4544
...
(cherry picked from commit d99c757d44d7c31fbb0eb290f273ad4d2d464255)
2018-04-07 12:13:52 +04: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
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
af552fb4c0
Replace base/task_queue with crl.
2017-12-31 00:28:38 +03:00
John Preston
e998bd0b3f
Parse command line natively on Windows.
...
Use CommandLineToArgvW() so that unicode arguments are preserved.
This will fix path arguments with unicode symbols in them.
2017-12-12 18:56:37 +04:00
John Preston
251176df47
Move relaunch / update logic to Core::Launcher.
...
Also pass "-workdir" argument through relaunch / update.
Fixes #4149 .
2017-12-12 18:56:36 +04:00
John Preston
97c15865a5
Move some code around.
...
Move logs:SignalHandlers to core/crash_reports:CrashReports.
Move all pre-launch windows to core/crash_report_window module.
Move some global code to core/launcher:Launcher.
It should replace settings / platform_specific module in some way.
2017-12-12 16:47:32 +04:00
John Preston
837dac50fa
Fix build for the original range-v3.
2017-11-26 18:20:22 +04:00