diff --git a/gpxsee.pro b/gpxsee.pro index 3e9341de..f5d5db48 100644 --- a/gpxsee.pro +++ b/gpxsee.pro @@ -433,7 +433,13 @@ macx { icons/formats/json.icns \ icons/formats/cup.icns \ icons/formats/gpi.icns \ - icons/formats/sml.icns + icons/formats/sml.icns \ + icons/formats/img.icns \ + icons/formats/jnx.icns \ + icons/formats/kap.icns \ + icons/formats/mbts.icns \ + icons/formats/rmap.icns \ + icons/formats/tba.icns QMAKE_BUNDLE_DATA += locale maps icons csv } @@ -453,7 +459,14 @@ win32 { icons/formats/json.ico \ icons/formats/cup.ico \ icons/formats/gpi.ico \ - icons/formats/sml.ico + icons/formats/sml.ico \ + icons/formats/img.ico \ + icons/formats/jnx.ico \ + icons/formats/kap.ico \ + icons/formats/map.ico \ + icons/formats/mbts.ico \ + icons/formats/rmap.ico \ + icons/formats/tba.ico DEFINES += _USE_MATH_DEFINES \ NOGDI } diff --git a/icons/formats/img.icns b/icons/formats/img.icns new file mode 100644 index 00000000..43ed320d Binary files /dev/null and b/icons/formats/img.icns differ diff --git a/icons/formats/img.ico b/icons/formats/img.ico new file mode 100644 index 00000000..25ba3c1c Binary files /dev/null and b/icons/formats/img.ico differ diff --git a/icons/formats/jnx.icns b/icons/formats/jnx.icns new file mode 100644 index 00000000..19db4dea Binary files /dev/null and b/icons/formats/jnx.icns differ diff --git a/icons/formats/jnx.ico b/icons/formats/jnx.ico new file mode 100644 index 00000000..004eb930 Binary files /dev/null and b/icons/formats/jnx.ico differ diff --git a/icons/formats/kap.icns b/icons/formats/kap.icns new file mode 100644 index 00000000..78ec1a35 Binary files /dev/null and b/icons/formats/kap.icns differ diff --git a/icons/formats/kap.ico b/icons/formats/kap.ico new file mode 100644 index 00000000..4a1d47e5 Binary files /dev/null and b/icons/formats/kap.ico differ diff --git a/icons/formats/map.icns b/icons/formats/map.icns new file mode 100644 index 00000000..505757f7 Binary files /dev/null and b/icons/formats/map.icns differ diff --git a/icons/formats/map.ico b/icons/formats/map.ico new file mode 100644 index 00000000..c54cc9e2 Binary files /dev/null and b/icons/formats/map.ico differ diff --git a/icons/formats/mbts.icns b/icons/formats/mbts.icns new file mode 100644 index 00000000..3ee6c68d Binary files /dev/null and b/icons/formats/mbts.icns differ diff --git a/icons/formats/mbts.ico b/icons/formats/mbts.ico new file mode 100644 index 00000000..55333c99 Binary files /dev/null and b/icons/formats/mbts.ico differ diff --git a/icons/formats/rmap.icns b/icons/formats/rmap.icns new file mode 100644 index 00000000..51d6bc2f Binary files /dev/null and b/icons/formats/rmap.icns differ diff --git a/icons/formats/rmap.ico b/icons/formats/rmap.ico new file mode 100644 index 00000000..d7e32789 Binary files /dev/null and b/icons/formats/rmap.ico differ diff --git a/icons/formats/scripts/extensions b/icons/formats/scripts/extensions index 7cdaa12c..5a83c196 100644 --- a/icons/formats/scripts/extensions +++ b/icons/formats/scripts/extensions @@ -13,3 +13,10 @@ slf:#881199 cup:#20a810 gpi:#fca314 sml:#6434eb +img:#cf0a0a +jnx:#aeff00 +kap:#080045 +map:#f6ff00 +mbts:#ff0062 +rmap:#145cba +tba:#367050 diff --git a/icons/formats/tba.icns b/icons/formats/tba.icns new file mode 100644 index 00000000..676a3a84 Binary files /dev/null and b/icons/formats/tba.icns differ diff --git a/icons/formats/tba.ico b/icons/formats/tba.ico new file mode 100644 index 00000000..39bc6914 Binary files /dev/null and b/icons/formats/tba.ico differ diff --git a/pkg/Info.plist b/pkg/Info.plist index 2b863724..7592bb65 100644 --- a/pkg/Info.plist +++ b/pkg/Info.plist @@ -42,7 +42,7 @@ CFBundleTypeMIMETypes - application/tcx+xml + application/vnd.garmin.tcx+xml CFBundleTypeIconFile icons/tcx.icns @@ -74,7 +74,7 @@ CFBundleTypeMIMETypes - application/loc+xml + application/vnd.groundspeak.loc+xml CFBundleTypeIconFile icons/loc.icns @@ -90,7 +90,7 @@ CFBundleTypeMIMETypes - application/slf+xml + application/vnd.sigma.slf+xml CFBundleTypeIconFile icons/slf.icns @@ -250,7 +250,7 @@ CFBundleTypeMIMETypes - application/sml+xml + application/vnd.suunto.sml+xml CFBundleTypeIconFile icons/sml.icns @@ -259,6 +259,193 @@ CFBundleTypeRole Viewer + + CFBundleTypeExtensions + + jpeg + jpg + + CFBundleTypeMIMETypes + + image/jpeg + + CFBundleTypeName + JPEG Image + CFBundleTypeRole + Viewer + + + CFBundleTypeExtensions + + csv + + CFBundleTypeMIMETypes + + text/csv + + CFBundleTypeName + Comma-Separated Values (CSV) Files + CFBundleTypeRole + Viewer + + + CFBundleTypeExtensions + + img + + CFBundleTypeMIMETypes + + application/vnd.garmin.img + + CFBundleTypeIconFile + icons/img.icns + CFBundleTypeName + Garmin IMG Map + CFBundleTypeRole + Viewer + + + CFBundleTypeExtensions + + gmap + gmapi + + CFBundleTypeMIMETypes + + application/vnd.garmin.gmap + + CFBundleTypeIconFile + icons/img.icns + CFBundleTypeName + Garmin Map Product File + CFBundleTypeRole + Viewer + + + CFBundleTypeExtensions + + jnx + + CFBundleTypeMIMETypes + + application/vnd.garmin.jnx + + CFBundleTypeIconFile + icons/jnx.icns + CFBundleTypeName + Garmin JNX Map + CFBundleTypeRole + Viewer + + + CFBundleTypeExtensions + + kap + + CFBundleTypeMIMETypes + + application/vnd.maptech.kap + + CFBundleTypeIconFile + icons/kap.icns + CFBundleTypeName + BSB Nautical Charts + CFBundleTypeRole + Viewer + + + CFBundleTypeExtensions + + map + + CFBundleTypeMIMETypes + + application/vnd.oziexplorer.map + + CFBundleTypeIconFile + icons/map.icns + CFBundleTypeName + OziExplorer Map File + CFBundleTypeRole + Viewer + + + CFBundleTypeExtensions + + rmap + rtmap + + CFBundleTypeMIMETypes + + application/vnd.twonav.rmap + + CFBundleTypeIconFile + icons/rmap.icns + CFBundleTypeName + TwoNav Raster Map File + CFBundleTypeRole + Viewer + + + CFBundleTypeExtensions + + tba + + CFBundleTypeMIMETypes + + application/vnd.trekbuddy.tba + + CFBundleTypeIconFile + icons/tba.icns + CFBundleTypeName + TrekBuddy Atlas + CFBundleTypeRole + Viewer + + + CFBundleTypeExtensions + + mbtiles + + CFBundleTypeMIMETypes + + application/vnd.mapbox.mbtiles + + CFBundleTypeIconFile + icons/mbts.icns + CFBundleTypeName + MBTiles Map File + CFBundleTypeRole + Viewer + + + CFBundleTypeExtensions + + tiff + + CFBundleTypeMIMETypes + + image/tiff + + CFBundleTypeName + GeoTIFF Image + CFBundleTypeRole + Viewer + + + CFBundleTypeExtensions + + xml + + CFBundleTypeMIMETypes + + application/vnd.gpxsee.map+xml + + CFBundleTypeName + GPXSee Map Definition File + CFBundleTypeRole + Viewer + UTImportedTypeDeclarations @@ -302,7 +489,7 @@ tcx public.mime-type - application/tcx+xml + application/vnd.garmin.tcx+xml @@ -344,7 +531,7 @@ loc public.mime-type - application/loc+xml + application/vnd.groundspeak.loc+xml @@ -365,7 +552,7 @@ slf public.mime-type - application/slf+xml + application/vnd.sigma.slf+xml @@ -575,7 +762,269 @@ sml public.mime-type - application/sml+xml + application/vnd.suunto.sml+xml + + + + UTTypeIdentifier + public.jpeg + UTTypeReferenceURL + http://www.w3.org/Graphics/JPEG/ + UTTypeDescription + JPEG Image + UTTypeConformsTo + + public.image + public.data + + UTTypeTagSpecification + + public.filename-extension + + jpeg + jpg + + public.mime-type + image/jpeg + + + + UTTypeIdentifier + public.csv + UTTypeReferenceURL + https://tools.ietf.org/html/rfc4180 + UTTypeDescription + Comma-Separated Values (CSV) Files + UTTypeConformsTo + + public.data + + UTTypeTagSpecification + + public.filename-extension + + csv + + public.mime-type + text/csv + + + + UTTypeIdentifier + com.garmin.img + UTTypeReferenceURL + https://sourceforge.net/projects/garmin-img/ + UTTypeDescription + Garmin IMG map + UTTypeConformsTo + + public.data + + UTTypeTagSpecification + + public.filename-extension + + img + + public.mime-type + application/vnd.garmin.img + + + + UTTypeIdentifier + com.garmin.jnx + UTTypeReferenceURL + http://whiter.brinkster.net/en/JNX.shtml + UTTypeDescription + Garmin JNX Map + UTTypeConformsTo + + public.data + + UTTypeTagSpecification + + public.filename-extension + + jnx + + public.mime-type + application/vnd.garmin.jnx + + + + UTTypeIdentifier + com.garmin.gmap + UTTypeReferenceURL + https://sourceforge.net/projects/garmin-img/ + UTTypeDescription + Garmin Map Product File + UTTypeConformsTo + + public.xml + + UTTypeTagSpecification + + public.filename-extension + + xml + + public.mime-type + application/vnd.garmin.gmap + + + + UTTypeIdentifier + com.maptech.kap + UTTypeReferenceURL + http://libbsb.sourceforge.net/bsb_file_format.html + UTTypeDescription + BSB Nautical Charts + UTTypeConformsTo + + public.image + public.data + + UTTypeTagSpecification + + public.filename-extension + + kap + + public.mime-type + image/vnd.maptech.kap + + + + UTTypeIdentifier + com.oziexplorer3.map + UTTypeReferenceURL + https://www.oziexplorer3.com/eng/help/map_file_format.html + UTTypeDescription + OziExplorer Map File + UTTypeConformsTo + + public.data + + UTTypeTagSpecification + + public.filename-extension + + map + + public.mime-type + application/vnd.oziexplorer.map + + + + UTTypeIdentifier + com.mapbox.mbtiles + UTTypeReferenceURL + https://github.com/mapbox/mbtiles-spec + UTTypeDescription + MBTiles Map File + UTTypeConformsTo + + public.data + + UTTypeTagSpecification + + public.filename-extension + + mbtiles + + public.mime-type + application/vnd.mapbox.mbtiles + + + + UTTypeIdentifier + com.twonav.rmap + UTTypeReferenceURL + https://wiki.openstreetmap.org/wiki/TwoNav_RMAP + UTTypeDescription + TwoNav Raster Map File + UTTypeConformsTo + + public.data + + UTTypeTagSpecification + + public.filename-extension + + rmap + rtmap + + public.mime-type + application/vnd.twonav.rmap + + + + UTTypeIdentifier + net.trekbuddy.tba + UTTypeReferenceURL + https://github.com/kruhc/trekbuddy + UTTypeDescription + TrekBuddy Atlas + UTTypeConformsTo + + public.data + + UTTypeTagSpecification + + public.filename-extension + + tba + + public.mime-type + application/vnd.trekbuddy.tba + + + + UTTypeIdentifier + public.tiff + UTTypeReferenceURL + https://www.adobe.io/open/standards/TIFF.html + UTTypeDescription + TIFF Image + UTTypeConformsTo + + public.image + public.data + + UTTypeTagSpecification + + public.filename-extension + + tiff + tif + + public.mime-type + image/tiff + + + + + UTExportedTypeDeclarations + + + UTTypeIdentifier + org.gpxsee.map + UTTypeReferenceURL + http://www.gpxsee.org/map/1.4/ + UTTypeDescription + GPXSee Map Definition File + UTTypeConformsTo + + public.xml + + UTTypeTagSpecification + + public.filename-extension + + xml + + public.mime-type + application/vnd.gpxsee.map+xml diff --git a/pkg/gpxsee.nsi b/pkg/gpxsee.nsi index f65ab702..9fab5f6f 100644 --- a/pkg/gpxsee.nsi +++ b/pkg/gpxsee.nsi @@ -109,14 +109,14 @@ Section "GPXSee" SEC_APP ; Associate file formats DetailPrint "Associating file types..." - !insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 8 - !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 9 - !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 10 - !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 11 - !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 12 - !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 13 - !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 14 - !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 15 + !insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 11 + !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 16 + !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 17 + !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 18 + !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 19 + !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 20 + !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 21 + !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 22 !insertmacro FILE_ASSOCIATION_ADD "wpt" "OziExplorer Waypoint File" 1 !insertmacro FILE_ASSOCIATION_ADD "loc" "Geocaching.com Waypoint File" 2 !insertmacro FILE_ASSOCIATION_ADD "slf" "Sigma Log File" 3 @@ -124,6 +124,13 @@ Section "GPXSee" SEC_APP !insertmacro FILE_ASSOCIATION_ADD "cup" "SeeYou CUP File" 5 !insertmacro FILE_ASSOCIATION_ADD "gpi" "Garmin POI File" 6 !insertmacro FILE_ASSOCIATION_ADD "sml" "Suunto Markup Language" 7 + !insertmacro FILE_ASSOCIATION_ADD "img" "Garmin IMG Map" 8 + !insertmacro FILE_ASSOCIATION_ADD "jnx" "Garmin JNX Map" 9 + !insertmacro FILE_ASSOCIATION_ADD "kap" "BSB Nautical Chart" 10 + !insertmacro FILE_ASSOCIATION_ADD "map" "OziExplorer Map File" 12 + !insertmacro FILE_ASSOCIATION_ADD "mbtiles" "MBTiles Map File" 13 + !insertmacro FILE_ASSOCIATION_ADD "rmap" "TwoNav Raster Map File" 14 + !insertmacro FILE_ASSOCIATION_ADD "tba" "TrekBuddy Atlas" 15 WriteRegStr HKCR "Applications\GPXSee.exe\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\"" WriteRegStr HKCR ".gpx\OpenWithList" "GPXSee.exe" "" @@ -260,6 +267,13 @@ Section "Uninstall" !insertmacro FILE_ASSOCIATION_REMOVE "cup" !insertmacro FILE_ASSOCIATION_REMOVE "gpi" !insertmacro FILE_ASSOCIATION_REMOVE "sml" + !insertmacro FILE_ASSOCIATION_REMOVE "img" + !insertmacro FILE_ASSOCIATION_REMOVE "jnx" + !insertmacro FILE_ASSOCIATION_REMOVE "kap" + !insertmacro FILE_ASSOCIATION_REMOVE "map" + !insertmacro FILE_ASSOCIATION_REMOVE "mbtiles" + !insertmacro FILE_ASSOCIATION_REMOVE "rmap" + !insertmacro FILE_ASSOCIATION_REMOVE "tba" DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe" DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe" diff --git a/pkg/gpxsee64.nsi b/pkg/gpxsee64.nsi index 59729a0b..95c1bf9d 100644 --- a/pkg/gpxsee64.nsi +++ b/pkg/gpxsee64.nsi @@ -116,14 +116,14 @@ Section "GPXSee" SEC_APP ; Associate file formats DetailPrint "Associating file types..." - !insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 8 - !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 9 - !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 10 - !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 11 - !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 12 - !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 13 - !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 14 - !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 15 + !insertmacro FILE_ASSOCIATION_ADD "gpx" "GPS Exchange Format" 11 + !insertmacro FILE_ASSOCIATION_ADD "tcx" "Training Center XML" 16 + !insertmacro FILE_ASSOCIATION_ADD "kml" "Keyhole Markup Language" 17 + !insertmacro FILE_ASSOCIATION_ADD "fit" "Flexible and Interoperable Data Transfer" 18 + !insertmacro FILE_ASSOCIATION_ADD "igc" "Flight Recorder Data Format" 19 + !insertmacro FILE_ASSOCIATION_ADD "nmea" "NMEA 0183 Data" 20 + !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track Point File" 21 + !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 22 !insertmacro FILE_ASSOCIATION_ADD "wpt" "OziExplorer Waypoint File" 1 !insertmacro FILE_ASSOCIATION_ADD "loc" "Geocaching.com Waypoint File" 2 !insertmacro FILE_ASSOCIATION_ADD "slf" "Sigma Log File" 3 @@ -131,6 +131,13 @@ Section "GPXSee" SEC_APP !insertmacro FILE_ASSOCIATION_ADD "cup" "SeeYou CUP File" 5 !insertmacro FILE_ASSOCIATION_ADD "gpi" "Garmin POI File" 6 !insertmacro FILE_ASSOCIATION_ADD "sml" "Suunto Markup Language" 7 + !insertmacro FILE_ASSOCIATION_ADD "img" "Garmin IMG Map" 8 + !insertmacro FILE_ASSOCIATION_ADD "jnx" "Garmin JNX Map" 9 + !insertmacro FILE_ASSOCIATION_ADD "kap" "BSB Nautical Chart" 10 + !insertmacro FILE_ASSOCIATION_ADD "map" "OziExplorer Map File" 12 + !insertmacro FILE_ASSOCIATION_ADD "mbtiles" "MBTiles Map File" 13 + !insertmacro FILE_ASSOCIATION_ADD "rmap" "TwoNav Raster Map File" 14 + !insertmacro FILE_ASSOCIATION_ADD "tba" "TrekBuddy Atlas" 15 WriteRegStr HKCR "Applications\GPXSee.exe\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\"" WriteRegStr HKCR ".gpx\OpenWithList" "GPXSee.exe" "" @@ -268,6 +275,13 @@ Section "Uninstall" !insertmacro FILE_ASSOCIATION_REMOVE "cup" !insertmacro FILE_ASSOCIATION_REMOVE "gpi" !insertmacro FILE_ASSOCIATION_REMOVE "sml" + !insertmacro FILE_ASSOCIATION_REMOVE "img" + !insertmacro FILE_ASSOCIATION_REMOVE "jnx" + !insertmacro FILE_ASSOCIATION_REMOVE "kap" + !insertmacro FILE_ASSOCIATION_REMOVE "map" + !insertmacro FILE_ASSOCIATION_REMOVE "mbtiles" + !insertmacro FILE_ASSOCIATION_REMOVE "rmap" + !insertmacro FILE_ASSOCIATION_REMOVE "tba" DeleteRegValue HKCR ".gpx\OpenWithList" "GPXSee.exe" DeleteRegValue HKCR ".tcx\OpenWithList" "GPXSee.exe" @@ -332,4 +346,4 @@ LangString DESC_LOCALIZATION ${LANG_ENGLISH} \ !insertmacro MUI_DESCRIPTION_TEXT ${SEC_MSVC} $(DESC_MSVC) !insertmacro MUI_DESCRIPTION_TEXT ${SEC_APP} $(DESC_APP) !insertmacro MUI_DESCRIPTION_TEXT ${SEC_LOCALIZATION} $(DESC_LOCALIZATION) -!insertmacro MUI_FUNCTION_DESCRIPTION_END \ No newline at end of file +!insertmacro MUI_FUNCTION_DESCRIPTION_END