jalview.git
4 years agoclasspath ordering
BobHanson [Sun, 22 Mar 2020 18:03:19 +0000 (13:03 -0500)]
classpath ordering

- j11lib needs to be declared before j8lib for saaj and probably many
others.

- Jalview.java allows synchronization

- CommandLineOperations working; seems at least on Bob's machine process
with file writing termination does not equate with file.exists(); join
is returning too early? How can that be...

- Jalview2xmlTests back to correct answer and now working with
Jalview.setSynchronized(true);

4 years agoJAL-3560 test
BobHanson [Sun, 22 Mar 2020 13:17:29 +0000 (08:17 -0500)]
JAL-3560 test

4 years agoJAL-3560 from JAL-3563. This commit is expected to be reverted. Just
BobHanson [Sun, 22 Mar 2020 13:05:10 +0000 (08:05 -0500)]
JAL-3560 from JAL-3563. This commit is expected to be reverted. Just
getting back to a branch that Bamboo is compiling.

4 years agoJAL-3560 Platform fixes.
BobHanson [Sat, 21 Mar 2020 23:39:59 +0000 (18:39 -0500)]
JAL-3560 Platform fixes.

4 years agoPlatform fix, missing check for jsutil == null
BobHanson [Sat, 21 Mar 2020 19:04:29 +0000 (14:04 -0500)]
Platform fix, missing check for jsutil == null

4 years agoJAL-3560 SwingJS FeatureSettings table not clearing when all unchecked
BobHanson [Sat, 21 Mar 2020 18:44:49 +0000 (13:44 -0500)]
JAL-3560 SwingJS FeatureSettings table not clearing when all unchecked

4 years agoJAL-3560 tweak to force use of standard Java HashSet
BobHanson [Sat, 21 Mar 2020 14:28:01 +0000 (09:28 -0500)]
JAL-3560 tweak to force use of standard Java HashSet

adds Platform.getOrderedHashSet()
adds Platform.setJavaScriptMapObjectEnabled(boolean enabled)

sets the results from
SequenceFeatures.getFeatureGroups(...)

(for FeatureSettings)
and
SequenceFeatures.getFeatureTypesForGroups(...)
(for SeqCanvas and OverviewCanvas painting)
to be a standard Java HashSet, not using the JavaScript Map object.

Sets the
Platform.getJavaOrderedHashSet()

4 years agoJAL-3560 tweak to force use of standard Java HashSet
BobHanson [Sat, 21 Mar 2020 14:05:07 +0000 (09:05 -0500)]
JAL-3560 tweak to force use of standard Java HashSet

adds Platform.getOrderedHashSet()
adds Platform.setJavaScriptMapObjectEnabled(boolean enabled)

sets the results from SequenceFeatures.getFeatureTypesForGroups(...) to
be a standard Java HashSet, not using the JavaScript Map object.

4 years agoJAL-3560 additional _j2sclasslist.txt fix
BobHanson [Fri, 20 Mar 2020 05:42:16 +0000 (00:42 -0500)]
JAL-3560 additional _j2sclasslist.txt fix

4 years agoautomated code fix
BobHanson [Fri, 20 Mar 2020 05:38:37 +0000 (00:38 -0500)]
automated code fix

noting unnecessary use of new String("").

4 years agoJAL-3560 adds swingjs/api/JSUtilI.js interface to _j2sclasslist.txt
BobHanson [Fri, 20 Mar 2020 05:37:20 +0000 (00:37 -0500)]
JAL-3560 adds swingjs/api/JSUtilI.js interface to _j2sclasslist.txt

4 years agoJAL-3560 SwingJS upgrade
BobHanson [Fri, 20 Mar 2020 05:18:41 +0000 (00:18 -0500)]
JAL-3560 SwingJS upgrade

- JViewport, JTableUI fixing Graphics.setClip problem
- new JSUtilI interface

