From 2273eba5668e5340354da60fed329c6c716cc439 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 22 Dec 2014 16:16:17 +0000 Subject: [PATCH] Merge: 497958b 68dcaa7 (fake synthesised by jbp) Merge branch 'develop' into JAL-1483_29dev Conflicts: src/jalview/api/AlignmentViewPanel.java src/jalview/appletgui/SeqPanel.java src/jalview/gui/AlignFrame.java src/jalview/gui/AlignViewport.java src/jalview/gui/AnnotationExporter.java src/jalview/gui/FeatureRenderer.java src/jalview/gui/FeatureSettings.java src/jalview/gui/Jalview2XML.java src/jalview/gui/Jalview2XML_V1.java src/jalview/gui/PopupMenu.java src/jalview/gui/SeqPanel.java --- .classpath | 4 +- .../Jalview Release indices [Builder].launch | 1 + .settings/org.eclipse.jdt.core.prefs | 11 + AUTHORS | 2 + THIRDPARTYLIBS | 2 + build.xml | 11 +- examples/example_biojs.html | 67 +--- examples/uniref50.score_ascii | 99 +++++ help/help.jhm | 6 +- help/helpTOC.xml | 282 +++++++------ help/html/calculations/consensus.html | 4 +- help/html/calculations/pca.html | 4 +- help/html/colourSchemes/annotationColouring.html | 6 + help/html/colourSchemes/pid.html | 2 + help/html/features/annotation.html | 11 +- help/html/features/chimera.html | 175 ++++++++ help/html/features/clarguments.html | 13 +- help/html/features/dassettings.html | 2 +- help/html/features/featuresFormat.html | 2 +- help/html/features/featuresettings.html | 6 +- help/html/features/hiddenRegions.html | 2 +- help/html/features/jmol.html | 4 +- help/html/features/multipleViews.html | 4 +- help/html/features/preferences.html | 16 +- help/html/features/seqfetch.html | 2 +- help/html/features/varna.html | 4 +- help/html/features/viewingpdbs.html | 33 +- help/html/features/xsspannotation.html | 90 +++++ help/html/index.html | 27 ++ help/html/io/export.html | 4 +- help/html/io/fileformats.html | 7 +- help/html/jalviewjnlp.html | 81 ---- help/html/memory.html | 43 +- help/html/menus/alignmentMenu.html | 26 +- help/html/menus/alwedit.html | 4 +- help/html/menus/alwfile.html | 6 + help/html/menus/popupMenu.html | 4 +- help/html/na/index.html | 6 +- help/html/privacy.html | 6 +- help/html/releases.html | 195 ++++++++- help/html/vamsas/index.html | 2 +- help/html/webServices/JABAWS.html | 2 + help/html/webServices/RNAalifold.html | 2 +- help/html/webServices/dbreffetcher.html | 2 +- help/html/webServices/jnet.html | 3 +- help/html/whatsNew.html | 114 ++++-- resources/authors.props | 4 +- resources/lang/Messages.properties | 20 +- resources/lang/Messages_es.properties | 6 +- resources/templates/BioJSTemplate.txt | 64 +-- src/MCview/PDBChain.java | 101 ++--- src/MCview/PDBViewer.java | 2 +- src/MCview/PDBfile.java | 100 ++--- .../edu/ucsf/rbvi/strucviz2/StructureManager.java | 24 +- src/jalview/analysis/AlignSeq.java | 2 +- src/jalview/analysis/AlignmentUtils.java | 11 + src/jalview/analysis/AnnotationSorter.java | 4 + src/jalview/analysis/Rna.java | 11 +- src/jalview/api/AlignmentViewPanel.java | 5 + src/jalview/appletgui/APopupMenu.java | 54 ++- src/jalview/appletgui/AlignFrame.java | 9 +- src/jalview/appletgui/AlignmentPanel.java | 26 +- src/jalview/appletgui/AnnotationPanel.java | 4 +- src/jalview/appletgui/PairwiseAlignPanel.java | 29 +- src/jalview/appletgui/RedundancyPanel.java | 26 +- src/jalview/appletgui/SeqPanel.java | 56 ++- src/jalview/bin/Cache.java | 13 +- src/jalview/bin/Jalview.java | 144 ++++--- src/jalview/bin/JalviewLite.java | 14 +- src/jalview/commands/EditCommand.java | 303 +++++++++----- src/jalview/commands/RemoveGapColCommand.java | 11 +- src/jalview/commands/RemoveGapsCommand.java | 9 +- src/jalview/commands/SlideSequencesCommand.java | 31 +- src/jalview/commands/TrimRegionCommand.java | 23 +- src/jalview/datamodel/Alignment.java | 66 ++++ src/jalview/datamodel/AlignmentAnnotation.java | 54 ++- src/jalview/datamodel/AnnotatedCollectionI.java | 3 + src/jalview/datamodel/ColumnSelection.java | 19 +- src/jalview/datamodel/HiddenSequences.java | 22 +- src/jalview/datamodel/Sequence.java | 30 +- src/jalview/datamodel/SequenceGroup.java | 27 ++ src/jalview/datamodel/SequenceI.java | 2 + src/jalview/exceptions/JalviewException.java | 25 ++ .../exceptions/NoFileSelectedException.java | 10 + src/jalview/ext/jmol/PDBFileWithJmol.java | 8 +- .../ext/rbvi/chimera/JalviewChimeraBinding.java | 91 ++--- src/jalview/gui/AlignFrame.java | 142 ++++--- src/jalview/gui/AlignViewport.java | 41 +- src/jalview/gui/AlignmentPanel.java | 291 ++++++++------ src/jalview/gui/AnnotationExporter.java | 32 +- src/jalview/gui/AnnotationLabels.java | 61 +-- src/jalview/gui/AnnotationPanel.java | 74 +++- src/jalview/gui/AppJmol.java | 4 +- src/jalview/gui/BlogReader.java | 24 +- src/jalview/gui/ChimeraViewFrame.java | 16 +- src/jalview/gui/Desktop.java | 106 ++++- src/jalview/gui/FeatureRenderer.java | 8 +- src/jalview/gui/FeatureSettings.java | 46 ++- src/jalview/gui/Finder.java | 6 +- src/jalview/gui/FontChooser.java | 2 +- src/jalview/gui/HTMLOptions.java | 143 +++++++ src/jalview/gui/Help.java | 37 +- src/jalview/gui/IdCanvas.java | 32 +- src/jalview/gui/IdPanel.java | 26 +- src/jalview/gui/IdwidthAdjuster.java | 4 +- src/jalview/gui/Jalview2XML.java | 48 ++- src/jalview/gui/Jalview2XML_V1.java | 2 +- src/jalview/gui/JalviewChimeraBindingModel.java | 7 - src/jalview/gui/JvSwingUtils.java | 6 +- src/jalview/gui/OverviewPanel.java | 2 +- src/jalview/gui/PairwiseAlignPanel.java | 23 +- src/jalview/gui/PopupMenu.java | 71 ++-- src/jalview/gui/Preferences.java | 117 +++++- src/jalview/gui/RedundancyPanel.java | 40 +- src/jalview/gui/SVGOptions.java | 163 ++++++++ src/jalview/gui/ScalePanel.java | 4 +- src/jalview/gui/SeqCanvas.java | 41 +- src/jalview/gui/SeqPanel.java | 77 ++-- src/jalview/gui/SliderPanel.java | 2 +- src/jalview/gui/WebserviceInfo.java | 61 ++- src/jalview/gui/WsJobParameters.java | 40 +- src/jalview/gui/WsParamSetManager.java | 16 +- src/jalview/gui/WsPreferences.java | 64 ++- src/jalview/io/AppletFormatAdapter.java | 21 +- src/jalview/io/BioJsHTMLOutput.java | 166 ++++---- src/jalview/io/FormatAdapter.java | 20 + src/jalview/io/HtmlFile.java | 19 +- src/jalview/io/HtmlSvgOutput.java | 274 +++++++++++++ src/jalview/io/IdentifyFile.java | 5 +- src/jalview/io/RnamlFile.java | 46 ++- src/jalview/io/StockholmFile.java | 202 ++++++---- src/jalview/jbgui/GAlignFrame.java | 2 +- src/jalview/jbgui/GDesktop.java | 14 +- src/jalview/jbgui/GPreferences.java | 122 +++++- src/jalview/jbgui/GStructureViewer.java | 2 +- .../json/binding/v1/BioJsAlignmentPojo.java | 24 ++ src/jalview/math/AlignmentDimension.java | 35 ++ src/jalview/renderer/AnnotationRenderer.java | 37 +- src/jalview/schemes/AnnotationColourGradient.java | 111 ++++-- src/jalview/schemes/ColourSchemeProperty.java | 29 ++ src/jalview/schemes/ResidueProperties.java | 33 +- .../structure/StructureSelectionManager.java | 72 +++- src/jalview/util/ImageMaker.java | 30 ++ src/jalview/viewmodel/AlignmentViewport.java | 75 +++- src/jalview/ws/DasSequenceFeatureFetcher.java | 14 +- src/jalview/ws/HttpClientUtils.java | 9 +- src/jalview/ws/jws1/JPredClient.java | 28 +- src/jalview/ws/jws1/JPredThread.java | 94 ++++- src/jalview/ws/jws1/WS1Client.java | 3 +- src/jalview/ws/jws2/AADisorderClient.java | 10 +- src/jalview/ws/jws2/JabaWsServerQuery.java | 71 +++- src/jalview/ws/jws2/JabawsCalcWorker.java | 24 ++ src/jalview/ws/jws2/Jws2Client.java | 25 +- src/jalview/ws/jws2/Jws2Discoverer.java | 155 +++++--- src/jalview/ws/jws2/MsaWSClient.java | 115 ++++-- src/jalview/ws/jws2/MsaWSThread.java | 56 ++- .../ws/jws2/jabaws2/Jws2InstanceFactory.java | 25 +- src/jalview/ws/rest/RestClient.java | 24 +- test/jalview/commands/EditCommandTest.java | 232 +++++++++++ test/jalview/datamodel/SequenceTest.java | 19 +- test/jalview/ext/jmol/PDBFileWithJmolTest.java | 2 +- test/jalview/ext/paradise/TestAnnotate3D.java | 9 +- test/jalview/gui/HelpTest.java | 32 ++ test/jalview/gui/PopupMenuTest.java | 100 ++++- test/jalview/io/BioJsHTMLOutputTest.java | 47 +++ test/jalview/io/HtmlFileTest.java | 16 + test/jalview/io/Jalview2xmlTests.java | 67 +++- test/jalview/io/RNAMLfileTest.java | 4 +- test/jalview/io/StockholmFileTest.java | 30 +- test/jalview/io/testProps.jvprops | 84 ++++ test/jalview/ws/jabaws/JalviewJabawsTestUtils.java | 5 +- utils/InstallAnywhere/Jalview.iap_xml | 417 +++++++++++++------- 172 files changed, 5770 insertions(+), 2027 deletions(-) create mode 100644 examples/uniref50.score_ascii create mode 100644 help/html/features/chimera.html create mode 100644 help/html/features/xsspannotation.html delete mode 100755 help/html/jalviewjnlp.html create mode 100644 src/jalview/exceptions/JalviewException.java create mode 100644 src/jalview/exceptions/NoFileSelectedException.java create mode 100644 src/jalview/gui/HTMLOptions.java create mode 100644 src/jalview/gui/SVGOptions.java create mode 100644 src/jalview/io/HtmlSvgOutput.java create mode 100644 src/jalview/math/AlignmentDimension.java create mode 100644 test/jalview/commands/EditCommandTest.java create mode 100644 test/jalview/gui/HelpTest.java create mode 100644 test/jalview/io/BioJsHTMLOutputTest.java create mode 100644 test/jalview/io/HtmlFileTest.java create mode 100644 test/jalview/io/testProps.jvprops diff --git a/.classpath b/.classpath index 801980d..388e111 100644 --- a/.classpath +++ b/.classpath @@ -49,11 +49,11 @@ - - + + diff --git a/.externalToolBuilders/Jalview Release indices [Builder].launch b/.externalToolBuilders/Jalview Release indices [Builder].launch index 4c0c7dd..9d81cc8 100644 --- a/.externalToolBuilders/Jalview Release indices [Builder].launch +++ b/.externalToolBuilders/Jalview Release indices [Builder].launch @@ -14,6 +14,7 @@ + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index 884491a..f72955b 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -1,4 +1,15 @@ eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.7 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 diff --git a/AUTHORS b/AUTHORS index 1bca12a..30db2a1 100644 --- a/AUTHORS +++ b/AUTHORS @@ -14,6 +14,8 @@ In particular, check the resources/authors.props file ! Jim Procter Andrew Waterhouse +Mungo Carstairs +Tochukwu 'Charles' Ofoegbu Jan Engelhardt Lauren Lui Anne Menard diff --git a/THIRDPARTYLIBS b/THIRDPARTYLIBS index 386541e..ea44193 100644 --- a/THIRDPARTYLIBS +++ b/THIRDPARTYLIBS @@ -11,6 +11,7 @@ Licencing information for each library is given below: JGoogleAnalytics_0.3.jar APL 2.0 License - http://code.google.com/p/jgoogleanalytics/ Jmol-12.1.13.jar GPL/LGPLv2 http://sourceforge.net/projects/jmol/files/ +VARNAv3-91.jar GPL licenced software by Kévin Darty, Alain Denise and Yann Ponty. http://varna.lri.fr activation.jar apache-mime4j-0.6.jar axis.jar @@ -39,6 +40,7 @@ wsdl4j.jar xercesImpl.jar xml-apis.jar json_simple-1.1.jar : Apache 2.0 license : downloaded from https://code.google.com/p/json-simple/downloads/list (will move to 1.1.1 version when jalview is mavenised and osgi-ised) +jfreesvg-2.1.jar : GPL v3 licensed library from the JFree suite: http://www.jfree.org/jfreesvg/ Additional dependencies diff --git a/build.xml b/build.xml index 3705821..d8ebe1e 100755 --- a/build.xml +++ b/build.xml @@ -62,8 +62,12 @@ --> + + + + @@ -113,7 +117,7 @@ - + @@ -175,8 +179,9 @@
---Jalview Build Details--- -
+ +
@@ -481,7 +486,7 @@ + excludes="ext/**,MCview/**,org/**,vamsas/**,jalview/ext/paradise/**" /> diff --git a/examples/example_biojs.html b/examples/example_biojs.html index 5b0d71e..b6f7bec 100644 --- a/examples/example_biojs.html +++ b/examples/example_biojs.html @@ -7,21 +7,21 @@ - Jalview Logo

- +

press "Run with JS"
- + @@ -31,8 +31,6 @@