Author: bdonlan
Date: 2005-01-08 20:49:40 -0500 (Sat, 08 Jan 2005)
New Revision: 556

Added:
   trunk/misc/javer/TODO
Modified:
   /
   trunk/misc/javer/src/javer/JaverUIPanel.java
   trunk/web/Makefile
   trunk/web/applet.thtml
   trunk/web/bin/validator.sh
Log:
 [EMAIL PROTECTED]:  bdonlan | 2005-01-09T01:34:08.955310Z
 Adding a TODO
 [EMAIL PROTECTED]:  bdonlan | 2005-01-09T01:48:25.124146Z
 Make bin/validator.sh executable, and explicitly call sh in the Makefile for 
those using svk.
 [EMAIL PROTECTED]:  bdonlan | 2005-01-09T01:49:00.391079Z
 Add some autojoin channels
 [EMAIL PROTECTED]:  bdonlan | 2005-01-09T01:49:11.452777Z
 Add support for autojoin




Property changes on: 
___________________________________________________________________
Name: svk:merge
   - 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local:11285
   + 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local:11293

Added: trunk/misc/javer/TODO
===================================================================
--- trunk/misc/javer/TODO       2005-01-09 01:26:43 UTC (rev 555)
+++ trunk/misc/javer/TODO       2005-01-09 01:49:40 UTC (rev 556)
@@ -0,0 +1,6 @@
+Major planned features:
+* Message and error format strings (including timestamps)
+* Logging and menus for standalone client
+* SSL!
+* Colors
+* POKE lagchecking

Modified: trunk/misc/javer/src/javer/JaverUIPanel.java
===================================================================
--- trunk/misc/javer/src/javer/JaverUIPanel.java        2005-01-09 01:26:43 UTC 
(rev 555)
+++ trunk/misc/javer/src/javer/JaverUIPanel.java        2005-01-09 01:49:40 UTC 
(rev 556)
@@ -14,18 +14,22 @@
  */
 public class JaverUIPanel extends java.awt.Panel {
     
-    Client cli = null;
-    String host = null;
-    String uid = null;
-    int port = 7070;
-    Map commands = new HashMap();
-    Map tabs = new HashMap();
-    Map channelTabs = new HashMap();
-    Map userTabs = new HashMap();
-    Map tabToPair = new HashMap();
-    TabPair serverTabPair = new TabPair();
-    SimpleTextTab serverTab = new SimpleTextTab();
+    protected Client cli = null;
+    protected String host = null;
+    protected String uid = null;
+    protected int port = 7070;
+    protected Map commands = new HashMap();
+    protected Map tabs = new HashMap();
+    protected Map channelTabs = new HashMap();
+    protected Map userTabs = new HashMap();
+    protected Map tabToPair = new HashMap();
+    protected TabPair serverTabPair = new TabPair();
+    protected SimpleTextTab serverTab = new SimpleTextTab();
     
+    protected Client spawnClient() {
+        return new Client();
+    }
+    
     /** Creates new form JaverUIPanel */
     public JaverUIPanel(String hostname, int port) {
         this.host = hostname;
@@ -116,7 +120,7 @@
         }
 
         protected void eventIdenting() throws java.io.IOException {
-            putServer("Connected, logging in...");
+            putServer("Logging in...");
             super.eventIdenting();
         }
 
@@ -352,11 +356,11 @@
         if (cli == null) {
             putServer("Connecting...");
             status.setText("Connecting...");
-            cli = new Client();
+            cli = spawnClient();
             try {
                 cli.connect(uid = input.getText(), host, port);
                 input.setText("");
-                putServer("Connected, logging in...");
+                putServer("Connected...");
                 return;
             } catch (IOException e) {
                 putServer("Failed: " + e.getLocalizedMessage());
@@ -380,7 +384,7 @@
         // TODO add your handling code here:
     }//GEN-LAST:event_inputActionPerformed
     
-    private void putServer(String s) {
+    protected void putServer(String s) {
         serverTab.putText(s);
     }
     

Modified: trunk/web/Makefile
===================================================================
--- trunk/web/Makefile  2005-01-09 01:26:43 UTC (rev 555)
+++ trunk/web/Makefile  2005-01-09 01:49:40 UTC (rev 556)
@@ -25,7 +25,7 @@
 FIX      = ./bin/fixhtml
 RSYNC    = rsync
 TIDY     = tidy
-VALIDATE = ./bin/validator.sh
+VALIDATE = /bin/sh ./bin/validator.sh
 TAR      = tar
 SFUSER   = $(shell cat ~/.sfuser)
 

Modified: trunk/web/applet.thtml
===================================================================
(Binary files differ)


Property changes on: trunk/web/bin/validator.sh
___________________________________________________________________
Name: svn:executable
   + *


Reply via email to