Skip to content

Commit

Permalink
Updated for release 7.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rmraya committed Apr 22, 2024
1 parent 282af7e commit fd37070
Show file tree
Hide file tree
Showing 20 changed files with 131 additions and 107 deletions.
6 changes: 3 additions & 3 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="jars/mapdb.jar">
<classpathentry kind="lib" path="jars/openxliff.jar">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="jars/openxliff.jar">
<classpathentry kind="lib" path="jars/xmljava.jar">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="jars/xmljava.jar">
<classpathentry kind="lib" path="jars/bcp47j.jar">
<attributes>
<attribute name="module" value="true"/>
</attributes>
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ An open source UI for [OpenXLIFF Filters](https://github.com/rmraya/OpenXLIFF).

Version | Comment | Release Date
:------:|---------|:-----------:
7.5.0 | Updated OpenXLIFF to version 3.20.0 | April 21, 2024
7.4.0 | Updated OpenXLIFF to version 3.17.0; migrated to Java 21 | January 12, 2024
7.3.0 | Updated OpenXLIFF to version 3.16.0 | October 31, 2023
7.2.0 | Updated OpenXLIFF to version 3.15.0 | September 13, 2023
Expand Down
6 changes: 3 additions & 3 deletions build.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="dist" name="XLIFFManager">
<property name="target" value="17" />
<property name="source" value="17" />
<property name="target" value="21" />
<property name="source" value="21" />
<property name="build.compiler" value="javac10+" />
<path id="XLIFFManager.classpath">
<pathelement location="jars/bcp47j.jar" />
<pathelement location="jars/dtd.jar" />
<pathelement location="jars/json.jar" />
<pathelement location="jars/jsoup.jar" />
<pathelement location="jars/mapdb.jar" />
<pathelement location="jars/openxliff.jar" />
<pathelement location="jars/xmljava.jar" />
</path>
Expand Down
4 changes: 4 additions & 0 deletions css/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,10 @@ svg {
text-align: left;
}

.paddedArea {
padding: 8px;
}

.paddedTop {
padding-top: 4px;
}
4 changes: 4 additions & 0 deletions css/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,10 @@ svg {
text-align: left;
}

.paddedArea {
padding: 8px;
}

.paddedTop {
padding-top: 4px;
}
4 changes: 4 additions & 0 deletions html/en/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ <h2 id="xliffmanager">XLIFF Manager</h2>
<td class="left noWrap">XMLJava</td>
<td class="left noWrap" id="xmlj_version" ></td>
</tr>
<tr>
<td class="left noWrap">BCP47J</td>
<td class="left noWrap" id="bcp47j_version" ></td>
</tr>
<tr>
<td class="left noWrap">Java</td>
<td class="left noWrap" id="java_version"></td>
Expand Down
91 changes: 46 additions & 45 deletions html/en/licenses.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,53 +3,54 @@

<head>
<title>Licenses</title>
<link id="theme" rel="stylesheet" type="text/css" href="../css/light.css">
<link rel="stylesheet" type="text/css" href="../../css/fonts.css">
<link id="theme" rel="stylesheet" type="text/css" href="../../css/light.css">
</head>

<body style="padding:8px;" onload="new Licenses();">
<table class="fill_width " style="height: 24em;">
<tr class="noWrap">
<td>XLIFF Manager</td>
<td><a id="XLIFFManager">Eclipse Public License 1.0</a></td>
</tr>
<tr class="noWrap">
<td >OpenXLIFF Filters</td>
<td><a id="OpenXLIFF">Eclipse Public License 1.0</a></td>
</tr>
<tr class="noWrap">
<td>XMLJava</td>
<td><a id="XMLJava">Eclipse Public License 1.0</a></td>
</tr>
<tr class="noWrap">
<td>Electron</td>
<td><a id="electron">MIT License</a></td>
</tr>
<tr class="noWrap">
<td>TypeScript</td>
<td><a id="TypeScript">Apache License 2.0</a></td>
</tr>
<tr class="noWrap">
<td>Java SE</td>
<td><a id="Java">GPL2 with Classpath Exception</a></td>
</tr>
<tr class="noWrap">
<td>JSON</td>
<td><a id="JSON">JSON.org</a></td>
</tr>
<tr class="noWrap">
<td>MapDB</td>
<td><a id="MapDB">Apache License 2.0</a></td>
</tr>
<tr class="noWrap">
<td>jsoup</td>
<td><a id="jsoup">MIT License</a></td>
</tr>
<tr class="noWrap">
<td>DTDParser</td>
<td><a id="DTDParser">LGPL 2.1</a></td>
</tr>
</table>
<body onload="new Licenses();">
<div class="paddedArea">
<table class="fill_width">
<tr class="noWrap">
<td>XLIFF Manager</td>
<td><a id="XLIFFManager">Eclipse Public License 1.0</a></td>
</tr>
<tr class="noWrap">
<td>OpenXLIFF Filters</td>
<td><a id="OpenXLIFF">Eclipse Public License 1.0</a></td>
</tr>
<tr class="noWrap">
<td>XMLJava</td>
<td><a id="XMLJava">Eclipse Public License 1.0</a></td>
</tr>
<tr class="noWrap">
<td>Electron</td>
<td><a id="electron">MIT License</a></td>
</tr>
<tr class="noWrap">
<td>TypeScript</td>
<td><a id="TypeScript">Apache License 2.0</a></td>
</tr>
<tr class="noWrap">
<td>Java SE</td>
<td><a id="Java">GPL2 with Classpath Exception</a></td>
</tr>
<tr class="noWrap">
<td>JSON</td>
<td><a id="JSON">JSON.org</a></td>
</tr>
<tr class="noWrap">
<td>BCP47J</td>
<td><a id="bcp47j">Eclipse Public License 1.0</a></td>
</tr>
<tr class="noWrap">
<td>jsoup</td>
<td><a id="jsoup">MIT License</a></td>
</tr>
<tr class="noWrap">
<td>DTDParser</td>
<td><a id="DTDParser">LGPL 2.1</a></td>
</tr>
</table>
</div>
<script src="../../js/keyboardHandler.js"></script>
<script src="../../js/licenses.js"></script>
</body>
Expand Down
4 changes: 4 additions & 0 deletions html/es/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ <h2 id="xliffmanager">XLIFF Manager</h2>
<td class="left noWrap">XMLJava</td>
<td class="left noWrap" id="xmlj_version" ></td>
</tr>
<tr>
<td class="left noWrap">BCP47J</td>
<td class="left noWrap" id="bcp47j_version" ></td>
</tr>
<tr>
<td class="left noWrap">Java</td>
<td class="left noWrap" id="java_version"></td>
Expand Down
93 changes: 47 additions & 46 deletions html/es/licenses.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,55 +3,56 @@

<head>
<title>Licencias</title>
<link id="theme" rel="stylesheet" type="text/css" href="../css/light.css">
<link rel="stylesheet" type="text/css" href="../../css/fonts.css">
<link id="theme" rel="stylesheet" type="text/css" href="../../css/light.css">
</head>

<body style="padding:8px;" onload="new Licenses();">
<table class="fill_width " style="height: 24em;">
<tr class="noWrap">
<td>XLIFF Manager</td>
<td><a id="XLIFFManager">Eclipse Public License 1.0</a></td>
</tr>
<tr class="noWrap">
<td >OpenXLIFF Filters</td>
<td><a id="OpenXLIFF">Eclipse Public License 1.0</a></td>
</tr>
<tr class="noWrap">
<td>XMLJava</td>
<td><a id="XMLJava">Eclipse Public License 1.0</a></td>
</tr>
<tr class="noWrap">
<td>Electron</td>
<td><a id="electron">MIT License</a></td>
</tr>
<tr class="noWrap">
<td>TypeScript</td>
<td><a id="TypeScript">Apache License 2.0</a></td>
</tr>
<tr class="noWrap">
<td>Java SE</td>
<td><a id="Java">GPL2 with Classpath Exception</a></td>
</tr>
<tr class="noWrap">
<td>JSON</td>
<td><a id="JSON">JSON.org</a></td>
</tr>
<tr class="noWrap">
<td>MapDB</td>
<td><a id="MapDB">Apache License 2.0</a></td>
</tr>
<tr class="noWrap">
<td>jsoup</td>
<td><a id="jsoup">MIT License</a></td>
</tr>
<tr class="noWrap">
<td>DTDParser</td>
<td><a id="DTDParser">LGPL 2.1</a></td>
</tr>
</table>
<body onload="new Licenses();">
<div class="paddedArea">
<table class="fill_width">
<tr class="noWrap">
<td>XLIFF Manager</td>
<td><a id="XLIFFManager">Eclipse Public License 1.0</a></td>
</tr>
<tr class="noWrap">
<td>OpenXLIFF Filters</td>
<td><a id="OpenXLIFF">Eclipse Public License 1.0</a></td>
</tr>
<tr class="noWrap">
<td>XMLJava</td>
<td><a id="XMLJava">Eclipse Public License 1.0</a></td>
</tr>
<tr class="noWrap">
<td>Electron</td>
<td><a id="electron">MIT License</a></td>
</tr>
<tr class="noWrap">
<td>TypeScript</td>
<td><a id="TypeScript">Apache License 2.0</a></td>
</tr>
<tr class="noWrap">
<td>Java SE</td>
<td><a id="Java">GPL2 with Classpath Exception</a></td>
</tr>
<tr class="noWrap">
<td>JSON</td>
<td><a id="JSON">JSON.org</a></td>
</tr>
<tr class="noWrap">
<td>BCP47J</td>
<td><a id="bcp47j">Eclipse Public License 1.0</a></td>
</tr>
<tr class="noWrap">
<td>jsoup</td>
<td><a id="jsoup">MIT License</a></td>
</tr>
<tr class="noWrap">
<td>DTDParser</td>
<td><a id="DTDParser">LGPL 2.1</a></td>
</tr>
</table>
</div>
<script src="../../js/keyboardHandler.js"></script>
<script src="../../js/licenses.js"></script>
</body>

</html>
</html>
Binary file added jars/bcp47j.jar
Binary file not shown.
Binary file removed jars/mapdb.jar
Binary file not shown.
Binary file modified jars/openxliff.jar
Binary file not shown.
Binary file modified jars/xmljava.jar
Binary file not shown.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "xliffmanager",
"productName": "XLIFF Manager",
"version": "7.4.0",
"version": "7.5.0",
"description": "XLIFF Manager, a cross-platform open source graphical user interface for OpenXLIFF Filters",
"main": "js/app.js",
"scripts": {
Expand All @@ -25,7 +25,7 @@
"url": "https://github.com/rmraya/XLIFFManager.git"
},
"devDependencies": {
"electron": "^28.1.3",
"typescript": "^5.3.3"
"electron": "^30.0.1",
"typescript": "^5.4.5"
}
}
4 changes: 2 additions & 2 deletions src/com/maxprograms/server/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ private Constants() {
// do not instantiate this class
}

