diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 8d980df51..bfb5529d2 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -15,13 +15,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Maven uses: stCarolas/setup-maven@v4.5 with: maven-version: 3.9.6 - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: '17' distribution: 'adopt' @@ -29,29 +29,29 @@ jobs: run: mvn --no-transfer-progress verify -Pall,sloeber_release,NOSDK -Dtest=NightlyJenkins -DfailIfNoTests=false - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Repository path: io.sloeber.updatesite/target/repository - name: Archive Windows 64 bit - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: windows + name: sloeber-ide-sloeber_release-win32.win32.x86_64.zip path: io.sloeber.product/target/products/sloeber-ide-sloeber_release-win32.win32.x86_64.zip - name: Archive Linux 64 bit - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: linux + name: sloeber-ide-sloeber_release-linux.gtk.x86_64.tar.gz path: io.sloeber.product/target/products/sloeber-ide-sloeber_release-linux.gtk.x86_64.tar.gz - name: Archive Mac 64 bit - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: macosx + name: sloeber-ide-sloeber_release-macosx.cocoa.x86_64.zip path: io.sloeber.product/target/products/sloeber-ide-sloeber_release-macosx.cocoa.x86_64.zip - name: Archive Mac ARM 64 bit - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: macosx_arm + name: sloeber-ide-sloeber_release-macosx.cocoa.aarch64.zip path: io.sloeber.product/target/products/sloeber-ide-sloeber_release-macosx.cocoa.aarch64.zip - name: Build Sloeber SDK with Maven run: mvn clean verify -PSDK,win64,latest -DskipTests=true diff --git a/images_plugin_dev_setup/SVG_Logo/splash.svg b/images_plugin_dev_setup/SVG_Logo/splash.svg index db848d87b..5ec4afc9f 100644 --- a/images_plugin_dev_setup/SVG_Logo/splash.svg +++ b/images_plugin_dev_setup/SVG_Logo/splash.svg @@ -9,7 +9,7 @@ version="1.1" inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)" sodipodi:docname="splash.svg" - inkscape:export-filename="C:\Users\Marcelo\Desktop\splash.png" + inkscape:export-filename="..\..\..\..\..\..\test\splash.png" inkscape:export-xdpi="96" inkscape:export-ydpi="96" xml:space="preserve" @@ -29,15 +29,15 @@ inkscape:pageshadow="2" inkscape:zoom="1" inkscape:cx="-262.5" - inkscape:cy="25.5" + inkscape:cy="-55.5" inkscape:document-units="px" inkscape:current-layer="layer4" showgrid="false" units="px" - inkscape:window-width="2048" - inkscape:window-height="1089" - inkscape:window-x="-8" - inkscape:window-y="-8" + inkscape:window-width="1920" + inkscape:window-height="991" + inkscape:window-x="-9" + inkscape:window-y="-9" inkscape:window-maximized="1" inkscape:snap-global="false" showguides="true" @@ -2688,7 +2688,7 @@ x="5.3609128" y="295.24048" style="font-size:17.5px;line-height:1.25" - id="tspan1344">4.4.24.4.324bi io.sloeber.arduino-eclipse-plugin io.sloeber.parent - 4.4.2-SNAPSHOT + 4.4.3-SNAPSHOT ../io.sloeber.parent diff --git a/io.sloeber.core/META-INF/MANIFEST.MF b/io.sloeber.core/META-INF/MANIFEST.MF index 0084987b1..c55e0bd79 100644 --- a/io.sloeber.core/META-INF/MANIFEST.MF +++ b/io.sloeber.core/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Arduino eclipse plugin Bundle-SymbolicName: io.sloeber.core;singleton:=true -Bundle-Version: 4.4.2.qualifier +Bundle-Version: 4.4.3.qualifier Bundle-RequiredExecutionEnvironment: JavaSE-17 Bundle-Vendor: Sloeber.io Bundle-ActivationPolicy: lazy @@ -23,7 +23,9 @@ Require-Bundle: org.eclipse.cdt.managedbuilder.core, org.eclipse.core.variables, org.apache.commons.commons-io, org.apache.commons.commons-compress, - com.github.luben.zstd-jni;bundle-version="1.5.5" + com.github.luben.zstd-jni;bundle-version="1.5.5", + slf4j.api;bundle-version="2.0.9", + org.eclipse.ui.intro Export-Package: cc.arduino.packages;x-internal:=true, cc.arduino.packages.discoverers;x-internal:=true, cc.arduino.packages.ssh;x-internal:=true, diff --git a/io.sloeber.core/build.properties b/io.sloeber.core/build.properties index cc2c1ae43..7690f2bef 100644 --- a/io.sloeber.core/build.properties +++ b/io.sloeber.core/build.properties @@ -12,5 +12,7 @@ bin.includes = .,\ lib/jsch-0.1.55.jar,\ OSGI-INF/l10n/bundle.properties,\ lib/jssc-2.9.4.jar,\ - lib/jmdns-3.5.7.jar + lib/jmdns-3.5.7.jar,\ + icons/,\ + launch/ jars.compile.order = . diff --git a/io.sloeber.product/icons/eclipse_lg.png b/io.sloeber.core/icons/eclipse_lg.png similarity index 100% rename from io.sloeber.product/icons/eclipse_lg.png rename to io.sloeber.core/icons/eclipse_lg.png diff --git a/io.sloeber.product/icons/logo_128.png b/io.sloeber.core/icons/logo_128.png similarity index 100% rename from io.sloeber.product/icons/logo_128.png rename to io.sloeber.core/icons/logo_128.png diff --git a/io.sloeber.product/icons/logo_16.png b/io.sloeber.core/icons/logo_16.png similarity index 100% rename from io.sloeber.product/icons/logo_16.png rename to io.sloeber.core/icons/logo_16.png diff --git a/io.sloeber.product/icons/logo_256.png b/io.sloeber.core/icons/logo_256.png similarity index 100% rename from io.sloeber.product/icons/logo_256.png rename to io.sloeber.core/icons/logo_256.png diff --git a/io.sloeber.product/icons/logo_32.png b/io.sloeber.core/icons/logo_32.png similarity index 100% rename from io.sloeber.product/icons/logo_32.png rename to io.sloeber.core/icons/logo_32.png diff --git a/io.sloeber.product/icons/logo_48.png b/io.sloeber.core/icons/logo_48.png similarity index 100% rename from io.sloeber.product/icons/logo_48.png rename to io.sloeber.core/icons/logo_48.png diff --git a/io.sloeber.product/icons/logo_64.png b/io.sloeber.core/icons/logo_64.png similarity index 100% rename from io.sloeber.product/icons/logo_64.png rename to io.sloeber.core/icons/logo_64.png diff --git a/io.sloeber.product/icons/sample.png b/io.sloeber.core/icons/sample.png similarity index 100% rename from io.sloeber.product/icons/sample.png rename to io.sloeber.core/icons/sample.png diff --git a/io.sloeber.product/icons/sample@2x.png b/io.sloeber.core/icons/sample@2x.png similarity index 100% rename from io.sloeber.product/icons/sample@2x.png rename to io.sloeber.core/icons/sample@2x.png diff --git a/io.sloeber.product/launch/icon.icns b/io.sloeber.core/launch/icon.icns similarity index 100% rename from io.sloeber.product/launch/icon.icns rename to io.sloeber.core/launch/icon.icns diff --git a/io.sloeber.product/launch/icon.xpm b/io.sloeber.core/launch/icon.xpm similarity index 100% rename from io.sloeber.product/launch/icon.xpm rename to io.sloeber.core/launch/icon.xpm diff --git a/io.sloeber.product/launch/icons.ico b/io.sloeber.core/launch/icons.ico similarity index 100% rename from io.sloeber.product/launch/icons.ico rename to io.sloeber.core/launch/icons.ico diff --git a/io.sloeber.core/plugin.xml b/io.sloeber.core/plugin.xml index 998e3c120..e86c7d181 100644 --- a/io.sloeber.core/plugin.xml +++ b/io.sloeber.core/plugin.xml @@ -529,7 +529,77 @@ priority="high"/> supportsArgument="true"> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/io.sloeber.core/pom.xml b/io.sloeber.core/pom.xml index 02f028057..633221394 100644 --- a/io.sloeber.core/pom.xml +++ b/io.sloeber.core/pom.xml @@ -4,7 +4,7 @@ io.sloeber.arduino-eclipse-plugin io.sloeber.parent - 4.4.2-SNAPSHOT + 4.4.3-SNAPSHOT ../io.sloeber.parent diff --git a/io.sloeber.feature/feature.xml b/io.sloeber.feature/feature.xml index 6e63650d0..2801a10a5 100644 --- a/io.sloeber.feature/feature.xml +++ b/io.sloeber.feature/feature.xml @@ -2,7 +2,7 @@ diff --git a/io.sloeber.feature/pom.xml b/io.sloeber.feature/pom.xml index 92c5a5716..efa7c9c87 100644 --- a/io.sloeber.feature/pom.xml +++ b/io.sloeber.feature/pom.xml @@ -4,7 +4,7 @@ io.sloeber.arduino-eclipse-plugin io.sloeber.parent - 4.4.2-SNAPSHOT + 4.4.3-SNAPSHOT ../io.sloeber.parent diff --git a/io.sloeber.parent/pom.xml b/io.sloeber.parent/pom.xml index 1df557bf3..021d35b53 100644 --- a/io.sloeber.parent/pom.xml +++ b/io.sloeber.parent/pom.xml @@ -5,7 +5,7 @@ 4.0.0 io.sloeber.arduino-eclipse-plugin io.sloeber.parent - 4.4.2-SNAPSHOT + 4.4.3-SNAPSHOT pom @@ -123,13 +123,7 @@ SDK - ../io.sloeber.feature - ../io.sloeber.core - ../io.sloeber.core.nl1 ../io.sloeber.product.sdk - ../io.sloeber.ui.nl1 - ../io.sloeber.ui - ../io.sloeber.tests diff --git a/io.sloeber.product.sdk/.classpath b/io.sloeber.product.sdk/.classpath index 021596729..3f74547ab 100644 --- a/io.sloeber.product.sdk/.classpath +++ b/io.sloeber.product.sdk/.classpath @@ -1,6 +1,5 @@ - diff --git a/io.sloeber.product.sdk/META-INF/MANIFEST.MF b/io.sloeber.product.sdk/META-INF/MANIFEST.MF index 12c7c047b..0c3904c54 100644 --- a/io.sloeber.product.sdk/META-INF/MANIFEST.MF +++ b/io.sloeber.product.sdk/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Sloeber SDK Bundle-SymbolicName: io.sloeber.product.sdk;singleton:=true -Bundle-Version: 4.4.2.qualifier +Bundle-Version: 4.4.3.qualifier Bundle-RequiredExecutionEnvironment: JavaSE-17 Bundle-Vendor: baeyens.it Automatic-Module-Name: io.sloeber.product.sdk diff --git a/io.sloeber.product.sdk/build.properties b/io.sloeber.product.sdk/build.properties index 7a8221d4f..c1e9c953f 100644 --- a/io.sloeber.product.sdk/build.properties +++ b/io.sloeber.product.sdk/build.properties @@ -1,6 +1,18 @@ -output.. = bin/ bin.includes = META-INF/,\ .,\ - plugin_customization.ini + plugin.xml,\ + splash.bmp,\ + sdk.product,\ + bin/,\ + icons/,\ + introSDKContent.xml,\ + plugin_customization.ini,\ + launch/,\ + .classpath,\ + .gitignore,\ + .project,\ + .settings/,\ + build.properties,\ + p2.inf,\ + pom.xml -source.. = src/ diff --git a/io.sloeber.product.sdk/introSDKContent.xml b/io.sloeber.product.sdk/introSDKContent.xml new file mode 100644 index 000000000..71a543035 --- /dev/null +++ b/io.sloeber.product.sdk/introSDKContent.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/io.sloeber.product.sdk/plugin.xml b/io.sloeber.product.sdk/plugin.xml new file mode 100644 index 000000000..4752909a9 --- /dev/null +++ b/io.sloeber.product.sdk/plugin.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/io.sloeber.product.sdk/pom.xml b/io.sloeber.product.sdk/pom.xml index 063fc5515..2b74c5a82 100644 --- a/io.sloeber.product.sdk/pom.xml +++ b/io.sloeber.product.sdk/pom.xml @@ -4,7 +4,7 @@ io.sloeber.arduino-eclipse-plugin io.sloeber.parent - 4.4.2-SNAPSHOT + 4.4.3-SNAPSHOT ../io.sloeber.parent @@ -40,7 +40,7 @@ - io.sloeber.product + io.sloeber.product.sdk diff --git a/io.sloeber.product.sdk/arduino.product b/io.sloeber.product.sdk/sdk.product similarity index 87% rename from io.sloeber.product.sdk/arduino.product rename to io.sloeber.product.sdk/sdk.product index f46c71a7c..531a7ea96 100644 --- a/io.sloeber.product.sdk/arduino.product +++ b/io.sloeber.product.sdk/sdk.product @@ -1,7 +1,7 @@ - + @@ -22,24 +22,23 @@ https://github.com/sloeber/arduino-eclipse-plugin/graphs/contributors - -perspective io.sloeber.application.perspective ---launcher.defaultAction openFile + --launcher.defaultAction openFile --launcher.appendVmargs - -Dosgi.requiredJavaVersion=1.8 --Dorg.eclipse.update.reconcile=false --Xms40m --Xmx512m + -Dorg.eclipse.update.reconcile=false +-Dlog4j.configuration=log4j/log4j.xml +-Xms256m +-Xmx1024m --add-modules=ALL-SYSTEM -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts - + @@ -207,22 +206,10 @@ United States, other countries, or both. - - - - - - - - - - - - @@ -236,21 +223,10 @@ United States, other countries, or both. - - - - - - - - - - - @@ -260,12 +236,25 @@ United States, other countries, or both. - - - + + + + + + + + + + + + + + + + @@ -275,7 +264,6 @@ United States, other countries, or both. - diff --git a/io.sloeber.product.sdk/splash.bmp b/io.sloeber.product.sdk/splash.bmp new file mode 100644 index 000000000..7b90a9e62 Binary files /dev/null and b/io.sloeber.product.sdk/splash.bmp differ diff --git a/io.sloeber.product.sdk/src/empty.txt b/io.sloeber.product.sdk/src/empty.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/io.sloeber.product/.classpath b/io.sloeber.product/.classpath index 8f627ce65..1da84188f 100644 --- a/io.sloeber.product/.classpath +++ b/io.sloeber.product/.classpath @@ -1,8 +1,7 @@ - - + diff --git a/io.sloeber.product/.settings/org.eclipse.core.resources.prefs b/io.sloeber.product/.settings/org.eclipse.core.resources.prefs index 4824b8026..e2c8a0234 100644 --- a/io.sloeber.product/.settings/org.eclipse.core.resources.prefs +++ b/io.sloeber.product/.settings/org.eclipse.core.resources.prefs @@ -1,2 +1,3 @@ eclipse.preferences.version=1 encoding/=UTF-8 +encoding/build.properties=UTF-8 diff --git a/io.sloeber.product/.settings/org.eclipse.jdt.core.prefs b/io.sloeber.product/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..62ef3488c --- /dev/null +++ b/io.sloeber.product/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,9 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=17 diff --git a/io.sloeber.product/META-INF/MANIFEST.MF b/io.sloeber.product/META-INF/MANIFEST.MF index 5177fa8a9..a4bd3ebee 100644 --- a/io.sloeber.product/META-INF/MANIFEST.MF +++ b/io.sloeber.product/META-INF/MANIFEST.MF @@ -2,14 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Sloeber product Bundle-SymbolicName: io.sloeber.product;singleton:=true -Bundle-Version: 4.4.2.qualifier -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.ui, - org.eclipse.jface.text, - org.eclipse.ui.editors, - org.eclipse.ui.ide, - org.eclipse.platform, - org.eclipse.ui.intro +Bundle-Version: 4.4.3.qualifier Bundle-RequiredExecutionEnvironment: JavaSE-17 Bundle-Vendor: baeyens.it Automatic-Module-Name: io.sloeber.product diff --git a/io.sloeber.product/build.properties b/io.sloeber.product/build.properties index 4a1bcf16c..bfc303a3b 100644 --- a/io.sloeber.product/build.properties +++ b/io.sloeber.product/build.properties @@ -1,12 +1,4 @@ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - plugin_customization.ini,\ - plugin.xml,\ - icons/,\ - splash.bmp,\ - launch/,\ - introContent.xml +bin.includes = .,\ + META-INF/, + -source.. = src/ -src.includes = icons/ diff --git a/io.sloeber.product/p2.inf b/io.sloeber.product/p2.inf deleted file mode 100644 index e2f46bff7..000000000 --- a/io.sloeber.product/p2.inf +++ /dev/null @@ -1,35 +0,0 @@ -requires.1.namespace=org.eclipse.equinox.p2.iu -requires.1.name=sloeber.configuration.win32 -requires.1.filter=(osgi.os=win32) -requires.1.range=[1.0.0,1.0.0] -requires.1.greedy=true - -requires.2.namespace=org.eclipse.equinox.p2.iu -requires.2.name=sloeber.configuration.default -requires.2.filter=(!(osgi.os=win32)) -requires.2.range=[1.0.0,1.0.0] -requires.2.greedy=true - - -units.1.id=sloeber.configuration.win32 -units.1.version=1.0.0 -units.1.provides.1.namespace=org.eclipse.equinox.p2.iu -units.1.provides.1.name=sloeber.configuration.win32 -units.1.provides.1.version=1.0.0 -units.1.filter=(osgi.os=win32) -units.1.touchpoint.id=org.eclipse.equinox.p2.osgi -units.1.touchpoint.version=1.0.0 -units.1.instructions.configure=setProgramProperty(propName:osgi.instance.area.default,propValue:@user.home/My Documents/sloeber-workspace); -units.1.instructions.unconfigure=setProgramProperty(propName:osgi.instance.area.default,propValue:); - -units.2.id=sloeber.configuration.default -units.2.version=1.0.0 -units.2.provides.1.namespace=org.eclipse.equinox.p2.iu -units.2.provides.1.name=sloeber.configuration.default -units.2.provides.1.version=1.0.0 -units.2.filter=(!(osgi.os=win32)) -units.2.touchpoint.id=org.eclipse.equinox.p2.osgi -units.2.touchpoint.version=1.0.0 -units.2.instructions.configure=setProgramProperty(propName:osgi.instance.area.default,propValue:@user.home/Documents/sloeber-workspace); -units.2.instructions.unconfigure=setProgramProperty(propName:osgi.instance.area.default,propValue:); - diff --git a/io.sloeber.product/plugin.xml b/io.sloeber.product/plugin.xml deleted file mode 100644 index fc314169b..000000000 --- a/io.sloeber.product/plugin.xml +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/io.sloeber.product/pom.xml b/io.sloeber.product/pom.xml index 54edf3310..c0d0b1431 100644 --- a/io.sloeber.product/pom.xml +++ b/io.sloeber.product/pom.xml @@ -4,7 +4,7 @@ io.sloeber.arduino-eclipse-plugin io.sloeber.parent - 4.4.2-SNAPSHOT + 4.4.3-SNAPSHOT ../io.sloeber.parent diff --git a/io.sloeber.product/arduino.product b/io.sloeber.product/sloeber.product similarity index 89% rename from io.sloeber.product/arduino.product rename to io.sloeber.product/sloeber.product index 4fe7d253e..f6beda386 100644 --- a/io.sloeber.product/arduino.product +++ b/io.sloeber.product/sloeber.product @@ -1,10 +1,10 @@ - + - + Sloeber, the Eclipse IDE for Arduino Developers @@ -22,12 +22,11 @@ https://github.com/sloeber/arduino-eclipse-plugin/graphs/contributors - -perspective io.sloeber.application.perspective + -perspective io.sloeber.product.perspective --launcher.defaultAction openFile --launcher.appendVmargs - -Dosgi.requiredJavaVersion=11 --Dorg.eclipse.update.reconcile=false + -Dorg.eclipse.update.reconcile=false -Dlog4j.configuration=log4j/log4j.xml -Xms256m -Xmx1024m @@ -37,10 +36,10 @@ https://github.com/sloeber/arduino-eclipse-plugin/graphs/contributors - + @@ -48,7 +47,7 @@ https://github.com/sloeber/arduino-eclipse-plugin/graphs/contributors - + @@ -247,7 +246,13 @@ United States, other countries, or both. - + + + + + + + @@ -262,13 +267,12 @@ United States, other countries, or both. - - - - - - - + + + + + + diff --git a/io.sloeber.product/sloeber.target b/io.sloeber.product/sloeber.target index c57f74d0a..d72300f00 100644 --- a/io.sloeber.product/sloeber.target +++ b/io.sloeber.product/sloeber.target @@ -4,26 +4,40 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -32,22 +46,22 @@ - - + + - - - - - - - - - - - + + + + + + + + + + + diff --git a/io.sloeber.product/splash.bmp b/io.sloeber.product/splash.bmp deleted file mode 100644 index 0580eabb8..000000000 Binary files a/io.sloeber.product/splash.bmp and /dev/null differ diff --git a/io.sloeber.product/src/empty.txt b/io.sloeber.product/src/empty.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/io.sloeber.product/src/io/sloeber/product/Perspective.java b/io.sloeber.product/src/io/sloeber/product/Perspective.java deleted file mode 100644 index 3d425ce8a..000000000 --- a/io.sloeber.product/src/io/sloeber/product/Perspective.java +++ /dev/null @@ -1,12 +0,0 @@ -package io.sloeber.product; - -import org.eclipse.ui.IPageLayout; -import org.eclipse.ui.IPerspectiveFactory; - -public class Perspective implements IPerspectiveFactory { - - @Override - public void createInitialLayout(IPageLayout layout) { - // nothing to do here - } -} diff --git a/io.sloeber.tests/META-INF/MANIFEST.MF b/io.sloeber.tests/META-INF/MANIFEST.MF index 8a8e92614..7304abc61 100644 --- a/io.sloeber.tests/META-INF/MANIFEST.MF +++ b/io.sloeber.tests/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Sloeber Tests Bundle-SymbolicName: io.sloeber.tests -Bundle-Version: 4.4.2.qualifier +Bundle-Version: 4.4.3.qualifier Bundle-RequiredExecutionEnvironment: JavaSE-17 Bundle-Vendor: Sloeber.io Require-Bundle: io.sloeber.core, diff --git a/io.sloeber.tests/pom.xml b/io.sloeber.tests/pom.xml index 0dbcdb70d..8ec355f01 100644 --- a/io.sloeber.tests/pom.xml +++ b/io.sloeber.tests/pom.xml @@ -4,7 +4,7 @@ io.sloeber.arduino-eclipse-plugin io.sloeber.parent - 4.4.2-SNAPSHOT + 4.4.3-SNAPSHOT ../io.sloeber.parent diff --git a/io.sloeber.tests/src/io/sloeber/core/CompileAndUpload.java b/io.sloeber.tests/src/io/sloeber/core/CompileAndUpload.java index 63dba5fda..2f14dfd9c 100644 --- a/io.sloeber.tests/src/io/sloeber/core/CompileAndUpload.java +++ b/io.sloeber.tests/src/io/sloeber/core/CompileAndUpload.java @@ -47,7 +47,6 @@ @RunWith(Parameterized.class) public class CompileAndUpload { private static final boolean reinstall_boards_and_libraries = false; - private static int mCounter = 0; private MCUBoard myBoard; private String myName; private static String interval = "1500";// change between 1500 and 100 @@ -161,7 +160,7 @@ public void Build_Verify_upload(CodeDescription codeDescriptor, IProject theTestProject = null; NullProgressMonitor monitor = new NullProgressMonitor(); - String projectName = String.format("%05d_%s", Integer.valueOf(mCounter++), + String projectName = String.format("%05d_%s", Integer.valueOf(Shared.buildCounter++), this.myName); try { theTestProject = SloeberProject.createArduinoProject(projectName, null, diff --git a/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileArduinoIDEExamplesOnAVRHardwareTest.java b/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileArduinoIDEExamplesOnAVRHardwareTest.java index abfc7427b..d50a99988 100644 --- a/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileArduinoIDEExamplesOnAVRHardwareTest.java +++ b/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileArduinoIDEExamplesOnAVRHardwareTest.java @@ -38,7 +38,6 @@ public class CreateAndCompileArduinoIDEExamplesOnAVRHardwareTest { private CodeDescription myCodeDescriptor; private MCUBoard myBoard; private String myProjectName; - private static int myBuildCounter = 0; private static int myTotalFails = 0; private static int maxFails = 50; private static int mySkipAtStart = 0; @@ -93,7 +92,7 @@ private static boolean skipExample(Example example) { @Test public void testExample() { - Assume.assumeTrue("Skipping first " + mySkipAtStart + " tests", myBuildCounter++ >= mySkipAtStart); + Assume.assumeTrue("Skipping first " + mySkipAtStart + " tests", Shared.buildCounter++ >= mySkipAtStart); Assume.assumeTrue("To many fails. Stopping test", myTotalFails < maxFails); if (!Shared.BuildAndVerify(myProjectName, myBoard.getBoardDescriptor(), myCodeDescriptor, diff --git a/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileDefaultInoOnAllBoardsTest.java b/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileDefaultInoOnAllBoardsTest.java index b81ba4ccc..b8fde0b5b 100644 --- a/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileDefaultInoOnAllBoardsTest.java +++ b/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileDefaultInoOnAllBoardsTest.java @@ -32,7 +32,7 @@ public class CreateAndCompileDefaultInoOnAllBoardsTest { private static final boolean skipPlatformInstallation = false; private static final boolean apply_known_work_Arounds = true; private static final boolean closeFailedProjects = false; - private static int myBuildCounter = 0; + private static int myTotalFails = 0; private static int maxFails = 50; private static int mySkipTestsAtStart = 0; @@ -58,6 +58,16 @@ public class CreateAndCompileDefaultInoOnAllBoardsTest { "https://redbearlab.github.io/arduino/package_redbear_index.json", "https://redbearlab.github.io/arduino/package_redbearlab_index.json", "http://drazzy.com/package_drazzy.com_index.json", + "http://download.labs.mediatek.com/package_mtk_linkit_smart_7688_index.json", + "http://download.labs.mediatek.com/package_mtk_linkit_7697_index.json", + "http://download.labs.mediatek.com/package_mtk_linkit_index.json", + "http://panstamp.org/arduino/package_panstamp_index.json", + "https://raw.githubusercontent.com/Seeed-Studio/Seeeduino-Boards/master/package_seeeduino_index.json", + "http://rig.reka.com.my/package_rig_index.json", + "http://adelino.cc/package_adelino_index.json", + "https://raw.githubusercontent.com/ioteamit/smarteverything-core/master/package_arrow_index.json", + "http://digistump.com/package_digistump_index.json", + // confirmed 2020 03 09 version 25 12 17 "https://raw.githubusercontent.com/avandalen/SAM15x15/master/package_avdweb_nl_index.json", @@ -336,13 +346,13 @@ public static void installAdditionalBoards() { @Test public void testBoard() throws Exception { - myBuildCounter++; - Assume.assumeTrue("Skipping first " + mySkipTestsAtStart + " tests", myBuildCounter >= mySkipTestsAtStart); + Shared.buildCounter++; + Assume.assumeTrue("Skipping first " + mySkipTestsAtStart + " tests", Shared.buildCounter >= mySkipTestsAtStart); Assume.assumeTrue("To many fails. Stopping test", myTotalFails < maxFails); IPath templateFolder = Shared.getTemplateFolder("CreateAndCompileTest"); if (!Shared.BuildAndVerify(this.mBoard, CodeDescription.createCustomTemplate(templateFolder), null, - myBuildCounter)) { + Shared.buildCounter)) { myTotalFails++; fail(Shared.getLastFailMessage()); } diff --git a/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileExamplesTest.java b/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileExamplesTest.java index 6dbf0e89b..611788671 100644 --- a/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileExamplesTest.java +++ b/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileExamplesTest.java @@ -35,7 +35,6 @@ public class CreateAndCompileExamplesTest { private static final boolean reinstall_boards_and_examples = false; private CodeDescription myCodeDescriptor; private BoardDescription myBoardDescriptor; - private static int myBuildCounter = 0; private static int myTotalFails = 0; private static int maxFails = 200; private static int mySkipAtStart = 0; @@ -124,10 +123,10 @@ public void testExamples() { // There are only a number of issues you can handle // best is to focus on the first ones and then rerun starting with the // failures - Assume.assumeTrue("Skipping first " + mySkipAtStart + " tests", myBuildCounter++ >= mySkipAtStart); + Assume.assumeTrue("Skipping first " + mySkipAtStart + " tests", Shared.buildCounter++ >= mySkipAtStart); Assume.assumeTrue("To many fails. Stopping test", myTotalFails < maxFails); - myBuildCounter++; + Shared.buildCounter++; if (!Shared.BuildAndVerify(myName, myBoardDescriptor, myCodeDescriptor, new CompileDescription())) { myTotalFails++; fail(Shared.getLastFailMessage() ); diff --git a/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileLibraryExamplesTest.java b/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileLibraryExamplesTest.java index 262f5f310..a094676f3 100644 --- a/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileLibraryExamplesTest.java +++ b/io.sloeber.tests/src/io/sloeber/core/CreateAndCompileLibraryExamplesTest.java @@ -36,7 +36,6 @@ public class CreateAndCompileLibraryExamplesTest { private static final int maxFails = 100; private static final int mySkipAtStart = 0; - private static int myBuildCounter = 0; private static int myTotalFails = 0; private Example myExample; private MCUBoard myBoard; @@ -113,7 +112,7 @@ public static void installAdditionalBoards() { @Test public void testExamples() { - Assume.assumeTrue("Skipping first " + mySkipAtStart + " tests", myBuildCounter++ >= mySkipAtStart); + Assume.assumeTrue("Skipping first " + mySkipAtStart + " tests", Shared.buildCounter++ >= mySkipAtStart); Assume.assumeTrue("To many fails. Stopping test", myTotalFails < maxFails); if (!myBoard.isExampleSupported(myExample)) { fail("Trying to run a test on unsoprted board"); diff --git a/io.sloeber.tests/src/io/sloeber/core/NightlyBoardPatronTest.java b/io.sloeber.tests/src/io/sloeber/core/NightlyBoardPatronTest.java index ea62f3ed8..bcedfbf46 100644 --- a/io.sloeber.tests/src/io/sloeber/core/NightlyBoardPatronTest.java +++ b/io.sloeber.tests/src/io/sloeber/core/NightlyBoardPatronTest.java @@ -27,7 +27,6 @@ @RunWith(Parameterized.class) public class NightlyBoardPatronTest { - private static int myBuildCounter = 0; private Example myExample; private MCUBoard myBoardID; private static int mySkipAtStart = 0; @@ -80,8 +79,8 @@ public static Collection examples() { @Test public void testExamples() { - myBuildCounter++ ; - Assume.assumeTrue("Skipping first " + mySkipAtStart + " tests", myBuildCounter >= mySkipAtStart); + Shared.buildCounter++ ; + Assume.assumeTrue("Skipping first " + mySkipAtStart + " tests", Shared.buildCounter >= mySkipAtStart); Assume.assumeTrue("To many fails. Stopping test", myTotalFails < maxFails); ArrayList paths = new ArrayList<>(); @@ -92,7 +91,7 @@ public void testExamples() { Map boardOptions = myBoardID.getBoardOptions(myExample); BoardDescription boardDescriptor = myBoardID.getBoardDescriptor(); boardDescriptor.setOptions(boardOptions); - if(!Shared.BuildAndVerify(myBoardID.getBoardDescriptor(), codeDescriptor, myCompileOptions,myBuildCounter)) { + if(!Shared.BuildAndVerify(myBoardID.getBoardDescriptor(), codeDescriptor, myCompileOptions,Shared.buildCounter)) { myTotalFails++; fail(Shared.getLastFailMessage() ); } diff --git a/io.sloeber.tests/src/io/sloeber/core/RegressionTest.java b/io.sloeber.tests/src/io/sloeber/core/RegressionTest.java index 229a3bfff..530796dd7 100644 --- a/io.sloeber.tests/src/io/sloeber/core/RegressionTest.java +++ b/io.sloeber.tests/src/io/sloeber/core/RegressionTest.java @@ -60,7 +60,6 @@ public static void installAdditionalBoards() { if (reinstall_boards_and_libraries) { BoardsManager.removeAllInstalledPlatforms(); } - ; // make sure the needed boards are available ESP8266.installLatest(); ESP32.installLatest(); diff --git a/io.sloeber.tests/src/io/sloeber/core/Shared.java b/io.sloeber.tests/src/io/sloeber/core/Shared.java index f03276b00..515fd2153 100644 --- a/io.sloeber.tests/src/io/sloeber/core/Shared.java +++ b/io.sloeber.tests/src/io/sloeber/core/Shared.java @@ -10,8 +10,6 @@ import java.net.URL; import java.nio.file.Files; import java.nio.file.Paths; -import java.util.HashMap; -import java.util.Map; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; @@ -46,6 +44,7 @@ @SuppressWarnings("nls") public class Shared { + public static int buildCounter = 0; private static boolean deleteProjects = true; public static void setDeleteProjects(boolean deleteProjects) { diff --git a/io.sloeber.tests/src/io/sloeber/core/releaseTesting_takes_very_long.java b/io.sloeber.tests/src/io/sloeber/core/releaseTesting_takes_very_long.java index 3a42fedb5..d1fc7577a 100644 --- a/io.sloeber.tests/src/io/sloeber/core/releaseTesting_takes_very_long.java +++ b/io.sloeber.tests/src/io/sloeber/core/releaseTesting_takes_very_long.java @@ -13,12 +13,13 @@ NightlyBoardPatronTest.class, RegressionTest.class, RegressionTestFailingOnTravis.class, - UpgradeTest.class, CompileAndUpload.class, + //UpgradeTest.class, TODO JABA:Need to decide what to do sith these tests as 1 fails and they are kind of obsolete + CompileAndUpload.class, CreateAndCompileArduinoIDEExamplesOnAVRHardwareTest.class, - CreateAndCompileArduinoIDEExamplesOnTeensyTest.class, + //CreateAndCompileArduinoIDEExamplesOnTeensyTest.class, no longer needed as teensy is now imported with the boardsmanager CreateAndCompileDefaultInoOnAllBoardsTest.class, CreateAndCompileExamplesTest.class, - CreateAndCompileArduinoIDEExamplesonJantjesBoardsTest.class, + //CreateAndCompileArduinoIDEExamplesonJantjesBoardsTest.class, I should deprecate this CreateAndCompileLibraryExamplesTest.class, }) public class releaseTesting_takes_very_long { diff --git a/io.sloeber.tests/src/io/sloeber/providers/Teensy.java b/io.sloeber.tests/src/io/sloeber/providers/Teensy.java index ece1c8947..ac3ee0529 100644 --- a/io.sloeber.tests/src/io/sloeber/providers/Teensy.java +++ b/io.sloeber.tests/src/io/sloeber/providers/Teensy.java @@ -144,7 +144,6 @@ public static void installLatest() { } public static List getAllBoards() { - // TODO Auto-generated method stub - return null; + return getAllBoards(TEENSY_PROVIDER, Teensy3_0()); } } \ No newline at end of file diff --git a/io.sloeber.ui.nl1/META-INF/MANIFEST.MF b/io.sloeber.ui.nl1/META-INF/MANIFEST.MF index f9b61d0b7..72978c343 100644 --- a/io.sloeber.ui.nl1/META-INF/MANIFEST.MF +++ b/io.sloeber.ui.nl1/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Sloeber ui language pack Bundle-SymbolicName: io.sloeber.ui.nl1;singleton:=true -Bundle-Version: 4.4.2.qualifier +Bundle-Version: 4.4.3.qualifier Fragment-Host: io.sloeber.ui;bundle-version="4.2.0" Bundle-RequiredExecutionEnvironment: JavaSE-17 Bundle-Vendor: baeyens.it diff --git a/io.sloeber.ui.nl1/pom.xml b/io.sloeber.ui.nl1/pom.xml index 316966556..354d08277 100644 --- a/io.sloeber.ui.nl1/pom.xml +++ b/io.sloeber.ui.nl1/pom.xml @@ -4,7 +4,7 @@ io.sloeber.arduino-eclipse-plugin io.sloeber.parent - 4.4.2-SNAPSHOT + 4.4.3-SNAPSHOT ../io.sloeber.parent diff --git a/io.sloeber.ui/META-INF/MANIFEST.MF b/io.sloeber.ui/META-INF/MANIFEST.MF index dbf124093..6fb6064b3 100644 --- a/io.sloeber.ui/META-INF/MANIFEST.MF +++ b/io.sloeber.ui/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Sloeber user interface Bundle-SymbolicName: io.sloeber.ui;singleton:=true -Bundle-Version: 4.4.2.qualifier +Bundle-Version: 4.4.3.qualifier Bundle-Activator: io.sloeber.ui.Activator Require-Bundle: org.eclipse.ui, org.eclipse.core.runtime, diff --git a/io.sloeber.ui/build.properties b/io.sloeber.ui/build.properties index 475ca75c3..b79491d87 100644 --- a/io.sloeber.ui/build.properties +++ b/io.sloeber.ui/build.properties @@ -5,5 +5,6 @@ bin.includes = META-INF/,\ plugin.xml,\ OSGI-INF/,\ icons/,\ - OSGI-INF/l10n/bundle.properties + OSGI-INF/l10n/bundle.properties,\ + splash.bmp diff --git a/io.sloeber.ui/plugin.xml b/io.sloeber.ui/plugin.xml index 1cbdb280a..041275bc5 100644 --- a/io.sloeber.ui/plugin.xml +++ b/io.sloeber.ui/plugin.xml @@ -708,22 +708,87 @@ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -798,6 +863,8 @@ + + diff --git a/io.sloeber.ui/pom.xml b/io.sloeber.ui/pom.xml index 70dc60755..09b13d9e1 100644 --- a/io.sloeber.ui/pom.xml +++ b/io.sloeber.ui/pom.xml @@ -4,7 +4,7 @@ io.sloeber.arduino-eclipse-plugin io.sloeber.parent - 4.4.2-SNAPSHOT + 4.4.3-SNAPSHOT ../io.sloeber.parent diff --git a/io.sloeber.ui/splash.bmp b/io.sloeber.ui/splash.bmp index 7c8702c97..69755764b 100644 Binary files a/io.sloeber.ui/splash.bmp and b/io.sloeber.ui/splash.bmp differ diff --git a/io.sloeber.ui/src/io/sloeber/ui/core/PerspectiveFactory.java b/io.sloeber.ui/src/io/sloeber/ui/core/PerspectiveFactory.java new file mode 100644 index 000000000..17ed7e7d9 --- /dev/null +++ b/io.sloeber.ui/src/io/sloeber/ui/core/PerspectiveFactory.java @@ -0,0 +1,14 @@ +package io.sloeber.ui.core; + +import org.eclipse.ui.IPageLayout; +import org.eclipse.ui.IPerspectiveFactory; + +public class PerspectiveFactory implements IPerspectiveFactory { + + @Override + public void createInitialLayout(IPageLayout layout) { + // TODO Auto-generated method stub + + } + +} diff --git a/io.sloeber.updatesite/pom.xml b/io.sloeber.updatesite/pom.xml index c8b863ee8..4fb2db4ec 100644 --- a/io.sloeber.updatesite/pom.xml +++ b/io.sloeber.updatesite/pom.xml @@ -4,7 +4,7 @@ io.sloeber.arduino-eclipse-plugin io.sloeber.parent - 4.4.2-SNAPSHOT + 4.4.3-SNAPSHOT ../io.sloeber.parent diff --git a/website/WebContent/fragments/file-buttons.php b/website/WebContent/fragments/file-buttons.php index f0f959f0f..31ba17087 100644 --- a/website/WebContent/fragments/file-buttons.php +++ b/website/WebContent/fragments/file-buttons.php @@ -22,7 +22,7 @@ function internalListFiles($prefix) { include "files.php"; global $filter; $filter = $prefix; - $lines=$lines." ".$prefix." "; + //$lines=$lines." ".$prefix." "; date_default_timezone_set ( 'UTC' ); $files = array_filter ( $files, "filter" ); diff --git a/website/WebContent/fragments/files.php b/website/WebContent/fragments/files.php index facd93f9d..9de629926 100644 --- a/website/WebContent/fragments/files.php +++ b/website/WebContent/fragments/files.php @@ -74,6 +74,11 @@ "https://github.com/Sloeber/arduino-eclipse-plugin/releases/download/V4_4_2_0/sloeber-ide-V4.4.2-macosx.cocoa.x86_64.zip", "https://github.com/Sloeber/arduino-eclipse-plugin/releases/download/V4_4_2_0/sloeber-ide-V4.4.2-win32.win32.x86_64.zip", + "https://github.com/Sloeber/arduino-eclipse-plugin/releases/download/V4_4_3_0/sloeber-ide-V4.4.3-linux.gtk.x86_64.tar.gz", + "https://github.com/Sloeber/arduino-eclipse-plugin/releases/download/V4_4_3_0/sloeber-ide-V4.4.3-macosx.cocoa.aarch64.zip", + "https://github.com/Sloeber/arduino-eclipse-plugin/releases/download/V4_4_3_0/sloeber-ide-V4.4.3-macosx.cocoa.x86_64.zip", + "https://github.com/Sloeber/arduino-eclipse-plugin/releases/download/V4_4_3_0/sloeber-ide-V4.4.3-win32.win32.x86_64.zip", + ); ?> diff --git a/website/WebContent/globals.txt b/website/WebContent/globals.txt index 17fb1339b..e46281d5d 100644 --- a/website/WebContent/globals.txt +++ b/website/WebContent/globals.txt @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/website/WebContent/index.shtml b/website/WebContent/index.shtml index 91c278d0a..aac69dc4b 100644 --- a/website/WebContent/index.shtml +++ b/website/WebContent/index.shtml @@ -40,7 +40,7 @@ This represents a completely free and open Arduino IDE alternative!
Download the product, unpack and play!

