-
Notifications
You must be signed in to change notification settings - Fork 1
Wip windows #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Wip windows #1
Conversation
7e87848 to
7ea5d3d
Compare
55e42d8 to
674eafd
Compare
|
Hello! |
|
The build steps are there: https://github.com/Osyotr/organicmaps/blob/wip-windows/.github/workflows/windows-check.yaml PS: windows builds are not usable at this moment due to organicmaps#7838 |
Yes, i have the same problem(Black screen) in Arch Linux with QT 6.8. |
|
Yes but I think the OpenGL issue is deeper because with Qt 6.6 it will crash 9/10 times. |
…ange Signed-off-by: Kiryl Kaveryn <[email protected]>
Signed-off-by: Alexander Borsuk <[email protected]>
Co-authored-by: Alexander Gabilondo <[email protected]> Co-authored-by: Hosted Weblate <[email protected]> Co-authored-by: Jaŭhien <[email protected]> Co-authored-by: Jim Kats <[email protected]> Co-authored-by: Sketch6580 <[email protected]> Co-authored-by: Максим Горпиніч <[email protected]> Signed-off-by: Alexander Gabilondo <[email protected]> Signed-off-by: Jaŭhien <[email protected]> Signed-off-by: Jim Kats <[email protected]> Signed-off-by: Sketch6580 <[email protected]> Signed-off-by: Максим Горпиніч <[email protected]> Translate-URL: https://hosted.weblate.org/projects/organicmaps/android-typestrings/be/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/android/el/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/android/eu/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/android/uk/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/android/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/countries/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios-typestrings/be/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios/el/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios/uk/
Signed-off-by: kavikhalique <[email protected]>
Signed-off-by: kavikhalique <[email protected]>
Signed-off-by: Kiryl Kaveryn <[email protected]>
Signed-off-by: Viktor Govako <[email protected]>
Signed-off-by: Viktor Govako <[email protected]>
Signed-off-by: Viktor Govako <[email protected]>
Signed-off-by: Viktor Govako <[email protected]>
Signed-off-by: Viktor Govako <[email protected]>
Signed-off-by: Kiryl Kaveryn <[email protected]>
The bug is quite rare and happens when the user taps on the edit (pencil) button on the PlacePage. It seems like the tap happens during the PP data object reloading the and the object type has changed. It is better to avoid failing in such cases because we cannot prevent user interaction during the pp reloading. Signed-off-by: Kiryl Kaveryn <[email protected]>
> При уходе с тропы если язык подсказок русский, говорит - «преращик маршрута». Signed-off-by: Alexander Borsuk <[email protected]>
Co-authored-by: Ghost of Sparta <[email protected]> Co-authored-by: Hosted Weblate <[email protected]> Co-authored-by: Jim Kats <[email protected]> Co-authored-by: Sveinn í Felli <[email protected]> Co-authored-by: Weblate Translation Memory <[email protected]> Co-authored-by: Максим Горпиніч <[email protected]> Signed-off-by: Ghost of Sparta <[email protected]> Signed-off-by: Jim Kats <[email protected]> Signed-off-by: Sveinn í Felli <[email protected]> Signed-off-by: Weblate Translation Memory <[email protected]> Signed-off-by: Максим Горпиніч <[email protected]> Translate-URL: https://hosted.weblate.org/projects/organicmaps/android/el/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/android/hu/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/android/is/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/android/uk/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios-plurals/af/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios-plurals/ar/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios-plurals/da/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios-plurals/hi/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios-plurals/ia/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios-plurals/id/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios-plurals/ja/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios-plurals/nb_NO/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios-plurals/ro/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios-plurals/sv/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios-plurals/tr/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios-plurals/zh_Hant/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios/el/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios/hu/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios/is/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/ios/uk/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/tts/en_GB/ Translate-URL: https://hosted.weblate.org/projects/organicmaps/tts/ia/
Signed-off-by: Osyotr <[email protected]>
Signed-off-by: Osyotr <[email protected]>
Windows is performing path normalization anyways. Fixes some unit tests that expect the output to contain forward slashes. Signed-off-by: Osyotr <[email protected]>
Signed-off-by: Osyotr <[email protected]>
Signed-off-by: Osyotr <[email protected]>
Signed-off-by: Osyotr <[email protected]>
Signed-off-by: Osyotr <[email protected]>
It's going to be maximized anyway.
| @@ -227,15 +227,15 @@ void AsciiToUpper(std::string & s) | |||
|
|
|||
| void Trim(std::string & s) | |||
| { | |||
| boost::trim_if(s, ::isspace); | |||
| boost::trim_if(s, [](unsigned char c){ return std::isspace(c); }); | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
| boost::trim_if(s, [](unsigned char c){ return std::isspace(c); }); | |
| boost::trim_if(s, [](unsigned char c) { return std::isspace(c); }); |
| std::tm tmp = tm; | ||
| return _mkgmtime(&tmp); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
| std::tm tmp = tm; | |
| return _mkgmtime(&tmp); | |
| std::tm tmp = tm; | |
| return _mkgmtime(&tmp); |
| std::tm tmp = tm; | ||
| return _mkgmtime(&tmp); | ||
| #else | ||
| return timegm(&tm); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
| return timegm(&tm); | |
| return timegm(&tm); |
| @@ -54,7 +54,7 @@ void TransliterateHiraganaToKatakana(UniString & s) | |||
|
|
|||
| size_t GetMaxErrorsForToken(UniString const & token) | |||
| { | |||
| bool const digitsOnly = std::all_of(token.begin(), token.end(), ::isdigit); | |||
| bool const digitsOnly = std::all_of(token.begin(), token.end(), [](unsigned char c){ return std::isdigit(c); }); | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
| bool const digitsOnly = std::all_of(token.begin(), token.end(), [](unsigned char c){ return std::isdigit(c); }); | |
| bool const digitsOnly = std::all_of(token.begin(), token.end(), [](unsigned char c) { return std::isdigit(c); }); |
| @@ -75,6 +75,9 @@ class DesktopLocationService | |||
| #if defined(OMIM_OS_LINUX) | |||
| m_services.push_back(CreateQtLocationService(*this, "geoclue2")); | |||
| #endif // OMIM_OS_LINUX | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
| #endif // OMIM_OS_LINUX | |
| #endif // OMIM_OS_LINUX |
| @@ -29,7 +29,7 @@ auto GetNextDayAtNight(int32_t startTimeZoneUTC) | |||
| std::tm * nextDayDate = std::localtime(&nextDay); | |||
|
|
|||
| long constexpr kSecondsInHour = 3600; | |||
| int const curUTCOffset = static_cast<int>(nextDayDate->tm_gmtoff / kSecondsInHour); | |||
| int const curUTCOffset = static_cast<int>(0 / kSecondsInHour); // TODO | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
| int const curUTCOffset = static_cast<int>(0 / kSecondsInHour); // TODO | |
| int const curUTCOffset = static_cast<int>(0 / kSecondsInHour); // TODO |
| }; | ||
| dataSource.ForEachInScale(fn, scales::GetUpperScale()); | ||
| int count = 0; | ||
| auto const fn = [&](FeatureType & ft) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
| auto const fn = [&](FeatureType & ft) { | |
| auto const fn = [&](FeatureType & ft) | |
| { |
| @@ -25,6 +25,10 @@ | |||
| #include <CoreFoundation/CoreFoundation.h> | |||
| #endif | |||
|
|
|||
| #ifdef OMIM_OS_WINDOWS | |||
| # include <windows.h> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
| # include <windows.h> | |
| #include <windows.h> |
| @@ -239,7 +239,7 @@ int main(int argc, char * argv[]) | |||
| #endif // BUILD_DESIGNER | |||
|
|
|||
| Framework framework(frameworkParams); | |||
| qt::MainWindow w(framework, std::move(screenshotParams), QApplication::primaryScreen()->geometry() | |||
| qt::MainWindow w(framework, std::move(screenshotParams) | |||
| #ifdef BUILD_DESIGNER | |||
| , | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
| , | |
| , |
| android:padding="@dimen/margin_quarter_plus"> | ||
| <ImageView | ||
| android:gravity="center"> | ||
| <LinearLayout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UseCompoundDrawables: This tag and its children can be replaced by one <TextView/> and a compound drawable
| android:padding="@dimen/margin_quarter_plus"> | ||
| <ImageView | ||
| android:gravity="center"> | ||
| <LinearLayout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UseCompoundDrawables: This tag and its children can be replaced by one <TextView/> and a compound drawable
| <ImageView | ||
| android:gravity="center" | ||
| android:orientation="vertical"> | ||
| <LinearLayout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UseCompoundDrawables: This tag and its children can be replaced by one <TextView/> and a compound drawable
| <ImageView | ||
| android:gravity="center" | ||
| android:orientation="vertical"> | ||
| <LinearLayout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UseCompoundDrawables: This tag and its children can be replaced by one <TextView/> and a compound drawable
| app:tint="?elevationProfilePropIconTint" /> | ||
| android:gravity="center_vertical" | ||
| android:orientation="horizontal"> | ||
| <ImageView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ContentDescription: Missing contentDescription attribute on image
| <dimen name="elevation_profile_peek_height">260dp</dimen> | ||
| <dimen name="elevation_profile_chart_min_height">144dp</dimen> | ||
| <dimen name="elevation_profile_chart_info_min_height">68dp</dimen> | ||
| <dimen name="elevation_profile_chart_info_min_height">54dp</dimen> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UnusedResources: The resource R.dimen.elevation_profile_chart_info_min_height appears to be unused
| <dimen name="text_size_body_3">14sp</dimen> | ||
| <dimen name="text_size_body_4">12sp</dimen> | ||
| <dimen name="text_size_body_5">10sp</dimen> | ||
| <dimen name="text_size_body_6">8sp</dimen> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UnusedResources: The resource R.dimen.text_size_body_6 appears to be unused
| <item name="android:textColor">?android:textColorSecondary</item> | ||
| </style> | ||
|
|
||
| <style name="MwmTextAppearance.Body6"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UnusedResources: The resource R.style.MwmTextAppearance_Body6 appears to be unused
| android:layout_width="match_parent" | ||
| android:layout_height="wrap_content" | ||
| android:background="?ppBackground"> | ||
| <ImageView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ContentDescription: Missing contentDescription attribute on image
| android:paddingEnd="@dimen/margin_quarter" | ||
| android:textAllCaps="false" | ||
| tools:text="@string/categories" /> | ||
| <ImageView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ContentDescription: Missing contentDescription attribute on image
No description provided.