diff --git a/Flow b/Flow index f1f1cb19..e1597fb7 160000 --- a/Flow +++ b/Flow @@ -1 +1 @@ -Subproject commit f1f1cb19604cd4179f7fc71d36fc52cb3b7c8e64 +Subproject commit e1597fb7442120bf4722f5a412b1c5eb84ba2966 diff --git a/core/.classpath b/core/.classpath index cab3585c..b345b80b 100644 --- a/core/.classpath +++ b/core/.classpath @@ -13,12 +13,12 @@ - + - + diff --git a/core/.settings/org.eclipse.jdt.core.prefs b/core/.settings/org.eclipse.jdt.core.prefs index f494d1de..9cfef2dd 100644 --- a/core/.settings/org.eclipse.jdt.core.prefs +++ b/core/.settings/org.eclipse.jdt.core.prefs @@ -1,6 +1,6 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=9 +org.eclipse.jdt.core.compiler.compliance=9 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.release=disabled -org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=9 diff --git a/core/pom.xml b/core/pom.xml index 5eba8b56..9ed6c5ce 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -9,7 +9,7 @@ ${project.version} warppi-core - bundle + pom WarpPI Calculator Core WarpPI Calculator core project @@ -45,25 +45,10 @@ - - org.apache.felix - maven-bundle-plugin - true - - - it.cavallium.warppi.* - warppi-core - - - org.apache.maven.plugins maven-source-plugin - - org.apache.maven.plugins - maven-javadoc-plugin - diff --git a/desktop/.classpath b/desktop/.classpath index 1c983a1c..eb124529 100644 --- a/desktop/.classpath +++ b/desktop/.classpath @@ -6,6 +6,11 @@ + + + + + @@ -13,7 +18,7 @@ - + @@ -23,10 +28,5 @@ - - - - - diff --git a/desktop/.settings/org.eclipse.jdt.core.prefs b/desktop/.settings/org.eclipse.jdt.core.prefs index f494d1de..967e92e1 100644 --- a/desktop/.settings/org.eclipse.jdt.core.prefs +++ b/desktop/.settings/org.eclipse.jdt.core.prefs @@ -1,6 +1,6 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=10 +org.eclipse.jdt.core.compiler.compliance=10 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.release=disabled -org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=10 diff --git a/desktop/pom.xml b/desktop/pom.xml index 4a18a5a3..45dd9d1e 100644 --- a/desktop/pom.xml +++ b/desktop/pom.xml @@ -10,7 +10,7 @@ warppi-desktop - bundle + jar WarpPI Calculator Desktop WarpPI Calculator desktop project @@ -55,25 +55,10 @@ - - org.apache.felix - maven-bundle-plugin - true - - - it.cavallium.warppi.* - warppi-desktop - - - org.apache.maven.plugins maven-source-plugin - - org.apache.maven.plugins - maven-javadoc-plugin - org.apache.maven.plugins diff --git a/engine-jogl/.classpath b/engine-jogl/.classpath index 5e8a55fe..23ded4e6 100644 --- a/engine-jogl/.classpath +++ b/engine-jogl/.classpath @@ -13,7 +13,7 @@ - + diff --git a/engine-jogl/.settings/org.eclipse.jdt.core.prefs b/engine-jogl/.settings/org.eclipse.jdt.core.prefs index b8947ec6..1ed387a4 100644 --- a/engine-jogl/.settings/org.eclipse.jdt.core.prefs +++ b/engine-jogl/.settings/org.eclipse.jdt.core.prefs @@ -1,6 +1,6 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=9 +org.eclipse.jdt.core.compiler.compliance=9 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.release=disabled -org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=9 diff --git a/engine-jogl/pom.xml b/engine-jogl/pom.xml index 75e1731d..27a81534 100644 --- a/engine-jogl/pom.xml +++ b/engine-jogl/pom.xml @@ -10,7 +10,7 @@ warppi-engine-jogl - bundle + pom WarpPI Calculator JOGL Engine WarpPI Calculator engine-jogl project @@ -37,25 +37,10 @@ - - org.apache.felix - maven-bundle-plugin - true - - - it.cavallium.warppi.* - warppi-engine-jogl - - - org.apache.maven.plugins maven-source-plugin - - org.apache.maven.plugins - maven-javadoc-plugin - diff --git a/hardware/.classpath b/hardware/.classpath index e1938397..cd5f6472 100644 --- a/hardware/.classpath +++ b/hardware/.classpath @@ -13,7 +13,7 @@ - + diff --git a/hardware/.settings/org.eclipse.jdt.core.prefs b/hardware/.settings/org.eclipse.jdt.core.prefs index f494d1de..967e92e1 100644 --- a/hardware/.settings/org.eclipse.jdt.core.prefs +++ b/hardware/.settings/org.eclipse.jdt.core.prefs @@ -1,6 +1,6 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=10 +org.eclipse.jdt.core.compiler.compliance=10 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.release=disabled -org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=10 diff --git a/hardware/pom.xml b/hardware/pom.xml index b28906e3..22e5800f 100644 --- a/hardware/pom.xml +++ b/hardware/pom.xml @@ -10,7 +10,7 @@ warppi-hardware - bundle + jar WarpPI Calculator Hardware WarpPI Calculator hardware project @@ -55,25 +55,10 @@ - - org.apache.felix - maven-bundle-plugin - true - - - it.cavallium.warppi.* - warppi-hardware - - - org.apache.maven.plugins maven-source-plugin - - org.apache.maven.plugins - maven-javadoc-plugin - org.apache.maven.plugins diff --git a/pom.xml b/pom.xml index 4819bd3e..787b1fa8 100755 --- a/pom.xml +++ b/pom.xml @@ -29,8 +29,10 @@ 0.9.0a0 UTF-8 - 1.9 - 1.9 + 11 + 11 + 11 + 11 src/main/java src/main/java src/main/resources @@ -130,28 +132,11 @@ org.apache.maven.plugins maven-compiler-plugin - 3.7.0 + 3.8.0 - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.0.0 - - - build-javadoc - - jar - - post-integration-test - - - - protected - false + ${maven.compiler.source} + ${maven.compiler.target} + ${maven.compiler.release} diff --git a/rules/.classpath b/rules/.classpath index e1938397..323a5242 100644 --- a/rules/.classpath +++ b/rules/.classpath @@ -13,7 +13,7 @@ - + diff --git a/rules/.settings/org.eclipse.jdt.core.prefs b/rules/.settings/org.eclipse.jdt.core.prefs index f494d1de..9cfef2dd 100644 --- a/rules/.settings/org.eclipse.jdt.core.prefs +++ b/rules/.settings/org.eclipse.jdt.core.prefs @@ -1,6 +1,6 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=9 +org.eclipse.jdt.core.compiler.compliance=9 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.release=disabled -org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=9 diff --git a/rules/pom.xml b/rules/pom.xml index b3a93025..0c92c7b8 100644 --- a/rules/pom.xml +++ b/rules/pom.xml @@ -9,7 +9,7 @@ ${project.version} warppi-rules - bundle + pom WarpPI Calculator Rules WarpPI Calculator rules project @@ -24,17 +24,6 @@ - - org.apache.felix - maven-bundle-plugin - true - - - rules.* - warppi-rules - - - org.apache.maven.plugins maven-source-plugin diff --git a/teavm/.classpath b/teavm/.classpath index ee04d99a..e1938397 100644 --- a/teavm/.classpath +++ b/teavm/.classpath @@ -13,7 +13,7 @@ - + diff --git a/teavm/.settings/org.eclipse.jdt.core.prefs b/teavm/.settings/org.eclipse.jdt.core.prefs index e029c71e..f494d1de 100644 --- a/teavm/.settings/org.eclipse.jdt.core.prefs +++ b/teavm/.settings/org.eclipse.jdt.core.prefs @@ -1,6 +1,6 @@ eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning org.eclipse.jdt.core.compiler.release=disabled -org.eclipse.jdt.core.compiler.source=1.5 +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/teavm/pom.xml b/teavm/pom.xml index fc136472..18747d4c 100644 --- a/teavm/pom.xml +++ b/teavm/pom.xml @@ -10,7 +10,14 @@ warppi-teavm jar - + + + 1.8 + 1.8 + 1.8 + 1.8 + + WarpPI Calculator TeaVM WarpPI Calculator teavm project @@ -28,7 +35,14 @@ org.teavm teavm-classlib 0.6.0-dev-567 + provided + + org.teavm + teavm-extras-slf4j + 0.6.0-dev-567 + provided + @@ -94,10 +108,6 @@ org.apache.maven.plugins maven-source-plugin - - org.apache.maven.plugins - maven-javadoc-plugin - org.apache.maven.plugins maven-resources-plugin diff --git a/teavm/src/main/java/it/cavallium/warppi/gui/graphicengine/html/HtmlEngine.java b/teavm/src/main/java/it/cavallium/warppi/gui/graphicengine/html/HtmlEngine.java index 09ba7273..f8f22535 100644 --- a/teavm/src/main/java/it/cavallium/warppi/gui/graphicengine/html/HtmlEngine.java +++ b/teavm/src/main/java/it/cavallium/warppi/gui/graphicengine/html/HtmlEngine.java @@ -97,8 +97,8 @@ public class HtmlEngine implements GraphicEngine { canvas.setHeight((int)(320 / 1)); canvas.getStyle().setProperty("zoom", "" + (windowZoom + 1)); } else { - canvas.setWidth((int)(480 / (windowZoom + 1))); - canvas.setHeight((int)(320 / (windowZoom + 1))); + canvas.setWidth((int)(480 * 2)); + canvas.setHeight((int)(320 * 2)); } canvas.getStyle().setProperty("max-height", (int)(44 / windowZoom) + "vh"); width = 480 / windowZoom.intValue();