Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
JAL-3137 tests are for linux only

JAL-3763 (for whatever reason) need to increase timeout for command line ops to 10.5s (OSX Monterey, MBP late 2018)

JAL-3763 (for whatever reason) need to increase timeout for command line ops to 10.5s (OSX Monterey, MBP late 2018)

JAL-2909 increase commandlinetests timeout

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

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.

I think there are lots of things that could be tidied up (particularly the overloading and additional logging functions via Cache which don't really reduce code at point of use, but are certainly u...

I think there are lots of things that could be tidied up (particularly the overloading and additional logging functions via Cache which don't really reduce code at point of use, but are certainly useful in spirit), but now is most definitely not the time to optimise and beautify code.

Ben Soares as far as I can see the only thing missing after this branch is merged to develop is this logic. I just did a quick test and it appears 'Platform.isAMac()' returns false under JalviewJS,...

Ben Soares as far as I can see the only thing missing after this branch is merged to develop is this logic. I just did a quick test and it appears 'Platform.isAMac()' returns false under JalviewJS, so probably not a dealbreaker. Do you agree ?

JAL-3608 cherry pick of 92cb745e7
JAL-3608 cherry pick of 92cb745e7
JAL-3609 JAL-3775 Tests for jalview.bin.HiDPISetting

    • -0
    • +116
    ./HiDPISettingTest1.java
    • -0
    • +223
    ./HiDPISettingTest2.java
    • -0
    • +15
    ./hidpiTestProps.jvprops
  1. … 1 more file in changeset.
JAL-3477 Added 10k leeway to amount of memory reserved for OS test for float rounding errors (needed to fix failing test)

JAL-3280 Test for remote release build_properties file version check

  1. … 1 more file in changeset.
JAL-3280 Test for remote release build_properties file version check

  1. … 1 more file in changeset.
Decision made in the issue to just check release build_properties.

Decision made in the issue to just check release build_properties.

I'll add a Test. Perhaps this stems from me misunderstanding a comment in the issue: "We should provide a way to find out what the latest version available from a channel is. I suggest we have a b...

I'll add a Test.

Perhaps this stems from me misunderstanding a comment in the issue: "We should provide a way to find out what the latest version available from a channel is. I suggest we have a build details URL for each channel".
For non-Release/Test channel versions the "remote" build_properties will be a local file://.../getdown/website/11/alt/build_properties (which works if you're on the machine you built it on).
For Release/Test channel versions, the remote build_properties will be the most recent one available in https://www.jalview.org/getdown/release/11/release/build_properties (or test/1.8/alt etc). It is true that if this is the case then getdown SHOULD have already updated the jalview.jar. This is fine, and you would expect nothing to be reported anyway.
If you're using the shadowJar or an otherwise non-updatable version of Jalview or for whatever reason getdown has not auto-updated then you will get the message saying what the most recent version (in your channel) is. [This is perhaps the main part of the target audience for this message now???]
If we just want to check the current release version, this simplifies things quite a lot and I don't mind making that change at all (it means we don't have to pass any properties in to jalview to suggest a different appbase etc).

I can only think a bad copy and paste but why I did that I don't know (possibly I leant on "p" by accident after a "yy"? I need to be careful about my copy and pastes.) I'll remove.

I can only think a bad copy and paste but why I did that I don't know (possibly I leant on "p" by accident after a "yy"? I need to be careful about my copy and pastes.) I'll remove.

Yes this should be removed. Cache.log.debug doesn't work (NullPointer) because (I think) log hasn't been initialised yet. I thought this System.out had been there before, but it wasn't so I'll remo...

Yes this should be removed. Cache.log.debug doesn't work (NullPointer) because (I think) log hasn't been initialised yet. I thought this System.out had been there before, but it wasn't so I'll remove it!

Best to have tests covering these methods. The original idea of the versionChecker is to compare the latest version in the Jalview release channel to what the user is running. Maybe I'm missing s...

Best to have tests covering these methods.

The original idea of the versionChecker is to compare the latest version in the Jalview release channel to what the user is running.

Maybe I'm missing something, but If the versionChecker defaults to the getdown channel that it was launched from, it isn't going to be doing what it was originally intended ?

Why reading twice ?

Why reading twice ?

this should be a debug statement ? Seeing 'LATEST_VERSION=' on stdout seems a bit strange, also.

this should be a debug statement ? Seeing 'LATEST_VERSION=' on stdout seems a bit strange, also.

JAL-3280 Pass appbase and appdir from getdown to jalvew. Check appbase (defaults to release appbase)...
JAL-3280 Pass appbase and appdir from getdown to jalvew. Check appbase (defaults to release appbase)...
JAL-3561 JAL-3660 check resolved FileFormatI instances are equivalent to verify format is as expected in test

JAL-3561 JAL-3660 check resolved FileFormatI instances are equivalent to verify format is as expected in test

I suggest we close this. It's all ancient history now.

I suggest we close this. It's all ancient history now.

JAL-3253 temporary branch SwingJS upgrade with testNG fixes Java 8

  1. … 51 more files in changeset.
JAL-3563 for merging to JAL-3253-applet

  1. … 1 more file in changeset.
JAL-3560 CommandLineOperations test cleanup

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);

  1. … 4 more files in changeset.