Compare commits

..

13 Commits

Author SHA1 Message Date
Bane Stojkovic 37dc1c66a2 release 4.39 2025-01-25 21:20:03 +01:00
Bane Stojkovic 8b32fa0579 release 4.39 2025-01-25 21:18:35 +01:00
Bane Stojkovic c9d3f669a3 release 4.39 2025-01-25 21:04:31 +01:00
Bane Stojkovic 992d62e0d0 Choosing "Print" option from the menu starts printing immediately before choosing printing preferences 2025-01-16 15:43:24 +01:00
Branislav Stojkovic 4d575b27a7 chore: move jre 2024-12-26 12:49:16 +01:00
Bane Stojkovic 08701c1632 Merge branch 'master' of https://github.com/bancika/diy-layout-creator 2024-12-25 20:24:28 +01:00
Bane Stojkovic c8a09d0d10 Update build.xml 2024-12-25 20:24:15 +01:00
Branislav Stojkovic 435043cb48 update icon 2024-12-25 16:29:13 +01:00
Branislav Stojkovic caa4bbb0c8 chore: mac build 2024-12-25 10:03:20 +01:00
Branislav Stojkovic 159986dba1 rename 2024-12-24 23:35:55 +01:00
Branislav Stojkovic 7d853a6df6 update build 2024-12-24 23:31:11 +01:00
Branislav Stojkovic 7cf3fe436a update mac jre to 17 and switch openGL to metal 2024-12-24 23:29:06 +01:00
Branislav Stojkovic 25abcbfd27 chore: sync 2024-12-24 22:45:25 +01:00
1454 changed files with 66414 additions and 14 deletions
@@ -4375,7 +4375,7 @@
<minor>38</minor>
<build>0</build>
</versionNumber>
<releaseDate>2023-12-23 00:00:00.000 CET</releaseDate>
<releaseDate>2024-12-23 00:00:00.000 CET</releaseDate>
<name></name>
<changes>
<org.diylc.appframework.update.Change>
@@ -4405,5 +4405,25 @@
</changes>
<url>https://github.com/bancika/diy-layout-creator/releases</url>
</org.diylc.appframework.update.Version>
<org.diylc.appframework.update.Version>
<versionNumber>
<major>4</major>
<minor>39</minor>
<build>0</build>
</versionNumber>
<releaseDate>2025-01-25 00:00:00.000 CET</releaseDate>
<name></name>
<changes>
<org.diylc.appframework.update.Change>
<changeType>IMPROVEMENT</changeType>
<description>Upgraded JRE version of Mac builds to Temurin 17 and switched OpenGL to Metal rendering engine for improved performance</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>BUG_FIX</changeType>
<description>Choosing "Print" option from the menu starts printing immediately before choosing printing preferences</description>
</org.diylc.appframework.update.Change>
</changes>
<url>https://github.com/bancika/diy-layout-creator/releases</url>
</org.diylc.appframework.update.Version>
</a>
</java.util.Arrays_-ArrayList>
Binary file not shown.
+16 -7
View File
@@ -10,10 +10,10 @@
<property name="jar.dir" value="${build.dir}/jar" />
<property name="report.dir" value="${build.dir}/junitreport" />
<property name="main.class" value="org.diylc.DIYLCStarter" />
<property name="diylc.version" value="4.38.0" />
<property name="diylc.version" value="4.39.0" />
<property name="osx.jre8.path" value="tools\jre\osx\jre8u321\Contents\Home\" />
<property name="osx.jre8m1.path" value="tools\jre\osx\temurin11-arm.jre\Contents\Home\" />
<property name="osx.jre8.x64.path" value="tools\jre\osx\x86\jre8u321\Contents\Home\" />
<property name="osx.jre8.arm.path" value="tools\jre\osx\arm\temurin17\Contents\Home\" />
<property name="classes.dir" value="${build.dir}/temp/${ant.project.name}/classes" />
<property name="test.classes.dir" value="${build.dir}/temp/${ant.project.name}/test.classes" />
@@ -102,7 +102,7 @@
icon="icons/diylc_file.icns"
conformsTo="public.xml,public.text"
extensions="diy" />
<runtime dir="${osx.jre8.path}" />
<runtime dir="${osx.jre8.x64.path}" />
<classpath file="${jar.dir}\diylc.jar" />
<classpath file="${jar.dir}\lib\*.jar" />
<classpath file="${jar.dir}\library\*.jar" />
@@ -126,7 +126,7 @@
</zip>
</target>
<target name="mac-silicon" depends="jar">
<target name="mac-arm" depends="jar">
<bundleapp
outputdirectory="${build.dir}"
name="DIYLC"
@@ -149,7 +149,7 @@
icon="icons/diylc_file.icns"
conformsTo="public.xml,public.text"
extensions="diy" />
<runtime dir="${osx.jre8m1.path}" />
<runtime dir="${osx.jre8.arm.path}" />
<arch name="arm64" />
<arch name="arm64e" />
<classpath file="${jar.dir}\diylc.jar" />
@@ -158,12 +158,21 @@
<option value="-Xms512m" />
<option value="-Xmx2048m" />
<!--<option value="-javaagent:Contents/Java/jar-loader.jar" />-->
<option value="--add-exports java.desktop/com.apple.eawt.event=ALL-UNNAMED" />
<option value="--add-exports java.desktop/com.apple.eio=ALL-UNNAMED" />
<option value="--add-opens java.base/java.util=ALL-UNNAMED" />
<option value="--add-opens java.base/java.lang=ALL-UNNAMED" />
<option value="--add-opens java.base/java.text=ALL-UNNAMED" />
<option value="--add-opens java.desktop/java.awt=ALL-UNNAMED" />
<option value="--add-opens java.desktop/java.awt.font=ALL-UNNAMED" />
<option value="--add-opens java.desktop/java.awt.geom=ALL-UNNAMED" />
<option value="-Dorg.diylc.scriptRun=true" />
<option value="-Dfile.encoding=UTF-8" />
<option value="-Dcom.apple.macos.use-file-dialog-packages=true"/>
<option value="-Dapple.laf.useScreenMenuBar=true"/>
<option value="-Dapple.awt.application.name=DIY Layout Creator"/>
<option value="-Dcom.apple.smallTabs=true"/>
<option value="-Dsun.java2d.metal=true"/>
<option value="-Xdock:name=DIY Layout Creator"/>
<option value="-Xdock:icon=Contents/Resources/diylc.icns"/>
</bundleapp>
@@ -220,7 +229,7 @@
<checksum file="${build.dir}/diylc-${diylc.version}.zip" algorithm="SHA-256"/>
</target>
<target name="full" depends="win,universal,mac,mac-silicon" />
<target name="full" depends="win,universal,mac,mac-arm" />
<target name="javadoc">
<javadoc access="public" author="true" classpathref="class.path" destdir="doc" nodeprecated="false" nodeprecatedlist="false" noindex="false" nonavbar="false" notree="false" source="1.6" splitindex="true" use="true" version="true">
Regular → Executable
View File
@@ -37,7 +37,16 @@
<update_contact>nbenitezl_AT_gmail.com</update_contact>
<content_rating type="oars-1.1"/>
<releases>
<release version="4.38.0" date="2023-12-23">
<release version="4.39.0" date="2025-01-25">
<description>
<ul>
<li>[Improvement] Upgraded JRE version of Mac builds to Temurin 17 and switched OpenGL to Metal rendering engine for improved performance</li>
<li>[Bug Fix] Choosing "Print" option from the menu starts printing immediately before choosing printing preferences</li>
</ul>
</description>
<url>https://github.com/bancika/diy-layout-creator/releases/tag/v4.39.0</url>
</release>
<release version="4.38.0" date="2024-12-23">
<description>
<ul>
<li>[New Feature] Buzzer component and symbol added (thanks M0JXD)</li>
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -874,13 +874,13 @@ public class ActionFactory {
File tempPdf = Files.createTempFile("diylc", ".pdf").toFile();
DrawingExporter.getInstance().exportPDF(PrintAction.this.drawingProvider, tempPdf);
PDDocument document = PDDocument.load(tempPdf);
// PDDocument document = PDDocument.load(tempPdf);
// PrintService printService = PrintServiceLookup.lookupDefaultPrintService();
PrinterJob job = PrinterJob.getPrinterJob();
PDFPageable pdfPageable = new PDFPageable(document);
job.setPageable(pdfPageable);
// PrinterJob job = PrinterJob.getPrinterJob();
// PDFPageable pdfPageable = new PDFPageable(document);
// job.setPageable(pdfPageable);
// job.setPrintService(printService);
job.print();
// job.print();
DrawingExporter.getInstance().print(PrintAction.this.drawingProvider);
return null;
}

Some files were not shown because too many files have changed in this diff Show More