Changeset 405b85c


Ignore:
Timestamp:
Oct 11, 2009 10:51:43 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
960cd18
Parents:
92e323d
Message:

Cleanups after review and prep for release

Files:
14 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/Piece.java

    r92e323d r405b85c  
    2525        if (o instanceof Piece) {
    2626            if (o == null) return false;
    27             try {
    28                 return this.id == ((Piece)o).id;
    29             } catch (ClassCastException cce) {
    30                 return false;
    31             }
     27            return this.id == ((Piece)o).id;
    3228        }
    3329        return false;
  • apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java

    r92e323d r405b85c  
    593593                else
    594594                    client = "Unknown (" + ch + ')';
    595                 out.write("" + client + "&nbsp;&nbsp;" + peer.toString().substring(5, 9) + "");
     595                out.write(client + "&nbsp;&nbsp;" + peer.toString().substring(5, 9));
    596596                if (showDebug)
    597597                    out.write(" inactive " + (peer.getInactiveTime() / 1000) + "s");
     
    607607                    if (ps.length() > 5)
    608608                        ps = ps.substring(0, 5);
    609                     out.write("" + ps + "%");
     609                    out.write(ps + "%");
    610610                }
    611611                out.write("</td>\n\t");
     
    616616                    if (peer.isInteresting() && !peer.isChoked()) {
    617617                        out.write("<font color=#008000>");
    618                         out.write("" + formatSize(peer.getDownloadRate()) + "ps</font>");
     618                        out.write(formatSize(peer.getDownloadRate()) + "ps</font>");
    619619                    } else {
    620620                        out.write("<font color=#a00000><a title=\"");
     
    631631                    if (peer.isInterested() && !peer.isChoking()) {
    632632                        out.write("<font color=#008000>");
    633                         out.write("" + formatSize(peer.getUploadRate()) + "ps</font>");
     633                        out.write(formatSize(peer.getUploadRate()) + "ps</font>");
    634634                    } else {
    635635                        out.write("<font color=#a00000><a title=\"");
  • apps/routerconsole/java/src/net/i2p/router/web/ConfigUIHandler.java

    r92e323d r405b85c  
    2626            _context.router().setConfigSetting(CSSHelper.PROP_THEME_NAME, _config);
    2727        if (_context.router().saveConfig())
    28             addFormNotice("Theme change saved. <a href=\"configui.jsp\">Refresh the page</a> to actuate phase change.");
     28            addFormNotice("Theme change saved. <a href=\"configui.jsp\">Refresh the page</a> to view.");
    2929        else
    3030            addFormNotice("Error saving the configuration (applied but not saved) - please see the error logs.");
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java

    r92e323d r405b85c  
    383383                    buf.append("<td><img src=\"/themes/console/images/local_inprogress.png\" alt=\"Rebuilding&hellip;\" title=\"Leases expired ").append(DataHelper.formatDuration(0-timeToExpire));
    384384                    buf.append(" ago. Rebuilding&hellip;\"></td></tr>\n");                   
    385             } else {
     385                } else {
    386386                    // green light
    387387                    buf.append("<td><img src=\"/themes/console/images/local_up.png\" alt=\"Ready\" title=\"Ready\"></td></tr>\n");
     
    389389            } else {
    390390                // yellow light
    391                     buf.append("<td><img src=\"/themes/console/images/local_inprogress.png\" alt=\"Building&hellip;\" title=\"Tunnel building in progress&hellip;\"></td></tr>\n");
     391                buf.append("<td><img src=\"/themes/console/images/local_inprogress.png\" alt=\"Building&hellip;\" title=\"Tunnel building in progress&hellip;\"></td></tr>\n");
    392392            }
    393393        }
  • core/c/jbigi/build.sh

    r92e323d r405b85c  
    5555cd ../..
    5656
    57 I2P=~/i2p/i2p
     57I2P=~/i2p
    5858if [ ! -f $I2P/lib/i2p.jar ]
    5959then
  • core/java/src/net/i2p/stat/Rate.java

    r92e323d r405b85c  
    453453    }
    454454
     455    /**
     456     * It doesn't appear that Rates are ever stored in a Set or Map
     457     * (RateStat stores in an array) so let's make this easy.
     458     * We can always make something faster if it's actually used.
     459     */
    455460    @Override
    456461    public int hashCode() {
     462/*****
    457463        int hash = 5;
    458464        hash = 67 * hash + (int)(Double.doubleToLongBits(this._currentTotalValue) ^ (Double.doubleToLongBits(this._currentTotalValue) >>> 32));
     
    471477        hash = 67 * hash + (int)(this._period ^ (this._period >>> 32));
    472478        return hash;
     479******/
     480        return toString().hashCode();
    473481    }
    474482
  • history.txt

    r92e323d r405b85c  
     1* 2009-10-12  0.7.7 released
     2
     32009-10-11 zzz
     4    * Misc. cleanups after review, prep for release
     5
    162009-10-09 zzz
    27    * ElGamalEngine: Fix rare AIOOBE (thanks hottuna!)
  • initialNews.xml

    r92e323d r405b85c  
    1 <i2p.news date="$Date: 2009-07-31 00:00:00 $">
    2  <i2p.release version="0.7.6" date="2009/07/31" minVersion="0.6"/>
     1<i2p.news date="$Date: 2009-10-12 00:00:00 $">
     2 <i2p.release version="0.7.7" date="2009/10/12" minVersion="0.6"/>
    33<h4>Congratulations on getting I2P installed!</h4>
    44<ul>
  • installer/install.xml

    r92e323d r405b85c  
    55    <info>
    66        <appname>i2p</appname>
    7         <appversion>0.7.6</appversion>
     7        <appversion>0.7.7</appversion>
    88        <authors>
    99            <author name="I2P" email="http://forum.i2p2.de/"/>
  • news.xml

    r92e323d r405b85c  
    1 <i2p.news date="$Date: 2009-07-31 00:00:00 $">
    2  <i2p.release version="0.7.6" date="2009/07/31" minVersion="0.6"
     1<i2p.news date="$Date: 2009-10-12 00:00:00 $">
     2 <i2p.release version="0.7.7" date="2009/10/12" minVersion="0.6"
    33              anonurl="http://i2p/NF2RLVUxVulR3IqK0sGJR0dHQcGXAzwa6rEO4WAWYXOHw-DoZhKnlbf1nzHXwMEJoex5nFTyiNMqxJMWlY54cvU~UenZdkyQQeUSBZXyuSweflUXFqKN-y8xIoK2w9Ylq1k8IcrAFDsITyOzjUKoOPfVq34rKNDo7fYyis4kT5bAHy~2N1EVMs34pi2RFabATIOBk38Qhab57Umpa6yEoE~rbyR~suDRvD7gjBvBiIKFqhFueXsR2uSrPB-yzwAGofTXuklofK3DdKspciclTVzqbDjsk5UXfu2nTrC1agkhLyqlOfjhyqC~t1IXm-Vs2o7911k7KKLGjB4lmH508YJ7G9fLAUyjuB-wwwhejoWqvg7oWvqo4oIok8LG6ECR71C3dzCvIjY2QcrhoaazA9G4zcGMm6NKND-H4XY6tUWhpB~5GefB3YczOqMbHq4wi0O9MzBFrOJEOs3X4hwboKWANf7DT5PZKJZ5KorQPsYRSq0E3wSOsFCSsdVCKUGsAAAA/i2p/i2pupdate.sud"
    44              publicurl="http://dev.i2p.net/i2p/i2pupdate.sud"
     
    1111            publiclogs="http://www.i2p.net/meeting141" />
    1212<p>
    13 <h4><ul><li>2009-07-31: <b>0.7.6 <a href="http://www.i2p2.i2p/release-0.7.6.html">Released</a></b></li></ul></h4>
     13<h4><ul><li>2009-10-12: <b>0.7.7 <a href="http://www.i2p2.i2p/release-0.7.7.html">Released</a></b></li></ul></h4>
    1414</p><p>
    15 I2P version 0.7.6 contains additional fixes for network stability issues
    16 related to tunnel building and connection limits.
    17 While the 0.7.5 release greatly improved the congestion that
    18 appeared UTC evenings and weekends, it was not eliminated;
    19 this release should improve the situation further.
     15I2P version 0.7.7 contains several anonymity improvements.
     16The use of session keys for crypto was completely reworked,
     17and I2PSnark now uses its own tunnels for tracker communication.
     18Work continues on improving the router console,
     19including conformance to HTML standards and better support of UTF-8.
    2020</p><p>
    21 This version also has new console themes by dr|z3d,
    22 which may be selected on <a href="/configui.jsp">the new UI configuration page</a>.
    23 Sorry, the new themes are not available for IE browsers.
     21Work also continues on increasing speeds, both by reducing the
     22number of session keys transferred, by improving the
     23methods of dropping messages during overload, and by reducing
     24drops by high-bandwidth routers.
     25There is a new <a href="/configupdate.jsp">unsigned update option</a>
     26for those of you that would like automatic udpates to bleeding-edge development versions.
    2427</p><p>
    25 The default tunnel length variance is changed from 1 to 0.
    26 This mainly affects exploratory tunnels and iMule.
    27 <a href="http://zzz.i2p/topics/260">As explained on zzz.i2p</a>,
    28 a non-zero variance adds very little protection, at great cost
    29 in resources.
    30 Should you wish to reconfigure your exploratory settings back to the old variance of 1,
    31 or change to length 3 variance 0,
    32 you may do so on <a href="configtunnels.jsp">the config tunnels page</a>.
    33 iMule settings are best changed within that application.
    34 </p><p>
    35 I2P now stores temporary data in the system temp directory
    36 (generally /var/tmp on Linux and %TEMP% on Windows).
    37 For new installs only,
    38 user data is in $HOME/.i2p on Linux/Mac and
    39 %APPDATA%\I2P on Windows.
    40 </p><p>
    41 The release contains several changes to reduce resource usage
    42 (memory, CPU, and connections) and the usual assortment of bug fixes.
     28The release also contains several changes to reduce memory and CPU usage,
     29and a large assortment of bug fixes.
    4330Upgrading is recommended.
    44 </p><p>
    45 This is the first release built and signed by zzz.
    46 Thanks again to Complication for his many contributions to the project
    47 over the past five years.
    48 I2P is undergoing the most rapid development in years. Please give the
     31Please give the
    4932developers feedback on IRC #i2p or <a href="http://forum.i2p">forum.i2p</a>
    5033and <a href="http://www.i2p2.i2p/getinvolved.html">get involved</a>!
  • router/java/src/net/i2p/router/RouterVersion.java

    r92e323d r405b85c  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 26;
     21    public final static long BUILD = 0;
    2222    /** for example "-test" */
    23     public final static String EXTRA = "-rc";
     23    public final static String EXTRA = "";
    2424    public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
    2525    public static void main(String args[]) {
  • router/java/src/net/i2p/router/transport/udp/PeerTestManager.java

    r92e323d r405b85c  
    178178            } catch (UnknownHostException uhe) {
    179179                if (_log.shouldLog(Log.ERROR))
    180                     _log.error("Unable to get our IP from bob's reply: " + from + ", " + testInfo, uhe);
     180                    _log.error("Unable to get our IP (length " + ip.length +
     181                               ") from bob's reply: " + from + ", " + testInfo, uhe);
    181182            }
    182183        } else {
  • router/java/src/net/i2p/router/transport/udp/UDPTransport.java

    r92e323d r405b85c  
    4141 */
    4242public class UDPTransport extends TransportImpl implements TimedWeightedPriorityMessageQueue.FailedListener {
    43     private RouterContext _rContext;
    4443    private Log _log;
    4544    private UDPEndpoint _endpoint;
  • router/java/src/net/i2p/router/tunnel/TunnelGatewayZeroHop.java

    r92e323d r405b85c  
    1313 */
    1414public class TunnelGatewayZeroHop extends TunnelGateway {
    15     private RouterContext TunnelContext;
    16     private Log TunnelLog;
    1715    private TunnelCreatorConfig _config;
    1816    private OutboundMessageDistributor _outDistributor;
     
    2422    public TunnelGatewayZeroHop(RouterContext context, TunnelCreatorConfig config) {
    2523        super(context, null, null, null);
    26         TunnelContext = context;
    27         TunnelLog = context.logManager().getLog(TunnelGatewayZeroHop.class);
    2824        _config = config;
    2925        if (config.isInbound())
    30             _inDistributor = new InboundMessageDistributor(TunnelContext, config.getDestination());
     26            _inDistributor = new InboundMessageDistributor(context, config.getDestination());
    3127        else
    3228            _outDistributor = new OutboundMessageDistributor(context, 400);
     
    5450    @Override
    5551    public void add(I2NPMessage msg, Hash toRouter, TunnelId toTunnel) {
    56         if (TunnelLog.shouldLog(Log.DEBUG))
    57             TunnelLog.debug("zero hop gateway: distribute " + (_config.isInbound() ? "inbound " : " outbound ")
     52        if (_log.shouldLog(Log.DEBUG))
     53            _log.debug("zero hop gateway: distribute " + (_config.isInbound() ? "inbound " : " outbound ")
    5854                       + " to " + (toRouter != null ? toRouter.toBase64().substring(0,4) : "" )
    5955                       + "." + (toTunnel != null ? toTunnel.getTunnelId() + "" : "")
Note: See TracChangeset for help on using the changeset viewer.