lupdate keeps moved translations, but marks them as unfinished. Since
context hasn't changed, the meaning of phrases is the same in this case.
Mark all moved translations that were finished before as finished now.
main() couldn't hold its own state since cleanup() needed access to it.
Having the state in a class allows QApplication::aboutToQuit to call
into a member function with access to the state.
Data used in logging still needs to be global due to
qInstallMessageHandler not accepting a void* to get back to this.
Set QGuiApplication attributes before constructing Qapplication as required,
by using comma operator to call an initialization function before construction
all members in the member initializer list.
Keep logic largely unchanged, but with a defined destruction order.
Destruction is still abnormal due to QApplication::aboutToQuit forcing
us to do partial cleanup before QApplication returns, since some OSes
will kill qTox before the QApplication returns.
* Pass MessageBoxManager instantiation around instead of relying on a singleton
* Mock MessageBoxManager for unit tests when needed, since they don't have a
QApplication which is required for creating QWidgets
* Remove GUI class, which didn't have a clear purpose
Makes it so that looking back in chat history, you can see which users you were
connected to for any message. Otherwise self client restarts are unseen.
Follows showGroupJoinLeaveMessages setting which defaults to false, so only
users who opt in will see the messages.
Scrap generic numArg handling. It somewhat increases complexity and doesn't
reduce code either.
Similar to how History handles SCHEMA_VERSION. Run separately on global and
personal settings, since some state in global, and personal settings can’t be
done globally since they require the passkey.
Restrict a user from downgrading past the saved settings version, due to
possible compatibility breaks or old qTox versions re-introducing corrupt state
that was already healed.
Pass in new profile state for personal settings rather than relying on settings
file presence because personal settings can be stored in either the personal
settings file or global settings file. This was introduced in
aea9eea8a4 when personal settings were first
moved to their own file.
Allan Nordhøy (3):
feat(l10n): update Norwegian Bokmål translation from Weblate
feat(l10n): update Norwegian Bokmål translation from Weblate
feat(l10n): update Norwegian Bokmål translation from Weblate
Cenk YILDIZLI (1):
feat(l10n): update Turkish translation from Weblate
Coool (1):
feat(l10n): update Latvian translation from Weblate
Dan Baeza (6):
feat(l10n): update Portuguese (Brazil) translation from Weblate
feat(l10n): update French translation from Weblate
feat(l10n): update Portuguese (Brazil) translation from Weblate
feat(l10n): update Spanish translation from Weblate
feat(l10n): update Italian translation from Weblate
feat(l10n): update Spanish translation from Weblate
Gvido Zageris (1):
feat(l10n): add Latvian translation using Weblate
Gvido Zāģeris (6):
feat(l10n): update Latvian translation from Weblate
feat(l10n): update Latvian translation from Weblate
feat(l10n): update Latvian translation from Weblate
feat(l10n): update Latvian translation from Weblate
feat(l10n): update Latvian translation from Weblate
feat(l10n): update Latvian translation from Weblate
H Zeng (1):
feat(l10n): update Chinese (Simplified) translation from Weblate
Jonatan Nyberg (1):
feat(l10n): update Swedish translation from Weblate
Lupa (2):
feat(l10n): update Russian translation from Weblate
feat(l10n): update Russian translation from Weblate
Moo (3):
feat(l10n): update Lithuanian translation from Weblate
feat(l10n): update Lithuanian translation from Weblate
feat(l10n): update Lithuanian translation from Weblate
Rui Mendes (1):
feat(l10n): update Portuguese translation from Weblate
Ryo Nakano (2):
feat(l10n): update Japanese translation from Weblate
feat(l10n): update Japanese translation from Weblate
Sabri Ünal (1):
feat(l10n): update Turkish translation from Weblate
Schwonder Reismus (1):
feat(l10n): update Russian translation from Weblate
Thomas Weber (3):
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
Viktar Vauchkevich (1):
feat(l10n): update Belarusian translation from Weblate
Vlastimil Čoček (3):
feat(l10n): update Czech translation from Weblate
feat(l10n): update Slovak translation from Weblate
feat(l10n): update Czech translation from Weblate
leela (1):
feat(l10n): update Ukrainian translation from Weblate
remussatala (1):
feat(l10n): update Romanian translation from Weblate
ssantos (1):
feat(l10n): update German translation from Weblate
Allan Nordhøy (1):
feat(l10n): update Norwegian Bokmål translation from Weblate
Andreas Kleinert (5):
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
H Zeng (6):
feat(l10n): update Chinese (Simplified) translation from Weblate
feat(l10n): update Chinese (Simplified) translation from Weblate
feat(l10n): update Chinese (Simplified) translation from Weblate
feat(l10n): update Chinese (Simplified) translation from Weblate
feat(l10n): update Chinese (Simplified) translation from Weblate
feat(l10n): update Chinese (Simplified) translation from Weblate
Johnny (2):
feat(l10n): update Portuguese translation from Weblate
feat(l10n): update French translation from Weblate
Jonatan Nyberg (1):
feat(l10n): update Swedish translation from Weblate
Kaur Männamaa (2):
feat(l10n): update Estonian translation from Weblate
feat(l10n): update Estonian translation from Weblate
Kristjan Räts (1):
feat(l10n): update Estonian translation from Weblate
Moo (1):
feat(l10n): update Lithuanian translation from Weblate
Nathan Follens (1):
feat(l10n): update Dutch translation from Weblate
Nikolay Korotkiy (2):
feat(l10n): update Esperanto translation from Weblate
feat(l10n): update Finnish translation from Weblate
Slobodan Terzić (1):
feat(l10n): update Serbian translation from Weblate
Swirti Liberto (1):
feat(l10n): update French translation from Weblate
Tiger tiger (3):
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
Uranna 12 (5):
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
Viktar Vauchkevich (1):
feat(l10n): update Belarusian translation from Weblate
anonymous (2):
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
gdqyx3whzs (3):
feat(l10n): update Macedonian translation from Weblate
feat(l10n): update Macedonian translation from Weblate
feat(l10n): update Macedonian translation from Weblate
gorbiWTF (1):
feat(l10n): update German translation from Weblate
kgkj kgkj (2):
feat(l10n): update Greek translation from Weblate
feat(l10n): update Greek translation from Weblate
ms-pc (2):
feat(l10n): update Spanish translation from Weblate
feat(l10n): update Spanish translation from Weblate
prhtnsm (3):
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
feat(l10n): update German translation from Weblate
remussatala (2):
feat(l10n): update Romanian translation from Weblate
feat(l10n): update Romanian translation from Weblate
vasily-mett (1):
feat(l10n): update Russian translation from Weblate
wang (4):
feat(l10n): update Chinese (Simplified) translation from Weblate
feat(l10n): update Chinese (Simplified) translation from Weblate
feat(l10n): update Chinese (Simplified) translation from Weblate
feat(l10n): update Chinese (Simplified) translation from Weblate