- Brand new logo!
- Yandex.Maps as CMake-configurable option for displaying locations;
- Partial update to API 72 (from API 71 of v1.1.23);
- Minor bugfixes and refactorings.
You could enable it via CMake option KEPKA_OPTION_USE_YANDEX_MAPS:
cmake -DKEPKA_OPTION_USE_YANDEX_MAPS=ON ..
It is used instead of Google Maps API for locations and on location click.
Sometimes Google Maps return no maps data. It is related with recent free
API usages count decrease from 750k requests to 28k (according to
https://habr.com/post/417715/).
The code on this commit should be cleaned up and rewritten using Maps API
string builders.
These logo variants are available under Creative Commons
Attribution Share-Alike License 4.0. See
https://creativecommons.org/licenses/by-sa/4.0/
(c) 2018 leha-bot.
The short guide about branding and logo usages
(from /Telegram/Resources/art) in Kepka:
1. logo_256.png/logo_256_no_margin.png -
used in /Telegram/SourceFiles/window/main_window.cpp for loading logo
(nowrap logo is used on Mac), in /Telegram/SourceFiles/messenger.[cpp|h],
in /Telegram/SourceFiles/platform/linux/specific_linux.cpp and in qrc.
Required for branding;
2. icon64.png - Doxyfile and MacOS image assets (they are duplicated in
/Telegram/Telegram/Images.xcassets/[Icon.iconset|AppIcon.appiconset);
3. icon[<resolution>[@x2]].png - MacOS image assets. We will update
these icons in next commit;
4. favicon.ico - seems unused;
5. icon256.ico - Windows Resource for EXE;
There is also a dangling reference inside
/Telegram/Resources/uwp/AppX/AppxManifest.xml. It shoud be fixed in some
of next commits.
Also update usage in intro widget. Please note that the language strings
with placeholders must be created using {lang_id}(lt_{placeholder},
lang({placeholder}), where you should replace {lang_id} with your actual
language string identifier and {placeholder} with your actual string
data.
The AppleClang 9.1 doesn't support std::is_invocable (introduced in f488d5f), so we have to use backported version from Facebook's Folly library which provides "batteries" for C++ and Standard Library's backports from C++14/17. Folly library is licensed under Apache 2.0 License which is compatible with GNU GPL v3.
Also set CMAKE_BUNDLE_DIR to CMAKE_INSTALL_DIR to avoid the CMake error "install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable" (seems it introduced in CMake 3.12.x).
The way of fixing this is weird and is a natural clutch. But we have to
live with it. And I hate it.
Note: all another function members movings from header file to source
are postponed to another commit.
This commit based on
75d8d01b17 (diff-efcc341e70654031bd8fee83d8b7105bR999)Fixes#189.