jalview.git
5 years agoDesktop JavaDoc comments for Mungo from gitter discussion
hansonr [Sun, 6 Oct 2019 06:53:02 +0000 (08:53 +0200)]
Desktop JavaDoc comments for Mungo from gitter discussion

5 years agoJAL-3451 older embedding test html removed
hansonr [Sun, 6 Oct 2019 06:51:50 +0000 (08:51 +0200)]
JAL-3451 older embedding test html removed

Current test is site/jalview_embedded_example1.html

5 years agoJAL-3444 SwingJS-site.zip fix and renderer.seqfeatures fixes
hansonr [Tue, 1 Oct 2019 21:36:04 +0000 (23:36 +0200)]
JAL-3444 SwingJS-site.zip fix and renderer.seqfeatures fixes

- BufferedImage implements Image.flush() to clear pixel cache;
- JSGraphics2D check for opacity 1 before clearing HTML5 canvas
AlphaComposite

- FeatureColourFinder applies

ifJS() {
        g.setColor(Color.white);
        g.fillRect(0, 0, 1, 1);
}

so as to clear the HTML5 canvas image before applying any other color.
Also applies

    if (Platform.isJS())
    {
      offscreenImage.flush();
    }

just before offscreenImage.getRGB(0,0) to force the image to recreate
its cached pixel from the HTML5 canvas, which is drawn to directly.

5 years agomistakenly uploaded test version
hansonr [Tue, 1 Oct 2019 09:57:25 +0000 (11:57 +0200)]
mistakenly uploaded test version

5 years agoJAL-3437 issue with
hansonr [Tue, 1 Oct 2019 09:53:36 +0000 (11:53 +0200)]
JAL-3437 issue with
System.getProperty("javax.xml.datatype.DatatypeFactory")

1/2 ?

5 years agomoving 10-poxgenomes.bbb and newer IdentifyFile.java to "unused";
hansonr [Mon, 30 Sep 2019 00:39:40 +0000 (20:39 -0400)]
moving 10-poxgenomes.bbb and newer IdentifyFile.java to "unused";
revering IdentifyFile.

5 years agoreverting FileFormat; moving BSMLFile and related FileFormat to unused
hansonr [Mon, 30 Sep 2019 00:32:04 +0000 (20:32 -0400)]
reverting FileFormat; moving BSMLFile and related FileFormat to unused
for now.

5 years agoJAL-3445 preliminary BSML reader
hansonr [Sun, 29 Sep 2019 04:15:54 +0000 (00:15 -0400)]
JAL-3445 preliminary BSML reader

- was missing org.w3c.xml.Node implementation of getTextContent() in
swingjs.xml.JSXMLNode.java

- now working in JavaScript

5 years agoJAL-3445 preliminary BSML reader
hansonr [Sat, 28 Sep 2019 12:55:20 +0000 (08:55 -0400)]
JAL-3445 preliminary BSML reader

- only dna type
- only GENE class features
- only primary strand reading, not complement
- test file put into examples/testdata
- uses javax.xml.parsers.DocumentBuilder
- seems to work in Java; needs TestNG test
- not tested in JavaScript
- for discussion only

5 years agoJAL-3383 get color as int options removed (to separate branch 3443)
gmungoc [Fri, 27 Sep 2019 11:27:35 +0000 (12:27 +0100)]
JAL-3383 get color as int options removed (to separate branch 3443)

5 years agoJAL-3383 removing colour caching (to a separate branch)
gmungoc [Thu, 26 Sep 2019 15:36:29 +0000 (16:36 +0100)]
JAL-3383 removing colour caching (to a separate branch)

5 years agoJAL-3383 code tidying
gmungoc [Thu, 26 Sep 2019 13:52:52 +0000 (14:52 +0100)]
JAL-3383 code tidying

5 years agoJAL-3397 revert loop to forwards order
gmungoc [Thu, 26 Sep 2019 13:05:05 +0000 (14:05 +0100)]
JAL-3397 revert loop to forwards order

