diff --git a/tools/QtCreator.MapsWithMe.xml b/tools/QtCreator.MapsWithMe.xml
deleted file mode 100644
index ef542b991f..0000000000
--- a/tools/QtCreator.MapsWithMe.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
- CodeStyleData
-
- false
- false
- false
- false
- false
- false
- false
- false
- true
- false
- true
- false
- true
- true
- true
- true
- false
- false
- false
- 2
- true
- false
- 1
- true
- 2
-
-
-
- DisplayName
- MapsWithMe
-
-
diff --git a/tools/check_memleak_includes.pl b/tools/check_memleak_includes.pl
deleted file mode 100644
index 46207533bc..0000000000
--- a/tools/check_memleak_includes.pl
+++ /dev/null
@@ -1,106 +0,0 @@
-#!/usr/bin/perl -w
-
-# modules
-use strict;
-use File::Find;
-
-my $ROOT = "..";
-my @EXCLUDE = ("3party", "base", "std", "out", "tools", "testing");
-my @SOURCE_EXT = (".cpp");
-my @HEADER_EXT = (".hpp", ".h");
-
-my $START_MD = "start_mem_debug.hpp";
-my $STOP_MD = "stop_mem_debug.hpp";
-my $INCLUDE_KEYWORD = "#include";
-
-#######################
-sub analyze_header {
- # search for start inlude, in header file after it should be no more includes!
- # and stop include should be the last at the end
- my $res = index($_[1], $START_MD);
- if ($res == -1) {
- print "ERROR: No memory leak detector in file $_[0]\n";
- }
- else {
- my $res2 = index($_[1], $STOP_MD, $res);
- if ($res2 == -1) {
- print "ERROR: Last line in header file $_[0] should contain #include \"$STOP_MD\"\n";
- }
- else
- {
- print "$_[0] is OK\n";
- }
- }
-}
-
-###################
-sub analyze_source {
- # search for start inlude, in source file it should be only one and after it no more includes!
- my $res = index($_[1], $START_MD);
- if ($res == -1) {
- print "ERROR: No memory leak detector in file $_[0]\n";
- }
- else {
- my $res2 = index($_[1], $INCLUDE_KEYWORD, $res);
- if ($res2 != -1) {
- print "ERROR: #include \"$START_MD\" should be the last include in $_[0]\n";
- }
- else
- {
- print "$_[0] is OK\n";
- }
- }
-}
-
-###################################################################
-sub process_file {
- my $fullPath = $File::Find::name;
- my $f = $_;
-
- # ignore tests directories
- unless ($fullPath =~ /_tests\//)
- {
- my $isSource = 0;
- foreach my $ext (@SOURCE_EXT) {
- $isSource = 1 if ($f =~ /$ext$/);
- }
- my $isHeader = 0;
- foreach my $ext (@HEADER_EXT) {
- $isHeader = 1 if ($f =~ /$ext$/);
- }
-
- if ($isSource or $isHeader) {
- open(INFILE, "<$f") or die("ERROR: can't open input file $fullPath\n");
- binmode(INFILE);
- my @fileAttribs = stat(INFILE);
- read(INFILE, my $buffer, $fileAttribs[7]);
- close(INFILE);
- analyze_source($fullPath, $buffer) if $isSource;
- analyze_header($fullPath, $buffer) if $isHeader;
- }
- }
-}
-
-
-#######################################
-# ENTY POINT
-#######################################
-
-print("Scanning sources for correct memory leak detector includes\n");
-my @raw_dirs = <$ROOT/*>;
-my @dirs;
-
-# filter out excluded directories
-foreach my $f (@raw_dirs) {
- my $good = 1;
- foreach my $excl (@EXCLUDE) {
- if (-f $f or $f =~ /$excl/) {
- $good = 0;
- }
- }
- push(@dirs, $f) if $good;
-}
-
-# set array print delimeter
-print "Directories for checking:\n@dirs\n";
-find(\&process_file, @dirs);
diff --git a/tools/null-image.py b/tools/null-image.py
deleted file mode 100755
index 2140fa9033..0000000000
--- a/tools/null-image.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env python3
-#
-# Replace an image with an empty placeholder of the same size.
-#
-
-import sys
-from PIL import Image
-
-for img in sys.argv[1:]:
- print('Processing', img)
- orig = Image.open(img)
- width, height = orig.size
- new = Image.new("RGBA", (width, height), (255, 255, 255, 0))
- new.save(img, orig.format)
diff --git a/tools/upload_to_dropbox.sh b/tools/upload_to_dropbox.sh
deleted file mode 100755
index 19973d7e69..0000000000
--- a/tools/upload_to_dropbox.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-if [ "$#" -lt 3 ]; then
- echo "Illegal number of parameters"
- echo "The four arguments to this script are:"
- echo " 1) build mode (debug/release), use the \${BUILD_MODE} from Jenkins environment vars"
- echo " 2) the path to the root of the workspace, use \${WORKSPACE} from Jenkins env. vars"
- echo " 3) the auth key to your dropbox. You can generate it in your dropbox"
- echo " 4) the target folder (android, drape or anything else, defaults to testing)"
- exit 0 # Exiting with a non-error code in order not to break the rest of the build
-fi
-
-BUILD_MODE=$1
-FOLDER=$2
-KEY=$3
-TARGET="${4-testing}"
-
-rm -f $FOLDER/omim/android/app/build/outputs/apk/android-symbols.zip
-
-zip -r $FOLDER/omim/android/app/build/outputs/apk/android-symbols.zip $FOLDER/omim/android/obj
-
-# Upload the files to DropBox:
-# Later this ugly bit will be replaced by a new and shiny python script
-# 1) Delete the files from dropbox first
-for s in $(curl -H "Authorization: Bearer $KEY" "https://api.dropboxapi.com/1/metadata/auto/$TARGET/$BUILD_MODE" -X GET | python -m json.tool | grep "path" | grep "/$TARGET/" | cut -d ":" -f 2 | sed "s/\",//" | sed "s/\"//");
-do
- curl -H "Authorization: Bearer $KEY" "https://api.dropbox.com/1/fileops/delete" -X POST --data "root=auto&path=$s"
-done
-
-cd $FOLDER/omim/android/app/build/outputs/apk/
-
-# 2) Upload the new ones now
-for s in $(ls | grep "android" | grep -v "unaligned");
-do
- curl -H "Authorization: Bearer $KEY" https://api-content.dropbox.com/1/files_put/auto/$TARGET/$BUILD_MODE/ -T $s;
-done
diff --git a/tools/user_code_coverage.py b/tools/user_code_coverage.py
deleted file mode 100644
index 1ccdc5ea0f..0000000000
--- a/tools/user_code_coverage.py
+++ /dev/null
@@ -1,36 +0,0 @@
-import os
-import json
-import sys
-
-if len(sys.argv) < 3:
- print "USAGE: " + sys.argv[0] + " [username] [htmlfile]"
- exit()
-
-USERNAME = sys.argv[1]
-
-HTMLFILE = sys.argv[1]
-
-if __name__ == "__main__":
- os.system('git log --pretty="%H" --author="'+USERNAME+'" | while read commit_hash; do git show --oneline --name-only $commit_hash | tail -n+2; done | sort | uniq > /tmp/wrote.files')
- files = {}
- for f in open('/tmp/wrote.files'):
- f = f.strip()
- if os.path.exists(f):
- os.system("git blame -w "+f+" > /tmp/wrote.blame")
- stat = {'total': 0, 'unclean': 0}
- for line in open('/tmp/wrote.blame'):
- stat['total'] += 1
- if USERNAME in line:
- stat['unclean'] += 1
- files[f] = stat
- html = open(HTMLFILE, 'w')
- print >> html, "
"
- keys = files.keys()
- keys.sort(key = lambda a: 1. * files[a]['unclean'] / max(files[a]['total'],0.01))
- keys.sort(key = lambda a: files[a]['unclean'])
- keys.reverse()
- print >> html, "Filename | dirty LOC | LOC | meter |
"
- for k in keys:
- v = files[k]
- print >> html, "%s | %s | %s | |
"%(k,v['unclean'], v['total'],v['unclean'], v['total'] )
- print >> html, ""
\ No newline at end of file