Berkus Decker
8fcbf45bba
Convert license headers automatically
2018-11-01 00:12:21 +02:00
Evgenii Zheltonozhskii
4b78d52194
Fix more warnings
2018-10-27 12:40:27 +00:00
Evgenii Zheltonozhskii
f526586bfb
Delete Instance constructor, since its member constructor is deleted
2018-10-27 12:40:27 +00:00
Evgenii Zheltonozhskii
38efa1bf4b
Replace base::lambda with shorter term.
...
Partially backport dd81f5d59f
2018-07-27 14:24:31 +00:00
Evgenii Zheltonozhskii
b6df430aa8
Get rid of OrderedSet
2018-06-20 15:40:52 +03:00
Evgenii Zheltonozhskii
b9cd813127
Apply clang-format
2018-06-06 11:25:23 +03:00
Alex
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
Pavel Perekhozhikh
40f8f0939a
[Refactoring] change qt math function to cmath analog
2018-02-28 22:12:25 +02:00
Berkus Decker
e9184f9ab5
Replace non-standard types with Qt equivalents
2017-12-20 14:38:02 +02:00
John Preston
d46a5f693f
Remove unused lang phrases and some code.
2017-09-28 19:18:27 +03:00
John Preston
25ffaaaa2d
Replace t_assert() with Assert().
...
Also use this assertions for Expects(), Ensures() and Unexpected().
2017-08-30 19:15:42 +03:00
John Preston
b3da99c302
Replace gsl::not_null<T*> with just not_null<T*>.
2017-08-30 19:15:41 +03:00
John Preston
782114d644
Add and use base::make_weak_unique() helper.
2017-08-30 19:15:28 +03:00
John Preston
647d6ae443
Fix language switch when getting difference.
2017-07-26 15:50:39 +03:00
John Preston
67f2daa43c
Closed beta 1001007003: Fix build for old OS X.
2017-06-30 09:21:44 +03:00
John Preston
8c04bed572
Display empty event log placeholder.
...
Also hide the filter button for now.
2017-06-30 09:21:43 +03:00
John Preston
4962fdf5ae
Add phrases and layout for all events in log.
2017-06-30 09:21:41 +03:00
John Preston
7dd50fa931
Closed beta 1001007001: Fix build in Xcode.
2017-06-29 11:40:01 +03:00
John Preston
5d0e89db5d
Switch to the server side changelogs.
2017-06-29 11:40:00 +03:00
John Preston
f3e65d400d
Display languages native names in the box.
...
Also don't suggest the old official languages in a popup.
2017-06-29 11:39:58 +03:00
John Preston
85e6f55536
Support new plural keys format.
...
All the old plural phrases were changed to work with the new format.
2017-06-29 11:39:56 +03:00
John Preston
665a1acfd8
Apply language with app restart if logged in.
...
Confirm and restart if logged in, just quickly apply if not.
2017-06-29 11:39:54 +03:00
John Preston
d51fd7b3ad
Update intro change language link.
...
Also now MTP::Sender isn't bound to MTP::Instance, because Intro
Widget is MTP::Sender, but Intro::PhoneWidget destroys current
MTP::Instance.
2017-06-29 11:39:53 +03:00
John Preston
b94099e25b
Realtime UI translation in all fields and buttons.
2017-06-29 11:39:51 +03:00
John Preston
5fc4f4ed36
Realtime UI translation in Intro.
...
Also support realtime translation testing by F7-F6-F7-F8 keys.
2017-06-29 11:39:49 +03:00
John Preston
d47a38dfcf
Show change language link in intro.
2017-06-29 11:39:48 +03:00
John Preston
f5353080e7
Use Qt UI language if system was not determined.
...
Also rename platform/mac/specific_mac.cpp to .mm
2017-06-29 11:39:47 +03:00
John Preston
6fb980ca79
Improve custom language loading.
...
Apply custom language without relaunching the app.
2017-06-29 11:39:46 +03:00
John Preston
3f0b57ec11
Retranslate Settings when language is changed.
...
Also suggest user to change language from 'en' to his for one time.
2017-06-29 11:39:45 +03:00
John Preston
f5dfeb0c50
Support cloud languages list and switching.
...
Add Lang::Current().updated() observable for retranslating the UI.
2017-06-29 11:39:43 +03:00
John Preston
139d4e72b5
Start cloud langpack support.
...
Change the way langpacks are stored.
Support custom langpacks in the new storage.
2017-06-29 11:39:42 +03:00
John Preston
2334ba1fe1
Use QString + Lang::Tag() instead of Lang::String.
2017-06-29 11:39:40 +03:00
John Preston
110e7c8074
Finalize rename / move.
2017-06-29 11:39:38 +03:00
John Preston
f643446d1b
Rename / move lang files to lang/ subdir.
...
Next commit fixes the build.
2017-06-29 11:39:36 +03:00