5 years agoJAL-3397 skip instanceof check for JS's benefit
gmungoc [Thu, 26 Sep 2019 08:52:47 +0000 (09:52 +0100)]
JAL-3397 skip instanceof check for JS's benefit

5 years agoJAL-3437 JAL-3253-applet
hansonr [Wed, 25 Sep 2019 07:37:09 +0000 (03:37 -0400)]
JAL-3437 JAL-3253-applet

SwingJS-site update for JVP files scanning using both
PARSE_TOP_LEVEL_ONLY and PARSE_ALL, despite requesting only top level.

clears "JSJAXBUnmarshaller could not associate a field..." message.

5 years agoJAL-3253-applet JAL-3439 Preferences issues 1/2
hansonr [Tue, 24 Sep 2019 14:23:58 +0000 (10:23 -0400)]
JAL-3253-applet JAL-3439 Preferences issues 1/2

minor tab ui changes in SwingJS
JScrollPane peer issue update in SwingJS

still an issue with Preferences Link tab table row height being set to 6
instead of 16 (suspect font size coming in as 0 for some reason -- will
investigate)

SUGGESTED sizing, positioning changes for Visual tab and overall size.
Issues involve Visual tab checkbox overflow, panel overflow, and Link
"double-click" header overflow
at least in Windows Java and JavaScript.

5 years agoJAL-3140 update intervalstore jar to v1-1 tagged version
gmungoc [Tue, 24 Sep 2019 12:40:57 +0000 (13:40 +0100)]
JAL-3140 update intervalstore jar to v1-1 tagged version

5 years agoMerge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview...
hansonr [Tue, 24 Sep 2019 11:43:16 +0000 (07:43 -0400)]
Merge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview.git into Jalview-JS/JAL-3253-applet

5 years agoJAL-3253-applet JAL-4440 overview 1 pixel off in hidden row view
hansonr [Tue, 24 Sep 2019 11:43:01 +0000 (07:43 -0400)]
JAL-3253-applet JAL-4440 overview 1 pixel off in hidden row view

5 years agoMerge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview...
gmungoc [Tue, 24 Sep 2019 10:24:18 +0000 (11:24 +0100)]
Merge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview.git into Jalview-JS/JAL-3253-applet

5 years agoJAL-3383 tidy up NCList and alternatives
gmungoc [Tue, 24 Sep 2019 10:24:02 +0000 (11:24 +0100)]
JAL-3383 tidy up NCList and alternatives

5 years agoJAL-3253-applet SwingJS fix for CardLayout (menus) broken by
hansonr [Tue, 24 Sep 2019 10:21:08 +0000 (06:21 -0400)]
JAL-3253-applet SwingJS fix for CardLayout (menus) broken by
ObjectStreamField overlay

5 years agoJAL-3437 JVP reading broken in JS
hansonr [Mon, 23 Sep 2019 13:16:49 +0000 (09:16 -0400)]
JAL-3437 JVP reading broken in JS

updated SwingJS-site.zip

transpiler update just involves enhanced j2s.compiler.mode=debug option

5 years agoJAL-3436 file...reload not working.
hansonr [Mon, 23 Sep 2019 12:26:22 +0000 (08:26 -0400)]
JAL-3436 file...reload not working.

File.isDirectory() returns true in SwingJS.

5 years agoJAL-3435 AlignFrame not setting JInternalFrameListener in JS
hansonr [Mon, 23 Sep 2019 12:20:26 +0000 (08:20 -0400)]
JAL-3435 AlignFrame not setting JInternalFrameListener in JS

5 years agoJAL-3253-applet JAL-3397
hansonr [Sun, 22 Sep 2019 16:35:42 +0000 (12:35 -0400)]
JAL-3253-applet JAL-3397

fixing CrossRef equals broken by reversion of changes relating to
equalsInterval.

adds equalsWithParent

