Changeset f56c804


Ignore:
Timestamp:
Oct 30, 2012 11:03:11 AM (8 years ago)
Author:
sponge <sponge@…>
Branches:
master
Children:
d92f5e6
Parents:
fb50f7a
Message:

cleanups as requested

Files:
17 edited

Legend:

Unmodified
Added
Removed
  • Slackware/i2p/i2p.SlackBuild

    rfb50f7a rf56c804  
    129129cd $PKG
    130130#
    131 # requiredbuilder fucks up REALLY bad, and thinks java is perl?!
     131# requiredbuilder messes up REALLY bad, and thinks java is perl?!
    132132# It also did not catch the shell requirements! BOOOOOOOOOOO! HISSSSSSSS!
    133133#
  • apps/BOB/Demos/echo/echoclient/src/net/i2p/BOB/Demos/echo/echoclient/Main.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    2416package net.i2p.BOB.Demos.echo.echoclient;
     
    5648                                break;
    5749                        }
    58                         c = (char)(b & 0x7f); // We only really give a fuck about ASCII
     50                        c = (char)(b & 0x7f); // We only care about ASCII
    5951                        S = new String(S + c);
    6052                }
  • apps/BOB/Demos/echo/echoserver/src/net/i2p/BOB/Demos/echo/echoserver/Main.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    2416package net.i2p.BOB.Demos.echo.echoserver;
     
    5345                                break;
    5446                        }
    55                         c = (char)(b & 0x7f); // We only really give a fuck about ASCII
     47                        c = (char)(b & 0x7f); // We only care about ASCII
    5648                        S = new String(S + c);
    5749                }
  • apps/BOB/src/net/i2p/BOB/BOB.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    2416package net.i2p.BOB;
  • apps/BOB/src/net/i2p/BOB/DoCMDS.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    2416package net.i2p.BOB;
  • apps/BOB/src/net/i2p/BOB/I2Plistener.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    2416package net.i2p.BOB;
  • apps/BOB/src/net/i2p/BOB/I2PtoTCP.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    2416package net.i2p.BOB;
  • apps/BOB/src/net/i2p/BOB/Lifted.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    2416package net.i2p.BOB;
  • apps/BOB/src/net/i2p/BOB/MUXlisten.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    2416package net.i2p.BOB;
     
    303295                        // Hopefully nuke stuff here...
    304296                        {
    305                                 String boner = tg.getName();
    306                                 try {
    307                                         _log.warn("destroySocketManager " + boner);
     297                                String groupName = tg.getName();
     298                                try {
     299                                        _log.warn("destroySocketManager " + groupName);
    308300                                        socketManager.destroySocketManager();
    309                                         _log.warn("destroySocketManager Successful" + boner);
     301                                        _log.warn("destroySocketManager Successful" + groupName);
    310302                                } catch (Exception e) {
    311303                                        // nop
    312                                         _log.warn("destroySocketManager Failed" + boner);
     304                                        _log.warn("destroySocketManager Failed" + groupName);
    313305                                        _log.warn(e.toString());
    314306                                }
     
    334326                        // Wait around till all threads are collected.
    335327                        if (tg != null) {
    336                                 String boner = tg.getName();
    337                                 // System.out.println("BOB: MUXlisten: Starting thread collection for: " + boner);
    338                                 _log.warn("BOB: MUXlisten: Starting thread collection for: " + boner);
     328                                String groupName = tg.getName();
     329                                // System.out.println("BOB: MUXlisten: Starting thread collection for: " + groupName);
     330                                _log.warn("BOB: MUXlisten: Starting thread collection for: " + groupName);
    339331                                if (tg.activeCount() + tg.activeGroupCount() != 0) {
    340                                         // visit(tg, 0, boner);
     332                                        // visit(tg, 0, groupName);
    341333                                        int foo = tg.activeCount() + tg.activeGroupCount();
    342334                                        // hopefully no longer needed!
    343335                                        // int bar = lives;
    344                                         // System.out.println("BOB: MUXlisten: Waiting on threads for " + boner);
    345                                         // System.out.println("\nBOB: MUXlisten: ThreadGroup dump BEGIN " + boner);
    346                                         // visit(tg, 0, boner);
    347                                         // System.out.println("BOB: MUXlisten: ThreadGroup dump END " + boner + "\n");
     336                                        // System.out.println("BOB: MUXlisten: Waiting on threads for " + groupName);
     337                                        // System.out.println("\nBOB: MUXlisten: ThreadGroup dump BEGIN " + groupName);
     338                                        // visit(tg, 0, groupName);
     339                                        // System.out.println("BOB: MUXlisten: ThreadGroup dump END " + groupName + "\n");
    348340                                        // Happily spin forever :-(
    349341                                        while (foo != 0) {
    350342                                                foo = tg.activeCount() + tg.activeGroupCount();
    351343                                                // if (lives != bar && lives != 0) {
    352                                                 //      System.out.println("\nBOB: MUXlisten: ThreadGroup dump BEGIN " + boner);
    353                                                 //      visit(tg, 0, boner);
    354                                                 //      System.out.println("BOB: MUXlisten: ThreadGroup dump END " + boner + "\n");
     344                                                //      System.out.println("\nBOB: MUXlisten: ThreadGroup dump BEGIN " + groupName);
     345                                                //      visit(tg, 0, groupName);
     346                                                //      System.out.println("BOB: MUXlisten: ThreadGroup dump END " + groupName + "\n");
    355347                                                // }
    356348                                                // bar = lives;
     
    362354                                        }
    363355                                }
    364                                 // System.out.println("BOB: MUXlisten: Threads went away. Success: " + boner);
    365                                 _log.warn("BOB: MUXlisten: Threads went away. Success: " + boner);
     356                                // System.out.println("BOB: MUXlisten: Threads went away. Success: " + groupName);
     357                                _log.warn("BOB: MUXlisten: Threads went away. Success: " + groupName);
    366358                                tg.destroy();
    367359                                // Zap reference to the ThreadGroup so the JVM can GC it.
  • apps/BOB/src/net/i2p/BOB/Main.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    2416package net.i2p.BOB;
  • apps/BOB/src/net/i2p/BOB/NamedDB.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    2416package net.i2p.BOB;
  • apps/BOB/src/net/i2p/BOB/TCPio.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    2416package net.i2p.BOB;
  • apps/BOB/src/net/i2p/BOB/TCPlistener.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    2416package net.i2p.BOB;
  • apps/BOB/src/net/i2p/BOB/TCPtoI2P.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    2416package net.i2p.BOB;
     
    9587                                break;
    9688                        }
    97                         c = (char) (b & 0x7f); // We only really give a fuck about ASCII
     89                        c = (char) (b & 0x7f); // We only care about ASCII
    9890                        S = new String(S + c);
    9991                }
  • apps/BOB/src/net/i2p/BOB/UDPIOthread.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    2416package net.i2p.BOB;
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPBidirProxy.java

    rfb50f7a rf56c804  
    11/**
    2  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     2 *                    WTFPL
    33 *                    Version 2, December 2004
    44 *
    55 * Copyright (C) sponge
    66 *   Planet Earth
    7  * Everyone is permitted to copy and distribute verbatim or modified
    8  * copies of this license document, and changing it is allowed as long
    9  * as the name is changed.
    10  *
    11  *            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
    12  *   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    13  *
    14  *  0. You just DO WHAT THE FUCK YOU WANT TO.
    157 *
    168 * See...
     
    2012 *      http://en.wikipedia.org/wiki/WTFPL
    2113 *
    22  * ...for any additional details and liscense questions.
     14 * ...for any additional details and license questions.
    2315 */
    24 
    2516package net.i2p.i2ptunnel;
    2617
  • history.txt

    rfb50f7a rf56c804  
     12012-10-30 sponge
     2 * cleanups as requested
     3
    142012-10-28 zzz
    25 * Addresses:
Note: See TracChangeset for help on using the changeset viewer.