public static final String VERSION = "7.4.0";
public static final String BUILD = "20240112_0815";
public static final String VERSION = "7.5.0";
public static final String BUILD = "20240421_1342";
public static final String STATUS = "Status";
public static final String REASON = "Reason";
public static final String APPNAME = "XLIFFManager";
Expand Down
4 changes: 4 additions & 0 deletions src/com/maxprograms/server/XliffHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ public void handle(HttpExchange exchange) throws IOException {
com.maxprograms.converters.Constants.BUILD }));
result.put("XMLJava", mf.format(
new String[] { com.maxprograms.xml.Constants.VERSION, com.maxprograms.xml.Constants.BUILD }));
result.put("BCP47J", mf.format(
new String[] { com.maxprograms.languages.Constants.VERSION,
com.maxprograms.languages.Constants.BUILD }));

result.put("Java", mf.format(
new String[] { System.getProperty("java.version"), System.getProperty("java.vendor") }));
response = result.toString(2);
Expand Down
4 changes: 2 additions & 2 deletions src/module-info.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2023 Maxprograms.
* Copyright (c) 2018 - 2024 Maxprograms.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 1.0 which accompanies this distribution,
Expand All @@ -14,10 +14,10 @@
requires openxliff;
requires dtd;
requires jsoup;
requires mapdb;
requires java.base;
requires java.logging;
requires java.net.http;
requires transitive javabcp47;
requires transitive xmljava;
requires transitive json;
requires transitive jdk.httpserver;
Expand Down
1 change: 1 addition & 0 deletions ts/about.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class About {
(document.getElementById('xlfm_version') as HTMLTableCellElement).innerHTML = arg.XLIFFManager;
(document.getElementById('oxlf_version') as HTMLTableCellElement).innerHTML = arg.OpenXLIFF;
(document.getElementById('xmlj_version') as HTMLTableCellElement).innerHTML = arg.XMLJava;
(document.getElementById('bcp47j_version') as HTMLTableCellElement).innerHTML = arg.BCP47J;
(document.getElementById('java_version') as HTMLTableCellElement).innerHTML = arg.Java;
(document.getElementById('elect_version') as HTMLTableCellElement).innerHTML = arg.electron;
this.electron.ipcRenderer.send('about-height', { width: document.body.clientWidth, height: (document.body.clientHeight + 40) });
Expand Down
2 changes: 1 addition & 1 deletion ts/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1150,6 +1150,7 @@ class App {
switch (type) {
case 'XLIFFManager':
case "OpenXLIFF":
case "BCP47J":
case "XMLJava":
licenseFile = 'file://' + this.path.join(app.getAppPath(), 'html', 'licenses', 'EclipsePublicLicense1.0.html');
title = 'Eclipse Public License 1.0';
Expand All @@ -1159,7 +1160,6 @@ class App {
title = 'MIT License';
break;
case "TypeScript":
case "MapDB":
licenseFile = 'file://' + this.path.join(app.getAppPath(), 'html', 'licenses', 'Apache2.0.html');
title = 'Apache 2.0';
break;
Expand Down
4 changes: 2 additions & 2 deletions ts/licenses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class Licenses {
(document.getElementById('JSON') as HTMLAnchorElement).addEventListener('click', () => {
this.openLicense('JSON');
});
(document.getElementById('MapDB') as HTMLAnchorElement).addEventListener('click', () => {
this.openLicense('MapDB');
(document.getElementById('bcp47j') as HTMLAnchorElement).addEventListener('click', () => {
this.openLicense('BCP47J');
});
(document.getElementById('jsoup') as HTMLAnchorElement).addEventListener('click', () => {
this.openLicense('jsoup');
Expand Down

0 comments on commit fd37070

Please sign in to comment.