diff --git a/images/NPDS-Tracker-Top.gif b/images/NPDS-Tracker-Top.gif index bba6336..45441f6 100755 Binary files a/images/NPDS-Tracker-Top.gif and b/images/NPDS-Tracker-Top.gif differ diff --git a/images/NPDS-bg-Top.gif b/images/NPDS-bg-Top.gif index 4359066..4781eb5 100755 Binary files a/images/NPDS-bg-Top.gif and b/images/NPDS-bg-Top.gif differ diff --git a/images/Newton-NPDS.gif b/images/Newton-NPDS.gif index afb7d19..e3b5c95 100755 Binary files a/images/Newton-NPDS.gif and b/images/Newton-NPDS.gif differ diff --git a/images/Tab-About-on.gif b/images/Tab-About-on.gif index 67a0043..5927e33 100755 Binary files a/images/Tab-About-on.gif and b/images/Tab-About-on.gif differ diff --git a/images/Tab-About.gif b/images/Tab-About.gif index dc585b3..6b573bf 100755 Binary files a/images/Tab-About.gif and b/images/Tab-About.gif differ diff --git a/images/Tab-Git-on.gif b/images/Tab-Git-on.gif index e951142..3423f5e 100755 Binary files a/images/Tab-Git-on.gif and b/images/Tab-Git-on.gif differ diff --git a/images/Tab-GitHub.gif b/images/Tab-GitHub.gif index 07afe9b..d1a7940 100755 Binary files a/images/Tab-GitHub.gif and b/images/Tab-GitHub.gif differ diff --git a/images/Tab-List-on.gif b/images/Tab-List-on.gif index 76ef615..b78a634 100755 Binary files a/images/Tab-List-on.gif and b/images/Tab-List-on.gif differ diff --git a/images/Tab-List.gif b/images/Tab-List.gif index 61b7bd2..cb2583d 100755 Binary files a/images/Tab-List.gif and b/images/Tab-List.gif differ diff --git a/images/Tab-Newton.gif b/images/Tab-Newton.gif index 1544b32..54263ea 100755 Binary files a/images/Tab-Newton.gif and b/images/Tab-Newton.gif differ diff --git a/images/Tab-Shared-on.gif b/images/Tab-Shared-on.gif index 8c73d1b..f803d37 100755 Binary files a/images/Tab-Shared-on.gif and b/images/Tab-Shared-on.gif differ diff --git a/images/Tab-Shared.gif b/images/Tab-Shared.gif index a327d36..e5688f3 100755 Binary files a/images/Tab-Shared.gif and b/images/Tab-Shared.gif differ diff --git a/images/Tab-Twitter-on.gif b/images/Tab-Twitter-on.gif index 10aab64..62a25e6 100755 Binary files a/images/Tab-Twitter-on.gif and b/images/Tab-Twitter-on.gif differ diff --git a/images/Tab-Twitter.gif b/images/Tab-Twitter.gif index 8514955..c49ff53 100755 Binary files a/images/Tab-Twitter.gif and b/images/Tab-Twitter.gif differ diff --git a/images/WorldMap-AppleNewton.gif b/images/WorldMap-AppleNewton.gif index b8f092c..6ffacf3 100644 Binary files a/images/WorldMap-AppleNewton.gif and b/images/WorldMap-AppleNewton.gif differ diff --git a/images/WorldMap-UNNA.gif b/images/WorldMap-UNNA.gif index d83f19a..0472acf 100644 Binary files a/images/WorldMap-UNNA.gif and b/images/WorldMap-UNNA.gif differ diff --git a/images/WorldMap-newtonrulez.gif b/images/WorldMap-newtonrulez.gif index 96ca8fe..8c1321f 100755 Binary files a/images/WorldMap-newtonrulez.gif and b/images/WorldMap-newtonrulez.gif differ diff --git a/images/WorldMap.gif b/images/WorldMap.gif index 49b6eec..8ad4e10 100755 Binary files a/images/WorldMap.gif and b/images/WorldMap.gif differ diff --git a/npdstracker.java b/npdstracker.java index 9e4bade..6a61d19 100644 --- a/npdstracker.java +++ b/npdstracker.java @@ -27,11 +27,11 @@ public class npdstracker // Version Information public static final String serverdesc = "NPDS Tracker Server for Java"; - public static final int majorversion = 0; - public static final int minorversion = 1; - public static final int build = 39; + public static final int majorversion = 2; + public static final int minorversion = 0; + public static final int build = 1; public static final int protocolversion = 1; - public static final String versionStr = majorversion + "." + minorversion + "." + build + " R2"; + public static final String versionStr = majorversion + "." + minorversion + "." + build; public static final String kServerStr = "Victor Rehorst's NPDS Tracker Server " + versionStr; public static final String kUserAgentStr = "Mozilla/5.0 (compatible; " + kServerStr + "; Java)"; @@ -463,10 +463,9 @@ private static void ParseOptionsFile(String optionsfile) throws FileNotFoundExce while (true) { try { garbage = st.nextToken(); - int thePort = Integer.parseInt(garbage); - // Add that port to the list. - kPort.addElement(new Integer(thePort)); + Integer thePort = Integer.valueOf(garbage); + kPort.addElement(thePort); logMessage("Port found: " + thePort); } catch (NoSuchElementException aNSEE) { break; @@ -678,7 +677,7 @@ private npdstracker(String tempcmdfile, String tempoptionsfile) { // Default values for options. kPort = new Vector(); - kPort.addElement(new Integer(DEFAULT_PORT)); + kPort.addElement(Integer.valueOf(DEFAULT_PORT)); if (!(tempoptionsfile.equals(""))) ParseOptionsFile(tempoptionsfile); diff --git a/readme.md b/readme.md index 9413b01..c8f8d8e 100644 --- a/readme.md +++ b/readme.md @@ -15,7 +15,7 @@ Looking for support? Join the [NPDS mailing list](http://npds.free.fr/list/). ### Java 1.3 or later -The current release of the NPDS Tracker Server has been tested with Java SE (Standard Edition) versions 1.4, 5, 6 and 8. It will also work with versions earlier than 1.3, but it is not recommended. See the [Basic Set Up](#basic-set-up) section for more information. +The current release of the NPDS Tracker Server has been tested with Java SE (Standard Edition) versions 1.4, 5, 6, 8 and 10. It will also work with versions earlier than 1.3, but it is not recommended. See the [Basic Set Up](#basic-set-up) section for more information. The Java SE runtime can be downloaded from [Oracle](http://www.oracle.com/technetwork/java/javase/). @@ -586,6 +586,11 @@ Coming soon. ## Version History +### 2.0.1 (April 2018) ++ [PPG] Fix compile errors for Java 10 ++ [SP] Update map images and CSS + + ### 0.1.39 Release 2 (January 2017) + [SP] New 2017 html/css template for NPDS Tracker diff --git a/template.css b/template.css index 82d74a4..b47b8d8 100755 --- a/template.css +++ b/template.css @@ -172,18 +172,18 @@ ul li:last-child:after { } .up { - background-color: #dcf8d8; + background-color: #f0fff0; } .up td:first-child { - background-color: #dcf8d8; + background-color: #f0fff0; background-image: url(images/On-Up.gif); background-repeat: no-repeat; background-position: left; } .up td:last-child { - background-color: #dcf8d8; + background-color: #f0fff0; background-image: url(images/Icon-Up.gif); background-repeat: no-repeat; background-position: right; @@ -209,6 +209,7 @@ tr { height: 30px; } th { + /* background-color: #222; */ border-left-width: 0; border-right-width: 0; color: #fff; diff --git a/template.html b/template.html index bbc9d4d..0bee65c 100755 --- a/template.html +++ b/template.html @@ -78,7 +78,7 @@

More informations on npds.free.fr: