hansonr [Mon, 21 Jan 2019 04:52:03 +0000 (22:52 -0600)]
menu update; popup not functioning, though?? Working fine in test suite.
Will test.
hansonr [Sat, 19 Jan 2019 13:08:20 +0000 (07:08 -0600)]
menu bug preventing closing - recompiled
hansonr [Fri, 18 Jan 2019 09:19:35 +0000 (03:19 -0600)]
menu bug preventing closing
I see the problem with label icons offset. Something I did when I was
doing mnemonics, I think....
hansonr [Fri, 18 Jan 2019 08:57:57 +0000 (02:57 -0600)]
canvas line/font/pixel fixes; menu accelerators;
gmungoc [Thu, 17 Jan 2019 15:29:29 +0000 (15:29 +0000)]
Merge branch 'develop' into Jalview-BH/JAL-3026-JAL-3063-JAXB
Conflicts:
.gitignore
resources/lang/Messages.properties
resources/lang/Messages_es.properties
src/jalview/commands/EditCommand.java
src/jalview/gui/FeatureSettings.java
src/jalview/gui/ScalePanel.java
hansonr [Tue, 15 Jan 2019 19:18:38 +0000 (13:18 -0600)]
removal of AlignmentFrame lines
hansonr [Tue, 15 Jan 2019 19:17:16 +0000 (13:17 -0600)]
subimage height error
gmungoc [Mon, 14 Jan 2019 16:13:10 +0000 (16:13 +0000)]
JAL-3186 remove Variable Colour from popup menu
gmungoc [Mon, 14 Jan 2019 16:00:59 +0000 (16:00 +0000)]
JAL-3186 remove duplicate message keys
gmungoc [Fri, 16 Nov 2018 08:04:54 +0000 (08:04 +0000)]
JAL-2069 wider dialog so all fields show!
Conflicts:
src/jalview/gui/FeatureTypeSettings.java
gmungoc [Mon, 14 Jan 2019 15:04:04 +0000 (15:04 +0000)]
JAL-3186 reorder popup menu slightly
gmungoc [Mon, 14 Jan 2019 14:25:11 +0000 (14:25 +0000)]
JAL-2069 clear any error colour when setting threshold from slider
gmungoc [Wed, 26 Sep 2018 14:08:11 +0000 (15:08 +0100)]
JAL-3125 tidy up
gmungoc [Wed, 26 Sep 2018 11:05:01 +0000 (12:05 +0100)]
JAL-3125 avoid slider 'rounding' threshold field value
hansonr [Mon, 14 Jan 2019 07:21:42 +0000 (01:21 -0600)]
Mnemonics implemented fully for menus; will appear on standard buttons
and the RootPane menubar, but they will not be active, as they are
actually not mnemonics. They are a form of implicit ALT-X accelerators
(which use InputMap). Accelerators are next to implement. Should be
relatively easy. Not planning to implement mouse-down-and-hold for
mnemonic cycles (multiple mnemonics with the same letter).
hansonr [Fri, 11 Jan 2019 04:49:59 +0000 (22:49 -0600)]
Merge branch 'Jalview-BH/JAL-3026-JAL-3063-JAXB' of https://source.jalview.org/git/jalview.git into Jalview-BH/JAL-3026-JAL-3063-JAXB
hansonr [Fri, 11 Jan 2019 04:49:40 +0000 (22:49 -0600)]
SwingJS upgrade
hansonr [Fri, 11 Jan 2019 04:49:20 +0000 (22:49 -0600)]
(commented out but potentially useful) methods to tap Java release
logging options -- used for tracing events
hansonr [Fri, 11 Jan 2019 04:48:06 +0000 (22:48 -0600)]
JS optimization for too aggressive dynamic operation when entering PDB
IDs (proposal only)
hansonr [Fri, 11 Jan 2019 04:46:25 +0000 (22:46 -0600)]
adding (unnecessary, but informative super() call in Desktop
gmungoc [Wed, 9 Jan 2019 15:54:50 +0000 (15:54 +0000)]
JAL-3032 stub JS tabbed pane removed as not used
gmungoc [Wed, 9 Jan 2019 15:52:56 +0000 (15:52 +0000)]
JAL-3032 tweak inner/outer class references
gmungoc [Wed, 9 Jan 2019 15:51:57 +0000 (15:51 +0000)]
JAL-3032 refine 'empty status message' test (JS issue 179)
hansonr [Wed, 9 Jan 2019 05:45:53 +0000 (23:45 -0600)]
#179 status bar; #85 table repaint; #197?; #193 frame nonresizable;
#191 JSON (String.toLowerCase$java_util_Locale missing)
hansonr [Wed, 9 Jan 2019 05:38:31 +0000 (23:38 -0600)]
simplification of FeatureSettings inner classes
No need here for additional private inner variables that cover outer
class's versions of the same thing. No need for a pointer to the outer
class, as "me" is already the "this" of the other class.
Added necessary JTable.repaint() to fix the problem that "stopping"
editing was relying upon the invalidation to be maintained throughout
the modal dialog, but JavaScript cannot keep the thread from doing its
repaints. So in JavaScript, while the modal dialog is loading, the
validate sequence from stopping editing fires. Thus, when the editing
dialog closes, it is already validated for the previous value, and we
need to explicitly repaint the table to see the update.
hansonr [Wed, 9 Jan 2019 05:33:45 +0000 (23:33 -0600)]
comment added in relation to status bar
hansonr [Tue, 8 Jan 2019 07:26:16 +0000 (01:26 -0600)]
preliminary KeyListener, CaretListener
not quite working yet
gmungoc [Thu, 3 Jan 2019 10:28:43 +0000 (10:28 +0000)]
JAL-1889 additional test for clover-added fields
gmungoc [Thu, 3 Jan 2019 09:16:15 +0000 (09:16 +0000)]
JAL-1889 ignore 'synthetic' fields added for jacoco
hansonr [Sat, 29 Dec 2018 04:40:54 +0000 (22:40 -0600)]
JEditorPane <div>....<br><div>
hansonr [Sat, 29 Dec 2018 03:07:08 +0000 (21:07 -0600)]
JEditorPane <div>....<br><div>
hansonr [Sat, 29 Dec 2018 03:07:08 +0000 (21:07 -0600)]
support added for JEditorPane, JTextPane, JTextArea, JTextField
- default selection support for JTextArea and JTextField
- DefaultStyledDocument support for JTextPane
- includes font/color/bold/italic/sub/sup
hansonr [Tue, 25 Dec 2018 00:10:28 +0000 (18:10 -0600)]
#188, #195
- disabled submenus still opening (enable node should be li, not "a" tag
- popup requires double click (interference with JToolBar closing)
hansonr [Tue, 25 Dec 2018 00:05:25 +0000 (18:05 -0600)]
better Jmol help link
hansonr [Mon, 24 Dec 2018 22:52:53 +0000 (16:52 -0600)]
fixes #195 popup requires two clicks
(interference with JTooptip window closing)
hansonr [Sat, 22 Dec 2018 18:49:52 +0000 (12:49 -0600)]
Merge branch 'Jalview-BH/JAL-3026-JAL-3063-JAXB' of https://source.jalview.org/git/jalview.git into Jalview-BH/JAL-3026-JAL-3063-JAXB
hansonr [Sat, 22 Dec 2018 18:49:32 +0000 (12:49 -0600)]
#179, #185 status bar flicker gone (?), Colour by Annotation working
gmungoc [Fri, 21 Dec 2018 11:06:37 +0000 (11:06 +0000)]
JAL-3032 prefer Jalview.isJS() to j2sNative
hansonr [Fri, 21 Dec 2018 02:51:40 +0000 (20:51 -0600)]
menubar, menus, tables
- Menubar adjusted to height of menu item text
- popip menu hover highlight moved from <a> to <li> tag,
makes for full-width highlight
- popup menu hover to highlight bypasses <span> children by
using mouseover instead of mouseenter
- popup menu vertical and horizontal spacing tweaks
maybe still issues with menu exit/hiding
- tables now correctly respond to changed data[] model
- much streamlined processing on changes for better performance
- still could do more, but it seems pretty smooth
- not able to reproduce any issues with color picker
Make sure to do a clean build. There were files in JavaScript that did
not get updated in my recent pull of Mungo's work.
hansonr [Thu, 20 Dec 2018 12:10:52 +0000 (06:10 -0600)]
JalviewFileChooser back to original; synth. ref fixed in j2sClazz.js
hansonr [Thu, 20 Dec 2018 11:41:12 +0000 (05:41 -0600)]
preliminary hack fix for synthetic reference issue
RecentlyOpened
inner/ /subclasses
JalviewFileChooser
\ /
JFileChooser
Component
So Component can be retrieved two ways through JFileChooser. (1) as the
original JalviewFileChooser object
(2) as the superclass of RecentlyOpened.
I will look into it. For now it is sufficient to simply move
RecentlyOpened to be at least a static class. I just made it another
top-level class.
hansonr [Thu, 20 Dec 2018 10:16:43 +0000 (04:16 -0600)]
fixes menu persistence issues
- closes all menus on any click
- adds persistence for clicking a submenu item
hansonr [Thu, 20 Dec 2018 08:59:04 +0000 (02:59 -0600)]
seq panel issue with shift-left-mouse drag fix
TODO: menus no longer close on their own
hansonr [Thu, 20 Dec 2018 07:26:10 +0000 (01:26 -0600)]
label work; adds preliminary _j2sclasslist.txt
- use get class list link on test page to save list
- run buildcore.xml, which creates j2s/core/core_jalview.z.js (3.8 Mb)
- open jalview_bin_JalviewJS_core.html (if it is not in site/ copy it
from site-resources -- the transpiler should do this, but not unless you
change the code)
On my machine, Chrome loads and displays the reference JAXB file in
under five seconds.
The mechanism of dynamic loading of core files (not just preloading,
like this) might not be implemented yet in SwingJS.
TODO: menus are not automatically closing on the 300-ms timer anymore. Something I did when reconfiguring CSS for menu items. Will check.
gmungoc [Wed, 19 Dec 2018 11:38:30 +0000 (11:38 +0000)]
JAL-2791 JAL-2808 correct Javadoc for api method
gmungoc [Wed, 19 Dec 2018 09:16:41 +0000 (09:16 +0000)]
JAL-3032 ignore /site also on non-JS branches
Jim Procter [Tue, 18 Dec 2018 19:20:32 +0000 (19:20 +0000)]
JAL-2846 ahem - proper release note for this fix from KJVDH !
Jim Procter [Tue, 18 Dec 2018 19:13:05 +0000 (19:13 +0000)]
JAL-3178 known defect in release notes
gmungoc [Tue, 18 Dec 2018 18:06:41 +0000 (18:06 +0000)]
JAL-3048 fix NPE in file chooser callbacks map
gmungoc [Tue, 18 Dec 2018 17:58:39 +0000 (17:58 +0000)]
Merge branch 'JAL-3048dialogRunner2' into Jalview-BH/JAL-3026-JAL-3063-JAXB
gmungoc [Tue, 18 Dec 2018 17:58:12 +0000 (17:58 +0000)]
JAL-3032 revert table repaint customisations
gmungoc [Tue, 18 Dec 2018 17:11:33 +0000 (17:11 +0000)]
JAL-3048 DialogRunnerI reduced to minimal implementation
hansonr [Tue, 18 Dec 2018 14:32:23 +0000 (08:32 -0600)]
removing special needs for JavaScript table repainting
gmungoc [Tue, 18 Dec 2018 12:31:57 +0000 (12:31 +0000)]
Merge branch 'Jalview-BH/JAL-3026-JAL-3063-JAXB' into
JAL-3048dialogRunner2
Conflicts:
test/jalview/util/dialogrunner/DialogRunnerTest.java
hansonr [Tue, 18 Dec 2018 05:16:22 +0000 (23:16 -0600)]
opening/closing windows closes all menus
hansonr [Tue, 18 Dec 2018 04:37:13 +0000 (22:37 -0600)]
table work
- fixed use of save/restore of ui nodes in tables
- default background white
- inadvertent resetting of table background via JPopupMenu
hansonr [Tue, 18 Dec 2018 00:02:58 +0000 (18:02 -0600)]
extraneous "Score >" on left of page removed
hansonr [Tue, 18 Dec 2018 00:02:58 +0000 (18:02 -0600)]
extraneous "Score >" on left of page removed
hansonr [Mon, 17 Dec 2018 22:44:18 +0000 (16:44 -0600)]
Merge branch 'Jalview-BH/JAL-3026-JAL-3063-JAXB' of https://source.jalview.org/git/jalview.git into Jalview-BH/JAL-3026-JAL-3063-JAXB
hansonr [Mon, 17 Dec 2018 22:43:57 +0000 (16:43 -0600)]
fixes JTabbedPane missing labels; color chooser e.g.
Jim Procter [Mon, 17 Dec 2018 17:53:49 +0000 (17:53 +0000)]
JAL-3111 JAL-2846 release notes
Jim Procter [Mon, 17 Dec 2018 17:52:26 +0000 (17:52 +0000)]
Merge branch 'bug/JAL-2846' into develop
Jim Procter [Mon, 17 Dec 2018 17:39:40 +0000 (17:39 +0000)]
JAL-3111 tweaked release notes and documented JAL-2864
Jim Procter [Mon, 17 Dec 2018 17:30:44 +0000 (17:30 +0000)]
Merge branch 'bug/JAL-2864nullOverviewCanvas' into develop
gmungoc [Mon, 17 Dec 2018 17:28:28 +0000 (17:28 +0000)]
JAL-3048 updated test class (not on classpath!) for code changes
gmungoc [Mon, 17 Dec 2018 17:25:49 +0000 (17:25 +0000)]
Merge branch 'Jalview-BH/JAL-3026-JAL-3063-JAXB' into
JAL-3048dialogRunner2
Conflicts:
src/jalview/io/JalviewFileChooser.java
Jim Procter [Mon, 17 Dec 2018 17:19:48 +0000 (17:19 +0000)]
JAL-2865 release notes
Jim Procter [Mon, 17 Dec 2018 17:04:56 +0000 (17:04 +0000)]
Merge branch 'bug/JAL-2750' into develop
gmungoc [Mon, 17 Dec 2018 16:45:11 +0000 (16:45 +0000)]
Merge branch 'feature/JAL-3169cancelOverwrite' into trialMerge
Conflicts:
src/jalview/io/JalviewFileChooser.java
gmungoc [Mon, 17 Dec 2018 16:23:13 +0000 (16:23 +0000)]
JAL-3068 tidy status bar messaging
Jim Procter [Mon, 17 Dec 2018 16:00:33 +0000 (16:00 +0000)]
Merge branch 'task/JAL-3174_fixed_filename_tests' into develop
Jim Procter [Mon, 17 Dec 2018 15:59:32 +0000 (15:59 +0000)]
JAL-3174 backout un-needed stacktrace for exception raised during testing (since we expect it)
Ben Soares [Mon, 17 Dec 2018 15:16:57 +0000 (15:16 +0000)]
JAL-3174 Merging in some test filename-case fixes
Jim Procter [Mon, 17 Dec 2018 14:31:06 +0000 (14:31 +0000)]
Merge branch 'bug/JAL-2541cutRelocateFeatures' into develop
Jim Procter [Mon, 17 Dec 2018 14:30:11 +0000 (14:30 +0000)]
JAL-2541 JAL-2822 release notes
Jim Procter [Mon, 17 Dec 2018 14:29:50 +0000 (14:29 +0000)]
JAL-3111 bump release 2.11 release to January 2019
gmungoc [Mon, 17 Dec 2018 14:20:27 +0000 (14:20 +0000)]
Merge branch 'Jalview-BH/JAL-3026-JAL-3063-JAXB' into
JAL-3048dialogRunner2
Conflicts:
src/jalview/io/JalviewFileChooser.java
Jim Procter [Mon, 17 Dec 2018 11:54:21 +0000 (11:54 +0000)]
Merge branch 'develop' into bug/JAL-2541cutRelocateFeatures
hansonr [Sun, 16 Dec 2018 19:47:31 +0000 (13:47 -0600)]
Java2Script/SwingJS 3.2.4.05
- fixes FeatureIcon painting
hansonr [Thu, 13 Dec 2018 23:03:46 +0000 (17:03 -0600)]
SwingJS 3.2.4.05 should fix JFileChooser synthetic ref issue
adds better detection of HTTP_FILE_NOT_FOUND error if using jsmol.php
relay (which seems to always add \r\n and gives status 200, even if the
actual response was 404
gmungoc [Tue, 11 Dec 2018 08:34:41 +0000 (08:34 +0000)]
Merge branch 'Jalview-BH/JAL-3026-JAL-3063-JAXB' into JAL-3048dialogRunner2
gmungoc [Mon, 10 Dec 2018 15:29:08 +0000 (15:29 +0000)]
JAL-3048 wip externalise trigger from RunResponse
gmungoc [Mon, 10 Dec 2018 13:55:12 +0000 (13:55 +0000)]
Merge branch 'feature/JAL-3169cancelOverwrite' into
JAL-3048dialogRunner2
Conflicts:
src/jalview/io/JalviewFileChooser.java
gmungoc [Mon, 10 Dec 2018 12:09:43 +0000 (12:09 +0000)]
JAL-1421 added type to List and Vector
gmungoc [Mon, 10 Dec 2018 11:25:44 +0000 (11:25 +0000)]
JAL-3169 leave file browser open on Cancel in overwrite check
gmungoc [Mon, 10 Dec 2018 10:20:15 +0000 (10:20 +0000)]
JAL-3048 DialogRunner changes (wip)
gmungoc [Mon, 10 Dec 2018 10:19:42 +0000 (10:19 +0000)]
JAL-1544 corrected 'adjunst' to 'adjust'
hansonr [Mon, 10 Dec 2018 07:49:03 +0000 (01:49 -0600)]
Faster JTable processing; fixes Annotation painting issues (?)
gmungoc [Thu, 6 Dec 2018 15:02:15 +0000 (15:02 +0000)]
JAL-3048 response() renamed addResponse(); checkstyle warning fixes
gmungoc [Thu, 6 Dec 2018 14:54:30 +0000 (14:54 +0000)]
JAL-3048 explicit instead of default 'No' response handler
gmungoc [Thu, 6 Dec 2018 13:26:46 +0000 (13:26 +0000)]
Merge branch 'develop' into Jalview-BH/JAL-3026-JAL-3063-JAXB
gmungoc [Thu, 6 Dec 2018 10:06:25 +0000 (10:06 +0000)]
JAL-1854 fix Checkstyle import violations
gmungoc [Thu, 6 Dec 2018 10:05:57 +0000 (10:05 +0000)]
JAL-1854 Checkstyle updated to 8.12
gmungoc [Tue, 4 Dec 2018 13:22:55 +0000 (13:22 +0000)]
JAL-3032 set radio buttons transparent
hansonr [Tue, 4 Dec 2018 08:31:45 +0000 (02:31 -0600)]
SwingJS upgrade -- tables smoother, faster; more to do?
Still a problem with FeatureTypeSettings not responding to color chooser
OK properly. (Color is not setting.)
hansonr [Tue, 4 Dec 2018 01:18:28 +0000 (19:18 -0600)]
x,y switch in FeatureIcon
// g.fillRect(0, e1, width - e1, height); // BH 2018
g.fillRect(e1, 0, width - e1, height);
hansonr [Mon, 3 Dec 2018 17:11:31 +0000 (11:11 -0600)]
Merge branch 'Jalview-BH/JAL-3026-JAL-3063-JAXB' of https://source.jalview.org/git/jalview.git into Jalview-BH/JAL-3026-JAL-3063-JAXB
gmungoc [Mon, 3 Dec 2018 11:30:09 +0000 (11:30 +0000)]
JAL-3168 include feature type in colour chooser dialog title
gmungoc [Mon, 3 Dec 2018 10:41:37 +0000 (10:41 +0000)]
JAL-3167 end cell editing on cancel in colour chooser
gmungoc [Mon, 3 Dec 2018 10:37:35 +0000 (10:37 +0000)]
JAL-3058 provide cancel callback method for colour chooser