Ignore:
Timestamp:
2006-05-03T22:21:02+02:00 (18 years ago)
Author:
imi
Message:
  • added zoom/move around with Ctrl+direction keys / Ctrl +, Ctrl -
  • added progress bar counter of downloaded bytes
  • added support for little-osm (relaxed assumptions about osm/xml input format)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/actions/UploadAction.java

    r99 r101  
    4444                }
    4545               
    46                 String osmDataServer = Main.pref.get("osm-server.url");
    47                 //TODO: Remove this in later versions (temporary only)
    48                 if (osmDataServer.endsWith("/0.2") || osmDataServer.endsWith("/0.2/")) {
    49                         int answer = JOptionPane.showConfirmDialog(Main.parent,
    50                                         "You seem to have an outdated server entry in your preferences.\n" +
    51                                         "\n" +
    52                                         "As of JOSM Release 1.2, you must no longer specify the API version in\n" +
    53                                         "the osm url. For the OSM standard server, use http://www.openstreetmap.org/api" +
    54                                         "\n" +
    55                                         "Fix settings and continue?", "Outdated server url detected.", JOptionPane.YES_NO_OPTION);
    56                         if (answer != JOptionPane.YES_OPTION)
    57                                 return;
    58                         int cutPos = osmDataServer.endsWith("/0.2") ? 4 : 5;
    59                         Main.pref.put("osm-server.url", osmDataServer.substring(0, osmDataServer.length()-cutPos));
    60                 }
    61 
    6246                if (!Main.map.conflictDialog.conflicts.isEmpty()) {
    6347                        JOptionPane.showMessageDialog(Main.parent, "There are unresolved conflicts. You have to resolve these first.");
Note: See TracChangeset for help on using the changeset viewer.