5 years agoJAL-3253-applet JAL-3397
hansonr [Sun, 22 Sep 2019 16:00:35 +0000 (12:00 -0400)]
JAL-3253-applet JAL-3397

5 years agoJAL-3253-applet JAL-3397
hansonr [Sun, 22 Sep 2019 15:43:44 +0000 (11:43 -0400)]
JAL-3253-applet JAL-3397

- adds IntervalStore0Test
- adds nonc.IntervalStoreImpl
- adds nonc.IntervalStore0Impl
- sets FeatureStore options to these Impl classes in order to override
sameInterval for SequenceFeature and allow drop in of nonc.IntervalStore
without editing.

5 years agoJAL-3253-applet JAL-3397
hansonr [Sun, 22 Sep 2019 15:03:22 +0000 (11:03 -0400)]
JAL-3253-applet JAL-3397

updates intervalstore.nonc to not use interval.equals() unnecessarily.

5 years agoMerge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview...
hansonr [Sun, 22 Sep 2019 11:31:43 +0000 (07:31 -0400)]
Merge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview.git into Jalview-JS/JAL-3253-applet

5 years agotest update
hansonr [Sun, 22 Sep 2019 11:31:18 +0000 (07:31 -0400)]
test update

5 years agoJAL-3383 minor code tidying and commenting
gmungoc [Thu, 19 Sep 2019 14:25:37 +0000 (15:25 +0100)]
JAL-3383 minor code tidying and commenting

5 years agoJAL-3210 updated IntervalStoreJ classes in srcjar
gmungoc [Thu, 19 Sep 2019 12:59:07 +0000 (13:59 +0100)]
JAL-3210 updated IntervalStoreJ classes in srcjar

5 years agoJAL-3397 updated intervalstore-site from intervalstore-1.1 source
Jim Procter [Tue, 10 Sep 2019 15:11:00 +0000 (16:11 +0100)]
JAL-3397 updated intervalstore-site from intervalstore-1.1 source

5 years agoJAL-3397 update eclipse-js classpath for intervalstore v1.1
Jim Procter [Tue, 10 Sep 2019 10:55:30 +0000 (11:55 +0100)]
JAL-3397 update eclipse-js classpath for intervalstore v1.1

5 years agoJAL-3397 timing comparisons for (add then query) IntervalStore
gmungoc [Sun, 8 Sep 2019 19:00:14 +0000 (20:00 +0100)]
JAL-3397 timing comparisons for (add then query) IntervalStore

5 years agoJAL-3397 impl.IntervalStore and nonc.IntervalStore unified api
gmungoc [Sat, 7 Sep 2019 14:44:52 +0000 (15:44 +0100)]
JAL-3397 impl.IntervalStore and nonc.IntervalStore unified api

5 years agoJAL-3401 reset 'no repaint' flag after New View / copyAlignPanel
gmungoc [Thu, 5 Sep 2019 09:56:44 +0000 (10:56 +0100)]
JAL-3401 reset 'no repaint' flag after New View / copyAlignPanel

5 years agoJAL-3397 final update
hansonr [Wed, 4 Sep 2019 18:49:36 +0000 (13:49 -0500)]
JAL-3397 final update

5 years agoJAL-3429 JAL-3253-applet
hansonr [Wed, 4 Sep 2019 06:27:00 +0000 (01:27 -0500)]
JAL-3429 JAL-3253-applet

OverviewRenderer not implementing hidden column mode using BitSet.

5 years agoJAL-3253-applet JAL-3397 switch back to original (MC) IS+NCList after
hansonr [Wed, 28 Aug 2019 16:48:01 +0000 (11:48 -0500)]
JAL-3253-applet JAL-3397 switch back to original (MC) IS+NCList after
testing complete.

5 years agoJAL-3253-applet JAL-3423
hansonr [Wed, 28 Aug 2019 16:44:19 +0000 (11:44 -0500)]
JAL-3253-applet JAL-3423

