Compare commits

..

4 Commits

Author SHA1 Message Date
Konstantin Pastbin
0aed244f5e [generator] Use 56 threads for Features stage
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2026-01-23 00:04:35 +07:00
Konstantin Pastbin
222d611ca6 [generator] Use 52 general threads
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2026-01-23 00:03:12 +07:00
Yannik Bloscheck
9245b2bbb8 [style] Fixed wrong icon being used for sports halls
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
2026-01-22 15:59:36 +01:00
Jean-Baptiste
76af9e01f4 [android] Fix corner radius of DialogFragment
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
2026-01-22 14:18:47 +01:00
8 changed files with 14 additions and 22 deletions

View File

@@ -42,7 +42,7 @@ public class ChooseBookmarkCategoryFragment
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
{
View root = inflater.inflate(R.layout.choose_bookmark_category_fragment, container, false);
getDialog().getWindow().setBackgroundDrawableResource(android.R.color.transparent);
getDialog().getWindow().setBackgroundDrawableResource(R.drawable.bg_transparent_dlg);
mRecycler = root.findViewById(R.id.recycler);
mRecycler.setLayoutManager(new LinearLayoutManager(requireActivity()));
return root;

View File

@@ -77,7 +77,7 @@ public class ChooseBookmarksSortingTypeFragment
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState)
{
super.onViewCreated(view, savedInstanceState);
getDialog().getWindow().setBackgroundDrawableResource(android.R.color.transparent);
getDialog().getWindow().setBackgroundDrawableResource(R.drawable.bg_transparent_dlg);
final Bundle args = getArguments();
if (args == null)

View File

@@ -61,7 +61,7 @@ public class StackedButtonsDialog extends AppCompatDialog implements View.OnClic
setCancelable(mCancelable);
setOnCancelListener(mCancelListener);
setContentView(R.layout.dialog_stacked_buttons);
getWindow().setBackgroundDrawableResource(android.R.color.transparent);
getWindow().setBackgroundDrawableResource(R.drawable.bg_transparent_dlg);
TextView title = findViewById(R.id.tv__title);
UiUtils.setTextAndHideIfEmpty(title, mTitle);

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@android:color/transparent"/>
<corners android:radius="28dp"/>
</shape>

View File

@@ -8,11 +8,9 @@ echo "Configuring the repository for development..."
SKIP_MAP_DOWNLOAD="${SKIP_MAP_DOWNLOAD:-}"
SKIP_GENERATE_SYMBOLS="${SKIP_GENERATE_SYMBOLS:-}"
SKIP_GENERATE_DRULES="${SKIP_GENERATE_DRULES:-}"
SKIP_GENERATE_STRINGS="${SKIP_GENERATE_STRINGS:-}"
DRULES_NOT_GENERATED=
SYMBOLS_NOT_GENERATED=
STRINGS_NOT_GENERATED=
DRULES_FILES=(drules_proto.bin drules_proto_default_dark.bin drules_proto_default_light.bin drules_proto_outdoors_dark.bin drules_proto_outdoors_light.bin drules_proto_vehicle_dark.bin drules_proto_vehicle_light.bin classificator.txt types.txt visibility.txt colors.txt patterns.txt)
SYMBOLS_FILES=(xhdpi/light/symbols.png xhdpi/light/symbols.sdf xhdpi/dark/symbols.png xhdpi/dark/symbols.sdf mdpi/light/symbols.png mdpi/light/symbols.sdf mdpi/dark/symbols.png mdpi/dark/symbols.sdf 6plus/light/symbols.png 6plus/light/symbols.sdf 6plus/dark/symbols.png 6plus/dark/symbols.sdf xxxhdpi/light/symbols.png xxxhdpi/light/symbols.sdf xxxhdpi/dark/symbols.png xxxhdpi/dark/symbols.sdf hdpi/light/symbols.png hdpi/light/symbols.sdf hdpi/dark/symbols.png hdpi/dark/symbols.sdf xxhdpi/light/symbols.png xxhdpi/light/symbols.sdf xxhdpi/dark/symbols.png xxhdpi/dark/symbols.sdf)
@@ -31,11 +29,6 @@ for f in ${SYMBOLS_FILES[*]}; do
fi
done
if [ ! -f "libs/indexer/localized_types_map.cpp" ]; then
STRINGS_NOT_GENERATED=1
break
fi
############################# PROCESS OPTIONS ################################
TEMP=$(getopt -o ms --long skip-map-download,skip-generate-symbols,skip-generate-drules \
@@ -50,7 +43,6 @@ while true; do
-m | --skip-map-download ) SKIP_MAP_DOWNLOAD=1; shift ;;
-s | --skip-generate-symbols ) SKIP_GENERATE_SYMBOLS=1; shift ;;
-d | --skip-generate-drules ) SKIP_GENERATE_DRULES=1; shift ;;
-S | --skip-generate-strings ) SKIP_GENERATE_STRINGS=1; shift ;;
* ) break ;;
esac
done
@@ -124,14 +116,8 @@ fi
echo "Generating search categories / synonyms..."
./tools/unix/generate_categories.sh
if [ -z "$SKIP_GENERATE_STRINGS" ]; then
if Diff data/strings_hash iphone/Maps/LocalizedStrings/en.lproj/LocalizableTypes.strings || [ ! -z "$STRINGS_NOT_GENERATED" ]; then
echo "Generating Desktop UI strings..."
./tools/unix/generate_desktop_ui_strings.sh
fi
else
echo "Skipping generate Desktop UI strings..."
fi
echo "Generating Desktop UI strings..."
./tools/unix/generate_desktop_ui_strings.sh
if [ -z "$SKIP_GENERATE_SYMBOLS" ]; then
if Diff data/symbols_hash data/styles/*/*/symbols/* || [ ! -z "$SYMBOLS_NOT_GENERATED" ]; then

View File

@@ -1293,7 +1293,7 @@ node|z17-[leisure=fitness_station]
node|z16-[leisure=sports_centre],
{icon-image: sports_centre-m.svg;icon-min-distance: 9;}
node|z17-[leisure=sports_hall]
{icon-image: sports_centre-m.svg;icon-min-distance: 10;}
{icon-image: pitch-m.svg;icon-min-distance: 10;}
node|z16-[leisure=dance]
{icon-image: dance-m.svg;icon-min-distance: 10;}
node|z16-[leisure=fitness_centre]

View File

@@ -1402,6 +1402,7 @@
"type.shop.watches" = "Watch Shop";
"type.shop.wholesale" = "Wholesale Shop";
"type.sport" = "Sport";
"type.sport.multi" = "Various Sports";
"type.sport.9pin" = "Bowling";
"type.sport.10pin" = "Bowling";
"type.sport.american_football" = "American Football";

View File

@@ -20,7 +20,7 @@ MAIN_OUT_PATH: /mnt/4tbexternal/osm-maps
# Path to the data/ folder in the repository:
USER_RESOURCE_PATH: ${Developer:OMIM_PATH}/data
# Features stage only parallelism level. Set to 0 for auto detection.
THREADS_COUNT_FEATURES_STAGE: 0
THREADS_COUNT_FEATURES_STAGE: 56
# Do not change it. This is determined automatically.
NODE_STORAGE: mem
@@ -99,7 +99,7 @@ DIFF_VERSION_DEPTH: 2
[Common]
# Default parallelism level for the most of jobs. Set to 0 for auto detection.
THREADS_COUNT: 0
THREADS_COUNT: 52
[Stats]