4 years agoJAL-3560 rewritten Platform with JSUtilI interface
BobHanson [Fri, 20 Mar 2020 05:16:36 +0000 (00:16 -0500)]
JAL-3560 rewritten Platform with JSUtilI interface

4 years agocomment only
BobHanson [Fri, 20 Mar 2020 05:13:48 +0000 (00:13 -0500)]
comment only

4 years agodebug comments removed
BobHanson [Fri, 20 Mar 2020 05:13:28 +0000 (00:13 -0500)]
debug comments removed

4 years agoJAL-3560 avoiding Graphics.setClip
BobHanson [Fri, 20 Mar 2020 05:12:33 +0000 (00:12 -0500)]
JAL-3560 avoiding Graphics.setClip

Now that Graphics.setClip is supported, it is important to avoid it
whenever possible. It requires a full run back through the graphics
stack and return twice in order to clear the clip and reset it with all
other characteristics of the graphics state intact. This was
particularly notable in JViewport, creating very sluggish handling of
FeatureSettings, particularly in Firefox.

4 years agoSwingJS runtime update 3.2.9-v1b
BobHanson [Thu, 19 Mar 2020 13:15:46 +0000 (08:15 -0500)]
SwingJS runtime update 3.2.9-v1b

- mostly fixes from recent SwingJS work involving
 -- expanded FileSystem and temp file management
 -- super-fast HashMap (faster than Java!), HashTable,
    StringBuilder, StringBuffer, NumberFormat, DecimalFormat
 -- improved ResourceBundle
 -- full Locale information
 -- additional BufferedImage/ColorModel/Raster support
- fixes temp files not cached (JSTempFile, for Jmol)
- fixes AbstractStringBuilder.replace() typo
- reverts recent HashSet acceleration due to Jalview
  using String.hashCode() for display order of features

4 years agoJAL-3560 moving JS-specific code to Platform, fix Platform.streamToFile
BobHanson [Thu, 19 Mar 2020 13:08:02 +0000 (08:08 -0500)]
JAL-3560 moving JS-specific code to Platform, fix Platform.streamToFile

4 years agoJAL-3560 better build xml names
BobHanson [Thu, 19 Mar 2020 13:06:43 +0000 (08:06 -0500)]
JAL-3560 better build xml names

4 years agojmol.app.zip and SwingJS-site.zip; java2script 3.2.9-v1b
BobHanson [Thu, 19 Mar 2020 01:44:42 +0000 (20:44 -0500)]
jmol.app.zip and SwingJS-site.zip; java2script 3.2.9-v1b

4 years agoJava 11/Gradle 2.5 upgrade
BobHanson [Wed, 18 Mar 2020 17:59:23 +0000 (12:59 -0500)]
Java 11/Gradle 2.5 upgrade

4 years agoJAL-3487 help/splash <html> wrap issue + associated tooltip breaking
BobHanson [Mon, 2 Dec 2019 16:22:06 +0000 (10:22 -0600)]
JAL-3487 help/splash <html> wrap issue + associated tooltip breaking

4 years agojmol-app.zip update for java2script 3.2.5.v1
BobHanson [Mon, 2 Dec 2019 16:17:51 +0000 (10:17 -0600)]
jmol-app.zip update for java2script 3.2.5.v1

4 years agoJAL-3487 splash/help fix
BobHanson [Mon, 2 Dec 2019 16:16:57 +0000 (10:16 -0600)]
JAL-3487 splash/help fix

4 years agoSwingJS transpiler to 3.2.5.v1 (fixed java.util.stream)
BobHanson [Wed, 27 Nov 2019 05:46:46 +0000 (23:46 -0600)]
SwingJS transpiler to 3.2.5.v1 (fixed java.util.stream)

- required transpiler fixes and redesign of final variables for stream
objects
- required redesign of $init$ and $static$ to exactly reproduce the full
class loading sequence of (1) method definition with default static
values, (2) superclass-sequenced initialization of static fields (3)
superclass-sequenced initialization of static fields, (4)
superclass-sequenced constructor initialization, in that order, able to
handle any complex situation
-includes fixes for JLabelUI HTML label wrapping issues