CacheableInputBox direct update mode for testing removes need for wait.

JalviewJS complete PASS on Windows

(other than the usual three Xref fails)

5 years agoJAL-3253-applet JAL-3423
hansonr [Wed, 28 Aug 2019 16:42:46 +0000 (11:42 -0500)]
JAL-3253-applet JAL-3423

AlignFrameTest fixes for timing and lack of ResidueShading conservation
data.

5 years agoJAL-3253 JAL-3397 adds (original MC) intervalstore code to implement
hansonr [Wed, 28 Aug 2019 15:01:03 +0000 (10:01 -0500)]
JAL-3253 JAL-3397 adds (original MC) intervalstore code to implement
modified api interfaces

5 years agoJAL-3253-applet JAL-3423 TestNG/Win
hansonr [Wed, 28 Aug 2019 14:55:31 +0000 (09:55 -0500)]
JAL-3253-applet JAL-3423 TestNG/Win

5 years agofixes errant debug "return;" in j2sApplet key listener
hansonr [Wed, 28 Aug 2019 14:54:07 +0000 (09:54 -0500)]
fixes errant debug "return;" in j2sApplet key listener

5 years agoJalviewJS2 optional headless, output
hansonr [Wed, 28 Aug 2019 05:27:09 +0000 (00:27 -0500)]
JalviewJS2 optional headless, output

 commented out unless desired for testing

5 years agoJAL-3253-applet JAL-3423 Windows TestNG
hansonr [Wed, 28 Aug 2019 05:25:48 +0000 (00:25 -0500)]
JAL-3253-applet JAL-3423 Windows TestNG

FeatureColourFinderTest error only in batch mode

5 years agoJAL-3253-applet JAL-3423 Windows TestNG
hansonr [Wed, 28 Aug 2019 05:12:34 +0000 (00:12 -0500)]
JAL-3253-applet JAL-3423 Windows TestNG

SeqPanelTest error only in batch mode

5 years agoJAL-3253-applet JAL-3423 Windows TestNG
hansonr [Wed, 28 Aug 2019 04:52:24 +0000 (23:52 -0500)]
JAL-3253-applet JAL-3423 Windows TestNG

mac CTRL test is only for Macs.

5 years agoJAL-3253-applet JAL-3423 Windows TestNG
hansonr [Wed, 28 Aug 2019 04:51:43 +0000 (23:51 -0500)]
JAL-3253-applet JAL-3423 Windows TestNG

Bug found in wrap tool tip (also in Jalview-Develop) due to some
messages having only one of <html> or </html> and some having neither
but still having <br> (potentially)

5 years agoJAL-3253-applet JAL-3423 Windows TestNG
hansonr [Wed, 28 Aug 2019 04:49:52 +0000 (23:49 -0500)]
JAL-3253-applet JAL-3423 Windows TestNG

Bob bug found in IntervalStore-noNCList

5 years agonote that identifier can be null, resulting in a null pointer exception
hansonr [Wed, 28 Aug 2019 04:49:16 +0000 (23:49 -0500)]
note that identifier can be null, resulting in a null pointer exception

5 years agoJAL-3253-applet JAL-3423 Windows TestNG
hansonr [Wed, 28 Aug 2019 04:48:24 +0000 (23:48 -0500)]
JAL-3253-applet JAL-3423 Windows TestNG

Bob Bug found in boolean testing of FeatureRendererModel

5 years agoJAL-3253-applet JAL-3423 Windows TestNG
hansonr [Wed, 28 Aug 2019 04:46:52 +0000 (23:46 -0500)]
JAL-3253-applet JAL-3423 Windows TestNG

CommandLineOperations indicates absolute file path; adding output file
option to JavaScript

5 years agoJAL-3253-applet JAL-3423 Windows TestNG
hansonr [Wed, 28 Aug 2019 04:41:23 +0000 (23:41 -0500)]
JAL-3253-applet JAL-3423 Windows TestNG

