changeset 514:947ea334735d stable-1.9.4-6

update copyrights
author Carl Byington <carl@five-ten-sg.com>
date Fri, 10 Feb 2023 19:13:58 -0700
parents 13a922d1fc5c
children caba9dfe7a89
files Makefile app/src/main/java/ch/ethz/ssh2/crypto/SecureRandomFix.java app/src/main/res/values/notrans.xml xml/510connectbot.in
diffstat 4 files changed, 18 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Feb 10 17:16:47 2023 -0700
+++ b/Makefile	Fri Feb 10 19:13:58 2023 -0700
@@ -122,6 +122,11 @@
 	make builder style=release
 	make builder style=debug
 
+update.copyrights:
+	sed -i -re 's/(Copyright .C. ....-).... /\1$(year) /g' app/src/main/java/ch/ethz/ssh2/crypto/SecureRandomFix.java
+	sed -i -re 's/(Copyright . ....-).... /\1$(year) /g'   app/src/main/res/values/notrans.xml
+	sed -i -re 's/(Copyright .C. ....-).... /\1$(year) /g' xml/510connectbot.in
+
 push:
 	# from from android build machine
 	hg push ssh://ns.five-ten-sg.com/usr/hg/510Connectbot || /bin/true
@@ -134,6 +139,8 @@
 	scp -p html/* root@ns1.five-ten-sg.com://home/httpd/html/510sg/510Connectbot
 
 #
+# make update.copyrights year=2023
+
 # release procedure
 # make any changes
 # hg commit -m 'commit message'
--- a/app/src/main/java/ch/ethz/ssh2/crypto/SecureRandomFix.java	Fri Feb 10 17:16:47 2023 -0700
+++ b/app/src/main/java/ch/ethz/ssh2/crypto/SecureRandomFix.java	Fri Feb 10 19:13:58 2023 -0700
@@ -1,5 +1,5 @@
 //
-// Copyright (C) 2014 by 510 Software Group
+// Copyright (C) 2014-2023 by 510 Software Group
 // licensed under the GPLv3 or later
 
 package ch.ethz.ssh2.crypto;
@@ -79,4 +79,4 @@
         }
         setSeed(generateReasonableSeed());
     }
-}
\ No newline at end of file
+}
--- a/app/src/main/res/values/notrans.xml	Fri Feb 10 17:16:47 2023 -0700
+++ b/app/src/main/res/values/notrans.xml	Fri Feb 10 19:13:58 2023 -0700
@@ -19,6 +19,6 @@
 -->
 <resources>
 	<string name="app_name" translatable="false">510 ConnectBot</string>
-	<string name="copyright_info" translatable="false">Copyright © 2014 by 510 Software Group. Release under the GPLv3 or later.</string>
+	<string name="copyright_info" translatable="false">Copyright © 2014-2023 by 510 Software Group. Released under the GPLv3 or later.</string>
 	<string name="copyright_location" translatable="false">You can view the full text of the license at https://www.gnu.org/licenses/gpl.txt</string>
 </resources>
--- a/xml/510connectbot.in	Fri Feb 10 17:16:47 2023 -0700
+++ b/xml/510connectbot.in	Fri Feb 10 19:13:58 2023 -0700
@@ -240,7 +240,7 @@
                 The first argument is the line number (0..23),
                 the second argument is the column number (0..79), and the third
                 argument is the reason for sending this cursor update. REASON=0 is
-                from a previous CURSORREQUEST command. REASON=1 is a cursor update
+                from a previous CURSORREQUEST message. REASON=1 is a cursor update
                 related to the previous SCREENCHANGE buffer update. REASON=2 is
                 a cursor update caused by user keystrokes or cursor movement
                 triggered by SETFIELD messages from the runtime.
@@ -262,8 +262,8 @@
             <para>
                 When the TE sends the screen contents as a result of a previous screen
                 watch, the screen watch area is then reset to the entire screen. The
-                monitor is then responsible for sending a screenwatch
-                command to set the watch area to something appropriate for that new
+                monitor is then responsible for sending a SCREENWATCH message
+                to set the watch area to something appropriate for that new
                 screen. Once the monitor has set the watch area to some part of a
                 single line, there is no mechanism for the monitor to reset it to
                 back to the entire screen. That reset only happens when the TE sends
@@ -300,7 +300,7 @@
                 The first argument is the line number (0..23)
                 and the second argument is the starting column number (0..79),
                 and the third argument is the field length in columns.
-                This command causes the emulator to send a FIELDVALUE message
+                This message causes the emulator to send a FIELDVALUE message
                 back to the monitor.
             </para>
 
@@ -320,7 +320,7 @@
                 the first element is the line number (0..23), the
                 second element is the starting column number (0..79),
                 and the third element is the field length in columns
-                This command causes the emulator to watch the
+                This message causes the emulator to watch the
                 specified parts of the screen for updates. When any of
                 those parts of the screen are updated by the host
                 (even if the old and new characters are the same) ,
@@ -338,7 +338,7 @@
 
             <para>
                 DEPRESS = 8 (Monitor -> TE). The argument is a single
-                uint16 value containing the vk_key value. This command
+                uint16 value containing the vk_key value. This message
                 causes the emulator to simulate a keypress for that
                 key. This is used for the function keys and cursor
                 movement keys. See DEPRESSUNICODE for ascii control
@@ -364,8 +364,8 @@
             <para>
                 CURSORREQUEST = 11 (Monitor -> TE). There are no arguments. The TE
                 should send a CURSORMOVE update to the monitor. Cursor movement caused
-                by SETFIELD or DEPRESS commands does not trigger CURSORMOVE updates
-                in block mode (tn5250) sessions. Those commands do trigger CURSORMOVE
+                by SETFIELD or DEPRESS messages does not trigger CURSORMOVE updates
+                in block mode (tn5250) sessions. Those messages do trigger CURSORMOVE
                 updates in async mode (telnet, ssh) sessions.
             </para>