5 years agonew transpiler - important!
BobHanson [Tue, 5 Nov 2019 18:33:23 +0000 (12:33 -0600)]
new transpiler - important!

fixes null pointer exception report for bad package declaration in a
Java file.

5 years agoJAL-3210 new transpiler fixes problem that it could have a null-pointer
BobHanson [Wed, 30 Oct 2019 19:44:46 +0000 (14:44 -0500)]
JAL-3210 new transpiler fixes problem that it could have a null-pointer
exception for comparison to history, where, apparently,
IProject.getProject().getLocation() is null.

5 years agoJAL-3210 .j2s fix to exclude /utils directory
BobHanson [Tue, 29 Oct 2019 16:36:24 +0000 (11:36 -0500)]
JAL-3210 .j2s fix to exclude /utils directory

5 years agoJAL-3210 transpiler resource recursion fix for package foo in path
BobHanson [Tue, 29 Oct 2019 16:35:35 +0000 (11:35 -0500)]
JAL-3210 transpiler resource recursion fix for package foo in path
.../foo/.../foo

5 years agoJAL-3453 removed unused Desktop.instanceOnly
gmungoc [Thu, 24 Oct 2019 14:42:42 +0000 (15:42 +0100)]
JAL-3453 removed unused Desktop.instanceOnly

5 years agoJAL-3463 SwingJS-site.zip update for Thread.sleep()
hansonr [Wed, 23 Oct 2019 16:58:09 +0000 (11:58 -0500)]
JAL-3463 SwingJS-site.zip update for Thread.sleep()

- throws InterruptedException if called in JavaScript

5 years agoJAL-3423 more System.lineSeparator() in place of \n
Mungo Carstairs [Tue, 22 Oct 2019 15:44:03 +0000 (16:44 +0100)]
JAL-3423 more System.lineSeparator() in place of \n

5 years agoJAL-3423 test coverage
Mungo Carstairs [Tue, 22 Oct 2019 15:35:14 +0000 (16:35 +0100)]
JAL-3423 test coverage

5 years agoJAL-3253 rename method, add Javadoc
Mungo Carstairs [Tue, 22 Oct 2019 15:30:18 +0000 (16:30 +0100)]
JAL-3253 rename method, add Javadoc

5 years agoJAL-3423 use System.lineSeparator() in code and tests
Mungo Carstairs [Tue, 22 Oct 2019 14:50:52 +0000 (15:50 +0100)]
JAL-3423 use System.lineSeparator() in code and tests

5 years agoJAL-32423 tidying
Mungo Carstairs [Tue, 22 Oct 2019 13:21:10 +0000 (14:21 +0100)]
JAL-32423 tidying

5 years agoJAL-3463 Thread.sleep()
hansonr [Mon, 21 Oct 2019 12:41:33 +0000 (07:41 -0500)]
JAL-3463 Thread.sleep()

setting sleep() to throw InterruptedException()

5 years agoJAL-3463 alert for Thread.sleep; JAL-3378 java.util.logging.Logger
hansonr [Mon, 21 Oct 2019 02:53:46 +0000 (21:53 -0500)]
JAL-3463 alert for Thread.sleep; JAL-3378 java.util.logging.Logger
implemented.

5 years agoJAL-3436 null large object reference, tidy method visibility
gmungoc [Thu, 17 Oct 2019 15:48:06 +0000 (16:48 +0100)]
JAL-3436 null large object reference, tidy method visibility

5 years agoJAL-3436 save filePath from fileObject, tidy updateRecentlyOpened
gmungoc [Thu, 17 Oct 2019 15:10:43 +0000 (16:10 +0100)]
JAL-3436 save filePath from fileObject, tidy updateRecentlyOpened

5 years agoJAL-3436 move/rename/private fields refactoring only
gmungoc [Thu, 17 Oct 2019 13:02:21 +0000 (14:02 +0100)]
JAL-3436 move/rename/private fields refactoring only