- PDBEntry file name needs to normalize \ and /.

5 years agoTestNG find for JAL-3253-applet
hansonr [Wed, 28 Aug 2019 00:24:39 +0000 (19:24 -0500)]
TestNG find for JAL-3253-applet

5 years agoJAL-3253-applet JAL-3424 headless fix for Windows
hansonr [Tue, 27 Aug 2019 23:25:22 +0000 (18:25 -0500)]
JAL-3253-applet JAL-3424 headless fix for Windows

5 years agoJAL-3253-applet JAL-3424 headless fix for Windows
hansonr [Tue, 27 Aug 2019 22:18:24 +0000 (17:18 -0500)]
JAL-3253-applet JAL-3424 headless fix for Windows

5 years agohard-codes workingDir for TestNG for unknown necessity.
hansonr [Tue, 27 Aug 2019 03:21:49 +0000 (22:21 -0500)]
hard-codes workingDir for TestNG for unknown necessity.

5 years agodeveloper note pnly
hansonr [Tue, 27 Aug 2019 03:13:27 +0000 (22:13 -0500)]
developer note pnly

   *
   * BH Note: It is critical that any call to
   * AlignViewportI.setGlobalColourScheme is followed closely, if not
   * immediately, by a call to AlignPanel.repaint(true, true) so that
the
   * overview is updated. When that happens, the sequence overview color
caches
   * are cleared.
   *

5 years agoJAL-3397 JAL-3253-applet
hansonr [Tue, 27 Aug 2019 03:12:33 +0000 (22:12 -0500)]
JAL-3397 JAL-3253-applet

TEMPORARY disabling of NCList due to incompatibility with API in TestNG.

5 years agoJAL-3253-applet no-NCList IntervalStore fixes
hansonr [Tue, 27 Aug 2019 03:11:02 +0000 (22:11 -0500)]
JAL-3253-applet no-NCList IntervalStore fixes

5 years agoJAL-3423 testNG fixes for Windows
hansonr [Tue, 27 Aug 2019 03:05:31 +0000 (22:05 -0500)]
JAL-3423 testNG fixes for Windows

 - \r\n, slightly differerent font metrics

5 years agoJAL-3423 testNG fix for revised tooltip html format
hansonr [Mon, 26 Aug 2019 18:42:31 +0000 (13:42 -0500)]
JAL-3423 testNG fix for revised tooltip html format

5 years agoTranspiler update fixes nuisance null-pointer error message when .j2s is
hansonr [Mon, 26 Aug 2019 17:40:45 +0000 (12:40 -0500)]
Transpiler update fixes nuisance null-pointer error message when .j2s is
set to disabled.

5 years agoJAL-3423 TestNG test bugs
hansonr [Mon, 26 Aug 2019 17:39:46 +0000 (12:39 -0500)]
JAL-3423 TestNG test bugs

PDBEntry needs to normalize file names under Windows, particularly for
TestNG tests.

5 years agoJAL-3423 TestNG test bugs
hansonr [Mon, 26 Aug 2019 17:38:49 +0000 (12:38 -0500)]
JAL-3423 TestNG test bugs

Cache logger not initializing early enough for some TestNG tests.

5 years agoJAL-3422 JAL-3253-applet
hansonr [Mon, 26 Aug 2019 17:35:04 +0000 (12:35 -0500)]
JAL-3422 JAL-3253-applet

SwingJS-site.zip fix for FontChooser combobox missing all text and
dropdown.

5 years agoMerge branch 'Jalview-JS/jim/JAL-3253-JAL-3418' into Jalview-JS/JAL-3253-applet
Jim Procter [Wed, 21 Aug 2019 09:23:35 +0000 (10:23 +0100)]
Merge branch 'Jalview-JS/jim/JAL-3253-JAL-3418' into Jalview-JS/JAL-3253-applet

