• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

FinalCrypt - The No¹ One-Time Pad Encryption


Commit MetaInfo

Revisiónb11ce748061e06a039031b5fef0b4a4d4a36f007 (tree)
Tiempo2019-11-27 14:00:22
Autorron <ronuitzaandam@gmai...>
Commiterron

Log Message

Date: 2019-11-27 Version: 5.6.7

Fixed (non-latin) UTF8 Font rendering in File Managers
Chinese chars now render properly on Ubuntu File Mngrs

Cambiar Resumen

Diferencia incremental

--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,8 @@
1+Date: 2019-11-27 Version: 5.6.7
2+
3+Fixed (non-latin) UTF8 Font rendering in File Managers
4+Chinese chars now render properly on Ubuntu File Mngrs
5+
16 Date: 2019-11-25 Version: 5.6.6
27
38 Improved Apple OSX stability FinalCrypt User Interface
--- a/manpage.txt
+++ b/manpage.txt
@@ -62,4 +62,4 @@ Parameters:
6262 <[-t "file/dir"]> Target items (files or directories) you want to encrypt (recursive).
6363 <[-b "batchfile"]> Batchfile with targetfiles you want to encrypt (only files).
6464
65-FinalCrypt 5.6.6 - Author: Ron de Jong <info@finalcrypt.org> - Copyright: © 2017-2019
\ No newline at end of file
65+FinalCrypt 5.6.7 - Author: Ron de Jong <info@finalcrypt.org> - Copyright: © 2017-2019
\ No newline at end of file
--- a/manpage_examples.txt
+++ b/manpage_examples.txt
@@ -76,4 +76,4 @@ Key Device Examples (Linux):
7676 java -cp finalcrypt.jar rdj/CLUI --encrypt -k /dev/sdc1 -t myfile
7777 java -cp finalcrypt.jar rdj/CLUI --decrypt -k /dev/sdc1 -t myfile
7878
79-FinalCrypt 5.6.6 - Author: Ron de Jong <info@finalcrypt.org> - Copyright: © 2017-2019
\ No newline at end of file
79+FinalCrypt 5.6.7 - Author: Ron de Jong <info@finalcrypt.org> - Copyright: © 2017-2019
\ No newline at end of file
--- a/nbproject/project.properties
+++ b/nbproject/project.properties
@@ -8,7 +8,7 @@ application.homepage=http://www.finalcrypt.org/
88 application.splash=
99 application.title=FinalCrypt
1010 application.vendor=FinalCrypt
11-application.implementation.version=5.6.6
11+application.implementation.version=5.6.7
1212 auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs=false
1313 auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width=4
1414 auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab=4
--- a/scripts/create_voices.bash
+++ b/scripts/create_voices.bash
@@ -2,12 +2,12 @@
22 echo "Select Key Directory" | pico2wave -w /tmp/rontmp.wav; play /tmp/rontmp.wav
33
44 export IFS=",";
5-export reverb=20; # %
5+export reverb=20; # %
66 export hfdamping=96; # %
77 export roomscale=97; # %
8-export stereodepth=98; # %
8+export stereodepth=98; # %
99 export predelay=99; # ms
10-export wetgain=0; # 0dB
10+export wetgain=0; # 0dB
1111
1212 cat << EOF | while read file speech; do echo "File: ${file} - Speech: ${speech}"; echo "${speech}" | pico2wave -w "${file}.wav" -l en-US; sox "${file}.wav" "${file}.aiff" reverb "${reverb}" "${hfdamping}" "${roomscale}" "${stereodepth}" "${predelay}" "${wetgain}"; rm "${file}.wav"; play "${file}.aiff"; done
1313 clone_key_device,Clone Key Device
@@ -26,5 +26,7 @@ select_key_directory,Select Key Directory
2626 voice_disabled,Voice Disabled
2727 voice_enabled,Voice Enabled
2828 wrong key or password,Wrong Key or Password
29+finished_encrypting,finished encrypting
30+finished_decrypting,finished deecrypting
2931 EOF
3032
--- a/src/rdj/CLUI.java
+++ b/src/rdj/CLUI.java
@@ -31,7 +31,6 @@ import java.security.MessageDigest;
3131 import java.security.NoSuchAlgorithmException;
3232 import java.util.*;
3333 import java.util.function.Predicate;
34-import java.util.logging.*;
3534 import java.util.stream.Collectors;
3635 import static rdj.GUIFX.getHexString;
3736
--- a/src/rdj/GUIFX.java
+++ b/src/rdj/GUIFX.java
@@ -66,7 +66,6 @@ import javax.management.Attribute;
6666 import javax.management.AttributeList;
6767 import javax.management.MBeanServer;
6868 import javax.management.ObjectName;
69-import javax.swing.JButton;
7069 import javax.swing.JFileChooser;
7170 import javax.swing.JToggleButton;
7271 import javax.swing.filechooser.FileNameExtensionFilter;
@@ -221,7 +220,7 @@ public class GUIFX extends Application implements UI, Initializable
221220
222221 private final int FILE_CHOOSER_FONT_SIZE = 13;
223222 private final int DELETE_CHOOSER_FONT_SIZE = 11;
224- private final Font FILE_CHOOSER_FONT = new Font("Liberation Sans",Font.PLAIN,FILE_CHOOSER_FONT_SIZE);
223+ private final Font FILE_CHOOSER_FONT = new Font("Dialog",Font.PLAIN,FILE_CHOOSER_FONT_SIZE);
225224 private final Font DELETE_CHOOSER_FONT = new Font("Liberation Sans",Font.PLAIN,DELETE_CHOOSER_FONT_SIZE);
226225
227226 private final int NONE = 0;
@@ -273,6 +272,8 @@ public class GUIFX extends Application implements UI, Initializable
273272 private final String OS_NAME = System.getProperty("os.name");
274273 private final String OS_ARCH = System.getProperty("os.arch");
275274 private final String OS_VERSION = System.getProperty("os.version");
275+ private final String FILE_ENCODING = System.getProperty("file.encoding");
276+
276277 private final String JAVA_VENDER = System.getProperty("java.vendor");
277278 private final String JAVA_VERSION = System.getProperty("java.version");
278279 private final String CLASS_VERSION = System.getProperty("java.class.version");
@@ -565,7 +566,7 @@ public class GUIFX extends Application implements UI, Initializable
565566 tgtFileChooser.setFocusable(true);
566567 tgtFileChooser.setFont(FILE_CHOOSER_FONT);
567568 tgtFileChooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
568-
569+
569570 tgtFileChooser.addPropertyChangeListener((java.beans.PropertyChangeEvent evt) -> { targetFileChooserPropertyChange(evt); });
570571 tgtFileChooser.addActionListener( (java.awt.event.ActionEvent evt) -> { targetFileChooserActionPerformed(evt); });
571572 targetFileSwingNode.setContent(tgtFileChooser);
@@ -2614,7 +2615,7 @@ public class GUIFX extends Application implements UI, Initializable
26142615 {
26152616 if(component instanceof Container) { component.setFont(FILE_CHOOSER_FONT); }
26162617 // if ((component instanceof JButton)) { if (((JButton) component).getActionCommand().equalsIgnoreCase("New Folder")) { component.getParent().add(this.tgtFileDeleteButton); } } // Add Delete button
2617-
2618+
26182619 if (component instanceof JToggleButton) // Click "details view" ToggleButton
26192620 {
26202621 if ( ! ((JToggleButton)component).isSelected() )
--- a/src/rdj/VERSION
+++ b/src/rdj/VERSION
@@ -1 +1 @@
1-5.6.6
\ No newline at end of file
1+5.6.7
\ No newline at end of file
--- a/src/rdj/VERSION2
+++ b/src/rdj/VERSION2
@@ -1,4 +1,4 @@
1-[Version] = {5.6.6}
1+[Version] = {5.6.7}
22 [] = {} ================================================================
33 [Release Notes] = {You are using a very old version of FinalCrypt}
44 [Release Message] = {Please visit the website and download the latest}
@@ -19,11 +19,10 @@
1919 [Upgrade Notes] = {Brute Force only works on the Command Line Interface}
2020 [Upgrade Notes] = {}
2121 [] = {} ----------------------------------------------------------------
22-[Update Notes] = {Update 6}
22+[Update Notes] = {Update 7}
2323 [Update Notes] = {}
24-[Update Notes] = {Improved Apple OSX stability FinalCrypt User Interface}
25-[Update Notes] = {Support Window now closes on Home / Share button click}
26-[Update Notes] = {No longer printing keypaths on statusbar creating keys}
24+[Update Notes] = {Fixed (non-latin) UTF8 Font rendering in File Managers}
25+[Update Notes] = {Chinese chars now render properly on Ubuntu File Mngrs}
2726 [] = {} --------------------------------------------------------------------------------------------------------
2827 [Alert Subject_] = {}
2928 [Alert Notes_] = {}
--- a/src/rdj/Version.java
+++ b/src/rdj/Version.java
@@ -23,7 +23,6 @@ import java.io.*;
2323 import java.lang.management.*;
2424 import java.net.*;
2525 import java.nio.ByteBuffer;
26-import java.nio.channels.Channels;
2726 import static java.nio.channels.Channels.newChannel;
2827 import java.nio.channels.ReadableByteChannel;
2928 import java.nio.charset.*;
@@ -46,6 +45,7 @@ public class Version
4645 private static final String OS_NAME = System.getProperty("os.name");
4746 private static final String OS_VERSION = System.getProperty("os.version");
4847 private static final String OS_ARCH = System.getProperty("os.arch");
48+ private static final String FILE_ENCODING = System.getProperty("file.encoding");
4949
5050 private static final int PROCESSORS = Runtime.getRuntime().availableProcessors();
5151 private static final long TOT_MEM = ((com.sun.management.OperatingSystemMXBean) ManagementFactory.getOperatingSystemMXBean()).getTotalPhysicalMemorySize();
@@ -160,6 +160,7 @@ public class Version
160160 env += "OS Architecture: " + OS_ARCH + "\r\n";
161161 env += "OS Version: " + OS_VERSION + "\r\n";
162162 env += "OS Time: " + configuration.getTime() + "\r\n";
163+ env += "File Encoding: " + FILE_ENCODING + "\r\n";
163164 env += "\r\n";
164165 env += "Processors: " + PROCESSORS + "\r\n";
165166 env += "Total Memory: " + Validate.getHumanSize(TOT_MEM, 1,"Bytes") + "\r\n";
@@ -293,8 +294,9 @@ public class Version
293294 String userAgent = "";
294295 userAgent += Version.getProductName() + "/" + Version.getCurrentlyInstalledOverallVersionString() + " " + fcInterface + " " + connType;
295296 userAgent += " (" + OS_NAME + " " + OS_VERSION + "; " + OS_ARCH + "; ";
296- userAgent += JAVA_VENDOR + " " + JAVA_VERSION + " " + CLASS_VERSION + "; ";
297- userAgent += JAVA_VM_NAME + " " + JAVA_VM_VERSION + ")";
297+ userAgent += JAVA_VENDOR + " " + JAVA_VERSION + " " + CLASS_VERSION;// + "; ";
298+// userAgent += JAVA_VM_NAME + " " + JAVA_VM_VERSION + ")";
299+ userAgent += ")";
298300 return userAgent;
299301 }
300302
--- a/src/rdj/todo_doing_done.txt
+++ b/src/rdj/todo_doing_done.txt
@@ -7,8 +7,7 @@ Backup Files.createLink(link, target);
77
88 =================================== Doing ===================================
99
10-Legenda
11-fadein
10+Blanc Window in Mojave
1211
1312 =============================== Don't forget ================================
1413
@@ -22,7 +21,6 @@ Update file: manpage
2221 =================================== Done ====================================
2322
2423
25-
2624 ============================= Source Committed ==============================
2725
2826