Skip to content

Commit

Permalink
Updates and Revision Change to version 2.0.1
Browse files Browse the repository at this point in the history
+ [PPG] Fix compile errors for Java 10
+ [SP] Update map images and CSS
  • Loading branch information
pgeremia committed Apr 24, 2018
1 parent d1da36d commit cc86e76
Show file tree
Hide file tree
Showing 22 changed files with 18 additions and 13 deletions.
Binary file modified images/NPDS-Tracker-Top.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/NPDS-bg-Top.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Newton-NPDS.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Tab-About-on.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Tab-About.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Tab-Git-on.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Tab-GitHub.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Tab-List-on.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Tab-List.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Tab-Newton.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Tab-Shared-on.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Tab-Shared.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Tab-Twitter-on.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/Tab-Twitter.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/WorldMap-AppleNewton.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/WorldMap-UNNA.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/WorldMap-newtonrulez.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/WorldMap.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 7 additions & 8 deletions npdstracker.java
Original file line number Diff line number Diff line change
Expand Up @@ -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)";

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -678,7 +677,7 @@ private npdstracker(String tempcmdfile, String tempoptionsfile)
{
// Default values for options.
kPort = new Vector<Integer>();
kPort.addElement(new Integer(DEFAULT_PORT));
kPort.addElement(Integer.valueOf(DEFAULT_PORT));

if (!(tempoptionsfile.equals("")))
ParseOptionsFile(tempoptionsfile);
Expand Down
7 changes: 6 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).

Expand Down Expand Up @@ -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

Expand Down
7 changes: 4 additions & 3 deletions template.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -209,6 +209,7 @@ tr {
height: 30px;
}
th {
/* background-color: #222; */
border-left-width: 0;
border-right-width: 0;
color: #fff;
Expand Down
2 changes: 1 addition & 1 deletion template.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ <h3>More informations on npds.free.fr:</h3>

<div id="footer">
<a href="http://npds.free.fr/" target="_blank">NPDS</a> Copyright &copy; Matt Vaughn, Paul Guyot, Victor Rehorst, Grant Hutchinson, Josh Burker, &amp; all.<br>
This Newton NPDS Tracker Server is offered by <tracker-name/> | Design Copyright &copy; 2006-2017 Sylvain Pilet.
This Newton NPDS Tracker Server is offered by <tracker-name/> | Design Copyright &copy; 2006-2018 Sylvain Pilet.
</div>
</div>
</div> <!-- fin de Global -->
Expand Down

0 comments on commit cc86e76

Please sign in to comment.