5 years agoJAL-3235 -Dtestng-verbosity=10 to trace execution of TestNG tests Jalview-JS/jim/JAL-3253-JAL-3418
Jim Procter [Wed, 21 Aug 2019 09:15:38 +0000 (10:15 +0100)]
JAL-3235 -Dtestng-verbosity=10 to trace execution of TestNG tests

5 years agoJAL-3253 fix scrollTo termination check.
Jim Procter [Wed, 21 Aug 2019 09:15:01 +0000 (10:15 +0100)]
JAL-3253 fix scrollTo termination check.

5 years agoJAL-3418 debug testng execution - verbosity=10
Jim Procter [Tue, 20 Aug 2019 17:49:53 +0000 (18:49 +0100)]
JAL-3418 debug testng execution - verbosity=10

5 years agoMerge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview...
hansonr [Sat, 17 Aug 2019 14:26:33 +0000 (09:26 -0500)]
Merge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview.git into Jalview-JS/JAL-3253-applet

5 years agoJAL-3253-applet JAL-3397 delete fix
hansonr [Fri, 16 Aug 2019 17:49:26 +0000 (12:49 -0500)]
JAL-3253-applet JAL-3397 delete fix

5 years agoJAL-3253-applet JAL-3414 Display Settings dialog slow to open
hansonr [Fri, 16 Aug 2019 17:49:26 +0000 (12:49 -0500)]
JAL-3253-applet JAL-3414 Display Settings dialog slow to open

SwingJS-site.zip

corrects code in JSDialog that called parent.addNotify() every time, not
just before it has been connected.

5 years agoJAL-3253-applet JAL-3397 JAL-3383 fast IntervalStore for JavaScript
hansonr [Fri, 16 Aug 2019 12:43:39 +0000 (07:43 -0500)]
JAL-3253-applet JAL-3397 JAL-3383 fast  IntervalStore for JavaScript

fully commented and cleaned code

5 years agoJAL-3253-applet JAL-3397 JAL-3383 fast IntervalStore for JavaScript
hansonr [Fri, 16 Aug 2019 04:09:33 +0000 (23:09 -0500)]
JAL-3253-applet JAL-3397 JAL-3383 fast  IntervalStore for JavaScript

needs testing in JavaScript

5 years agoJAL-3401 JAL-3253-applet
hansonr [Thu, 8 Aug 2019 02:17:21 +0000 (21:17 -0500)]
JAL-3401 JAL-3253-applet

fixes too-early multiple calls to AlignPanel.repaint() and, via repaint
manager to the desktop, also SeqCanvas.paintComponent. See
Jalview2XML.java

5 years agoPlatform.timeCheck - just resetting duration for
hansonr [Thu, 8 Aug 2019 00:34:13 +0000 (19:34 -0500)]
Platform.timeCheck - just resetting duration for
reset/set-mark..set-mark/get sequence.

5 years agoJAL-3383 JAL-3253-applet shortcut binary search when position is out of
hansonr [Thu, 8 Aug 2019 00:33:02 +0000 (19:33 -0500)]
JAL-3383 JAL-3253-applet shortcut binary search when position is out of
range.

5 years agoJAL-3383 JAL-3397 JAL-3253-applet IntervalStore options
hansonr [Tue, 6 Aug 2019 21:25:13 +0000 (16:25 -0500)]
JAL-3383 JAL-3397 JAL-3253-applet IntervalStore options

In SequenceFeatures:

INTERVAL_STORE_NCLIST  (default for Java)
 - no changes from previous

 INTERVAL_STORE_NONCLIST (Java option)
 - uses intervalstore.nonc.IntervalStore
 - optional "lazy" just-in-time sorting
 - passes the following TestNG tests:

IntervalStoreJ.test.intervalstore.nonc...
NoNCListBuilderTest.java
NoNCListIntervalIteratorTest.java
NoNCListIntervalStoreTest.java
NoNCListIntervalTest.java
NoNCListLoadTest.java
NoNCListRandomisedTest.java
NoNCListTimingTests.java

