JAL-3253 JAL-3032 upgrade to SwingJS-3.2.9.v1e complete
authorBobHanson <hansonr@stolaf.edu>
Sat, 4 Apr 2020 16:18:58 +0000 (11:18 -0500)
committerBobHanson <hansonr@stolaf.edu>
Sat, 4 Apr 2020 16:18:58 +0000 (11:18 -0500)
- random tests failing can be ignored (just thread timing issues)
  (AlignmentPanelTest and SeqCanvasTest). Problem is clearly from
  concurrent thread interference not likely to affect standard
  operation.

- branch can be deleted after merging.

src/jalview/gui/AlignViewport.java
src/jalview/viewmodel/ViewportRanges.java
swingjs/SwingJS-site.zip
swingjs/_j2sclasslist.txt
swingjs/timestamp
swingjs/ver/3.2.9/SwingJS-site.zip
swingjs/ver/3.2.9/_j2sclasslist.txt
swingjs/ver/3.2.9/timestamp

index 9e738c1..fb3ec3a 100644 (file)
@@ -49,7 +49,6 @@ import jalview.structure.StructureSelectionManager;
 import jalview.structure.VamsasSource;
 import jalview.util.MessageManager;
 import jalview.viewmodel.AlignmentViewport;
-import jalview.viewmodel.ViewportRanges;
 import jalview.ws.params.AutoCalcSetting;
 
 import java.awt.Container;
@@ -331,9 +330,6 @@ public class AlignViewport extends AlignmentViewport
     if (setGrid)
     {
       FontMetrics fm = c.getFontMetrics(font);
-      ViewportRanges.sTest += ("AlignViewport.setFont " + fm.getHeight()
-              + " "
-              + font + "\n");
       int ww = fm.charWidth('M');
       setCharHeight(fm.getHeight());
       setCharWidth(ww);
index 3d6bc3d..ec4165b 100644 (file)
@@ -23,8 +23,6 @@ package jalview.viewmodel;
 import jalview.datamodel.AlignmentI;
 import jalview.datamodel.HiddenColumns;
 
-import java.util.Arrays;
-
 /**
  * Supplies and updates viewport properties relating to position such as: start
  * and end residues and sequences; ideally will serve hidden columns/rows too.
@@ -78,25 +76,8 @@ public class ViewportRanges extends ViewportProperties
     this.al = alignment;
   }
 
-  public static String sTest = "";
-
   private void setEndSeqTest(int val)
   {
-    if (endSeq == val)
-    {
-      return;
-    }
-
-    String st = Thread.currentThread().toString();
-    sTest += "ViewPortRanges.setEndseqTest was " + endSeq + " now " + val
-            + " "
-            + st + "\n";
-    if (val == 13)
-    {
-      sTest += Arrays.toString(new NullPointerException().getStackTrace())
-              .replace(',', '\n')
-              + "\n";
-    }
     endSeq = val;
   }
   /**
index 67bc412..84ed137 100644 (file)
Binary files a/swingjs/SwingJS-site.zip and b/swingjs/SwingJS-site.zip differ
index e1d21f8..076f300 100644 (file)
@@ -350,7 +350,6 @@ swingjs/a2s/ScrollPane.js
 swingjs/a2s/TextArea.js
 swingjs/a2s/TextField.js
 swingjs/api/Interface.js
-swingjs/api/JSUtilI.js
 swingjs/api/js/DOMNode.js
 swingjs/api/js/HTML5CanvasContext2D.js
 swingjs/api/js/JSInterface.js
index 24b24d7..3603394 100644 (file)
@@ -1 +1 @@
-20200321133858 
+20200404111034 
index 67bc412..84ed137 100644 (file)
Binary files a/swingjs/ver/3.2.9/SwingJS-site.zip and b/swingjs/ver/3.2.9/SwingJS-site.zip differ
index e1d21f8..076f300 100644 (file)
@@ -350,7 +350,6 @@ swingjs/a2s/ScrollPane.js
 swingjs/a2s/TextArea.js
 swingjs/a2s/TextField.js
 swingjs/api/Interface.js
-swingjs/api/JSUtilI.js
 swingjs/api/js/DOMNode.js
 swingjs/api/js/HTML5CanvasContext2D.js
 swingjs/api/js/JSInterface.js
index 24b24d7..3603394 100644 (file)
@@ -1 +1 @@
-20200321133858 
+20200404111034