Commit graph

4718 commits

Author SHA1 Message Date
vng
2a0ee15fca Fix AV on exit. 2015-09-22 15:19:13 -07:00
Yury Melnichek
21c7b3035b [search] Implement query termination. Make search slow to test it :) 2015-09-22 15:19:10 -07:00
vng
22c864c35c Draw tunnels transparent:
- set special layer flag when generating;
 - add additional id (transparent) for drawing rule;
2015-09-22 15:19:06 -07:00
Alex Zolotarev
1d3595149e Warning fixes 2015-09-22 15:19:05 -07:00
vng
a2a53df74d Draw road's number. 2015-09-22 15:19:00 -07:00
vng
23545cbab5 Fix uninitialized variable. 2015-09-22 15:19:00 -07:00
Alex Zolotarev
a64b3355df Get user preferred languages on 1st startup and use them for text dislpaying
@TODO windows implementation
2015-09-22 15:18:53 -07:00
Yury Melnichek
84460217ee [search] Introduce different types of results. 2015-09-22 15:18:49 -07:00
vng
4624371bc4 Better GetPopulationRank routine. 2015-09-22 15:18:45 -07:00
Alex Zolotarev
1da1ecf3b6 Rewrote logic for maps adding. First, we read all maps from resources,
next, replace existing maps from writable data path
2015-09-22 15:18:44 -07:00
vng
90886f0e12 - Don't store names for features with invisible texts.
- Try to make better rank for drawing text font.
2015-09-22 15:18:38 -07:00
Alex Zolotarev
1392ed923e Fixes to framework::ShowRect()
@TODO: Remove magic
2015-09-22 15:18:30 -07:00
Alex Zolotarev
3087191d84 Renamed benchmark.txt because all txt files are included into production builds 2015-09-22 15:18:28 -07:00
Yury Melnichek
cce07a6ae2 Fix bugs in drawing ruler in InformationDisplay. 2015-09-22 15:18:23 -07:00
Yury Melnichek
1982758732 [search] Introduce IntermediateResult. 2015-09-22 15:18:15 -07:00
rachytski
95cfc9234d drawing center point as "lat, lon" instead of "lon, lat". closes #270 2015-09-22 15:18:12 -07:00
rachytski
b1a84248a8 empty rect handling in ShowRect. 2015-09-22 15:18:11 -07:00
Yury Melnichek
bd48d71ceb Refactored and improved search: approximate matching and splitting feature names into tokens. 2015-09-22 15:18:05 -07:00
Yury Melnichek
b16645c485 Add GetIndex() to the FeatureFetcher. 2015-09-22 15:18:04 -07:00
Yury Melnichek
3a124e7cf5 Add map -> search dependency. 2015-09-22 15:18:03 -07:00
Alex Zolotarev
4564e25c9d Fixed yg includes, should improve compilation speed 2015-09-22 15:17:57 -07:00
Alex Zolotarev
b44ec9cdfa Moved MAX_SUPPORTED_LANGUAGES constant to defines.hpp 2015-09-22 15:17:53 -07:00
Alex Zolotarev
d6389417b0 Refactored base/string_utils 2015-09-22 15:17:52 -07:00
Alex Zolotarev
77b0787a6c Renamed namespace string_utils to strings 2015-09-22 15:17:51 -07:00
Alex Zolotarev
85e336796d Fixed failed unit tests 2015-09-22 15:17:50 -07:00
Alex Zolotarev
8f96f60ef9 Moved coding/strutil.hpp to base/string_utils.hpp 2015-09-22 15:17:49 -07:00
Alex Zolotarev
68c4e908d7 Warning fix 2015-09-22 15:17:46 -07:00
Alex Zolotarev
93219f070f Removed boost:: namespace and fixed boost includes 2015-09-22 15:17:45 -07:00
Alex Zolotarev
2f46f983cd Created search library 2015-09-22 15:17:33 -07:00
vng
7fe778c62c - Fix warning;
- Fix compile error (msvc);
2015-09-22 15:17:26 -07:00
Alex Zolotarev
3b06c903f7 Knee-search v0.2, limited to viewport only 2015-09-22 15:17:25 -07:00
Alex Zolotarev
1d70a6e803 Moved language preferences from multilang_utf8_string to framework 2015-09-22 15:17:24 -07:00
vng
f3a38af8c4 Add rank for text height. 2015-09-22 15:17:22 -07:00
vng
8afd924fbc Fix FeatureType::ReadOffsets.
Initialize offsets with -1 for invisible scales.
2015-09-22 15:17:22 -07:00
Alex Zolotarev
718503d631 Search by world map 2015-09-22 15:17:21 -07:00
Alex Zolotarev
fd4578cea9 [qt] Simple search by viewport 2015-09-22 15:17:17 -07:00
rachytski
4b7081f127 minor fixes. 2015-09-22 15:17:16 -07:00
rachytski
495f343473 rewritten best_filtration method to support "dead zone" segment that should not be clipped. 2015-09-22 15:17:16 -07:00
Alex Zolotarev
932eb8340b Added language preferences support for displayed text 2015-09-22 15:17:14 -07:00
Alex Zolotarev
85d29433d5 Added save/load preffered languages order to the framework
[qt] Added language preferences dialog logic
2015-09-22 15:17:13 -07:00
vng
6ec7e0ae5a Comment out 9x drawing. 2015-09-22 15:17:10 -07:00
rachytski
9b40c249a8 compilation fixes. 2015-09-22 15:17:09 -07:00
rachytski
dd660d1fc9 rendering 5x5 grid by spiral from center 2015-09-22 15:17:09 -07:00
vng
b8d7887157 Fix drawing string for feature. 2015-09-22 15:17:07 -07:00
vng
2400357a3d Refactoring of feature structure:
- multilanguage names
- separate house numbers
- point feature rank
- refs for linear features
2015-09-22 15:17:06 -07:00
Alex Zolotarev
8887c1f807 Added filter to location manager 2015-09-22 15:16:59 -07:00
Alex Zolotarev
c7626ce801 Warning fixes 2015-09-22 15:16:57 -07:00
Alex Zolotarev
1c052fd1e5 Introduced LocationManager with multiple location services support
Added WiFi location service for Mac
@TODO filter location events from different sources
2015-09-22 15:16:56 -07:00
vng
0eaed4c1b7 Sort drawing rules (it's not necessary as is, but logic is more clear).
This commit is a replace of other one - 888b8d01792f1c4028f4ea24a99c0477900a24b9.
2015-09-22 15:16:52 -07:00
vng
7c895ddf38 Revert "DrawRule order optimization. "
This reverts commit 888b8d01792f1c4028f4ea24a99c0477900a24b9.
2015-09-22 15:16:51 -07:00