diff --git a/.gitignore b/.gitignore index d3692fb..88db78e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ bin/ dist/ -nbproject/ *.exe -/src/padkey \ No newline at end of file +/src/padkey +/nbproject/private/ +/build/ \ No newline at end of file diff --git a/build.xml b/build.xml index 9a92794..44ed88f 100644 --- a/build.xml +++ b/build.xml @@ -1,36 +1,14 @@ - - + + + + + + + + - Builds, tests, and runs SyMAT. + Builds, tests, and runs the project SyMAT. - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try (HAXX): - - java -jar "${dist.jar.resolved}" - - - diff --git a/nbproject/build-impl.xml b/nbproject/build-impl.xml index 4d6a994..b0e40ae 100644 --- a/nbproject/build-impl.xml +++ b/nbproject/build-impl.xml @@ -20,7 +20,6 @@ is divided into following sections: --> - @@ -183,9 +182,7 @@ is divided into following sections: - - - + @@ -277,7 +274,6 @@ is divided into following sections: Must set src.dir - Must set test.src.dir Must set build.dir Must set dist.dir Must set build.classes.dir @@ -459,9 +455,6 @@ is divided into following sections: - - - @@ -490,11 +483,7 @@ is divided into following sections: - - - - - + @@ -603,9 +592,6 @@ is divided into following sections: - - - @@ -1305,13 +1291,11 @@ is divided into following sections: - + - - - - + + @@ -1325,10 +1309,8 @@ is divided into following sections: Must select some files in the IDE or set javac.includes - - - - + + diff --git a/nbproject/build-native.xml b/nbproject/build-native.xml deleted file mode 100644 index 75448ad..0000000 --- a/nbproject/build-native.xml +++ /dev/null @@ -1,953 +0,0 @@ - - - - - - - - - Native Packager Ant calls based on SE support in JavaFX packager - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - self.addMappedName( - (source.indexOf("jfxrt.jar") >= 0) || - (source.indexOf("deploy.jar") >= 0) || - (source.indexOf("javaws.jar") >= 0) || - (source.indexOf("plugin.jar") >= 0) - ? "" : source - ); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbproject/build-native.xml~ b/nbproject/build-native.xml~ deleted file mode 100644 index 1720633..0000000 --- a/nbproject/build-native.xml~ +++ /dev/null @@ -1,934 +0,0 @@ - - - - - Native Packager Ant calls based on SE support in JavaFX packager - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - self.addMappedName( - (source.indexOf("jfxrt.jar") >= 0) || - (source.indexOf("deploy.jar") >= 0) || - (source.indexOf("javaws.jar") >= 0) || - (source.indexOf("plugin.jar") >= 0) - ? "" : source - ); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbproject/genfiles.properties b/nbproject/genfiles.properties index 8b9b85d..d4c64e8 100644 --- a/nbproject/genfiles.properties +++ b/nbproject/genfiles.properties @@ -1,37 +1,8 @@ -# -# Copyright (c) 2015, Apocalypse Laboratories -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, -# are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation and/or -# other materials provided with the distribution. -# -# 3. Neither the name of the copyright holder nor the names of its contributors -# may be used to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -build.xml.data.CRC32=df50d06e -build.xml.script.CRC32=43ba75c8 -build.xml.stylesheet.CRC32=8064a381@1.75.1.48 +build.xml.data.CRC32=0dfe898c +build.xml.script.CRC32=cfce77fe +build.xml.stylesheet.CRC32=8064a381@1.75.2.48 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=8e5af14d -nbproject/build-impl.xml.script.CRC32=dbe4f4c1 +nbproject/build-impl.xml.data.CRC32=0dfe898c +nbproject/build-impl.xml.script.CRC32=eaffabc7 nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48 diff --git a/nbproject/project.properties b/nbproject/project.properties index c4773c9..9ebefb6 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -1,39 +1,9 @@ -# -# Copyright (c) 2015, Apocalypse Laboratories -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, -# are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation and/or -# other materials provided with the distribution. -# -# 3. Neither the name of the copyright holder nor the names of its contributors -# may be used to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# annotation.processing.enabled=true annotation.processing.enabled.in.editor=false annotation.processing.processors.list= annotation.processing.run.all.processors=true annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output -application.desc=SyMAT: Symbolic Math for People -application.homepage=https://symatapp.com +application.homepage=https://symatapp.com/ application.splash=C:\\Users\\Skylar\\Documents\\Apocalypse Labs\\apps\\SyMAT\\SyMAT\\src\\net\\apocalypselabs\\symat\\images\\symat-hex-logo.png application.title=SyMAT application.vendor=Apocalypse Laboratories @@ -48,7 +18,6 @@ build.generated.sources.dir=${build.dir}/generated-sources build.sysclasspath=ignore build.test.classes.dir=${build.dir}/test/classes build.test.results.dir=${build.dir}/test/results -copylibs.excludes=${javafx.classpath.extension} # Uncomment to specify the preferred debugger connection transport: #debug.transport=dt_socket debug.classpath=\ @@ -64,44 +33,50 @@ dist.javadoc.dir=${dist.dir}/javadoc endorsed.classpath= excludes= file.reference.autocomplete-2.5.4.jar=lib/autocomplete-2.5.4.jar +file.reference.beautyeye_lnf.jar=lib/beautyeye_lnf.jar file.reference.flamingo-6.3-javadoc.jar=lib/flamingo-6.3-javadoc.jar -file.reference.flamingo-6.3.jar=lib\\flamingo-6.3.jar +file.reference.flamingo-6.3.jar=lib/flamingo-6.3.jar file.reference.htmlcleaner-2.10.jar=lib/htmlcleaner-2.10.jar file.reference.iText-4.2.0-com.itextpdf.jar=lib/iText-4.2.0-com.itextpdf.jar -file.reference.JavaPrettify-1.2.1.jar=lib/JavaPrettify-1.2.1.jar +file.reference.JavaPrettify-1.2.1.jar=lib\\JavaPrettify-1.2.1.jar file.reference.jmathplot.jar=lib/jmathplot.jar file.reference.js-engine.jar=lib/js-engine.jar file.reference.js.jar=lib/js.jar -file.reference.json-simple-1.1.1.jar=lib\\json-simple-1.1.1.jar +file.reference.json-simple-1.1.1.jar=lib/json-simple-1.1.1.jar file.reference.jython-standalone-2.7-b3.jar=lib/jython-standalone-2.7-b3.jar file.reference.log4j-1.2.11.jar=lib/log4j-1.2.11.jar +file.reference.org-netbeans-api-visual.jar=lib/org-netbeans-api-visual.jar +file.reference.org-openide-util.jar=lib/org-openide-util.jar file.reference.rsyntaxtextarea-2.5.6.jar=lib/rsyntaxtextarea-2.5.6.jar +file.reference.seaglasslookandfeel-0.2.jar=lib/seaglasslookandfeel-0.2.jar +file.reference.SyMAT-src=src file.reference.symja-2014-11-01.jar=lib/symja-2014-11-01.jar -file.reference.trident-6.3.jar=lib\\trident-6.3.jar +file.reference.trident-6.3.jar=lib/trident-6.3.jar includes=** -jar.archive.disabled=${jnlp.enabled} jar.compress=false -jar.index=${jnlp.enabled} javac.classpath=\ - ${file.reference.log4j-1.2.11.jar}:\ - ${file.reference.symja-2014-11-01.jar}:\ - ${file.reference.JavaPrettify-1.2.1.jar}:\ - ${file.reference.iText-4.2.0-com.itextpdf.jar}:\ + ${file.reference.autocomplete-2.5.4.jar}:\ + ${file.reference.beautyeye_lnf.jar}:\ + ${file.reference.flamingo-6.3-javadoc.jar}:\ + ${file.reference.flamingo-6.3.jar}:\ ${file.reference.htmlcleaner-2.10.jar}:\ + ${file.reference.iText-4.2.0-com.itextpdf.jar}:\ + ${file.reference.jmathplot.jar}:\ ${file.reference.js-engine.jar}:\ ${file.reference.js.jar}:\ + ${file.reference.json-simple-1.1.1.jar}:\ ${file.reference.jython-standalone-2.7-b3.jar}:\ + ${file.reference.log4j-1.2.11.jar}:\ + ${file.reference.org-netbeans-api-visual.jar}:\ + ${file.reference.org-openide-util.jar}:\ ${file.reference.rsyntaxtextarea-2.5.6.jar}:\ - ${file.reference.autocomplete-2.5.4.jar}:\ - ${file.reference.jmathplot.jar}:\ - ${javafx.classpath.extension}:\ - ${file.reference.json-simple-1.1.1.jar}:\ - ${file.reference.flamingo-6.3.jar}:\ + ${file.reference.seaglasslookandfeel-0.2.jar}:\ + ${file.reference.symja-2014-11-01.jar}:\ ${file.reference.trident-6.3.jar}:\ - ${file.reference.flamingo-6.3-javadoc.jar} + ${file.reference.JavaPrettify-1.2.1.jar} # Space-separated list of extra javac options javac.compilerargs= -javac.deprecation=true +javac.deprecation=false javac.processorpath=\ ${javac.classpath} javac.source=1.8 @@ -117,35 +92,15 @@ javadoc.encoding=${source.encoding} javadoc.noindex=false javadoc.nonavbar=false javadoc.notree=false -javadoc.private=true -javadoc.reference.flamingo-6.3.jar=lib/flamingo-6.3-javadoc.jar +javadoc.private=false javadoc.splitindex=true javadoc.use=true javadoc.version=false javadoc.windowtitle= -javafx.classpath.extension=\ - ${platforms.JDK_1.8.home}/jre/lib/javaws.jar:\ - ${platforms.JDK_1.8.home}/jre/lib/deploy.jar:\ - ${platforms.JDK_1.8.home}/jre/lib/plugin.jar -jnlp.codebase.type=no.codebase -jnlp.descriptor=application -jnlp.enabled=false -jnlp.mixed.code=default -jnlp.offline-allowed=false -jnlp.signed=false -jnlp.signing= -jnlp.signing.alias= -jnlp.signing.keystore= -keep.javafx.runtime.on.classpath=true main.class=net.apocalypselabs.symat.Main -# Optional override of default Codebase manifest attribute, use to prevent RIAs from being repurposed -manifest.custom.codebase= -# Optional override of default Permissions manifest attribute (supported values: sandbox, all-permissions) -manifest.custom.permissions= manifest.file=manifest.mf meta.inf.dir=${src.dir}/META-INF mkdist.disabled=false -native.bundling.enabled=true platform.active=JDK_1.8 project.license=aplabs-oss_1 run.classpath=\ @@ -159,5 +114,4 @@ run.test.classpath=\ ${javac.test.classpath}:\ ${build.test.classes.dir} source.encoding=UTF-8 -src.dir=src -test.src.dir=test +src.dir=${file.reference.SyMAT-src} diff --git a/nbproject/project.xml b/nbproject/project.xml index c6abbce..03d903d 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -1,54 +1,17 @@ - org.netbeans.modules.java.j2seproject - - - SyMAT - - - + .\lib\nblibraries.properties - - Plugin - diff --git a/src/net/apocalypselabs/symat/Main.java b/src/net/apocalypselabs/symat/Main.java index 58c5cbd..a995c43 100644 --- a/src/net/apocalypselabs/symat/Main.java +++ b/src/net/apocalypselabs/symat/Main.java @@ -283,9 +283,14 @@ public class Main extends JRibbonFrame { }); for (File pl : files) { - pluginband.addCommandButton( - (new LoadPlugin(pl)).getRibbonBtn(), - RibbonElementPriority.MEDIUM); + try { + LoadPlugin lp = new LoadPlugin(pl); + pluginband.addCommandButton( + lp.getRibbonBtn(), + RibbonElementPriority.MEDIUM); + } catch (Exception ex) { + + } } }