Changeset 15915 in josm


Ignore:
Timestamp:
2020-02-23T19:11:30+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #13108 - see #18350 - registers *.geojson, *.jos, *.joz files on all platforms

Linux references:

Location:
trunk
Files:
6 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/linux/latest/usr/share/applications/org.openstreetmap.josm-latest.desktop

    r15283 r15915  
    88Exec=josm-latest %U
    99Terminal=false
    10 MimeType=application/x-osm+xml;application/x-gpx+xml;x-scheme-handler/geo;
     10MimeType=application/x-osm+xml;application/x-gpx+xml;application/geo+json;application/x-josm-session+xml;application/x-josm-session+zip;x-scheme-handler/geo;
    1111StartupNotify=true
    1212Categories=Education;Geoscience;Maps;
  • trunk/linux/latest/usr/share/doc/josm-latest/copyright

    r8317 r15915  
    1 Copyright (c) 2005-2015 JOSM developers <josm-dev@openstreetmap.org>
     1Copyright (c) 2005-2020 JOSM developers <josm-dev@openstreetmap.org>
    22
    33License: GPL3+
  • trunk/linux/tested/usr/share/applications/org.openstreetmap.josm.desktop

    r15283 r15915  
    88Exec=josm %U
    99Terminal=false
    10 MimeType=application/x-osm+xml;application/x-gpx+xml;x-scheme-handler/geo;
     10MimeType=application/x-osm+xml;application/x-gpx+xml;application/geo+json;application/x-josm-session+xml;application/x-josm-session+zip;x-scheme-handler/geo;
    1111StartupNotify=true
    1212Categories=Education;Geoscience;Maps;
  • trunk/linux/tested/usr/share/doc/josm/copyright

    r8317 r15915  
    1 Copyright (c) 2005-2015 JOSM developers <josm-dev@openstreetmap.org>
     1Copyright (c) 2005-2020 JOSM developers <josm-dev@openstreetmap.org>
    22
    33License: GPL3+
  • trunk/macosx/JOSM.app/Contents/Info.plist_template.xml

    r15550 r15915  
    3131        </dict>
    3232    </dict>
     33    <!-- Export JOSM session file format UTI (*.jos) -->
     34    <dict>
     35        <key>UTTypeIdentifier</key>
     36        <string>org.openstreetmap.josm.jos</string>
     37        <key>UTTypeDescription</key>
     38        <string>JOS File</string>
     39        <key>UTTypeIconFile</key>
     40        <string>JOSM.icns</string>
     41        <key>UTTypeConformsTo</key>
     42        <array>
     43            <string>public.xml</string>
     44        </array>
     45        <key>UTTypeTagSpecification</key>
     46        <dict>
     47            <key>com.apple.ostype</key>
     48            <string>JOSM</string>
     49            <key>public.filename-extension</key>
     50            <array>
     51                <string>jos</string>
     52            </array>
     53            <key>public.mime-type</key>
     54            <string>application/x-josm-session+xml</string>
     55        </dict>
     56    </dict>
    3357    <!-- Export JOSM session file format UTI (*.joz) -->
    3458    <dict>
     
    5175                <string>joz</string>
    5276            </array>
     77            <key>public.mime-type</key>
     78            <string>application/x-josm-session+zip</string>
    5379        </dict>
    5480    </dict>
     
    148174        </array>
    149175    </dict>
     176    <!-- Registers opening *.jos files -->
     177    <dict>
     178        <key>CFBundleTypeIconFile</key>
     179        <string>JOSM.icns</string>
     180        <key>CFBundleTypeName</key>
     181        <string>JOS Files</string>
     182        <key>CFBundleTypeRole</key>
     183        <string>Editor</string>
     184        <key>LSHandlerRank</key>
     185        <string>Owner</string>
     186        <key>LSItemContentTypes</key>
     187        <array>
     188            <string>org.openstreetmap.josm.jos</string>
     189        </array>
     190    </dict>
    150191    <!-- Registers opening *.joz files -->
    151192    <dict>
  • trunk/windows/josm.nsi

    r13479 r15915  
    344344        StrCpy $R0 ".osm"
    345345        Call Associate
     346        StrCpy $R0 ".geojson"
     347        Call Associate
    346348        StrCpy $R0 ".gpx"
     349        Call Associate
     350        StrCpy $R0 ".jos"
     351        Call Associate
     352        StrCpy $R0 ".joz"
    347353        Call Associate
    348354; if somethings added here, add it also to the uninstall section
     
    402408        StrCpy $R0 ".osm"
    403409        Call un.unlink
     410        StrCpy $R0 ".geojson"
     411        Call un.unlink
    404412        StrCpy $R0 ".gpx"
     413        Call un.unlink
     414        StrCpy $R0 ".jos"
     415        Call un.unlink
     416        StrCpy $R0 ".joz"
    405417        Call un.unlink
    406418pop $R0
Note: See TracChangeset for help on using the changeset viewer.