5 years agoMerge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview...
gmungoc [Thu, 17 Oct 2019 12:55:30 +0000 (13:55 +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-3436 broken reader - SwingJS issue (wrong JAL number in last commit)
hansonr [Thu, 17 Oct 2019 12:37:03 +0000 (07:37 -0500)]
JAL-3436 broken reader - SwingJS issue (wrong JAL number in last commit)

- java.util.logging.Logger not fully implemented.

- this fix just removes Logger calls from javax.xml classes.

- see JAL-3461 for full fix TODO

5 years agoJAL-3261 broken reader - SwingJS issue
gmungoc [Thu, 17 Oct 2019 12:33:44 +0000 (07:33 -0500)]
JAL-3261 broken reader - SwingJS issue

- java.util.logging.Logger not fully implemented.

- this fix just removes Logger calls from javax.xml classes.

- see JAL-3461 for full fix TODO

5 years agoMerge branch 'Jalview-jJS/JAL-3253-applet-JAL-3436' into Jalview-JS/JAL-3253-applet
gmungoc [Thu, 17 Oct 2019 09:35:09 +0000 (10:35 +0100)]
Merge branch 'Jalview-jJS/JAL-3253-applet-JAL-3436' into Jalview-JS/JAL-3253-applet

5 years agoJAL-3368 removed parsing web colours (now on a separate branch)
gmungoc [Thu, 17 Oct 2019 08:59:32 +0000 (09:59 +0100)]
JAL-3368 removed parsing web colours (now on a separate branch)

5 years agoJAL-3437 Desktop File...Load Project fails in JalviewJS JAL-3437_load_project
hansonr [Tue, 15 Oct 2019 09:06:42 +0000 (05:06 -0400)]
JAL-3437 Desktop File...Load Project fails in JalviewJS

- just needed to use the File object rather than the file name in the
call to Jalview2XML.loadJalviewAlign

5 years agoadding SwingJS notes for JAR file source in srcjar/
hansonr [Mon, 14 Oct 2019 14:24:00 +0000 (10:24 -0400)]
adding SwingJS notes for JAR file source in srcjar/

5 years agoMerge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview...
hansonr [Sun, 13 Oct 2019 04:17:13 +0000 (06:17 +0200)]
Merge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview.git into Jalview-JS/JAL-3253-applet

5 years agoJAL-3459 org.json code removed
hansonr [Sun, 13 Oct 2019 04:17:01 +0000 (06:17 +0200)]
JAL-3459 org.json code removed

- moved to unused/

- supplied by SwingJS-site.zip

- only differences are in a few JavaScript-specific issues

- this move has NO EFFECT on the JavaScript, as SwingJS-site.zip is
unzipped last, overwriting whatever this code would have placed in
site/swingjs/j2s anyway.

5 years agoJAL-3261 no save in setColourPropertyNoSave !
gmungoc [Fri, 11 Oct 2019 14:32:44 +0000 (15:32 +0100)]
JAL-3261 no save in setColourPropertyNoSave !

5 years agoJAL-3261 tidy up get/set properties in Cache, Javadoc, tests
gmungoc [Fri, 11 Oct 2019 14:26:35 +0000 (15:26 +0100)]
JAL-3261 tidy up get/set properties in Cache, Javadoc, tests

5 years agoJAL-3458 redraw alignment and Overview on Cancel in Feature Settings
gmungoc [Fri, 11 Oct 2019 10:52:03 +0000 (11:52 +0100)]
JAL-3458 redraw alignment and Overview on Cancel in Feature Settings

5 years agoMerge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview...
hansonr [Fri, 11 Oct 2019 09:19:33 +0000 (11:19 +0200)]
Merge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview.git into Jalview-JS/JAL-3253-applet

5 years agoJAL-3444 missed commit of removal of object creation test.
gmungoc [Thu, 10 Oct 2019 14:15:34 +0000 (15:15 +0100)]
JAL-3444 missed commit of removal of object creation test.

5 years agoMerge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview...
gmungoc [Thu, 10 Oct 2019 14:15:34 +0000 (15:15 +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 javadoc
gmungoc [Thu, 10 Oct 2019 14:15:26 +0000 (15:15 +0100)]
JAL-3383 javadoc

5 years agoJAL-3454 tidy comments
gmungoc [Thu, 10 Oct 2019 14:14:31 +0000 (15:14 +0100)]
JAL-3454 tidy comments

5 years agoJAL-3444 translucent overview
hansonr [Thu, 10 Oct 2019 13:39:23 +0000 (15:39 +0200)]
JAL-3444 translucent overview

-  oops, that broke Java!

5 years agoJAL-3444 translucent overview
hansonr [Thu, 10 Oct 2019 12:41:27 +0000 (14:41 +0200)]
JAL-3444 translucent overview

- was missing 2nd isJS block
- JS was setting pixel background to white instead of defaultColour
prior to transparent color painting

5 years agoJAL-3436 fix for reload not reloading files Jalview-jJS/JAL-3253-applet-JAL-3436
hansonr [Tue, 8 Oct 2019 17:21:24 +0000 (19:21 +0200)]
JAL-3436 fix for reload not reloading files

 -- fix for Jalview projects reload where reload was using just the file
name.

 -- will test further to ensure this is only in relation to JVP files

5 years agoJAL-3436 debug comments out in JSPopupMenuUI.js
hansonr [Tue, 8 Oct 2019 15:36:55 +0000 (17:36 +0200)]
JAL-3436 debug comments out in JSPopupMenuUI.js

5 years agoJAL-3453
hansonr [Tue, 8 Oct 2019 13:25:29 +0000 (15:25 +0200)]
JAL-3453

test to see if the build testing passes this test.

Slight modifications from Mungo's last commit to account for recent
changes in public/private fields, but that is all.

Passing tests on Bob's Windows machine.

5 years agoJAL-3453 Some tests require different Desktop constructor
hansonr [Mon, 7 Oct 2019 05:57:11 +0000 (07:57 +0200)]
JAL-3453 Some tests require different Desktop constructor

even better, simpler idea:

static boolean instanceOnly

  public static Desktop getInstanceOnly()
  {
    instanceOnly = true;
    return getInstance();
  }

5 years agoJAL-3453 Some tests require different Desktop constructor
hansonr [Mon, 7 Oct 2019 05:50:08 +0000 (07:50 +0200)]
JAL-3453 Some tests require different Desktop constructor

better idea:

Desktop.getInstanceOnly()

- creates an instance with no dialog prompting and no frame display,
similar to headless mode, but not fully bypassing the code that
Jalview.headless bypasses.

5 years agoJAL-3453 better JavaDoc
hansonr [Sun, 6 Oct 2019 19:09:18 +0000 (21:09 +0200)]
JAL-3453 better JavaDoc

5 years agoJAL-2114 just noting where the exo-location error presents itself.
hansonr [Sun, 6 Oct 2019 19:03:21 +0000 (21:03 +0200)]
JAL-2114 just noting where the exo-location error presents itself.

5 years agoJAL-3454 file loading string-only (testNG) fails for PDB file
hansonr [Sun, 6 Oct 2019 18:59:56 +0000 (20:59 +0200)]
JAL-3454 file loading string-only (testNG) fails for PDB file

5 years agoJAL-3453 Some tests require different Desktop constructor
hansonr [Sun, 6 Oct 2019 18:56:57 +0000 (20:56 +0200)]
JAL-3453 Some tests require different Desktop constructor

5 years agoJAL-3451 setting dimensions for AlignFrame if embedded
hansonr [Sun, 6 Oct 2019 10:44:23 +0000 (12:44 +0200)]
JAL-3451 setting dimensions for AlignFrame if embedded

5 years agoJAL-3451 updated SwingJS-site.zip
hansonr [Sun, 6 Oct 2019 10:43:46 +0000 (12:43 +0200)]
JAL-3451 updated SwingJS-site.zip

5 years agoupdated _j2sclasslist.txt and _j2sclasslist_jmol.txt
hansonr [Sun, 6 Oct 2019 10:42:02 +0000 (12:42 +0200)]
updated _j2sclasslist.txt and _j2sclasslist_jmol.txt

5 years agoJAL-3451 JalviewJS embedded mode not resizing
hansonr [Sun, 6 Oct 2019 10:41:22 +0000 (12:41 +0200)]
JAL-3451 JalviewJS embedded mode not resizing

- adds Platform.getDimIfEmbedded(frame, defaultWidth, defaultHeight)
- implemented for AlignFrame, TreePanel, and PCAPanel

5 years agoMerge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview...
hansonr [Sun, 6 Oct 2019 06:53:23 +0000 (08:53 +0200)]
Merge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview.git into Jalview-JS/JAL-3253-applet

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-3253 miscellaneous tidying up before merge to JS-develop
gmungoc [Fri, 4 Oct 2019 14:18:36 +0000 (15:18 +0100)]
JAL-3253 miscellaneous tidying up before merge to JS-develop

5 years agoJAL-3253 extract methods for getConservation/PIDSlider
gmungoc [Fri, 4 Oct 2019 09:52:42 +0000 (10:52 +0100)]
JAL-3253 extract methods for getConservation/PIDSlider

5 years agoJAL-3345 small simplification
gmungoc [Fri, 4 Oct 2019 09:31:17 +0000 (10:31 +0100)]
JAL-3345 small simplification

5 years agoJAL-3383 tidy method signature and Javadoc
gmungoc [Thu, 3 Oct 2019 14:57:11 +0000 (15:57 +0100)]
JAL-3383 tidy method signature and Javadoc

5 years agoJAL-3253 one global singleton instance of EnsemblInfo suffices
gmungoc [Thu, 3 Oct 2019 13:36:10 +0000 (14:36 +0100)]
JAL-3253 one global singleton instance of EnsemblInfo suffices

5 years agoJAL-3383 code and unit test tweaks
gmungoc [Thu, 3 Oct 2019 12:39:53 +0000 (13:39 +0100)]
JAL-3383 code and unit test tweaks

5 years agoJAL-3444 transparent colour for alignment in JS
gmungoc [Thu, 3 Oct 2019 12:39:28 +0000 (13:39 +0100)]
JAL-3444 transparent colour for alignment in JS

5 years agoJAL-3383 removed FeatureStore.getFeatures() as 'breaks encapsulation'
gmungoc [Thu, 3 Oct 2019 11:41:09 +0000 (12:41 +0100)]
JAL-3383 removed FeatureStore.getFeatures() as 'breaks encapsulation'

5 years agoJAL-3383 unit tests and bug fix for SequenceFeatures.hasFeatures(type)
gmungoc [Thu, 3 Oct 2019 10:30:28 +0000 (11:30 +0100)]
JAL-3383 unit tests and bug fix for SequenceFeatures.hasFeatures(type)

5 years agoJAL-3383 tests and fixes for overloaded SequenceFeatures.findFeatures
gmungoc [Thu, 3 Oct 2019 10:16:12 +0000 (11:16 +0100)]
JAL-3383 tests and fixes for overloaded SequenceFeatures.findFeatures

5 years agoJAL-3442 removing reinstated code
gmungoc [Thu, 3 Oct 2019 08:31:23 +0000 (09:31 +0100)]
JAL-3442 removing reinstated code

5 years agoMerge branch 'Jalview-JS/JAL-3253-applet' of https://source.jalview.org/git/jalview...
gmungoc [Wed, 2 Oct 2019 07:54:40 +0000 (08:54 +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-3253 JAL-3442 just comment tidying
gmungoc [Wed, 2 Oct 2019 07:54:29 +0000 (08:54 +0100)]
JAL-3253 JAL-3442 just comment tidying

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