-

Sloeber V4.4.2 contains some minor fixes among them incompatibility fixes with the latest eclipse

+

Sloeber V4.4.3 because we love Teensy

Welcome to a next stage for your Arduino projects!

Learn more » diff --git a/website/WebContent/product/V4_0.php b/website/WebContent/product/V4_0.php index a56588baa..18ff2889b 100644 --- a/website/WebContent/product/V4_0.php +++ b/website/WebContent/product/V4_0.php @@ -15,6 +15,9 @@

+

Check the perspective

+

In the top right of your workspace there is a icon that when hovered over states "open perspective".

+

Click that and select Sloeber (or C/C++ when Sloeber is not there) and select open.

What to do to get started quickly

Wait for the configuration to finish.

diff --git a/website/WebContent/product/V4_0_SDK.php b/website/WebContent/product/V4_0_SDK.php new file mode 100644 index 000000000..73bffb5c1 --- /dev/null +++ b/website/WebContent/product/V4_0_SDK.php @@ -0,0 +1,34 @@ + + + + +Welcome to Sloeber V4 : the Eclipse Arduino IDE + + + + + +
+
+
+ +
+ +

What to do to get started quickly

+

Install maven connector (m2e).

+

I have not yet found a way to include the maven connector to the SDK build

+

Select the target file

+

import the Sloeber code using the import git functionality.

+

Select the target file

+

open the file sloeber.target in the io.sloeber.project project.

+

If you do not see a red m2 followed with direct from maven you failed to install the correct maven connector

+

Click the text "set as active target platform" in the top right.

+

All should be working now.

+ +
+ + + + \ No newline at end of file