jalview

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
This is likely an improvement on the "roll your own" pattern of setting Runnable handlers for dialog responses as hacked together for JalviewJS (JAL-3048). If so, it would be preferable (but no sma...

This is likely an improvement on the "roll your own" pattern of setting Runnable handlers for dialog responses as hacked together for JalviewJS (JAL-3048). If so, it would be preferable (but no small job) to change all dialogs to this pattern.

There are still numerous dialogs that have not been changed to either pattern (so won't work in SwingJS): see comment at https://issues.jalview.org/browse/?focusedCommentId=20525&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#JAL-3048comment-20525.

Class has some compiler warnings which could easily be resolved (typed Hashtable, unused import).

Class has some compiler warnings which could easily be resolved (typed Hashtable, unused import).

It would be good to add Javadoc to this method

It would be good to add Javadoc to this method

As an aside, I would suggest inlining (removing) the two overloaded constructors that call this one (to reduce code bloat).

As an aside, I would suggest inlining (removing) the two overloaded constructors that call this one (to reduce code bloat).

JAL-3818 process Jmol callbacks in AWT thread
JAL-3818 process Jmol callbacks in AWT thread
Or can it be compiled to Java 8 bytecode?

Or can it be compiled to Java 8 bytecode?

'var' is since Java 10. We are still supporting Java 8 runtime which will not run this code (sadly). Compile with JDK 8 to find other occurrences (also Preferences, line 596 is not Java 8 compatibl...

'var' is since Java 10. We are still supporting Java 8 runtime which will not run this code (sadly).
Compile with JDK 8 to find other occurrences (also Preferences, line 596 is not Java 8 compatible syntax).

Above statement is a duplicate - should only be inside the check for service != null. It fails with NPE if service is null.

Above statement is a duplicate - should only be inside the check for service != null. It fails with NPE if service is null.

startjob and canceljob are only referenced in jbinit() so should be local variables in that method.

startjob and canceljob are only referenced in jbinit() so should be local variables in that method.

Field startJob used to be the return value of showRunDialog(). As it no longer is, it can be removed.

Field startJob used to be the return value of showRunDialog(). As it no longer is, it can be removed.

JAL-3809: Edit web service parameters dialog does not work in jalviewjs
JAL-3809: Edit web service parameters dialog does not work in jalviewjs
JAL-3594 Better Jalview Develop banner

JAL-3594 Improved About banners for develop and test-release

    • binary
    /utils/channels/develop/images/jalview_develop_banner.xcf
JAL-3594 Images for splash screen

    • binary
    /resources/default_images/UoD_banner-28.png
    • binary
    /resources/default_images/UoD_banner-30.png
    • binary
    /resources/default_images/UoD_banner-32.png
    • binary
    /resources/default_images/UoD_banner.png
    • binary
    /resources/default_images/barton_group-28.png
    • binary
    /resources/default_images/barton_group-30.png
    • binary
    /resources/default_images/barton_group-32.png
    • -2
    • +31
    /src/jalview/util/ChannelProperties.java
    • binary
    /utils/channels/default/images/UoD_banner-28.png
    • binary
    /utils/channels/default/images/UoD_banner-30.png
    • binary
    /utils/channels/default/images/UoD_banner-32.png
    • binary
    /utils/channels/default/images/UoD_banner-65.png
  1. … 51 more files in changeset.
JAL-3594 JAL-3728 Added taskbar icons to desktop and Java console. Changed "Jalview" to "app_name" in various appropriate places

    • -39
    • +94
    /src/jalview/util/ChannelProperties.java
Merge branch 'merge/develop_and_rebase_squashed_merge_JAL-3628+JAL-3608+JAL-3609+JAL-3541+Release_2_11_1_Branch' into merge/JAL-3594_and_new_develop_issues

    • -111
    • +141
    /src/jalview/bin/Jalview.java
JAL-3594 Change main window title

    • -0
    • +10
    /utils/install4j/README-DMG_creation.md
JAL-3594 DMG fixes

    • -2
    • +2
    /utils/install4j/README-DMG_background_image_creation.md
    • -1
    • +1
    /utils/install4j/README-DMG_creation.md
JAL-3594 added BG logo. Changed some named Jalviews to app_name property. Added test-release and default channels.

    • binary
    /resources/default_images/barton_group-62.png
    • -0
    • +1
    /src/jalview/util/ChannelProperties.java
    • -0
    • +22
    /utils/channels/default/channel_gradle.properties
    • binary
    /utils/channels/default/images/barton_group-512.png
    • binary
    /utils/channels/default/images/barton_group-62.png
    • binary
    /utils/channels/default/images/barton_group-white-512.png
    • binary
    /utils/channels/default/images/barton_group-white-62.png
    • -0
    • +128
    /utils/channels/default/images/barton_group-white.svg
    • -0
    • +75
    /utils/channels/default/images/barton_group.svg
    • binary
    /utils/channels/default/images/jalview_default_dmg_DS_Store
  1. … 99 more files in changeset.
JAL-3754 Fixed jar task creating strange dir because of outputs.file()

JAL-3594 Default values for channel properties defined in code as fallback

    • binary
    /resources/default_images/UoD_banner.png
    • binary
    /resources/default_images/jalview_banner.png
    • binary
    /resources/default_images/jalview_logo-128.png
    • binary
    /resources/default_images/jalview_logo-16.png
    • binary
    /resources/default_images/jalview_logo-256.png
    • binary
    /resources/default_images/jalview_logo-32.png
    • binary
    /resources/default_images/jalview_logo-38.png
    • binary
    /resources/default_images/jalview_logo-48.png
    • binary
    /resources/default_images/jalview_logo-512.png
    • binary
    /resources/default_images/jalview_logo-64.png
    • binary
    /resources/default_images/rotatable_jalview_logo-38.png
    • -9
    • +49
    /src/jalview/util/ChannelProperties.java
JAL-3594 Added rotating logo png

    • -23
    • +21
    /src/jalview/gui/WebserviceInfo.java
JAL-3754 fixed a problem with jar task creating a stray dir when building

JAL-3775 added the Platform.isLinux() check for test HiDPISetting2

    • -0
    • +9
    /test/jalview/bin/HiDPISettingTest2.java
Agreed. I seem to remember (this was a while ago now) that I found isAMacAndNotJS() and thought it might be an important distinction. Sounds like it's just redundant? Can tidy this another time then.

Agreed. I seem to remember (this was a while ago now) that I found isAMacAndNotJS() and thought it might be an important distinction. Sounds like it's just redundant? Can tidy this another time then.

Agree this is just touching on a much bigger task. However... The reason I /needed/ to do this rather than just /wanted/ to do this is that several of the classes I've been working on (e.g. jalview...

Agree this is just touching on a much bigger task.
However...
The reason I /needed/ to do this rather than just /wanted/ to do this is that several of the classes I've been working on (e.g. jalview.bin.Launcher, jalview.bin.HiDPISetting, jalview.bin.MemorySetting) run very early on (especially jalview.bin.Launcher!). This means Cache.log has perhaps not yet been initialised, so a Cache.log.debug doesn't log (unless you count reams of NullPointerExceptions as logging!).

In the case of HiDPISetting and MemorySetting that also get used in Getdown, where there is no jalview.bin.Cache, they currently have to use System.out and System.err [or maybe I could stub jalview.bin.Cache too]. I'd prefer them to use Cache.log when they can so this is an attempt at starting to decouple jalview.bin.Cache from other jalview things so it can be used standalone within Getdown. The main reason for wanting to do that is to have shared code to read the preferences between Jalview and Getdown.

JAL-3594 New jalview.util.ChannelProperties to get/cache values and images used in the application. Starting to tidy images in resources/images.

    • binary
    /resources/images/JalviewLogo_Huge.png
    • binary
    /resources/images/JalviewLogo_big.png
    • binary
    /resources/images/Jalview_Logo_small.png
    • binary
    /resources/images/jalview_logo_background_fade-640x480.png
    • -12
    • +8
    /src/jalview/bin/JalviewTaskbar.java
    • -16
    • +17
    /src/jalview/gui/SplashScreen.java
    • -0
    • +136
    /src/jalview/util/ChannelProperties.java
  1. … 6 more files in changeset.
JAL-3594 Generating GIMP XCF files for getdown and new release getdown images

    • binary
    /utils/channels/release/images/jalview_getdown_background.xcf