1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00
Commit Graph

1753 Commits

Author SHA1 Message Date
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
2e2fee560f Switched to Qt5 signal/slot API 2021-04-28 00:01:07 +02:00
9f3917b0f2 Fixed crash when loading Trekbuddy atlases or Garmin GMAP as map dirs. 2021-04-25 10:00:15 +02:00
d33bcd1e55 Also read subsequent spatial indexes on the same level 2021-04-24 05:17:12 +02:00
3c8ac118ae propper hidpi icon scaling 2021-04-18 18:10:23 +02:00
663859ef1c Improved mapsforge hi-dpi rendering 2021-04-18 12:20:07 +02:00
a4e39a98c0 Improved area labels rendering 2021-04-17 13:23:53 +02:00
c29acb1aea Only do the layered painting for areas 2021-04-17 00:43:00 +02:00
cdd5c47da3 Only shift the top left corner 2021-04-16 22:56:34 +02:00
b65682a828 Fixed/improved label rendering 2021-04-15 23:11:47 +02:00
f1396b6eff Do not touch the pixmap outside the painter 2021-04-15 09:40:31 +02:00
ce6f03de73 Layer rendering issue fix + optimization 2021-04-14 22:03:06 +02:00
f97f33f111 Some more build fix 2021-04-13 22:56:10 +02:00
0a04869f05 Fixed build on some Qt versions 2021-04-13 22:23:27 +02:00
071056b9bc Optimization 2021-04-13 20:30:27 +02:00
a42709e6a2 Added polygon labels rendering 2021-04-11 11:37:43 +02:00
f2585486b6 Only use the wildcard compare where it should be used
+ QT6 build fix
2021-04-10 15:49:48 +02:00
44a5e5de81 Added support for Mapsforge maps 2021-04-10 15:27:40 +02:00
5e6003ad8f Fixed cut&paste error 2021-04-05 11:40:17 +02:00
8079e827a0 Added options to select/unselect all POI files 2021-03-21 22:40:39 +01:00
98e30fe930 RTrees can not be copyied! 2021-03-21 21:23:00 +01:00
80d54bda58 Code cleanup 2021-03-21 21:04:26 +01:00
2d329e65ee Preserve directory structure when loading the POIs
+ POI files handling optimization
2021-03-21 20:23:20 +01:00
ce0d50e4aa Yet another CRS URI format (used by Swisstopo) 2021-03-20 23:06:09 +01:00
659cf4cc7a Preserve directory structure when loading the maps 2021-03-20 09:59:03 +01:00
8196b96f65 Fixed error handling 2021-03-19 20:09:11 +01:00
a4648020d9 Code cleanup 2021-03-19 09:12:42 +01:00
0a87c06b0d Optimization 2021-03-19 08:42:20 +01:00
fa1025ea15 Improved areas rendering performance 2021-03-09 23:21:10 +01:00
cdc71e2856 Do not repeatedly compute the areas bounds 2021-03-07 11:58:21 +01:00
68f67425c3 Properly reset the last graph tab 2021-03-06 12:19:18 +01:00
ddc0e60517 Graphtab->mapview connections can be permanent
(no need to recreate them on every graph change)
2021-02-23 23:12:14 +01:00
48dcc6655b Yet another place with broken graph tab index 2021-02-23 22:55:22 +01:00
f0be0d6774 Fixed broken path<->graph binding setup
fixes #348
2021-02-23 22:35:59 +01:00
e5d5c06a0e Fine-tune OS X fullscreen layout 2021-02-21 10:00:42 +01:00
4f73150e3e Improved Full-screen layout 2021-02-19 19:36:26 +01:00
c6fb231186 Properly save/restore window geometry
Fixes #328
2021-02-19 19:31:54 +01:00
7e41069cde Fixed broken marker date when time graphs are selected 2021-02-15 23:52:10 +01:00
c8e2baba68 A better handling of missing/invalid dates 2021-02-13 23:44:48 +01:00
b458c53be4 sqlite -> SQLite 2021-02-13 10:19:17 +01:00
e5de4dd5be Add Coordinates display option to position info
+ Data menu redesign
Closes #343
2021-02-12 22:41:38 +01:00
a2390ae26f A much more sane raster tabel load... 2021-02-10 21:26:26 +01:00
af3b41cc92 Localization update 2021-02-09 22:51:19 +01:00
0929e9a692 Added support for sqlitedb maps (Locus, OsmAnd, RMaps) 2021-02-09 21:05:23 +01:00
c4599e6c4c Fixed AQM maps display with "world-level" tiles
+ code cleanup
2021-02-09 20:09:14 +01:00
946f30f696 A little bit more sane feature check 2021-02-09 20:06:11 +01:00
de064c7ea1 Code cleanup after recent SubFile redesign 2021-02-08 19:54:14 +01:00
a8a613468e Do not show empty popups 2021-02-08 19:53:24 +01:00
ed6a81c9e7 Properly fix the areas crash 2021-02-08 19:52:48 +01:00
0cd18c0927 Fixed crash when there is no graph in the data 2021-02-08 00:55:27 +01:00
145a46686e Propper error checking 2021-02-07 11:53:10 +01:00
065d52d98b Propper error handling 2021-02-07 11:46:03 +01:00
d769ec4f06 Propper error handling 2021-02-07 11:43:30 +01:00
1830c038f3 Fixed assignment instead of compare 2021-02-07 09:08:28 +01:00
f2e91f4a6b Fixed date background rendering issue 2021-02-06 15:43:20 +01:00
a369a1689d Added position date display option
Closes #330
2021-02-06 15:23:02 +01:00
c82e97b1ca Code cleanup 2021-02-05 21:58:34 +01:00
86c6fa7b03 Added support for AlpineQuest AQM maps 2021-02-04 23:22:16 +01:00
5cec192a1c Removed BOM 2021-02-03 23:34:03 +01:00
f73097af86 Cosmetics 2021-02-03 23:15:52 +01:00
2f740d5b8e Code cleanup 2021-02-03 22:56:30 +01:00
b9c1c6c6cf Fixed block read algorithm 2021-02-03 22:49:06 +01:00
731f2d7e6d Added an optimized subfile block read 2021-02-03 22:16:00 +01:00
d2a1271348 Optimization 2021-02-01 20:06:05 +01:00
47b6c9d116 Code cleanup 2021-01-31 14:54:21 +01:00
97dbfb163b Scale the painter, not the images for performance reasons 2021-01-31 10:30:06 +01:00
33f2002a52 Do not cache the raster data 2021-01-27 21:18:06 +01:00
02c3682758 Added propper error handling 2021-01-25 23:01:36 +01:00
bf613f1b6d Added support for raster polygon backgrounds 2021-01-25 21:37:07 +01:00
2e10c609f4 Fixed crash on empty paths
Fixes #339
2021-01-23 18:24:58 +01:00
cd571f4662 Removed surplus conversions 2021-01-23 15:15:29 +01:00
9386fa587c Rather do not hover on the secondary graphs 2021-01-18 00:36:52 +01:00
9a459dc365 Properly handle the marker when there are multiple tracks 2021-01-18 00:18:52 +01:00
f697c6b693 Removed unused include 2021-01-17 19:36:38 +01:00
6d8ccd2216 Unified path -> name conversion 2021-01-17 19:33:06 +01:00
3033bc680d Includes cleanup 2021-01-17 18:39:57 +01:00
591560c0eb Improved graph slider and path marker handling
+ related refactoring
2021-01-17 16:02:37 +01:00
7217f9acfc Cosmetics 2021-01-15 06:44:31 +01:00
925ddffba5 Remove accidently added BOM 2021-01-11 23:41:44 +01:00
14a9c0a8cb A little bit more sane binary search 2021-01-11 23:38:46 +01:00
cb8c19a2bc Yet another retype for MSVC/qt6 2021-01-11 00:30:52 +01:00
f4ee36a173 Silence Qt6 MSVC warning 2021-01-10 16:17:19 +01:00
ae1e357fb7 See if this silences MSVC2019... 2021-01-10 15:42:29 +01:00
1468528a62 Try to silence some more MSVC warnings 2021-01-10 15:21:00 +01:00
a568efadd2 Silence MSVC warning 2021-01-10 15:03:32 +01:00
815071fc55 Use propper qHash return values on Qt6 2021-01-10 13:23:43 +01:00
1b842ab2f0 Fixed crash on invalid KMZ maps 2021-01-05 20:56:40 +01:00
f7b44b64b0 Fixed broken graph info layout 2021-01-01 12:51:39 +01:00
c3f345c7f9 Added support for ZIPed DEM files 2020-12-31 14:03:30 +01:00
7e39a34d0e Fixed typo 2020-12-30 09:26:26 +01:00
cf4f9b6f98 Fixed digital zoom on OS X 2020-12-29 18:36:23 +01:00
9b3ed7ef1d Fixed Qt6 Release build 2020-12-29 15:17:31 +01:00
bafbb825fc Fixed TimeZoneInfo QVariant loading/saving in QT6 2020-12-28 16:08:36 +01:00
6201ba1c67 Cosmetics 2020-12-28 14:42:16 +01:00
85d6357cb9 Added missing HiDPI mode support 2020-12-28 14:05:51 +01:00
08fc8ff6c4 Fixed cut&paste error 2020-12-27 00:15:41 +01:00
0ae55e1511 Improved projection settings layout 2020-12-27 00:14:28 +01:00
4f22c50510 Properly handle return values 2020-12-27 00:00:59 +01:00
b12eef7366 Use a better data descriptions 2020-12-26 14:45:38 +01:00
821790fa91 Code cleanup 2020-12-26 14:30:18 +01:00
336f3741d8 Cosmetics 2020-12-26 00:40:57 +01:00
977ba58570 Fixed typo 2020-12-25 09:13:11 +01:00
dde8e9a22c Make the source projection of JNX and KMZ maps selectable 2020-12-24 16:33:17 +01:00
07894f3a55 Various KMZ map fixes 2020-12-23 23:05:12 +01:00
86dd6ed772 Fixed typos 2020-12-22 22:50:46 +01:00
d01a5a7e42 Added support for KMZ maps 2020-12-22 22:32:07 +01:00
97bea8c56c Added support for Qt6
Removed support for Qt4 and Qt5 < 5.12
2020-12-22 22:09:09 +01:00
7d8dcec88b Try to break even less bounding box transformations 2020-12-14 22:06:59 +01:00
561d8362a9 Fixed projection comparison 2020-12-14 22:04:50 +01:00
239e571358 Provide propper map bounds for overviews 2020-12-13 19:40:09 +01:00
4cef089c81 A more robust RectC to RectD algorithm 2020-12-12 10:19:48 +01:00
22fb6071f7 Refactoring 2020-12-10 22:02:09 +01:00
0f03ef4af7 Yet another map load crash fix 2020-12-10 01:09:23 +01:00
743a937f41 Fixed crashing async map loading
fixes #331
2020-12-09 23:07:05 +01:00
e76e7b71ed Check for duplicit map loads 2020-12-08 21:29:20 +01:00
4bad086152 Enable maps drag&drop 2020-12-08 01:12:39 +01:00
7584116168 Removed cut&paste remains 2020-12-08 00:59:18 +01:00
59b734c402 Cosmetics 2020-12-08 00:58:01 +01:00
74796e3e41 Only trigger the last maploaded 2020-12-06 23:31:45 +01:00
10e1b5c4fb Open map files passed as program arguments
closes #327
2020-12-06 19:17:09 +01:00
07fa377e38 Remove the weired file lists copies
It used to be written in the Qt4 documentation to iterate over a copy, but
there is aparently no real reason doing that...
2020-12-06 13:03:32 +01:00
2b8c3f64ac Only trigger the last loaded map 2020-12-06 12:53:39 +01:00
c2e50e5213 Use a smooth digital zoom 2020-12-06 00:11:47 +01:00
e63ad7a244 Make the maps submenus work with large amount of items 2020-12-05 12:25:59 +01:00
abd1dc2450 Added support for polyconic projections 2020-12-04 00:25:57 +01:00
547d7a5f23 Fix the POI search algorithm
(At least so, that it does not trigger the rtree assert. The whole RectC logic
has to be fixed to properly handle poles/dateline "overflows")
2020-12-03 21:12:41 +01:00
9e03d85b7a Fixed actions logic 2020-12-03 20:58:22 +01:00
acd09400be Localization update 2020-12-03 00:10:24 +01:00
9e70a1ffbb Added the "Load map dir" feature 2020-12-02 23:58:11 +01:00