From 15a0dcf4d8106b093530fe5197bf77905e8a6c40 Mon Sep 17 00:00:00 2001 From: jrandom Date: Thu, 17 Feb 2005 22:57:53 +0000 Subject: [PATCH] (not yet tagging this 0.5, but I don't think there's anytihng left) 2005-02-17 jrandom * If the clock is adjusted during a job run, don't act as if the job took negative time. --- core/java/src/net/i2p/CoreVersion.java | 4 ++-- history.txt | 6 +++++- installer/install.xml | 2 +- readme.html | 2 +- router/java/src/net/i2p/router/JobQueue.java | 3 +++ router/java/src/net/i2p/router/RouterVersion.java | 6 +++--- 6 files changed, 15 insertions(+), 8 deletions(-) diff --git a/core/java/src/net/i2p/CoreVersion.java b/core/java/src/net/i2p/CoreVersion.java index a981f1832..b6b6aa70a 100644 --- a/core/java/src/net/i2p/CoreVersion.java +++ b/core/java/src/net/i2p/CoreVersion.java @@ -14,8 +14,8 @@ package net.i2p; * */ public class CoreVersion { - public final static String ID = "$Revision: 1.26.2.1 $ $Date: 2005/02/09 13:46:58 $"; - public final static String VERSION = "0.5-pre"; + public final static String ID = "$Revision: 1.27 $ $Date: 2005/02/16 17:23:50 $"; + public final static String VERSION = "0.5"; public static void main(String args[]) { System.out.println("I2P Core version: " + VERSION); diff --git a/history.txt b/history.txt index c544f9a97..65783cb87 100644 --- a/history.txt +++ b/history.txt @@ -1,4 +1,8 @@ -$Id: history.txt,v 1.144 2005/02/17 12:59:29 jrandom Exp $ +$Id: history.txt,v 1.145 2005/02/17 15:55:07 jrandom Exp $ + +2005-02-17 jrandom + * If the clock is adjusted during a job run, don't act as if the job took + negative time. 2005-02-17 jrandom * Included the GPL'ed susimail 0.13 by default (thanks susi23!) diff --git a/installer/install.xml b/installer/install.xml index 78650f17c..3d5a56686 100644 --- a/installer/install.xml +++ b/installer/install.xml @@ -4,7 +4,7 @@ i2p - 0.4.2.6 + 0.5 diff --git a/readme.html b/readme.html index 2d45824b9..d29c898cb 100644 --- a/readme.html +++ b/readme.html @@ -50,7 +50,7 @@ and they'll show up. Your eepsite's configuration page - if you want other people to see your eepsite, you need to give them that really huge string. Just paste it into the Eepsite announce forum, add it to -ugha's wiki, or paste it in the #i2p or #i2p-chat channels on +ugha's wiki, orion's list, or paste it in the #i2p or #i2p-chat channels on IRC (be sure to split it into two lines, as its too long for one).

Troubleshooting

diff --git a/router/java/src/net/i2p/router/JobQueue.java b/router/java/src/net/i2p/router/JobQueue.java index 99af844cb..c1d967382 100644 --- a/router/java/src/net/i2p/router/JobQueue.java +++ b/router/java/src/net/i2p/router/JobQueue.java @@ -499,6 +499,9 @@ public class JobQueue { MessageHistory hist = _context.messageHistory(); long uptime = _context.router().getUptime(); + if (lag < 0) lag = 0; + if (duration < 0) duration = 0; + JobStats stats = null; if (!_jobStats.containsKey(key)) { _jobStats.put(key, new JobStats(key)); diff --git a/router/java/src/net/i2p/router/RouterVersion.java b/router/java/src/net/i2p/router/RouterVersion.java index dd422a13c..e4faa8626 100644 --- a/router/java/src/net/i2p/router/RouterVersion.java +++ b/router/java/src/net/i2p/router/RouterVersion.java @@ -15,9 +15,9 @@ import net.i2p.CoreVersion; * */ public class RouterVersion { - public final static String ID = "$Revision: 1.140 $ $Date: 2005/02/16 23:08:35 $"; - public final static String VERSION = "0.5-pre"; - public final static long BUILD = 14; + public final static String ID = "$Revision: 1.141 $ $Date: 2005/02/17 12:59:28 $"; + public final static String VERSION = "0.5"; + public final static long BUILD = 0; public static void main(String args[]) { System.out.println("I2P Router version: " + VERSION); System.out.println("Router ID: " + RouterVersion.ID);