Skip to content
Commits on Source (4)
......@@ -42,5 +42,6 @@
<classpathentry kind="lib" path="lib/java_ee/jaxb-runtime-2.4.0-b180725.0644.jar"/>
<classpathentry kind="lib" path="lib/java_ee/activation-1.1.1.jar"/>
<classpathentry kind="lib" path="lib/java_ee/txw2-20110809.jar"/>
<classpathentry kind="lib" path="lib/velocity/oro-2.0.8.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
......@@ -2,3 +2,4 @@ bin
releases
plugins
/test-bin
/.gradle/
......@@ -27,9 +27,11 @@ dependencies {
compile 'mysql:mysql-connector-java:5.+'
compile 'be.cyberelf.nanoxml:nanoxml:+'
compile 'org.apache.velocity:velocity:+'
compile 'oro:oro:+'
}
task download(type: Copy) {
into "lib"
into "lib/download"
from configurations.runtime
}
#Build Number for ANT. Do not edit!
#Fri Jul 13 12:04:31 CEST 2018
build.number=450
#Mon Sep 17 11:59:35 CEST 2018
build.number=451
2019-01-30 Version 2.8.3
* CHG: Popups verwenden jetzt als Fallback eigene Farben für Vorder- und Hintergrund, wenn keine Systemfarben vorgegeben sind oder Vorder- und Hintergrund identisch wären
* CHG: Jameica verwendet jetzt unter Linux per Default GTK3 (siehe "SWT_GTK3=1" in jameica.sh)
* NEW: Update auf SWT 4.9 (in 4.10 gibt es keine 32Bit-Unterstützung mehr)
* NEW: Hostname für das beim ersten Start zu erstellende System-Zertifikat kann jetzt per Konfigurationsdatei vorgegeben werden (Parameter "jameica.hostname" in "de.willuhn.jameica.system.ApplicationCallback.properties") - siehe https://homebanking-hilfe.de/forum/topic.php?p=141994#real141994
* CHG: JVM-Parameter "-Dswt.autoScale=quarter" bei den Windows-Launchern hinzugefuegt - siehe https://github.com/willuhn/jameica/commit/82d253c0e1aec918b98eb378027ebf2d2e5fb411
* BUG: Kleiner Darstellungsfehler: Beim mehrfachen Überfahren der Panelbuttons mit der Maus oben rechts wurde unter dem Button eine 1 Pixel schmale dunkle Linie angezeigt
* BUG: Die Bibliothek "oro" fehlte im Ordner "lib/velocity". Dadurch kam es zu einer ClassNotFoundException in SynTAX beim Erstellen der IDEA-Auswertung
* BUG: Zoom-Faktor bei HiDPI-Displays wurde beim Druck von Dokumenten via de.willuhn.jameica.gui.internal.action.Print nicht deaktiviert, sodass Dokumente zu gross gedruckt wurden
* NEW: MySQL-Treiber von 5.1.41 auf 5.1.47 aktualisiert
* CHG: Settings nur noch maximal 1 mal pro Sekunde neu laden
* NEW: Annotation "@Resource" unterstützt jetzt auch Services des Typs "Bootable".
* NEW: 0102 BUGZILLA 1867 - HTTP-Redirects (für Wechsel von HTTP auf HTTPS) berücksichtigen
2018-09-17 Version 2.8.2
* NEW: 0101 Support für Java 11 (Umgebungsvariable "JDK_JAVA_OPTIONS='--add-modules=java.se.ee'" entfernt, Jameica liefert die nötigen JAR-Dateien in lib/java_ee jetzt selbst mit)
......
......@@ -42,6 +42,7 @@ define.commonlibs = lib/bouncycastle/bcpkix-jdk15on-1.56.jar \
lib/swt/com.ibm.icu_52.1.0.v201404241930.jar \
lib/swtcalendar/swtcalendar.jar \
lib/velocity/velocity-1.7.jar \
lib/velocity/oro-2.0.8.jar \
lib/splash.jar \
lib/mckoi/mckoisqldb-1.0.5.jar \
img \
......
......@@ -18,4 +18,6 @@ else
archsuffix=""
fi
LIBOVERLAY_SCROLLBAR=0 GDK_NATIVE_WINDOWS=1 SWT_GTK3=0 exec java -Djava.net.preferIPv4Stack=true -Xmx512m -Xss64m $_JCONSOLE -jar jameica-linux${archsuffix}.jar $@
# Zur Anpassung der Skalierung auf HiDPI-Displays kann der Parameter "-Dswt.autoScale" verwendet werden.
# Siehe https://www.willuhn.de/wiki/doku.php?id=develop:highdpi
LIBOVERLAY_SCROLLBAR=0 GDK_NATIVE_WINDOWS=1 SWT_GTK3=1 exec java -Djava.net.preferIPv4Stack=true -Xmx512m -Xss64m $_JCONSOLE -jar jameica-linux${archsuffix}.jar $@
......@@ -22,15 +22,15 @@
<maxVersion></maxVersion>
<jdkPreference>preferJre</jdkPreference>
<runtimeBits>64/32</runtimeBits>
<opt>-Xmx512m -Djava.net.preferIPv4Stack=true</opt>
<opt>-Xmx512m -Djava.net.preferIPv4Stack=true -Dswt.autoScale=quarter</opt>
</jre>
<versionInfo>
<fileVersion>2.6.6.0</fileVersion>
<txtFileVersion>2.6.6</txtFileVersion>
<fileVersion>2.8.2.0</fileVersion>
<txtFileVersion>2.8.2</txtFileVersion>
<fileDescription>Jameica</fileDescription>
<copyright>Olaf Willuhn</copyright>
<productVersion>2.6.6.0</productVersion>
<txtProductVersion>2.6.6</txtProductVersion>
<productVersion>2.8.2.0</productVersion>
<txtProductVersion>2.8.2</txtProductVersion>
<productName>Jameica</productName>
<companyName>Olaf Willuhn</companyName>
<internalName>jameica-win32</internalName>
......
......@@ -22,15 +22,15 @@
<maxVersion></maxVersion>
<jdkPreference>preferJre</jdkPreference>
<runtimeBits>64/32</runtimeBits>
<opt>-Xmx512m -Xss64m -Djava.net.preferIPv4Stack=true</opt>
<opt>-Xmx512m -Xss64m -Djava.net.preferIPv4Stack=true -Dswt.autoScale=quarter</opt>
</jre>
<versionInfo>
<fileVersion>2.6.6.0</fileVersion>
<txtFileVersion>2.6.6</txtFileVersion>
<fileVersion>2.8.2.0</fileVersion>
<txtFileVersion>2.8.2</txtFileVersion>
<fileDescription>Jameica</fileDescription>
<copyright>Olaf Willuhn</copyright>
<productVersion>2.6.6.0</productVersion>
<txtProductVersion>2.6.6</txtProductVersion>
<productVersion>2.8.2.0</productVersion>
<txtProductVersion>2.8.2</txtProductVersion>
<productName>Jameica</productName>
<companyName>Olaf Willuhn</companyName>
<internalName>jameica-win64</internalName>
......
jameica (2.8.3+dfsg-1) unstable; urgency=medium
* New upstream version 2.8.3+dfsg
* Rebase patches
-- Jochen Sprickerhof <jspricke@debian.org> Tue, 29 Jan 2019 20:44:22 +0100
jameica (2.8.2+dfsg-6) unstable; urgency=medium
* Switch to GTK3 (Closes: #917577)
......
......@@ -3,14 +3,14 @@ Date: Thu, 24 May 2018 23:24:12 +0200
Subject: Update locations of Java libraries
---
build/build.properties | 54 ++++++++++++++++++++++++--------------------------
1 file changed, 26 insertions(+), 28 deletions(-)
build/build.properties | 56 ++++++++++++++++++++++++--------------------------
1 file changed, 27 insertions(+), 29 deletions(-)
diff --git a/build/build.properties b/build/build.properties
index a7b68c1..62e33be 100644
index 829b801..ba3c74c 100644
--- a/build/build.properties
+++ b/build/build.properties
@@ -16,34 +16,32 @@ define.jarfilename.linux64 = ${define.projectname}-linux64.jar
@@ -16,35 +16,33 @@ define.jarfilename.linux64 = ${define.projectname}-linux64.jar
define.jarfilename.openbsd = ${define.projectname}-openbsd.jar
define.srcfilename = ${define.projectname}-${system.version}.src.zip
define.javadocfilename = ${define.projectname}.javadoc.zip
......@@ -40,6 +40,7 @@ index a7b68c1..62e33be 100644
- lib/swt/com.ibm.icu_52.1.0.v201404241930.jar \
- lib/swtcalendar/swtcalendar.jar \
- lib/velocity/velocity-1.7.jar \
- lib/velocity/oro-2.0.8.jar \
- lib/splash.jar \
- lib/mckoi/mckoisqldb-1.0.5.jar \
+define.commonlibs = /usr/share/java/bcpkix.jar \
......@@ -67,6 +68,7 @@ index a7b68c1..62e33be 100644
+ /usr/share/java/icu4j.jar \
+ /usr/share/java/swtcalendar.jar \
+ /usr/share/java/velocity.jar \
+ /usr/share/java/oro.jar \
+ /usr/share/java/h2.jar \
img \
lang \
......
......@@ -8,10 +8,10 @@ Subject: Adopt build.xml
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/build/build.properties b/build/build.properties
index 62e33be..bed0ada 100644
index ba3c74c..89732aa 100644
--- a/build/build.properties
+++ b/build/build.properties
@@ -49,7 +49,7 @@ define.commonlibs = /usr/share/java/bcpkix.jar \
@@ -50,7 +50,7 @@ define.commonlibs = /usr/share/java/bcpkix.jar \
define.package = de.willuhn.jameica
project.nightly = releases/nightly
......@@ -20,7 +20,7 @@ index 62e33be..bed0ada 100644
project.src = ${project.release}/src/classes
project.tmp = ${project.release}/tmp
project.javadoc = ${project.release}/javadoc
@@ -65,6 +65,7 @@ project.zipfilename.macos = ${define.projectname}-macos-${system.version}.
@@ -66,6 +66,7 @@ project.zipfilename.macos = ${define.projectname}-macos-${system.version}.
project.zipfilename.macos64 = ${define.projectname}-macos64-${system.version}.zip
project.zipfilename.openbsd = ${define.projectname}-openbsd-${system.version}.zip
......
......@@ -4,20 +4,20 @@ Subject: Adopt jameica executable
- Remove environment variables (as we switch to GTK3 and so the user can set them)
---
build/jameica | 22 ++++++++++++++++++++++
build/jameica.sh | 21 ---------------------
build/jameica | 24 ++++++++++++++++++++++++
build/jameica.sh | 23 -----------------------
plugin.xml | 0
3 files changed, 22 insertions(+), 21 deletions(-)
3 files changed, 24 insertions(+), 23 deletions(-)
create mode 100755 build/jameica
delete mode 100755 build/jameica.sh
mode change 100755 => 100644 plugin.xml
diff --git a/build/jameica b/build/jameica
new file mode 100755
index 0000000..ed48d50
index 0000000..0439301
--- /dev/null
+++ b/build/jameica
@@ -0,0 +1,22 @@
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+# Linux Start-Script fuer regulaeren Standalone-Betrieb.
......@@ -38,14 +38,16 @@ index 0000000..ed48d50
+ archsuffix=""
+fi
+
+# Zur Anpassung der Skalierung auf HiDPI-Displays kann der Parameter "-Dswt.autoScale" verwendet werden.
+# Siehe https://www.willuhn.de/wiki/doku.php?id=develop:highdpi
+cd /usr/share/jameica
+exec java -Djava.net.preferIPv4Stack=true -Xmx512m -Xss64m $_JCONSOLE -jar /usr/share/java/jameica.jar $@
diff --git a/build/jameica.sh b/build/jameica.sh
deleted file mode 100755
index 18cbcf8..0000000
index 9f37de1..0000000
--- a/build/jameica.sh
+++ /dev/null
@@ -1,21 +0,0 @@
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-# Linux Start-Script fuer regulaeren Standalone-Betrieb.
......@@ -66,7 +68,9 @@ index 18cbcf8..0000000
- archsuffix=""
-fi
-
-LIBOVERLAY_SCROLLBAR=0 GDK_NATIVE_WINDOWS=1 SWT_GTK3=0 exec java -Djava.net.preferIPv4Stack=true -Xmx512m -Xss64m $_JCONSOLE -jar jameica-linux${archsuffix}.jar $@
-# Zur Anpassung der Skalierung auf HiDPI-Displays kann der Parameter "-Dswt.autoScale" verwendet werden.
-# Siehe https://www.willuhn.de/wiki/doku.php?id=develop:highdpi
-LIBOVERLAY_SCROLLBAR=0 GDK_NATIVE_WINDOWS=1 SWT_GTK3=1 exec java -Djava.net.preferIPv4Stack=true -Xmx512m -Xss64m $_JCONSOLE -jar jameica-linux${archsuffix}.jar $@
diff --git a/plugin.xml b/plugin.xml
old mode 100755
new mode 100644
......@@ -7,12 +7,12 @@ Subject: mariadb
1 file changed, 1 insertion(+)
diff --git a/build/build.properties b/build/build.properties
index bed0ada..9055312 100644
index 89732aa..27ed9b5 100644
--- a/build/build.properties
+++ b/build/build.properties
@@ -42,6 +42,7 @@ define.commonlibs = /usr/share/java/bcpkix.jar \
/usr/share/java/swtcalendar.jar \
@@ -43,6 +43,7 @@ define.commonlibs = /usr/share/java/bcpkix.jar \
/usr/share/java/velocity.jar \
/usr/share/java/oro.jar \
/usr/share/java/h2.jar \
+ /usr/share/java/mariadb-java-client.jar \
img \
......
<?xml version="1.0" encoding="ISO-8859-1"?>
<system name="Jameica" version="2.8.2">
<system name="Jameica" version="2.8.3">
<description>Jameica - Java based messages interchange</description>
<url>https://www.willuhn.de/products/jameica/releases/2.8/jameica/jameica-2.8.2.zip</url>
<url>https://www.willuhn.de/products/jameica/releases/2.8/jameica/jameica-2.8.3.zip</url>
<homepage>https://www.willuhn.de/projects/jameica</homepage>
<license>GPL - http://www.gnu.org/copyleft/gpl.html</license>
......
......@@ -21,6 +21,7 @@ import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import org.eclipse.swt.SWT;
import org.eclipse.swt.SWTException;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Rectangle;
......@@ -302,11 +303,20 @@ public class SplashScreen implements ProgressMonitor, Runnable
{
if (bar == null || bar.isDisposed() || display == null || display.isDisposed())
return;
try
{
Logger.trace("startup completed: " + percentComplete + " %");
bar.setSelection(percentComplete);
bar.update();
display.readAndDispatch();
}
catch (SWTException e)
{
// Falls genau in dem Moment das Display disposed wird
// Siehe https://jverein-forum.de/viewtopic.php?f=5&t=4513
Logger.debug("display already disposed");
}
}
});
}
......
......@@ -10,20 +10,20 @@
package de.willuhn.jameica.gui.internal.action;
import net.sf.paperclips.PaperClips;
import net.sf.paperclips.PrintJob;
import org.eclipse.swt.SWT;
import org.eclipse.swt.printing.PrintDialog;
import org.eclipse.swt.printing.PrinterData;
import de.willuhn.jameica.gui.Action;
import de.willuhn.jameica.gui.GUI;
import de.willuhn.jameica.gui.util.SWTUtil;
import de.willuhn.jameica.messaging.StatusBarMessage;
import de.willuhn.jameica.print.PrintSupport;
import de.willuhn.jameica.system.Application;
import de.willuhn.logging.Logger;
import de.willuhn.util.ApplicationException;
import net.sf.paperclips.PaperClips;
import net.sf.paperclips.PrintJob;
/**
* Aktion zum Drucken von Daten.
......@@ -42,6 +42,11 @@ public class Print implements Action
return;
}
final String key = "swt.autoScale";
final String backup = System.getProperty(key);
final int zoom = SWTUtil.getDeviceZoom();
try
{
PrintJob job = ((PrintSupport) context).print();
PrintDialog dialog = new PrintDialog(GUI.getShell(), SWT.NONE);
......@@ -53,9 +58,17 @@ public class Print implements Action
return;
}
if (zoom > 100)
System.setProperty(key,"100"); // Scaling kurz auf 100% setzen
PaperClips.print(job, printerData);
Application.getMessagingFactory().sendMessage(new StatusBarMessage(Application.getI18n().tr("Gedruckt an \"{0}\"",printerData.name),StatusBarMessage.TYPE_SUCCESS));
}
finally
{
if (zoom > 100 && backup != null)
System.setProperty(key,backup); // Jetzt wieder auf den vorherigen Wert setzen
}
}
}
......
......@@ -137,7 +137,7 @@ public class PluginDetailPart extends InfoPanel
// Checken, ob es installiert/deinstalliert werden kann
if (this.type == Type.INSTALLED)
{
Button update = new Button(i18n.tr("Plugin aktualisieren..."),new PluginUpdate(),this.manifest,false,"emblem-package.png");
Button update = new Button(i18n.tr("Manuell aktualisieren..."),new PluginUpdate(),this.manifest,false,"emblem-package.png");
// Update und oeffnen gibt es nicht bei neuen Installationen
update.setEnabled(manifest.isInstalled() || error != null); // Update auch bei Fehler erlauben
......@@ -165,7 +165,7 @@ public class PluginDetailPart extends InfoPanel
super.handleAction(getSelectedVersion());
}
};
Button install = new Button(i18n.tr("Installieren..."),download,null,false,"document-save.png");
Button install = new Button(i18n.tr(Application.getPluginLoader().getManifest(this.manifest.getPluginClass()) != null ? "Aktualisieren..." : "Installieren..."),download,null,false,"document-save.png");
this.addButton(install);
}
else if (this.type == Type.UPDATE && this.plugins != null && this.plugins.size() > 0)
......
......@@ -261,7 +261,7 @@ public class PluginListPart implements Part
c.addText("",true);
}
ButtonArea buttons = new ButtonArea();
buttons.addButton(new Button(i18n.tr("Neues Plugin installieren..."),new PluginInstall(),null,false,"emblem-package.png"));
buttons.addButton(new Button(i18n.tr("Plugin manuell installieren..."),new PluginInstall(),null,false,"emblem-package.png"));
buttons.addButton(new Button(i18n.tr("Repositories bearbeiten..."),new RepositoryEdit(),null,false,"document-properties.png"));
buttons.addButton(new Button(i18n.tr("Automatische Updates konfigurieren..."),new UpdateEdit(),null,false,"view-refresh.png"));
buttons.paint(comp);
......
......@@ -211,8 +211,7 @@ public class PanelButton implements Part
// Einmal mit weiss dahinter malen, weil das Bild Transparenz besitzt
gc.setBackground(GUI.getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));
gc.fillRectangle(size);
gc.fillRectangle(0,0,this.width,this.height);
gc.drawImage(image,0,0,size.width,size.height,0,0,this.width,this.height);
}
......