test.jalview.datamodel.features...
FeatureStoreNoNCTest.java
FeatureStoreJSTest.java
SequenceFeaturesTest.java

5 years agoJAL-3253-applet comments/Overrides only
hansonr [Tue, 6 Aug 2019 21:18:36 +0000 (16:18 -0500)]
JAL-3253-applet comments/Overrides only

5 years agoJAL-3383 JAL-3253-applet
hansonr [Mon, 5 Aug 2019 14:31:27 +0000 (09:31 -0500)]
JAL-3383 JAL-3253-applet

-adds timing test reports.

5 years agoJAL-3383 JAL-3253-applet
hansonr [Mon, 5 Aug 2019 14:19:59 +0000 (09:19 -0500)]
JAL-3383 JAL-3253-applet

-adds equivalent of features.contains()
-timing within 0.5 sec for braf.jvp load of human variants.

5 years agoJAL-3383 JAL-3253-applet
hansonr [Sun, 4 Aug 2019 16:04:39 +0000 (11:04 -0500)]
JAL-3383 JAL-3253-applet

possibly a bit faster as a static reference to the Function.

5 years agoJAL-3383 JAL-3253-applet
hansonr [Sun, 4 Aug 2019 15:39:36 +0000 (10:39 -0500)]
JAL-3383 JAL-3253-applet

-- Dissociates IntervalStore and BinarySearch from FeatureStoreJS.
-- Adds test FeatureStoreJS
-- cursory timing test in TestNG suggest JS version is 2x faster in
*Java* (TestNG FeatureStoreTest 120 ms vs. FeatueStoreJSTest 66 ms) for
default test.
-- hypothesize that overhead of lambda functions is coming into play
here. Needs a more heavy-duty test.

5 years agoJAL-3383 JAL-3253-applet
hansonr [Sun, 4 Aug 2019 03:41:20 +0000 (22:41 -0500)]
JAL-3383 JAL-3253-applet

-- Adds FileStoreI interface
-- Makes FileStore.java abstract superclass for FileStoreImpl (for Java)
and FileStoreJS (for JavaScript)
-- Passing all FeatureStoreJSTest TestNG tests
-- Passing all SequenceFeatureTest TestNG tests
-- About 10% faster for Java on TestNG tests.
-- full rendering in < 250 ms for JavaScript -- this is approximately 15
times faster than before I started this experiment.

Platform: timer mark    13.396    0.209    overviewrender 16000 pixels row:14 redraw:false
Platform: timer mark    14.884    0.186    overviewrender 16000 pixels row:14 redraw:false
Platform: timer mark    15.989    0.185    overviewrender 16000 pixels row:14 redraw:false
Platform: timer mark    17.216    0.229    overviewrender 16000 pixels row:14 redraw:false
Platform: timer mark    18.148    0.239    overviewrender 16000 pixels row:14 redraw:false
Platform: timer mark    18.924    0.198    overviewrender 16000 pixels row:14 redraw:false
Platform: timer mark    21.827    0.233    overviewrender 16000 pixels row:14 redraw:false

5 years agoJAL-3383 JAL-3253-applet
hansonr [Sun, 4 Aug 2019 03:34:38 +0000 (22:34 -0500)]
JAL-3383 JAL-3253-applet

-- Adds FileStoreI interface
-- Makes FileStore.java abstract superclass for FileStoreImpl (for Java)
and FileStoreJS (for JavaScript)
-- Passing all FeatureStoreJSTest TestNG tests
-- Passing all SequenceFeatureTest TestNG tests
-- About 10% faster for Java on TestNG tests.
-- full rendering in < 250 ms for JavaScript -- this is approximately 15
times faster than before I started this experiment.

