• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

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

FinalCrypt - The No¹ One-Time Pad Encryption


コミットメタ情報

リビジョン057f7f5e84618dddb87d5ba019c8407c6ced20ce (tree)
日時2019-12-09 10:15:10
作者ron <ronuitzaandam@gmai...>
コミッターron

ログメッセージ

Date: 2019-12-08 Version: 6.0.1

Fixed startup intro and welcome display order
Fixed bug crashing on enabled audio at startup
Fixed large Chinese user-guidance startup text
Fixed Support Window glyphs in Farsi Language
Fixed Apple bug that hangs GUI by File-Manager
Improved internationalization GUI realignments

変更サマリ

差分

--- a/src/rdj/GUIFX.fxml
+++ b/src/rdj/GUIFX.fxml
@@ -22,28 +22,27 @@
2222 <tabs>
2323 <Tab fx:id="encryptTab" closable="false" onSelectionChanged="#encryptTabSelectionChanged" text="Encrypt">
2424 <content>
25- <GridPane>
25+ <GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308">
2626 <columnConstraints>
27- <ColumnConstraints hgrow="SOMETIMES" minWidth="500.0" prefWidth="100.0" />
28- <ColumnConstraints hgrow="SOMETIMES" minWidth="500.0" prefWidth="100.0" />
27+ <ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="500.0" />
28+ <ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="500.0" />
2929 </columnConstraints>
3030 <rowConstraints>
3131 <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
3232 </rowConstraints>
3333 <children>
34- <AnchorPane minWidth="500.0" GridPane.vgrow="ALWAYS">
34+ <AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="500.0" GridPane.vgrow="ALWAYS">
3535 <children>
36- <VBox prefHeight="601.0" prefWidth="649.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
36+ <VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="601.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
3737 <children>
38- <AnchorPane maxHeight="50.0" minHeight="50.0" minWidth="500.0" prefHeight="50.0" prefWidth="500.0" styleClass="background_top" VBox.vgrow="NEVER">
38+ <AnchorPane maxHeight="50.0" maxWidth="1.7976931348623157E308" minHeight="50.0" prefHeight="50.0" styleClass="background_top" VBox.vgrow="NEVER">
3939 <children>
40- <GridPane alignment="CENTER" layoutX="32.0" layoutY="50.0" prefHeight="50.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
40+ <GridPane alignment="CENTER" layoutX="32.0" layoutY="50.0" maxWidth="1.7976931348623157E308" prefHeight="50.0" prefWidth="799.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
4141 <columnConstraints>
4242 <ColumnConstraints halignment="RIGHT" maxWidth="1.7976931348623157E308" minWidth="0.0" prefWidth="0.0" />
43- <ColumnConstraints halignment="RIGHT" hgrow="NEVER" maxWidth="181.0" minWidth="11.0" prefWidth="100.0" />
44- <ColumnConstraints halignment="RIGHT" hgrow="ALWAYS" maxWidth="438.0" minWidth="253.0" prefWidth="344.0" />
45- <ColumnConstraints halignment="LEFT" hgrow="NEVER" maxWidth="181.0" minWidth="37.0" prefWidth="181.0" />
46- <ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="1.7976931348623157E308" minWidth="10.0" prefWidth="92.0" />
43+ <ColumnConstraints halignment="LEFT" hgrow="NEVER" maxWidth="150.0" minWidth="150.0" prefWidth="150.0" />
44+ <ColumnConstraints halignment="CENTER" hgrow="ALWAYS" maxWidth="1.7976931348623157E308" prefWidth="457.0" />
45+ <ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="150.0" minWidth="150.0" prefWidth="150.0" />
4746 </columnConstraints>
4847 <rowConstraints>
4948 <RowConstraints maxHeight="20.0" minHeight="20.0" prefHeight="20.0" vgrow="SOMETIMES" />
@@ -66,7 +65,7 @@
6665 </children></AnchorPane>
6766 <AnchorPane GridPane.columnIndex="2">
6867 <children>
69- <Label fx:id="targetLabel1" alignment="CENTER_RIGHT" contentDisplay="CENTER" focusTraversable="false" prefHeight="25.0" prefWidth="296.0" style="-fx-font-size: 16;" styleClass="text_color_standard" text="Select items to encrypt or decrypt" textAlignment="CENTER" textFill="LIGHTGRAY" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
68+ <Label fx:id="targetLabel1" alignment="CENTER" contentDisplay="CENTER" focusTraversable="false" prefHeight="25.0" prefWidth="296.0" style="-fx-font-size: 16;" styleClass="text_color_standard" text="Select items to encrypt or decrypt" textAlignment="CENTER" textFill="LIGHTGRAY" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
7069 <font>
7170 <Font name="Open Sans" size="18.0" />
7271 </font>
@@ -75,7 +74,7 @@
7574 </AnchorPane>
7675 <AnchorPane GridPane.columnIndex="2" GridPane.rowIndex="1">
7776 <children>
78- <Label fx:id="targetLabel2" alignment="CENTER_RIGHT" contentDisplay="CENTER" focusTraversable="false" prefHeight="20.0" prefWidth="438.0" style="-fx-font-size: 11;" styleClass="text_color_standard" text="Hold down [Control] / [Shift] to select more items" textAlignment="CENTER" textFill="LIGHTGRAY" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
77+ <Label fx:id="targetLabel2" alignment="CENTER" contentDisplay="CENTER" focusTraversable="false" prefHeight="20.0" prefWidth="438.0" style="-fx-font-size: 11;" styleClass="text_color_standard" text="Hold down [Control] / [Shift] to select more items" textAlignment="CENTER" textFill="LIGHTGRAY" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
7978 <font>
8079 <Font name="Open Sans" size="12.0" />
8180 </font>
@@ -84,7 +83,7 @@
8483 </AnchorPane>
8584 <AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="3" GridPane.rowSpan="2">
8685 <children>
87- <Label fx:id="targetInfoLabel" contentDisplay="CENTER" focusTraversable="false" onMouseClicked="#targetInfoLabelClicked" prefHeight="40.0" prefWidth="114.0" style="-fx-font-family: FreeSans; -fx-font-size: 18;" text="info" textAlignment="CENTER" textFill="LIGHTBLUE" translateX="10.0" underline="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
86+ <Label fx:id="targetInfoLabel" alignment="CENTER" contentDisplay="CENTER" focusTraversable="false" onMouseClicked="#targetInfoLabelClicked" prefHeight="40.0" prefWidth="114.0" style="-fx-font-family: FreeSans; -fx-font-size: 18;" text="info" textAlignment="CENTER" textFill="LIGHTBLUE" underline="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
8887 <cursor>
8988 <Cursor fx:constant="HAND" />
9089 </cursor>
@@ -92,9 +91,7 @@
9291 <Font name="Open Sans Italic" size="18.0" />
9392 </font>
9493 </Label>
95- </children>
96- </AnchorPane>
97- <AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="4" GridPane.rowSpan="2" />
94+ </children></AnchorPane>
9895 </children>
9996 </GridPane>
10097 </children>
@@ -113,27 +110,26 @@
113110 </VBox>
114111 </children>
115112 </AnchorPane>
116- <AnchorPane focusTraversable="true" minWidth="500.0" GridPane.columnIndex="1" GridPane.vgrow="ALWAYS">
113+ <AnchorPane focusTraversable="true" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="500.0" GridPane.columnIndex="1" GridPane.vgrow="ALWAYS">
117114 <children>
118- <VBox prefHeight="601.0" prefWidth="649.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
115+ <VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="601.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
119116 <children>
120- <AnchorPane maxHeight="50.0" minHeight="50.0" minWidth="500.0" prefHeight="50.0" prefWidth="500.0" styleClass="background_top" VBox.vgrow="NEVER">
117+ <AnchorPane maxHeight="50.0" maxWidth="1.7976931348623157E308" minHeight="50.0" prefHeight="50.0" styleClass="background_top" VBox.vgrow="NEVER">
121118 <children>
122- <GridPane alignment="CENTER" layoutX="39.0" layoutY="50.0" prefHeight="50.0" prefWidth="649.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
119+ <GridPane alignment="CENTER" layoutX="39.0" layoutY="50.0" maxWidth="1.7976931348623157E308" prefHeight="50.0" prefWidth="769.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
123120 <children>
124- <AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowSpan="2" />
125- <AnchorPane prefHeight="25.0" prefWidth="321.0" GridPane.columnIndex="2">
121+ <AnchorPane prefHeight="25.0" prefWidth="321.0" GridPane.columnIndex="1">
126122 <children>
127- <Label fx:id="keyLabel1" alignment="CENTER_RIGHT" contentDisplay="CENTER" focusTraversable="false" prefHeight="25.0" prefWidth="296.0" style="-fx-font-size: 16;" styleClass="text_color_standard" text="Select One-Time Pad Key Dir" textAlignment="CENTER" textFill="LIGHTGRAY" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
123+ <Label fx:id="keyLabel1" alignment="CENTER" contentDisplay="CENTER" focusTraversable="false" prefHeight="25.0" prefWidth="296.0" style="-fx-font-size: 16;" styleClass="text_color_standard" text="Select One-Time Pad Key Dir" textAlignment="CENTER" textFill="LIGHTGRAY" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
128124 <font>
129125 <Font name="Open Sans" size="18.0" />
130126 </font>
131127 </Label>
132128 </children>
133129 </AnchorPane>
134- <AnchorPane onMouseEntered="#keyLabelAnchorOnMouseEntered" onMouseExited="#keyLabelAnchorOnMouseExited" GridPane.columnIndex="2" GridPane.rowIndex="1">
130+ <AnchorPane onMouseEntered="#keyLabelAnchorOnMouseEntered" onMouseExited="#keyLabelAnchorOnMouseExited" GridPane.columnIndex="1" GridPane.rowIndex="1">
135131 <children>
136- <Label fx:id="keyLabel" alignment="CENTER_RIGHT" contentDisplay="CENTER" focusTraversable="false" onMouseClicked="#keyLabelOnMouseClicked" prefHeight="20.0" prefWidth="296.0" style="-fx-font-size: 11;" text="Create a Manual One-Time Pad Key File" textAlignment="CENTER" textFill="#cfcfcf80" underline="true" visible="false" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
132+ <Label fx:id="keyLabel" alignment="CENTER" contentDisplay="CENTER" focusTraversable="false" onMouseClicked="#keyLabelOnMouseClicked" prefHeight="20.0" prefWidth="296.0" style="-fx-font-size: 11;" text="Create a Manual One-Time Pad Key File" textAlignment="CENTER" textFill="#cfcfcf80" underline="true" visible="false" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
137133 <font>
138134 <Font name="Open Sans" size="12.0" />
139135 </font>
@@ -143,18 +139,6 @@
143139 </Label>
144140 </children>
145141 </AnchorPane>
146- <AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="3" GridPane.rowSpan="2">
147- <children>
148- <Label fx:id="keyInfoLabel" contentDisplay="CENTER" focusTraversable="false" onMouseClicked="#keyInfoLabelClicked" prefHeight="40.0" prefWidth="30.0" style="-fx-font-family: FreeSans; -fx-font-size: 18;" text="info" textAlignment="CENTER" textFill="LIGHTBLUE" translateX="10.0" underline="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
149- <font>
150- <Font name="Open Sans Italic" size="18.0" />
151- </font>
152- <cursor>
153- <Cursor fx:constant="HAND" />
154- </cursor>
155- </Label>
156- </children>
157- </AnchorPane>
158142 <AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.rowSpan="2">
159143 <children>
160144 <Button fx:id="keyFileDeleteButton2" alignment="CENTER" contentDisplay="CENTER" maxHeight="20.0" mnemonicParsing="false" onAction="#keyFileDeleteButton2OnAction" prefHeight="20.0" prefWidth="78.0" style="-fx-background-color: #AAAAAA;" text="Delete" textAlignment="CENTER" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="10.0">
@@ -171,13 +155,23 @@
171155 </Button>
172156 </children>
173157 </AnchorPane>
158+ <AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="2" GridPane.rowSpan="2">
159+ <children>
160+ <Label fx:id="keyInfoLabel" alignment="CENTER" contentDisplay="CENTER" focusTraversable="false" onMouseClicked="#keyInfoLabelClicked" prefHeight="40.0" prefWidth="30.0" style="-fx-font-family: FreeSans; -fx-font-size: 18;" text="info" textAlignment="CENTER" textFill="LIGHTBLUE" underline="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
161+ <font>
162+ <Font name="Open Sans Italic" size="18.0" />
163+ </font>
164+ <cursor>
165+ <Cursor fx:constant="HAND" />
166+ </cursor>
167+ </Label>
168+ </children>
169+ </AnchorPane>
174170 </children>
175171 <columnConstraints>
176- <ColumnConstraints halignment="RIGHT" maxWidth="1.7976931348623157E308" minWidth="0.0" prefWidth="100.0" />
177- <ColumnConstraints halignment="RIGHT" hgrow="NEVER" maxWidth="183.0" minWidth="38.0" prefWidth="108.0" />
178- <ColumnConstraints halignment="RIGHT" hgrow="ALWAYS" maxWidth="325.0" minWidth="206.0" prefWidth="250.0" />
179- <ColumnConstraints halignment="LEFT" hgrow="NEVER" maxWidth="210.0" minWidth="34.0" prefWidth="181.0" />
180- <ColumnConstraints maxWidth="1.7976931348623157E308" minWidth="0.0" prefWidth="100.0" />
172+ <ColumnConstraints halignment="LEFT" hgrow="NEVER" maxWidth="150.0" minWidth="150.0" prefWidth="150.0" />
173+ <ColumnConstraints halignment="RIGHT" hgrow="ALWAYS" maxWidth="1.7976931348623157E308" prefWidth="471.0" />
174+ <ColumnConstraints hgrow="NEVER" maxWidth="100.0" minWidth="100.0" prefWidth="100.0" />
181175 </columnConstraints>
182176 <rowConstraints>
183177 <RowConstraints maxHeight="21.0" minHeight="20.0" prefHeight="21.0" vgrow="SOMETIMES" />
--- a/src/rdj/GUIFX.java
+++ b/src/rdj/GUIFX.java
@@ -750,7 +750,7 @@ public class GUIFX extends Application implements UI, Initializable
750750
751751 if (checkFileChoosers)
752752 {
753- updateFileChoosers(false, firsttime, false, false, firsttime, true);
753+ updateFileChoosers(false, firsttime, true, false, firsttime, true);
754754 }
755755 }
756756
@@ -1242,7 +1242,6 @@ public class GUIFX extends Application implements UI, Initializable
12421242 disableFileChoosers(false, true, true);
12431243 }
12441244
1245-// keyFileChooser.updateUI();
12461245 updateFileChoosers(false, false, true, false, false, true);
12471246
12481247 FadeTransition sysmonFadeTransition = new FadeTransition(Duration.millis(2000), userGuidanceFadePane); // sysMonCanvas
@@ -4393,7 +4392,7 @@ public class GUIFX extends Application implements UI, Initializable
43934392 // switchLanguage(selectedLocale, true, true, false);
43944393
43954394 // switchLanguage(Locale locale, String selectedLanguageCode, boolean writeLanguage, boolean redrawFileChoosers, boolean firsttime, boolean checkFileChoosers)
4396- switchLanguage(selectedLocale, selectedLanguageCode, true, true, false, false);
4395+ switchLanguage(selectedLocale, selectedLanguageCode, true, true, false, true);
43974396
43984397 selectLanguage.setVisible(false);
43994398 });