1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00
Commit Graph

2181 Commits

Author SHA1 Message Date
aec052edaf Fixed elevation source selection logic 2023-04-10 17:21:02 +02:00
1bbc57173e Add only valid graph segments to the graphs
Fixes #489
2023-04-10 13:06:19 +02:00
52ea52ff4e Fixed broken graphs when data contains empty segments
fixes #490
2023-04-10 10:00:30 +02:00
b6ca28e159 Render circles 2023-04-08 00:34:33 +02:00
648627b17f Use style-defined priorities
+ code cleanup
2023-04-06 23:29:05 +02:00
2aa759a4bc Filter all way references, not only "ref"s 2023-04-06 09:41:31 +02:00
84dc58da71 Code cleanup 2023-04-05 21:50:19 +02:00
25838ad02d Removed obsolete header include 2023-04-05 21:02:20 +02:00
6cd122f59b Fix/improve Mapsforge tiles rendering 2023-04-05 19:28:17 +02:00
981bd33680 Properly encapsulate the ENC-specific text point 2023-04-05 19:27:25 +02:00
8b24aa17e2 Increase path render instructions cache 2023-04-04 00:29:50 +02:00
6fc5a2f67d Added support for the "text-transform" attribute 2023-04-04 00:22:15 +02:00
d794de5818 Added support for curved lines 2023-04-03 23:53:57 +02:00
81f695a672 Fixed crash on empty IMG/GMAP maps 2023-04-03 23:29:35 +02:00
84a592998d Only tile big (> Qt OpenGL cache size / 2) images 2023-04-02 14:36:03 +02:00
c114383c85 Do not outline countour height entries 2023-04-01 12:04:21 +02:00
164e59602e Added missing BCNCAR rendering 2023-03-30 00:00:45 +02:00
b80cd05d4b Added currents rendering 2023-03-25 13:31:15 +01:00
46109d0ce0 Render masts as pylons 2023-03-25 10:55:32 +01:00
cd1f80f2c1 Label sizes adjustment 2023-03-25 00:12:06 +01:00
dbe407d9d9 Various ENC rendering improvements 2023-03-24 22:54:53 +01:00
54d6016b1a A better point items layout algorithm 2023-03-24 09:18:13 +01:00
f057ebdbb7 Added fog signals rendering 2023-03-23 01:05:44 +01:00
416bd3472f Render lights merged with the root objects, not as separate objects 2023-03-22 00:41:03 +01:00
048198dfe1 Removed duplicit map error debug output 2023-03-18 10:11:11 +01:00
a50fa28c08 Properly chceck for GCS/PCS files 2023-03-18 09:51:07 +01:00
152f17f15a Do not try to load the style when it does not exist 2023-03-18 09:04:55 +01:00
62f3343f75 Render international border lines 2023-03-16 21:37:27 +01:00
07581f027b Fixed header length check 2023-03-16 20:58:28 +01:00
b3767e85e1 Added missing nmea serial port baudrate setting 2023-03-16 02:03:40 +01:00
4acc0a25e0 Fixed DEM cache size configuration 2023-03-03 07:36:30 +01:00
f275938fef Make the DEM cache configurable 2023-03-03 00:04:03 +01:00
6105783a6d Redesigned marine icons
Added marine icons outlines to make the icons visible on dark backgrounds.
2023-03-02 00:43:20 +01:00
267094dc6c Fixed build with older Qt versions 2023-03-01 00:23:01 +01:00
7be3a27196 Added support for 0.5" (7201x7201) DEM tiles
+ DEM cache limit fix
2023-02-28 23:59:52 +01:00
00a349575c Marine maps draw order fix 2023-02-28 23:58:03 +01:00
f026387d76 Fixed broken handling of IMG "multi-maps" (maps with overviews) 2023-02-27 22:06:31 +01:00
108444d29b Fix multiple MSVC warnings 2023-02-25 11:06:14 +01:00
ed638bb5fc Fixed marine charts rendering 2023-02-24 20:00:50 +01:00
ae3d190e08 Do not unnecessary convert the image tiles to pixmaps 2023-02-23 22:46:45 +01:00
a5916cad90 Make the MSVC2019 Debug builds compile 2023-02-23 22:45:42 +01:00
7a53fb8e01 Remove the qpainter/qimage draw workaround
Seems to be fixed in newer Qt versions and it did not properly work in older
Qt versions anyway...
2023-02-22 23:22:18 +01:00
f952e02535 Allow arbitrary large images
GeoTIFFs can be very huge, the limit of 128MB set in Qt6 is not sufficient for
real-life aerial images. Behave like Qt5 with no limit.
2023-02-22 22:45:18 +01:00
9538d15d79 Fixed centroid computation 2023-02-19 14:47:57 +01:00
7febd2971e Fixed GeoJSON waypoint properties parsing 2023-02-15 01:40:28 +01:00
211ff46487 Report the correct error message on invalid "when" tag 2023-02-15 01:39:33 +01:00
b7415ca2c9 Fixed areas digital zoom handling 2023-02-14 00:58:44 +01:00
dec70f6bfe Fixed area items hovering 2023-02-14 00:55:55 +01:00
4f661128ba Do not load into memory files that are definitely not JSON files 2023-02-14 00:55:55 +01:00
15bc9ac774 Fixed NMEA line limit check 2023-02-14 00:55:55 +01:00
1480f8ad02 Cosmetics 2023-02-10 00:17:07 +01:00
b73ad9772f Fixed broken waypoint settings 2023-02-10 00:16:16 +01:00
903b73d9a4 Set OpenStreetMap as the default map 2023-02-09 00:35:22 +01:00
7bb2c3a09d Added Android "desktop" integration 2023-02-07 00:32:36 +01:00
820350d60b Fixed Android build 2023-02-05 00:06:02 +01:00
3801ff7bcb Settings refactoring 2023-02-04 23:59:47 +01:00
c001235e91 Code cleanup 2023-02-01 22:49:03 +01:00
d6d316676c Properly use the default positioning plugin as the default option 2023-02-01 22:26:36 +01:00
973abedf3e A better current path macro 2023-02-01 09:41:18 +01:00
505f01a990 Code cleanup 2023-01-31 19:21:14 +01:00
bfeb6d266e Some more iso8211 code cleanup 2023-01-26 01:13:15 +01:00
af3e5d41c2 Split the config header to config+hash headers 2023-01-26 01:11:56 +01:00
51511a9bf9 Fixed broken parsing of KML tracks with empty coordinates 2023-01-25 09:01:20 +01:00
ab76521990 ISO8211 API cleanup 2023-01-19 10:08:17 +01:00
ee73908231 Do not treat Ozimaps as directories
Directory parsing was stopped at the level of the map which is not what we
want - users would have to create separate directories for every Ozimap.
2023-01-19 10:04:03 +01:00
3af98b6785 Fixed typo 2023-01-16 21:16:20 +01:00
21c02010f7 Improved marine charts render style 2023-01-14 13:00:36 +01:00
c209e24db8 Optimization/code cleanup 2023-01-14 08:45:18 +01:00
9ff7ecea97 ENC signal stations 2023-01-11 23:03:54 +01:00
78e3c78197 Added safety zone lines 2023-01-09 23:58:03 +01:00
65515143eb Added missing include guard prefix 2023-01-05 21:44:03 +01:00
88f7e13500 Added alignment check 2022-12-23 08:35:59 +01:00
ae49e9f2fd Turbulences and pilot boarding places 2022-12-10 18:41:35 +01:00
ca3e0eda49 Yet another ENC style improvement 2022-12-10 11:59:48 +01:00
d33716e3af Various ENC render style enhancements 2022-12-08 00:29:39 +01:00
ff2dd6cdec Code cleanup 2022-12-05 08:52:27 +01:00
7900e88907 Some more ENC style improvements 2022-12-04 23:09:59 +01:00
9b90cf5783 Fixed display order 2022-12-04 19:32:55 +01:00
b7ea02bc44 Some more ENC style improvements and fixes 2022-12-04 12:39:47 +01:00
07954b7d1a Prohibited areas 2022-11-26 19:22:09 +01:00
08dbb315cb Turning basins 2022-11-26 16:51:12 +01:00
82b8314b74 Some more ENC stuff 2022-11-26 15:14:41 +01:00
12b17487ac Some more ENC render style enhancements 2022-11-26 13:05:08 +01:00
a05098f502 Fixed render order 2022-11-25 23:23:08 +01:00
4cfb967e39 Some more ENC render style improvements 2022-11-25 23:20:35 +01:00
04f45013eb Some more inland wates ECDIS style fixes/improvements 2022-11-25 02:16:17 +01:00
0c8a77a4ca Fixed broken inland ECDIS styles 2022-11-24 09:34:03 +01:00
3b134d52aa Distinguish some more OSs 2022-11-23 20:20:35 +01:00
f47a5e50ad MORFAC & CRANES rendering 2022-11-19 23:55:17 +01:00
0c5076eaaf Added missing fences rendering 2022-11-19 16:15:50 +01:00
ac5f4cafeb Code cleanup 2022-11-17 13:26:45 +01:00
ccb0364e76 Some more missing ENC objects 2022-11-17 13:05:38 +01:00
414bdead17 Docks render style 2022-11-17 10:37:05 +01:00
8cf09a68d1 Some more missing ENC render style 2022-11-17 08:25:53 +01:00
e4c79d7275 Added missing dams and pylons rendering 2022-11-16 22:51:16 +01:00
a718f1e122 Properly handle non-ASCII characters
(Support for UCS-2 encoded files is still missing as there is no such sample
file available.)
2022-11-16 22:47:30 +01:00
bd2d66ecd3 Added traffic lines arrows 2022-11-14 22:29:27 +01:00
c09525f306 Fixed map order 2022-11-14 07:09:46 +01:00
5bc7487c3a Still wrong... Fixed the broken mask. 2022-11-11 11:26:15 +01:00
9b73b0f70e Fixed broken points ordering 2022-11-11 10:40:59 +01:00
4f1f3e569b Limit ENC maps zooms
+ somemore style adjustments
2022-11-10 23:53:34 +01:00
e4847ac243 Some more ENC objects to render 2022-11-10 09:43:14 +01:00
c96a0fd8f4 Added missing traffic separation line style 2022-11-09 23:12:40 +01:00
877d9331e4 ENC map style enhancement
+ code cleanup
2022-11-09 21:37:33 +01:00
9d8c23bc32 Fixed crash on ENC map unload 2022-11-09 21:37:05 +01:00
af688314fb Define symbols draw order 2022-11-08 01:16:38 +01:00
1946c3cc6f Image polygon lines 2022-11-08 00:38:45 +01:00
810e999068 Removed unused header include 2022-11-06 16:00:51 +01:00
b13bac3af9 Use asynchronous tile rendering in ENC maps 2022-11-06 15:26:28 +01:00
e1d1842fa6 Fixed error handling 2022-11-06 14:20:19 +01:00
59523f46ef Rather read the files twice than storing all the data in memory 2022-11-06 12:33:24 +01:00
75100cd500 Added unsurveyed area render style 2022-11-06 10:12:45 +01:00
015598b951 ENC inland waters style hack 2022-11-05 20:38:08 +01:00
67209c4ad5 Do not outline soundings 2022-11-05 17:43:32 +01:00
3385fc86d3 Code cleanup 2022-11-05 14:08:08 +01:00
fdd3613c4a Drop the unused lines background drawing 2022-11-05 13:41:13 +01:00
4ce5dfbcf9 Yet another ENC style improvement 2022-11-05 13:34:01 +01:00
2b34140746 Icons structure cleanup 2022-11-05 10:12:14 +01:00
0dee97dc54 Improved ENC render style 2022-11-05 09:47:13 +01:00
8ef1aa0f40 Added missing attributes header file 2022-11-04 22:51:54 +01:00
5ef31f47f2 Improved ENC style 2022-11-04 22:47:21 +01:00
cc2703e71d ENC parser optimizations 2022-11-04 09:53:37 +01:00
37f9d97a9e Cosmetics 2022-11-04 09:34:54 +01:00
e8f3d028dd Fixed build with some Qt versions
+ ENC style enhancements
2022-11-04 09:22:17 +01:00
f8d856b7ee Added support for ENC maps 2022-11-04 09:03:36 +01:00
94b1815e81 Some more missing marine style stuff 2022-10-12 23:34:47 +02:00
26d2bc4f5d Preserve the configured path line style when no style is provided in the data 2022-10-07 21:54:39 +02:00
76b0e9ac2f Do not depend on a specific Style/StyleMap element order 2022-10-03 00:36:38 +02:00
a019ff3930 OziExplorer files styles support 2022-09-26 22:51:17 +02:00
05bcbddf77 Fixed multiple gx::track parsing issues 2022-09-26 22:50:40 +02:00
418b1a8614 Added missing "use styles" setting save/restore 2022-09-25 11:05:13 +02:00
a59e7a058d Made data styles usage configurable 2022-09-25 02:15:24 +02:00
36b5746456 Fixed MultiGeometry handling 2022-09-24 13:20:58 +02:00
c0f2c1b7ad Fixed Qt6 build 2022-09-23 23:57:58 +02:00
1921087346 Multiple data styles fixes 2022-09-23 21:36:02 +02:00
a8299050c5 Added support for "data defined" styles 2022-09-23 02:35:09 +02:00
6768647070 Fixed broken zoom 0 on HiDPI displays 2022-09-14 00:21:50 +02:00
fafe6c4b03 Various KML/KMZ parsing fixes and code cleanup 2022-09-02 22:53:38 +02:00
b156e25023 Properly handle PhotoOverlay icon URLs 2022-09-02 09:55:11 +02:00
9b24bccfed Added PhotoOverlay support
+ non-shared styles
2022-09-02 08:36:58 +02:00
589c602d21 Document styles are not inherited 2022-09-01 00:49:21 +02:00
b7df3cbe0e Added support for KMZ data files + KML icons
fixes #312
2022-09-01 00:28:00 +02:00
f08f5893a3 Only offset the waypoint icons when they are using the symbol icons 2022-09-01 00:25:48 +02:00
1efb4e494d Properly abort the connections on timeout 2022-08-17 01:50:24 +02:00
4653f771a6 Code cleanup 2022-08-15 09:12:37 +02:00
22e5ffaa0c Added support for non-SQL Orux maps
+ error handling fixes/improvements
2022-08-11 23:39:36 +02:00
e2bdc1aae6 Added support for RD grid and Ellipsoidal mercator projections
+ removed (aparently) unsupported projections
2022-08-11 00:04:45 +02:00
6d2e6f64d3 Added support for LAEA projections to Orux maps 2022-08-08 23:24:33 +02:00
183cb4825c Fixed cut&paste errors 2022-08-08 10:11:19 +02:00
7b8fff7440 Properly sort the Orux maps zoom levels 2022-08-08 00:21:24 +02:00
a01ff33768 Add another alias for WGS84 2022-08-08 00:20:30 +02:00
c3117bb3ac Fixed projection parameters parsing in Orux maps 2022-08-07 23:44:48 +02:00
525f70f15e Fixed PNG/PDF export dialogues on Android 2022-08-07 22:31:10 +02:00
6e40d8cbc7 Handle Orux maps as directories
(there can not be two Orux maps in the same directory)
2022-08-05 08:40:38 +02:00
0ef28cda0f Fixed map calibration 2022-08-05 08:34:16 +02:00
399299d192 Added support for Orux maps 2022-08-04 00:06:36 +02:00
e9d93bcc03 Properly sort th map types 2022-07-18 08:52:12 +02:00
2cb186e674 Removed debug code 2022-07-15 21:52:46 +02:00
91150e97db Added support for GEMF maps 2022-07-15 21:24:49 +02:00
9ae771084b Make the graph tabs display configurable on Android 2022-07-08 02:14:47 +02:00
8b4daa43e3 Improved error reporting 2022-07-08 02:14:47 +02:00
5488f5c531 Remove missleading translation comments
(the given arrows are missing in most fonts)
2022-07-07 00:56:06 +02:00
699baf14bd Various localization and translations fixes 2022-07-07 00:45:53 +02:00
c9330bf273 Enable localization on Android 2022-07-06 19:43:56 +02:00
97fdcfdd74 Code cleanup 2022-07-06 14:58:41 +02:00
90c1e52fb5 Fixed map bounds issues 2022-07-06 12:50:57 +02:00
50e65d95c5 Added some more translators comments 2022-07-05 12:13:42 +02:00
028d87b443 Added support for Osmdroid SQLite maps 2022-07-05 11:32:14 +02:00
74b73d8700 Limit line lengths in line-based parsers 2022-07-05 11:08:57 +02:00
99365c3ac8 Added translators comments for "up" and "down" 2022-07-03 20:47:28 +02:00
f370642c81 Fixed android GUI layout issues 2022-06-30 23:57:39 +02:00
23e8154a1f Fixed map dir loading on Android 2022-06-19 23:05:01 +02:00
5af3808895 Properly compute the header size
+ code cleanup
2022-06-11 10:19:14 +02:00
1f2e460c87 Silenced clang warning 2022-06-11 09:48:55 +02:00
0f3fea5460 Improved map errors reporting 2022-06-10 08:09:07 +02:00
e7d6c3f76a Do not make unnecessary checks when loading IMG maps and TrekBuddy atlases 2022-06-09 00:38:25 +02:00
306116dbde Fixed possible crash on map unload 2022-06-02 23:22:34 +02:00
ca1c576562 Fixed Android build 2022-06-02 22:08:40 +02:00
feb1650ed0 Allow tile cache sizes up to 2GB 2022-06-02 19:14:34 +02:00
e6e41c846c Increase the default tile image cache size
On big IMG maps that are "digitaly" zoomed out, the tile memory may not be
sufficient for the whole display area which leads to "cache ping-pong", image
artefacts and 100% CPU usage. 512MB RAM should be available for everyone on
the desktop these days...
2022-06-02 19:03:12 +02:00
20adecec89 Code cleanup 2022-06-02 19:02:46 +02:00
7bd03494db Code cleanup 2022-06-02 18:35:27 +02:00
7ba19b8c0a Use asynchronous tiles rendering in IMG maps
On Android devices, the rendering is very slow so use the same approach as
already used in Mapsforge maps.
2022-06-02 18:31:40 +02:00
25869200db Fixed broken map zooming using the mouse wheel
(introduced in 11.0)
2022-06-02 18:30:19 +02:00
ba0b7c62a4 Android port 2022-05-28 14:05:14 +02:00
e701ad0ed0 Fixed broken PDF/PNG export of MApsforge maps 2022-05-25 23:04:20 +02:00
c3ba8f1f0d Fixed broken map plotting on systems with HiDpi displays 2022-05-25 23:03:30 +02:00
8ee21a8080 Added missing MG maps HiDPI displays support 2022-05-10 01:05:30 +02:00
93aadb7e74 Do not depend on the file extension when loading the maps 2022-04-29 23:16:10 +02:00
40febb8c0e Use the correct super class 2022-04-28 22:36:04 +02:00
1e5b18d86a Added support for pinch zoom 2022-04-28 21:54:00 +02:00
8f9af0d973 Be more tolerant to broken TYP files
Where possible, only skip the point/line/polygon entry, not the whole TYP file.
2022-04-24 17:19:26 +02:00
208e31c6de Explicitly marking the basemaps is not required 2022-04-24 09:17:28 +02:00
959d08ba94 Removed broken coordinates adjustment 2022-04-22 22:26:47 +02:00
5f16f7b367 Fixed/improved IMG basemaps handling 2022-04-20 19:40:44 +02:00
c694c3e300 A (hopefully) complete path shape parsing fix
fixes #430
2022-04-19 22:17:19 +02:00
1458d66798 Fixed path shape parsing 2022-04-16 23:39:03 +02:00
b115c041be Do not recompute the adjacency info offset as we are lready there 2022-04-14 23:32:50 +02:00
ec06793a19 Code cleanup 2022-04-14 04:31:46 +02:00
53cdc86aa0 Improved error handling + code cleanup 2022-04-13 22:13:57 +02:00
82ea54cacc Added some more missing marine symbols 2022-04-12 23:44:57 +02:00
5041d935f0 Increase marinas rendering priority 2022-04-11 00:59:26 +02:00
8bc91c760a Only read the node offset when it is actually present 2022-04-08 00:23:45 +02:00
e3582cc5cf Added missing "Established direction of traffic flow" line 2022-04-04 23:17:46 +02:00
fc033826a1 Code cleanup 2022-04-04 22:27:57 +02:00
8cf4c474f2 Added missing buoy icons 2022-04-04 22:26:57 +02:00
2234245e81 Extend obstruction info 2022-04-03 21:20:21 +02:00
a5ae41f8ad Added pile symbol 2022-04-03 18:51:15 +02:00
576a063dcb Added support for depth points 2022-04-03 18:21:26 +02:00
a87838ea89 No-anchoring zone style 2022-03-27 16:21:52 +02:00
a4d68d85f9 Some more marine style stuff 2022-03-27 16:09:36 +02:00
77a3049d6d Extended marine style 2022-03-27 14:46:29 +02:00
d7a440f95d Some more missing marine style stuff 2022-03-27 00:43:52 +01:00
d58ec2377f Some more marine style improvements 2022-03-26 23:08:45 +01:00
81fe82d05f Extended nautical style 2022-03-26 20:36:48 +01:00
b2bcea5e78 Reintroduce the IMG icon padding
(but this time properly)
2022-03-26 17:20:16 +01:00
1e5f9c4fa0 Added basic marine chart style 2022-03-26 16:24:37 +01:00
5d2f1205cc Removed the extra padding breaking item location/ propper positioning 2022-03-26 16:22:51 +01:00
1385482689 Code cleanup 2022-03-25 19:28:32 +01:00
4561c71922 Fixed broken handling of maps with basemaps 2022-03-23 08:04:05 +01:00
78703f3651 Fixed broken subdivs parsing 2022-03-20 16:43:18 +01:00
fcfa03f771 Code cleanup 2022-03-19 13:25:47 +01:00
28a10ccb32 Use unbuffered I/O as we use our own buffering 2022-02-21 21:04:24 +01:00
22aa472dc3 Properly handle MBTiles maps with nonconsecutive zoom levels 2022-02-19 17:52:18 +01:00
e3d5fe2ec3 Fixed point text items bounds computation 2022-02-15 00:01:48 +01:00
70f0e8982b Generate propper IDs for pints with class labels 2022-02-07 00:59:38 +01:00
d4cceb0859 Code cleanup 2022-02-07 00:59:12 +01:00
36220dbc9c Improved error handling 2022-02-06 11:53:43 +01:00
6564c61b00 Yet another point class label parsing fix 2022-02-06 04:31:03 +01:00
f1e9983a58 Fixed broken points(points labels) parsing 2022-02-06 04:17:08 +01:00
5d6970c7ee Read/display extended (class) point labels 2022-02-06 02:42:37 +01:00
21b258809d Code cleanup/optimization 2022-02-05 12:37:14 +01:00
956e02404f Fixed position/motion info output in exports/printing 2022-02-03 22:48:45 +01:00
28bd3e49d1 Do not use m/ft fractions for vertical speed 2022-02-01 23:58:54 +01:00
606269fcc1 Use a sane precision for speed/bearing 2022-02-01 23:55:27 +01:00
65c2e25bc6 Added missing motion info units change 2022-02-01 23:54:59 +01:00
52b6ff697f Cosmetics 2022-01-27 00:32:52 +01:00
0b3e54abf2 A much better area Z-level algorithm
O(n^2) -> O(1)
2022-01-27 00:26:28 +01:00
1f0bd76f67 Handle the whole flags as flags, not as type + flags 2022-01-27 00:25:52 +01:00
69ebac9f5d Some more camera info fixes/improvements 2022-01-26 01:01:01 +01:00
6b2bb96be7 Fixed speed info parsing 2022-01-24 21:29:07 +01:00
a815bc762f Make it clear what are we trying to check here 2022-01-24 21:22:33 +01:00
2c770d3756 Check the image data size 2022-01-23 20:58:40 +01:00
e38772c9b6 Added default DEM download URL 2022-01-20 23:48:38 +01:00
d0e0ea32ab Prefer GPS positioning sources if available 2022-01-18 21:30:50 +01:00
76c2da9b50 Do not buffer the I/O as we are already reading in blocks 2022-01-14 00:13:40 +01:00
00a9adce1e Also ignore invalid dates in waypoint lines 2022-01-04 09:37:26 +01:00
c4e0ff6435 Ignore invalid dates
fixes #416
2022-01-03 23:21:55 +01:00
40616fb868 Do not load icons from the current directory when no symbols dir is set 2022-01-03 23:20:58 +01:00
c062a62014 Do not duplicate the suffixes in the formats list 2022-01-03 23:20:03 +01:00
a42280dec3 Parse waypoint symbols
+ fixed error handling
2021-12-24 15:09:19 +01:00
93377964d8 Properly sort the file types list 2021-12-24 14:46:37 +01:00
421ab19e7a Demangle waypoint names 2021-12-24 14:40:01 +01:00
f55e5d639d Fixed build with Qt < 5.14 2021-12-24 14:08:39 +01:00
321357b74d Added support for TwoNav data files (trk, rte, wpt)
Resolves #411
2021-12-24 13:43:23 +01:00
308ca9c702 Added missing image validity check
(invalid images cause a divide-by-zero error later in the code)
2021-12-06 22:58:49 +01:00
f5523b68a9 Fixed build with Qt < 5.14 2021-12-05 18:14:31 +01:00
3e0fb14a75 Fixed plugin parameters saving 2021-12-05 00:57:58 +01:00
fa55c6d93a Added positioning support 2021-12-04 15:05:30 +01:00
a4d91ef17a Added workaround for broken FIT files exported by Strava
Fixes #410
2021-11-27 10:41:39 +01:00
914b730a21 Fixed/improved header parsing 2021-11-15 21:31:45 +01:00
f63ee64f90 Added support for QCT maps 2021-11-14 15:08:33 +01:00
caae981c6a Code cleanup 2021-11-10 20:33:13 +01:00
de028cd2d4 Fixed broken bitstream parsing
+ refactoring
2021-11-09 23:11:45 +01:00
9bfc7e8b89 Properly read the sign bit 2021-11-08 22:10:36 +01:00
ca5b7d72c4 Optmization 2021-11-08 21:52:07 +01:00
3deae0c57b Cosmetics 2021-11-07 12:23:56 +01:00
7ddadf9811 Use a faster segment lookup (in case there are many segments)
+ remove the "overflow safe" index computations - we shall really not exceed
2^30 track points in a single track...
2021-11-07 12:11:53 +01:00
933ecffe93 Code cleanup 2021-11-04 23:01:33 +01:00
9eee3b456f Always show the POI labels in zooms > 25 2021-11-02 21:22:42 +01:00
3972bb25e0 Reuse the stream logic in the text decoder 2021-11-02 21:15:22 +01:00
310a113e25 Switched from fallback encodings to core5compat module in Qt6 builds
Archlinux has started to use the Qt6 build, so to support the legacy East Asian
encodings use the compat module rather than a "clean" but less functional
fallback solution and hope there will be some replacement in Qt6 before
the module gets dropped. Non-UTF XML files will however still not work.
2021-10-27 20:29:12 +02:00
f83e320f85 Handle the "bell delimiter" in all encodings 2021-10-27 18:01:53 +02:00
6b70f4a958 Use QTextCodec for conversions to UTF on Qt5
This way we can support East Asian encodings at least on Qt5 in some way
(the Qt codecs are not 100% compatible with the CPx encodings, but the result
should be much better than a fallback to cp1250...).
2021-10-25 10:30:09 +02:00
f810117cbe Added waypoint icons highlighting 2021-10-24 14:31:31 +02:00
7fe82b12fe Code cleanup 2021-10-24 12:56:09 +02:00
94e2d58805 Updated debug stuff 2021-10-24 12:30:31 +02:00
8046d06e32 Removed obsolete include/namespace 2021-10-23 23:07:28 +02:00
532bd39bc2 Reuse the symbol table decoder in the text decoder 2021-10-23 22:53:10 +02:00
c487d9c66b Make the table pointers const 2021-10-23 17:28:06 +02:00
37dddbb18c Code cleanup 2021-10-23 13:05:06 +02:00
37a4f80fbb Cosmetics 2021-10-23 10:27:41 +02:00
a531b7859b Added basic table data sanity checks
+ some more code cleanup
2021-10-23 07:41:27 +02:00
ccfda7ca7f Code cleanup 2021-10-22 22:04:46 +02:00
8e867851e9 Various GPI symbol handling fixes 2021-10-18 23:10:09 +02:00
5e36d564aa Added workaround for antipode routes
Fixes #155
2021-10-16 14:11:22 +02:00
6ffeefe9c9 Fixed scroll wheel zooming on devices with "fine-resolution wheels" 2021-10-15 19:24:50 +02:00
051f3fec58 Fixed error handling 2021-10-13 20:44:34 +02:00
9cd3f3c4a3 Fixed broken display of graphs with X-axis not starting at 0 2021-10-13 20:43:42 +02:00
57a5d4edf5 Added symbol icons path info 2021-10-11 22:05:56 +02:00
467e210581 Code cleanup 2021-10-11 22:02:24 +02:00
fb8f0c4372 Added support for waypoint icons 2021-10-10 08:38:38 +02:00
5fdbf2e5d6 Code cleanup 2021-10-10 08:14:38 +02:00
93c81c01c3 Remove obsolete header include 2021-10-04 21:03:48 +02:00
3cfa5456e9 Read the image size only when actually needed 2021-10-04 21:00:29 +02:00
06dac47550 Code cleanup 2021-10-04 20:03:39 +02:00
c364922625 Some more code cleanup 2021-10-03 11:08:26 +02:00
3338bfa73f Code cleanup 2021-10-03 00:16:59 +02:00
e1d4c2b532 Removed now obsolete hack 2021-10-02 21:09:30 +02:00
b14dd23224 Some more error checking improvements/fixes 2021-10-02 12:57:16 +02:00
288aa195c0 Added propper error checking 2021-10-02 12:23:12 +02:00
8d92cf6d86 The destructor still needs to be virtual 2021-10-02 11:59:11 +02:00
29705b4cdf Get rid of unnecessary virtual stuff 2021-10-02 09:24:00 +02:00
54db2a5a6c Don't use a map where an array is fully suficient and much faster 2021-09-30 20:26:36 +02:00
3d4adba90a Some more code cleanup 2021-09-30 20:26:16 +02:00
505d7271f1 Code cleanup 2021-09-29 19:52:39 +02:00
3c2b293deb Use something more usefull than the tile path as the description 2021-09-28 15:25:56 +02:00
2d5cf5478a Code cleanup 2021-09-28 12:47:14 +02:00
ce5a924e8f Fixed formal memory leak 2021-09-27 19:24:02 +02:00
2a7507ff25 Fixed form layout issue on OS X 2021-09-26 11:33:50 +02:00
134129e798 Fixed broken map/POI sub-menu entry insertion 2021-09-25 22:47:43 +02:00
91bc1f4546 Make it clear that only the selected map's cache will be dropped 2021-09-24 19:49:15 +02:00
28a71cbc39 Improved DEM coverage UX 2021-09-24 19:47:56 +02:00
8e2ff85aaa Added support for location files 2021-09-24 19:45:17 +02:00
7920f0f245 Added DEM data overview 2021-09-23 22:44:21 +02:00
c43b4060ca Removed obsolete include 2021-09-23 22:42:57 +02:00
c77cf70f9f Multiple settings handling fixes and enhancements 2021-09-22 20:29:48 +02:00
45dbb105c5 Enable DEM fetching for a single point 2021-09-21 22:07:22 +02:00
d7dc185ecf Only show the password on explicit user request 2021-09-20 21:58:08 +02:00
e47cbc9af3 Added missing namespace 2021-09-20 21:43:17 +02:00
11c83b405f Project structure cleanup 2021-09-17 23:45:12 +02:00
499461ff76 Code cleanup 2021-09-17 23:22:32 +02:00
fd65882907 Do not render tiles that will not be shown due to zoom in/out 2021-09-16 22:54:09 +02:00
b938e24d65 Do not check for insane numbers of DEM tiles 2021-09-04 10:02:24 +02:00
d50ab8607e Added some more shortcuts 2021-09-02 12:55:32 +02:00
3709a3feb5 Do not show the "Print" button in the toolbar on OS X
(As we are using buttons with text on OS X, the space is very limited)
2021-09-02 12:47:29 +02:00
a073c93e0d Removed debug stuff 2021-09-02 12:30:07 +02:00
f934df59e4 Some more options dialog polishing on OS X 2021-09-02 12:27:20 +02:00
c592be7cfd Use the static exists() functions that are faster according to the docs 2021-09-01 20:14:06 +02:00
34669b68f5 Code cleanup 2021-09-01 13:27:30 +02:00
7f6ac2e4c3 Improved DEM downloads handling logic 2021-09-01 13:08:34 +02:00
133aac3bd4 Windows/Linux optionsdialog polishing 2021-08-31 22:55:32 +02:00
22b691252f Fixed widget margins 2021-08-31 18:43:55 +02:00
302fe4d8e1 Improved Options UI on OS X 2021-08-31 18:25:30 +02:00
045dab6cdd Silenced QT6 warning 2021-08-31 18:23:10 +02:00
2232b011a1 Added support for downloading DEM tiles 2021-08-30 20:31:33 +02:00
94a0158243 Properly handle connection timeouts
(count timeout from last received data chunk, not for the whole download)
2021-08-29 20:28:08 +02:00
018d0ba085 Redesigned HTTP downloader
- Save the data as they come rather than at once
- + some related refactoring
2021-08-26 22:22:18 +02:00
d5a472ddc0 Cosmetics 2021-08-25 00:34:31 +02:00
09a6d8655e Code cleanup 2021-08-23 22:27:36 +02:00
814eceb82c Added support for ONmove 7xx series GHP files 2021-08-19 19:35:26 +02:00
8d8a31eef9 Cosmetics 2021-08-18 21:33:07 +02:00
221d1b3fdb Added support for OnMove OMD files 2021-08-18 21:29:28 +02:00
ab062cc3ff Improved handling of labels with separators 2021-08-16 09:00:36 +02:00
78e8b03d66 Code cleanup 2021-08-10 20:44:16 +02:00
82d2ac0871 Fixed layout centering 2021-08-08 11:07:53 +02:00
0b3e35db72 Fixed some possible corner case 2021-08-05 00:02:47 +02:00
933f2c3837 Rotate JPEG thumbnails acording to EXIF data
fixes #385
2021-08-04 08:57:42 +02:00
69cc6ccb75 Render symbols/labels for not rendered areas 2021-07-27 21:53:24 +02:00
f042f11eed Fixed rule evaluation logic 2021-07-27 21:52:37 +02:00
7676a21fc3 Some more file open logic fix/improvement 2021-07-22 00:32:36 +02:00
dc6a57338e Code cleanup 2021-07-22 00:31:57 +02:00
a53fedf838 Yet another unnecessary file open remove 2021-07-21 02:06:35 +02:00
3f3ccb6856 Cache the open file descriptors between successive raster loads 2021-07-19 22:51:00 +02:00
2ea16eaaab Do not open/close the data files when not accessing them 2021-07-19 22:47:44 +02:00
8bd08b31a3 Give the flags human readable names 2021-07-18 22:32:49 +02:00
29f9fb7a68 Some more error checking 2021-07-13 19:58:12 +02:00
b04ac5fae3 Some more style error checks 2021-07-13 19:43:29 +02:00
c5e1872c2e Fixed "float font sizes causing crash on style load" issue 2021-07-13 17:31:37 +02:00
199806a107 Change the open path on options change 2021-07-13 08:52:41 +02:00
b36aa057e8 Added missing placeholder text 2021-07-12 12:07:09 +02:00
d51b16b398 Added missing class forward declarations 2021-07-12 11:49:36 +02:00
5b3b7128f6 Added initial open file paths configuration 2021-07-12 00:21:21 +02:00
3644ed3b1f Do not count errored maps as areas 2021-07-11 12:54:45 +02:00
3d7e64a470 Removed the artificial POI zoom level limits 2021-07-09 07:56:35 +02:00
34e3e04e03 Improved error handling/reporting.
+ refactoring
2021-07-01 22:18:45 +02:00
f4d0c7f032 Remove all the remaining obscure micro-optimizations 2021-07-01 08:54:48 +02:00
0935ce45b6 Localization update/fix 2021-06-29 23:11:56 +02:00
2f6556dbb3 Remove the forced combobox style causing huge performance drawback 2021-06-29 21:34:00 +02:00
17ed28ebf7 Cosmetics 2021-06-28 23:48:02 +02:00
e9cd0963dc Finalize the projection combo box redesign 2021-06-28 23:47:20 +02:00
fa0f7f95d2 Improve map projections combo box creation time
(but make the combo box less user-friendly)
2021-06-27 22:19:19 +02:00
0dcfeeead1 Fixed error handling 2021-06-27 21:27:02 +02:00
c0c7e9046a Code cleanup 2021-06-27 16:00:27 +02:00
f5ea667f34 Improved error handling 2021-06-27 16:00:08 +02:00
1a3660ba2f Cosmetics 2021-06-22 07:42:48 +02:00
057c625283 Improve WKT parsing compatability 2021-06-21 23:35:31 +02:00
47d9eea1af Use propper basename in extension replace 2021-06-21 23:34:29 +02:00
3244dd675d Fixed QT6 build 2021-06-17 22:40:37 +02:00
319f1180f1 Cosmetics 2021-06-17 22:13:31 +02:00
ec5a1c7851 Added support for world file maps 2021-06-17 21:58:25 +02:00
811d41c26f Always check whether the file is at the end 2021-06-06 16:56:26 +02:00
d291320832 Allow "quoted" CSV files not ending with CRLF 2021-06-06 08:04:21 +02:00
7163441cb5 Fixed pixel align issue 2021-06-04 21:04:09 +02:00
8589716a59 A little bit more sane bitmask 2021-05-31 22:37:55 +02:00
aff4dc9408 Fixed lat/lon error checks 2021-05-29 23:14:26 +02:00
86993863c5 Make the fullscreen shortcut more standard
(+ fix Travis CI OS X build)
2021-05-29 00:17:53 +02:00
a53f20314f Improved/fixed data dir changes handling 2021-05-27 22:08:40 +02:00
d39bd296f6 Properly handle Mapsforge world maps 2021-05-27 22:07:09 +02:00
441ccc59d0 Added support for font-family style parameters 2021-05-27 22:06:14 +02:00
2748849032 Fixed rendering issues when digital zoom is active 2021-05-14 22:57:35 +02:00
0f48e7c137 Also accept broken ITN files generated by GPSBabel 2021-05-14 22:56:38 +02:00
f3c0ed3f7f Added workaround for broken IGC files created by XCSoar
closes #371
2021-05-14 22:47:09 +02:00
b9e3e81ac1 Added support for waypoint phone data
+ address waypoint data where missing
2021-05-12 21:58:46 +02:00
86e8ac71ee Added support for TomTom ITN files 2021-05-12 07:44:25 +02:00
5efd3d1e33 Propper entry text trim 2021-05-10 08:26:19 +02:00
14b884f61a Removed obsolete include 2021-05-09 22:40:24 +02:00
6a941566cb Added support for TomTom OV2 files 2021-05-09 22:39:39 +02:00
64aa44d09b Fixed "Show POI laels" setting 2021-05-09 22:36:37 +02:00
cbaecee4a8 Code cleanup 2021-05-09 22:35:05 +02:00