mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
macOS: logging does not produce files on Mac OS Sierra
macOS: splash screen hangs for several minutes on some machines
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
log4j.rootLogger = DEBUG, fileout, stdout
|
|
||||||
log4j.appender.fileout = com.diyfever.gui.miscutils.NewLogForEachRunFileAppender
|
|
||||||
log4j.appender.fileout.layout.ConversionPattern = %d{ABSOLUTE} %5p [%t] %c{1} - %m%n
|
|
||||||
log4j.appender.fileout.layout = org.apache.log4j.PatternLayout
|
|
||||||
log4j.appender.fileout.File = log/log.log
|
|
||||||
|
|
||||||
log4j.appender.stdout = org.apache.log4j.ConsoleAppender
|
|
||||||
log4j.appender.stdout.layout.ConversionPattern = %d{ABSOLUTE} %5p [%t] %c{1} - %m%n
|
|
||||||
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
|
|
||||||
@@ -432,7 +432,7 @@ public class Presenter implements IPlugInPort {
|
|||||||
try {
|
try {
|
||||||
componentTypeClasses = Utils.getClasses("org.diylc.components");
|
componentTypeClasses = Utils.getClasses("org.diylc.components");
|
||||||
File libraryFile = new File("library");
|
File libraryFile = new File("library");
|
||||||
if (libraryFile.exists() && libraryFile.isDirectory()) {
|
if (libraryFile.exists() && libraryFile.isDirectory() && !Utils.isMac()) {
|
||||||
LOG.info("Loading additional library JARs");
|
LOG.info("Loading additional library JARs");
|
||||||
try {
|
try {
|
||||||
List<Class<?>> additionalComponentTypeClasses =
|
List<Class<?>> additionalComponentTypeClasses =
|
||||||
|
|||||||
@@ -3385,5 +3385,25 @@
|
|||||||
</changes>
|
</changes>
|
||||||
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||||
</org.diylc.appframework.update.Version>
|
</org.diylc.appframework.update.Version>
|
||||||
|
<org.diylc.appframework.update.Version>
|
||||||
|
<versionNumber>
|
||||||
|
<major>4</major>
|
||||||
|
<minor>14</minor>
|
||||||
|
<build>0</build>
|
||||||
|
</versionNumber>
|
||||||
|
<releaseDate>2020-12-20 00:00:00.000 CET</releaseDate>
|
||||||
|
<name></name>
|
||||||
|
<changes>
|
||||||
|
<org.diylc.appframework.update.Change>
|
||||||
|
<changeType>BUG_FIX</changeType>
|
||||||
|
<description>macOS: splash screen hangs for several minutes on some machines</description>
|
||||||
|
</org.diylc.appframework.update.Change>
|
||||||
|
<org.diylc.appframework.update.Change>
|
||||||
|
<changeType>BUG_FIX</changeType>
|
||||||
|
<description>macOS: logging does not produce files on Mac OS Sierra</description>
|
||||||
|
</org.diylc.appframework.update.Change>
|
||||||
|
</changes>
|
||||||
|
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||||
|
</org.diylc.appframework.update.Version>
|
||||||
</a>
|
</a>
|
||||||
</java.util.Arrays_-ArrayList>
|
</java.util.Arrays_-ArrayList>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -46,6 +46,8 @@ import com.apple.eawt.AppEvent;
|
|||||||
import com.apple.eawt.Application;
|
import com.apple.eawt.Application;
|
||||||
import com.thoughtworks.xstream.XStream;
|
import com.thoughtworks.xstream.XStream;
|
||||||
|
|
||||||
|
import ca.cgjennings.jvm.JarLoader;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Main class that runs DIYLC.
|
* Main class that runs DIYLC.
|
||||||
*
|
*
|
||||||
@@ -104,6 +106,8 @@ public class DIYLCStarter {
|
|||||||
// disable HIGHLIGHT_CONTINUITY_AREA config, keep it transient
|
// disable HIGHLIGHT_CONTINUITY_AREA config, keep it transient
|
||||||
ConfigurationManager.getInstance().writeValue(IPlugInPort.HIGHLIGHT_CONTINUITY_AREA, false);
|
ConfigurationManager.getInstance().writeValue(IPlugInPort.HIGHLIGHT_CONTINUITY_AREA, false);
|
||||||
|
|
||||||
|
LOG.info("JarLoader strategy: " + JarLoader.getStrategy());
|
||||||
|
|
||||||
LOG.info("Loading languages...");
|
LOG.info("Loading languages...");
|
||||||
|
|
||||||
LangUtil.configure();
|
LangUtil.configure();
|
||||||
@@ -143,7 +147,11 @@ public class DIYLCStarter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
FontOptimizer.run(ConfigurationManager.getInstance());
|
try {
|
||||||
|
FontOptimizer.run(ConfigurationManager.getInstance());
|
||||||
|
} catch (Exception e) {
|
||||||
|
LOG.error("Could not ", e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
fontThread.setPriority(Thread.MIN_PRIORITY);
|
fontThread.setPriority(Thread.MIN_PRIORITY);
|
||||||
|
|||||||
Reference in New Issue
Block a user