Platform: timer mark    13.396    0.209    overviewrender 16000 pixels row:14 redraw:false
Platform: timer mark    14.884    0.186    overviewrender 16000 pixels row:14 redraw:false
Platform: timer mark    15.989    0.185    overviewrender 16000 pixels row:14 redraw:false
Platform: timer mark    17.216    0.229    overviewrender 16000 pixels row:14 redraw:false
Platform: timer mark    18.148    0.239    overviewrender 16000 pixels row:14 redraw:false
Platform: timer mark    18.924    0.198    overviewrender 16000 pixels row:14 redraw:false
Platform: timer mark    21.827    0.233    overviewrender 16000 pixels row:14 redraw:false

5 years agoJavaDoc comments; minor code clean-up
hansonr [Sat, 3 Aug 2019 05:07:15 +0000 (00:07 -0500)]
JavaDoc comments; minor code clean-up

5 years agoadds comments JAL-3383
hansonr [Sat, 3 Aug 2019 04:57:55 +0000 (23:57 -0500)]
adds comments JAL-3383

5 years agoJAL-3383 JAL-3253-applet additional efficiencies; FeatureStore
hansonr [Sat, 3 Aug 2019 04:26:18 +0000 (23:26 -0500)]
JAL-3383 JAL-3253-applet additional efficiencies; FeatureStore
alternative to IntervalStore

- implemented for JavaScript only (see SequenceFeatures):

    boolean useIntervalStore = /**
                                * @j2sNative false &&
                                */
            true;

but can be tested in Java and JavaScript by changing either of those to
true/false.

- only requires storage for one sorted array in FeatureSorter:

  private SequenceFeature[] orderedFeatureStarts;

and one additional linked-list field pointer in SequenceFeature:

SequenceFeature containedBy

- when running, the position is looked up in the begin-sorted feature
array, and then the containedBy links are simply traversed using:

    SequenceFeature sf = findClosestFeature(orderedFeatureStarts, pos);
    while (sf != null) {
      if (sf.end >= pos)
      {
        result.add(sf);
      }
      sf = sf.containedBy;
    }

- my preliminary timing tests suggest this is 2x faster than
IntervalStore in JavaScript.

5 years agoJAL-3253-applet JAL-3383 Overview
hansonr [Thu, 1 Aug 2019 17:49:09 +0000 (12:49 -0500)]
JAL-3253-applet JAL-3383 Overview

additional int for Color (shader)
fixes problem with JavaScript timing for container resized

5 years agodebug comment out
hansonr [Thu, 1 Aug 2019 17:14:06 +0000 (12:14 -0500)]
debug comment out

5 years agoJAL-3253-applet JAL-3383 Overview speed up -- see Issue comments.
hansonr [Thu, 1 Aug 2019 10:07:19 +0000 (05:07 -0500)]
JAL-3253-applet JAL-3383 Overview speed up -- see Issue comments.

5 years agoJAL-3383 minor coding aesthetics and debug messages out
hansonr [Thu, 1 Aug 2019 09:35:29 +0000 (04:35 -0500)]
JAL-3383 minor coding aesthetics and debug messages out

5 years agoremoves debugging code
hansonr [Thu, 1 Aug 2019 09:16:27 +0000 (04:16 -0500)]
removes debugging code

5 years agoJAL-3383 JAL-3253-applet fixes issue with X+Y scroll of Overview
hansonr [Wed, 31 Jul 2019 23:57:43 +0000 (18:57 -0500)]
JAL-3383 JAL-3253-applet fixes issue with X+Y scroll of Overview
trashing vertical alignment. Uncertain why, but it is working OK in
Java, where there was only a transient, occasional vertical offset
issue.

5 years agoJAL-3392 calculation workers notify Jalview
hansonr [Wed, 31 Jul 2019 23:54:03 +0000 (18:54 -0500)]
JAL-3392 calculation workers notify Jalview

5 years agoJAL-3253 adds simple stacktrace debugging
hansonr [Wed, 31 Jul 2019 23:50:23 +0000 (18:50 -0500)]
JAL-3253 adds simple stacktrace debugging