gmungoc [Wed, 10 Jun 2020 09:14:13 +0000 (10:14 +0100)]
JAL-3446 more tweaks to tests failing on build server
gmungoc [Wed, 10 Jun 2020 08:59:39 +0000 (09:59 +0100)]
Merge branch 'Jalview-JS/develop' of https://source.jalview.org/git/jalview.git into Jalview-JS/develop
BobHanson [Wed, 10 Jun 2020 05:22:18 +0000 (00:22 -0500)]
JAL-3446 tests - Popup/HTML changes in Applet
- <br> indicates no additional line breaks.
- removal of unrealistic tests ("false" tests of jws2Discoverer HTML
messages)
- accepts either <br> or <br/> (as does JLabel)
BobHanson [Wed, 10 Jun 2020 05:03:22 +0000 (00:03 -0500)]
JAL-3446 AlignViewportTest
- optionally stops jabaws checking interference; Allows a bit more time,
for calculation to start, I think.
- passing 8 times in a row
BobHanson [Wed, 10 Jun 2020 03:07:59 +0000 (22:07 -0500)]
JAL-3446 Dynamic menu - Moves calc sortby tree item creation to opening
of its submenu, rather than the upper-level sort menu.
- suggestion only; changes setVisible to setEnabled, more along the
lines of standard practice (?)
- allows for a simple change from "enabled" to "visible" if desired, but
still leaves the submenu creation in its most proximate location.
BobHanson [Wed, 10 Jun 2020 03:01:04 +0000 (22:01 -0500)]
JAL-3446 SwingJS-site.zip for dynamic menus
- adds missing mouse-event bindings to all
dynamically created menu items
immediately after return from menuSelected event
- fixes issue of menus too eager to close
BobHanson [Tue, 9 Jun 2020 21:32:02 +0000 (16:32 -0500)]
JAL-3446 problem with Select-Find tooltip
- Just too complex to allow wrapping AND <br> tags.
- Compromise is to not worry about "maximum length" if "<br>" is used.
- Assumption is that if you took the time to put in a <br> you expect
that to be where (and only where) the line breaks are and also to define
the width of the tooltip
- adds a thin border around the tooltip text.
BobHanson [Tue, 9 Jun 2020 21:29:00 +0000 (16:29 -0500)]
JAL-3446 proposed dropdown fix
- 100 ms delay for opening
- proper toggle operation for button
- all actions on mouseup
- tooltips open and close appropriately
gmungoc [Tue, 9 Jun 2020 15:08:28 +0000 (16:08 +0100)]
JAL-3446 tearDown to fix unit test fail
BobHanson [Tue, 9 Jun 2020 06:55:57 +0000 (01:55 -0500)]
Merge branch 'Jalview-JS/develop' of https://source.jalview.org/git/jalview.git into Jalview-JS/develop
BobHanson [Tue, 9 Jun 2020 06:42:17 +0000 (01:42 -0500)]
JAL-3446 from applet; JAL-3374
- JalviewJSApp interface updated
- Jalview "noannotations" fixed
- AlignFrame show annotations menu item when started with noannations
fixed
- reorganization of timing of setting range start/end and scrollbar
values solves (many) timing issues in SeqCanvasTest and
AlignmentPanelTest, which were due to asynchronous delayed repaints
setting range values in paintComponent(g) way too late.
- correction of font checking in AlignmentPanelTest - "VERY LONG LABEL"
not long enough after adding "MMMM" in a prior test
- corrections for "isMac()" (now "!isWin()") in tests
- addition of Jalview.isInteractive for SeqCanvasTest -- still an
occasional conflict with previous test when in batch mode
- addition of Jalview.allowServices for simple tests (using -jabaws
"none"), allowing them to not run unnecessary service look-up threads
- centralization of AlignmentViewport firing of "alignment" property
change for sanity only
- adding of "sequence" property change for notification of need to
refresh the horizontal scrollbar after changes in range and scrollbar
update timing
- still a minor issue with noannotation starting up ok, but the first
annotation spilling over into scrollbar space (is that a filler?)
BobHanson [Tue, 9 Jun 2020 06:25:37 +0000 (01:25 -0500)]
JAL-3446 from applet - Cache news date fix
- US time stored differently, I guess.
BobHanson [Tue, 9 Jun 2020 06:24:40 +0000 (01:24 -0500)]
JAL-3446 from JAL-3253-applet SequenceFetcher.getInstance()
BobHanson [Tue, 9 Jun 2020 06:20:53 +0000 (01:20 -0500)]
JAL-3446 from JAL-3253-applet Tree Canvas bug fix
- was possible to right-click off the node to get a NullPointer
exception.
soares [Mon, 8 Jun 2020 13:39:17 +0000 (14:39 +0100)]
JAL-3446 old j8lib Jmol-14.29.17.jar removed. SHOULD NOT BE CHERRY-PICKED TO develop or release UNTIL JAL-3595 RESOLVED
soares [Mon, 8 Jun 2020 13:36:41 +0000 (14:36 +0100)]
JAL-3446 new Jmol 15.1.3 jar added to j11lib, old j11lib Jmol-14.29.17-no_netscape.jar removed
BobHanson [Mon, 8 Jun 2020 04:24:29 +0000 (23:24 -0500)]
JAL-3446 minor SwingJS-site.zip fixes; Assets.
BobHanson [Sun, 7 Jun 2020 23:39:37 +0000 (18:39 -0500)]
JAL-3446 AppletParams
BobHanson [Sun, 7 Jun 2020 18:27:42 +0000 (13:27 -0500)]
JAL-3446 rearranged parameters for JalviewJS API methods
BobHanson [Sun, 7 Jun 2020 18:09:26 +0000 (13:09 -0500)]
Merge branch 'Jalview-JS/develop' of https://source.jalview.org/git/jalview.git into Jalview-JS/develop
BobHanson [Sun, 7 Jun 2020 18:00:11 +0000 (13:00 -0500)]
JAL-3446 reorganized JalviewJSApp (accidentally put that in jalview/api)
and
fixes for 2-applet example
- API.md
- follows commit 01717e2 (missing JAL-3446 tag)
BobHanson [Sun, 7 Jun 2020 18:00:11 +0000 (13:00 -0500)]
reorganized JalviewJSApp (accidentally put that in jalview/api) and
fixes for 2-applet example
BobHanson [Sun, 7 Jun 2020 04:06:11 +0000 (23:06 -0500)]
JAL-3446 differences.txt now delivered with SwingJS-site.zip
BobHanson [Sun, 7 Jun 2020 04:05:16 +0000 (23:05 -0500)]
JAL-3446 JavaScript interface
- testing with two apps on a page
- now requires Jalview1.getApp().xxxx, not just Jalview1.app, because a
call is needed to ensure that ThreadGroup is set correctly.
- still working on this...
BobHanson [Sun, 7 Jun 2020 04:00:36 +0000 (23:00 -0500)]
JAL-3446 Desktop fix for embedding
BobHanson [Sat, 6 Jun 2020 22:37:22 +0000 (17:37 -0500)]
JAL-3446 no actual changes; just using meaningful frame options
BobHanson [Sat, 6 Jun 2020 17:36:34 +0000 (12:36 -0500)]
JAL-3446 adds Jmol viewer embedding.
BobHanson [Sat, 6 Jun 2020 17:23:19 +0000 (12:23 -0500)]
JAL-3446 adds Jmol viewer embedding.
BobHanson [Sat, 6 Jun 2020 13:24:32 +0000 (08:24 -0500)]
Jmol 15.1.3 rebuilt
BobHanson [Sat, 6 Jun 2020 13:13:33 +0000 (08:13 -0500)]
JAL-3379 JalviewJS-API specs - preliminary
BobHanson [Fri, 5 Jun 2020 22:09:46 +0000 (17:09 -0500)]
JAL-3446 embedded file for proper name matching
web app name "Jalview"
div id="Jalview-desktop-div"
So whatever name you give the applet must match the div tags.
Previously, the div name was associated with a different name,
Info.j2sAppID, or something like that. This is much more sensible.
Just don't name it "jalview", because that is a package name!
BobHanson [Fri, 5 Jun 2020 21:46:09 +0000 (16:46 -0500)]
JAL-3446 UrlDownloadClient and Test
- moving download to Platform
- trivializing JavaScript method
- expanding SwingJS to allow for nio methods
Note: SwingJS preserves byte[] in the File, Path, or FileOutputStream
objects as well as in J2S._javaFileCache. Because of that, one thing you
have to look out for is stale references. In this case, we have:
temp = new Path(...);
fos = new FileOutputStream(temp.toString);
now two independent pointers both refer to the tmp file.
rbc = new
ReadableByteChannel(url.openStream());
fos.getChannel().transferFrom(rbc);
Now the bytes are in fos's channel, but they are not associated yet with
"tmp".
Files.copy(tmp, outfile);
This wasn't working in JavaScript, because Path tmp was out of date, and
so no bytes were being copied.
Working now, but still far to complicated for the simple operation of
transferring bytes from an InputStream to a File in JavaScript.
BobHanson [Fri, 5 Jun 2020 16:33:19 +0000 (11:33 -0500)]
JAL-3446 Desktop JS needs getIdentifiersOrgData();
BobHanson [Fri, 5 Jun 2020 15:35:23 +0000 (10:35 -0500)]
JAL-3446 forgot to escape Java in modified Platform.getAppID
BobHanson [Fri, 5 Jun 2020 15:22:33 +0000 (10:22 -0500)]
JAL-3446 new Locale("") moved to Platform for review.
BobHanson [Fri, 5 Jun 2020 14:30:55 +0000 (09:30 -0500)]
JAL-3446 AlignmentSorter/Test more documentation; bit cleaner code
BobHanson [Fri, 5 Jun 2020 13:46:03 +0000 (08:46 -0500)]
JAL-3446 AlignmentSorter/Test fixed for instance
BobHanson [Fri, 5 Jun 2020 12:38:09 +0000 (07:38 -0500)]
JAL-3446 removes all JalviewJSApp dependency from jalview.bin.Jalview;
cleans up logic in Jalview.doMain
BobHanson [Fri, 5 Jun 2020 05:54:10 +0000 (00:54 -0500)]
Merge branch 'Jalview-JS/develop' of https://source.jalview.org/git/jalview.git into Jalview-JS/develop
BobHanson [Fri, 5 Jun 2020 05:53:39 +0000 (00:53 -0500)]
Refactoring of Jalview, JalviewAppLoader, JalviewApp, various
applet-related interfaces
- makes JalviewJSApp the JavaScript interface "app" class
- removes JS interface from Jalview
- removes JalviewAppLoader and associated duplication of classes
- adds JavaScript selection and "oninit" listeners (untested)
BobHanson [Fri, 5 Jun 2020 05:51:07 +0000 (00:51 -0500)]
SwingJS upgrade for JSUtil and JSUtilI
BobHanson [Fri, 5 Jun 2020 05:26:32 +0000 (00:26 -0500)]
JAL-3446 new Jmol 15.1.3 jar
- into j8lib
- removes netscape package dependence
Ben Soares [Thu, 4 Jun 2020 19:40:24 +0000 (20:40 +0100)]
JAL-3225 Minor change to building.md for flexmark, and html output files from the process, handy to have in repo for developers
Ben Soares [Thu, 4 Jun 2020 19:38:13 +0000 (20:38 +0100)]
JAL-3225 Removed dependency on command line pandoc to convert .md files to .html. Now all files in doc/*.md will get converted to doc/*.html using flexmark within gradle process.
gmungoc [Thu, 4 Jun 2020 16:22:29 +0000 (17:22 +0100)]
JAL-1191 reduce logging level for warnings
gmungoc [Thu, 4 Jun 2020 16:21:29 +0000 (17:21 +0100)]
JAL-3446 post-merge unit test fixes, formatting
BobHanson [Wed, 3 Jun 2020 21:30:49 +0000 (16:30 -0500)]
I see...
BobHanson [Wed, 3 Jun 2020 21:30:12 +0000 (16:30 -0500)]
adds link for __j2sflags.htm to template.html
BobHanson [Wed, 3 Jun 2020 21:26:41 +0000 (16:26 -0500)]
updated template.html
BobHanson [Wed, 3 Jun 2020 21:19:44 +0000 (16:19 -0500)]
_jvjmol.txt
BobHanson [Wed, 3 Jun 2020 20:54:57 +0000 (15:54 -0500)]
JAL-3664 support for new Locale(""), meaning "not actually a
ResourceBundle, just one file (MessageManager)
BobHanson [Wed, 3 Jun 2020 20:54:03 +0000 (15:54 -0500)]
JAL-3664 support for user.home, user.dir, user
BobHanson [Wed, 3 Jun 2020 20:47:30 +0000 (15:47 -0500)]
JAL-3446 adds SIFTs JAL-3625 SiftsClient
BobHanson [Wed, 3 Jun 2020 14:24:06 +0000 (09:24 -0500)]
JAL-3446 from JAL-3253 ApplicationSingletonProvider missing for
RestClient; others are just cosmetic
BobHanson [Wed, 3 Jun 2020 13:12:37 +0000 (08:12 -0500)]
JAL-3446 AsyncSwingWorker upgrade
BobHanson [Wed, 3 Jun 2020 03:05:11 +0000 (22:05 -0500)]
JAL-3446 from JAL-3253 Discoverers
BobHanson [Wed, 3 Jun 2020 00:58:05 +0000 (19:58 -0500)]
JAL-3446 from JAL-3253 ApplicationSingletonProvider
StructureSelectionManager and others
BobHanson [Wed, 3 Jun 2020 00:29:28 +0000 (19:29 -0500)]
JAL-3446 from JAL-3253 ApplicationSingletonProvider Desktop
BobHanson [Tue, 2 Jun 2020 23:47:20 +0000 (18:47 -0500)]
JAL-3446 from JAL-3253 ApplicationSingletonProvider 1/many
BobHanson [Tue, 2 Jun 2020 23:23:42 +0000 (18:23 -0500)]
JAL-3446 JAL-3401 from JAL-3253 HoldRepaint and SeqCanvas sizing issues.
- integrated changes from 0b573ed (gmungoc)
BobHanson [Tue, 2 Jun 2020 21:56:28 +0000 (16:56 -0500)]
JAL-3446 from JAL-3253-applet Jalview2XML integration (retains
GeneLocus; switches to invokeLater)
BobHanson [Tue, 2 Jun 2020 21:54:57 +0000 (16:54 -0500)]
JAL-3446 from JAL-3253-applet Desktop and Jws2Discoverer getInstance()
BobHanson [Tue, 2 Jun 2020 21:51:32 +0000 (16:51 -0500)]
JAL-3446 JAL-3401 from JAL-3253-applet AlignmentPanel.holdRepaint
BobHanson [Tue, 2 Jun 2020 21:06:05 +0000 (16:06 -0500)]
JAL-3446 from JAL-3253 AppletFormatAdapter not fixed
BobHanson [Tue, 2 Jun 2020 21:04:47 +0000 (16:04 -0500)]
Preferences/StructureViewer fix
BobHanson [Tue, 2 Jun 2020 18:22:59 +0000 (13:22 -0500)]
this was supposed to go on a separate branch. Didn't know I had to be
sure I was synchronized.
BobHanson [Tue, 2 Jun 2020 18:19:25 +0000 (13:19 -0500)]
Merge branch 'Jalview-JS/develop' of https://source.jalview.org/git/jalview.git into Jalview-JS/develop
BobHanson [Tue, 2 Jun 2020 17:28:18 +0000 (12:28 -0500)]
JAL-3446 JAL-3253 JAL-3445 BSML bbb XML format reader (preliminary)
Ben Soares [Tue, 2 Jun 2020 16:30:51 +0000 (17:30 +0100)]
JAL-3225 some fixes to build.gradle for working in Eclipse and not always changing doc/building.html
BobHanson [Tue, 2 Jun 2020 15:20:30 +0000 (10:20 -0500)]
JAL-3446 JAL-3253 Preferences
- unnecessary static initialization of StructureViewer
BobHanson [Tue, 2 Jun 2020 12:27:43 +0000 (07:27 -0500)]
JAL-3446 from JAL-3253-applet StockholmFile updated to 26b115b (gmungoc)
BobHanson [Tue, 2 Jun 2020 11:30:54 +0000 (06:30 -0500)]
helpful hints from Ben
gmungoc [Tue, 2 Jun 2020 10:19:16 +0000 (11:19 +0100)]
JAL-3446 latest jmol zip from JAL-3253-applet (commit c28e0a1)
gmungoc [Tue, 2 Jun 2020 10:00:36 +0000 (11:00 +0100)]
JAL-3446 fix broken test
BobHanson [Tue, 2 Jun 2020 03:32:31 +0000 (22:32 -0500)]
Bob's gitignore addition
/build-site.xml
/buildcore.xml
/j11lib/intervalstore-v1.0.jar
BobHanson [Tue, 2 Jun 2020 03:13:03 +0000 (22:13 -0500)]
JAL-3626 from JAL-3253-applet Jalview.java
adds JalviewLite interface; removes deprecated AppletContext interface
BobHanson [Tue, 2 Jun 2020 03:10:58 +0000 (22:10 -0500)]
JAL-3626 from JAL-3253-applet Cache applicationProperties made private
-- adds remove/setPropertyNoSave
BobHanson [Tue, 2 Jun 2020 00:34:02 +0000 (19:34 -0500)]
JAL-3626 from JAL-3253-applet Cache applicationProperties made private
-- adds remove/setPropertyNoSave
BobHanson [Tue, 2 Jun 2020 00:32:42 +0000 (19:32 -0500)]
JAL-3626 from JAL-3253-applet web page embedding
BobHanson [Mon, 1 Jun 2020 22:37:20 +0000 (17:37 -0500)]
JAL-3626 from JAL-3253-applet JalviewLite scrollTo capability
BobHanson [Mon, 1 Jun 2020 22:25:24 +0000 (17:25 -0500)]
JAL-3626 from JAL-3253-applet CalculationChooser
-- dissociated from panel for static access by JavaScript
BobHanson [Mon, 1 Jun 2020 22:18:07 +0000 (17:18 -0500)]
JAL-3626 from JAL-3253-applet StructureViewer/Chooser
-- disassociates viewer launch from chooser
-- for JavaScript interface
(sorry about JAL-3262 ref previously)
BobHanson [Mon, 1 Jun 2020 21:48:12 +0000 (16:48 -0500)]
JAL-3262 from JAL-3253-applet temp. Desktop instance hack
BobHanson [Mon, 1 Jun 2020 21:43:44 +0000 (16:43 -0500)]
JAL-3262 from JAL-3253-applet JalviewApp integration
BobHanson [Mon, 1 Jun 2020 21:41:54 +0000 (16:41 -0500)]
JAL-3262 from JAL-3253-applet JalviewApp integration
BobHanson [Mon, 1 Jun 2020 21:39:06 +0000 (16:39 -0500)]
JAL-3262 from JAL-3253-applet AppletParams + Cache.setPropertyNoSave
BobHanson [Mon, 1 Jun 2020 21:33:54 +0000 (16:33 -0500)]
JAL-3262 from JAL-3253-applet ArgsParser
BobHanson [Mon, 1 Jun 2020 21:29:54 +0000 (16:29 -0500)]
JAL-3262 from JAL-3253-applet Platform JS interface upgrade
BobHanson [Mon, 1 Jun 2020 21:29:10 +0000 (16:29 -0500)]
JAL-3262 from JAL-3253-applet Preferences final static String upgrade
BobHanson [Mon, 1 Jun 2020 21:20:28 +0000 (16:20 -0500)]
JAL-3262 from JAL-3523-applet JalviewApp and JalviewJSApi
- removes JaliewJSLite dependence
- removes AlignFrameI reference
BobHanson [Mon, 1 Jun 2020 21:14:33 +0000 (16:14 -0500)]
JAL-3262 from JAL3253-applet core_jvjmol.z.js static load
BobHanson [Mon, 1 Jun 2020 21:10:28 +0000 (16:10 -0500)]
JAL-3626 Regex optimization from JAL-3253-applet; also minor
StockholmFile for loop opt.
BobHanson [Mon, 1 Jun 2020 19:22:56 +0000 (14:22 -0500)]
THIRDPARTYLIBS referred to intervalstore-v1.0 still
BobHanson [Mon, 1 Jun 2020 19:12:41 +0000 (14:12 -0500)]
corrects Platform.openURL
BobHanson [Mon, 1 Jun 2020 19:02:47 +0000 (14:02 -0500)]
JAL-3626 adding compatible Platform.java
BobHanson [Mon, 1 Jun 2020 17:40:31 +0000 (12:40 -0500)]
SwingJS update
BobHanson [Mon, 1 Jun 2020 17:38:02 +0000 (12:38 -0500)]
Merge branch 'Jalview-JS/develop' of https://source.jalview.org/git/jalview.git into Jalview-JS/develop
BobHanson [Mon, 1 Jun 2020 17:32:19 +0000 (12:32 -0500)]
swingjs/api, javajs/async
soares [Mon, 1 Jun 2020 14:54:16 +0000 (15:54 +0100)]
JAL-3225 small fixes for building within Eclipse
soares [Thu, 28 May 2020 21:07:28 +0000 (22:07 +0100)]
Merge branch 'Jalview-JS/develop' of https://source.jalview.org/git/jalview into Jalview-JS/develop