Commit graph

198 commits

Author SHA1 Message Date
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
rachytski
89ff0a1b92 DrawRule order optimization. 2015-09-22 15:16:50 -07:00
rachytski
d5eb80aefc ctime() returns string with the trailing "newline" symbol. removed it. 2015-09-22 15:16:49 -07:00
rachytski
8fa6b56fff correct handling of pathOffset and penInfo.m_offset parameters in drawPath() function. 2015-09-22 15:16:48 -07:00
rachytski
c113fe9b32 replaced TextPos with yg::EPosition. 2015-09-22 15:16:48 -07:00
rachytski
f605febe69 saving all benchmark results from the same application run with the same startTime tag. 2015-09-22 15:16:47 -07:00
Alex Zolotarev
c4cbac493f Removed Platform::TimeString() and replaced with ctime() 2015-09-22 15:16:47 -07:00
rachytski
a15b78f547 implemented runtime opengl functionality checking. 2015-09-22 15:16:35 -07:00
rachytski
179db664d0 using application start time as one of the benchmark statistics key. 2015-09-22 15:16:34 -07:00
rachytski
df21480fb7 compilation fixes. 2015-09-22 15:16:32 -07:00
rachytski
132f7aa288 refactored benchmarks support. 2015-09-22 15:16:31 -07:00
Alex Zolotarev
c2e6ae1ed3 [win] Fixed compilation errors 2015-09-22 15:16:24 -07:00
Alex Zolotarev
07d4db8e95 Warning fixes 2015-09-22 15:16:15 -07:00
Alex Zolotarev
1bfcb8df5c Finished location refactoring 2015-09-22 15:16:14 -07:00
Alex Zolotarev
1c20e772a0 Refactored gps location system:
- Moved all code to crossplatform framework
- OS-dependent location services are implemented in platform
- Added my position button to desktops
2015-09-22 15:16:12 -07:00
rachytski
37ced5a920 font parameters are taken out of all text functions into separate FontDesc structure. 2015-09-22 15:16:10 -07:00
Yury Melnichek
492b7a133b Disable empty data message on all OSes except iOS. 2015-09-22 15:16:04 -07:00
Yury Melnichek
99fc5e7b23 Fix warning: unused variable. 2015-09-22 15:16:03 -07:00
rachytski
8df0914287 rendering text with alignment. 2015-09-22 15:16:03 -07:00
Alex Zolotarev
9f5f2d9eb0 [mingw] Compilation fixes 2015-09-22 15:16:00 -07:00
Yury Melnichek
fb4ac86d89 Disable heading in addition to position in Framework::StopLocator(). 2015-09-22 15:15:57 -07:00