• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision9879 (tree)
Time2022-04-21 22:48:07
Authorzmatsuo

Log Message

update copyright year

- 更新を補助するためにスクリプト installer/copyright_year.pl を追加

Change Summary

Incremental Difference

--- trunk/doc/en/html/about/copyright.html (revision 9878)
+++ trunk/doc/en/html/about/copyright.html (revision 9879)
@@ -41,7 +41,7 @@
4141 <h3 id="license_teraterm">License</h3>
4242 <pre>
4343 Copyright (C) 1994-1998 T. Teranishi
44-(C) 2004-2019 TeraTerm Project
44+(C) 2004-2022 TeraTerm Project
4545 All rights reserved.
4646
4747 Redistribution and use in source and binary forms, with or without modification,
@@ -122,7 +122,7 @@
122122 <h3 id="license_ttssh">License</h3>
123123 <pre>
124124 (C)1998-2001 Robert O'Callahan
125-(C) 2004-2019 TeraTerm Project
125+(C) 2004-2022 TeraTerm Project
126126 All rights reserved.
127127
128128 Redistribution and use in source and binary forms, with or without modification,
@@ -285,7 +285,7 @@
285285 <pre>
286286 Using Cygwin with a terminal emulator.
287287 Copyright (C) 2000-2006 NSym
288-(C) 2004-2016 TeraTerm Project
288+(C) 2004-2022 TeraTerm Project
289289
290290 This program is free software; you can redistribute it and/or
291291 modify it under the terms of the GNU General Public License
@@ -335,7 +335,7 @@
335335 <h3 id="license_ttproxy">License</h3>
336336 <pre>
337337 Copyright (C) 2003-2006 YebisuyaHompo
338-(C) 2004-2016 TeraTerm Project
338+(C) 2004-2022 TeraTerm Project
339339 All rights reserved.
340340
341341 Redistribution and use in source and binary forms, with or without modification,
@@ -392,7 +392,7 @@
392392 <h3 id="license_ttmenu">License</h3>
393393 <pre>
394394 Copyright(C) 1997-2003 S.Hayakawa
395-(C) 2004-2016 TeraTerm Project
395+(C) 2004-2022 TeraTerm Project
396396 All rights reserved.
397397
398398 Redistribution and use in source and binary forms, with or without modification,
--- trunk/doc/en/html/index.html (revision 9878)
+++ trunk/doc/en/html/index.html (revision 9879)
@@ -13,7 +13,7 @@
1313
1414 <p class="center">
1515 Copyright (C) 1994-1998 T. Teranishi<BR>
16-(C) 2004-2019 TeraTerm Project<BR>
16+(C) 2004-2022 TeraTerm Project<BR>
1717 All Rights Reserved.<BR>
1818 </p>
1919
--- trunk/doc/en/html/macro/index.html (revision 9878)
+++ trunk/doc/en/html/macro/index.html (revision 9879)
@@ -13,7 +13,7 @@
1313
1414 <p class="center">
1515 Copyright (C) 1994-1998 T. Teranishi<BR>
16-(C) 2004-2016 TeraTerm Project<BR>
16+(C) 2004-2022 TeraTerm Project<BR>
1717 All Rights Reserved.<BR>
1818 </p>
1919
--- trunk/doc/en/html/reference/develop.html (revision 9878)
+++ trunk/doc/en/html/reference/develop.html (revision 9879)
@@ -532,7 +532,6 @@
532532 <li>teraterm\teraterm\tt-version.rc // VERSIONINFO</li>
533533 <li>teraterm\ttpcmn\ttpcmn-version.rc // VERSIONINFO</li>
534534 <li>teraterm\ttpdlg\ttpdlg.rc // dialog</li>
535- <li>teraterm\ttpfile\ttpfile-version.rc // VERSIONINFO</li>
536535 <li>teraterm\ttpmacro\ttm-version.rc // VERSIONINFO</li>
537536 <li>teraterm\ttpset\ttpset-version.rc // VERSIONINFO</li>
538537 <li>teraterm\ttptek\ttptek-version.rc // VERSIONINFO</li>
--- trunk/doc/en/html/reference/develop.txt (revision 9878)
+++ trunk/doc/en/html/reference/develop.txt (revision 9879)
@@ -291,7 +291,6 @@
291291 - teraterm\teraterm\tt-version.rc // VERSIONINFO
292292 - teraterm\ttpcmn\ttpcmn-version.rc // VERSIONINFO
293293 - teraterm\ttpdlg\ttpdlg.rc // dialog
294- - teraterm\ttpfile\ttpfile-version.rc // VERSIONINFO
295294 - teraterm\ttpmacro\ttm-version.rc // VERSIONINFO
296295 - teraterm\ttpset\ttpset-version.rc // VERSIONINFO
297296 - teraterm\ttptek\ttptek-version.rc // VERSIONINFO
--- trunk/doc/ja/html/about/copyright.html (revision 9878)
+++ trunk/doc/ja/html/about/copyright.html (revision 9879)
@@ -41,7 +41,7 @@
4141 <h3 id="license_teraterm">ライセンス</h3>
4242 <pre>
4343 Copyright (C) 1994-1998 T. Teranishi
44-(C) 2004-2019 TeraTerm Project
44+(C) 2004-2022 TeraTerm Project
4545 All rights reserved.
4646
4747 Redistribution and use in source and binary forms, with or without modification,
@@ -115,7 +115,7 @@
115115 <h3 id="license_ttssh">ライセンス</h3>
116116 <pre>
117117 (C)1998-2001 Robert O'Callahan
118-(C) 2004-2019 TeraTerm Project
118+(C) 2004-2022 TeraTerm Project
119119 All rights reserved.
120120
121121 Redistribution and use in source and binary forms, with or without modification,
@@ -272,7 +272,7 @@
272272 <pre>
273273 Using Cygwin with a terminal emulator.
274274 Copyright (C) 2000-2006 NSym
275-(C) 2004-2016 TeraTerm Project
275+(C) 2004-2022 TeraTerm Project
276276
277277 This program is free software; you can redistribute it and/or
278278 modify it under the terms of the GNU General Public License
@@ -315,7 +315,7 @@
315315 <h3 id="license_ttproxy">ライセンス</h3>
316316 <pre>
317317 Copyright (C) 2003-2006 蛭子屋本舗
318-(C) 2004-2016 TeraTerm Project
318+(C) 2004-2022 TeraTerm Project
319319 All rights reserved.
320320
321321 Redistribution and use in source and binary forms, with or without modification,
@@ -365,7 +365,7 @@
365365 <h3 id="license_ttmenu">ライセンス</h3>
366366 <pre>
367367 Copyright(C) 1997-2003 S.Hayakawa
368-(C) 2004-2016 TeraTerm Project
368+(C) 2004-2022 TeraTerm Project
369369 All rights reserved.
370370
371371 Redistribution and use in source and binary forms, with or without modification,
--- trunk/doc/ja/html/index.html (revision 9878)
+++ trunk/doc/ja/html/index.html (revision 9879)
@@ -13,7 +13,7 @@
1313
1414 <p class="center">
1515 Copyright (C) 1994-1998 T. Teranishi<BR>
16-(C) 2004-2019 TeraTerm Project<BR>
16+(C) 2004-2022 TeraTerm Project<BR>
1717 All Rights Reserved.<BR>
1818 </p>
1919
--- trunk/doc/ja/html/macro/index.html (revision 9878)
+++ trunk/doc/ja/html/macro/index.html (revision 9879)
@@ -13,7 +13,7 @@
1313
1414 <p class="center">
1515 Copyright (C) 1994-1998 T. Teranishi<BR>
16-(C) 2004-2016 TeraTerm Project<BR>
16+(C) 2004-2022 TeraTerm Project<BR>
1717 All Rights Reserved.<BR>
1818 </p>
1919
--- trunk/doc/ja/html/reference/develop.html (revision 9878)
+++ trunk/doc/ja/html/reference/develop.html (revision 9879)
@@ -535,7 +535,6 @@
535535 <li>teraterm\teraterm\tt-version.rc // VERSIONINFO</li>
536536 <li>teraterm\ttpcmn\ttpcmn-version.rc // VERSIONINFO</li>
537537 <li>teraterm\ttpdlg\ttpdlg.rc // dialog</li>
538- <li>teraterm\ttpfile\ttpfile-version.rc // VERSIONINFO</li>
539538 <li>teraterm\ttpmacro\ttm-version.rc // VERSIONINFO</li>
540539 <li>teraterm\ttpset\ttpset-version.rc // VERSIONINFO</li>
541540 <li>teraterm\ttptek\ttptek-version.rc // VERSIONINFO</li>
--- trunk/doc/ja/html/reference/develop.txt (revision 9878)
+++ trunk/doc/ja/html/reference/develop.txt (revision 9879)
@@ -290,7 +290,6 @@
290290 - teraterm\teraterm\tt-version.rc // VERSIONINFO
291291 - teraterm\ttpcmn\ttpcmn-version.rc // VERSIONINFO
292292 - teraterm\ttpdlg\ttpdlg.rc // dialog
293- - teraterm\ttpfile\ttpfile-version.rc // VERSIONINFO
294293 - teraterm\ttpmacro\ttm-version.rc // VERSIONINFO
295294 - teraterm\ttpset\ttpset-version.rc // VERSIONINFO
296295 - teraterm\ttptek\ttptek-version.rc // VERSIONINFO
--- trunk/installer/copyright_year.pl (nonexistent)
+++ trunk/installer/copyright_year.pl (revision 9879)
@@ -0,0 +1,62 @@
1+#
2+# copyright の年の更新を補助するためのスクリプト
3+#
4+use strict;
5+use warnings;
6+use utf8;
7+
8+my $year_from = "2020";
9+my $year_to = "2022";
10+
11+my @file_list = (
12+ "TTProxy/TTProxy.rc",
13+ "TTXKanjiMenu/ttxkanjimenu.rc",
14+ "doc/en/html/about/copyright.html",
15+ "doc/en/html/index.html",
16+ "doc/en/html/macro/index.html",
17+ "doc/ja/html/about/copyright.html",
18+ "doc/ja/html/index.html",
19+ "doc/ja/html/macro/index.html",
20+ "installer/release/license.txt",
21+ "installer/teraterm.iss",
22+ "installer/teraterm_cmake.iss.in",
23+ "teraterm/keycode/keycode-version.rc",
24+ "teraterm/teraterm/tt-version.rc",
25+ "teraterm/ttpcmn/ttpcmn-version.rc",
26+ "teraterm/ttpdlg/ttpdlg.rc",
27+ "teraterm/ttpmacro/ttm-version.rc",
28+ "teraterm/ttpset/ttpset-version.rc",
29+ "teraterm/ttptek/ttptek-version.rc",
30+ "ttpmenu/ttpmenu.rc",
31+ "ttssh2/ttxssh/ttxssh-version.rc",
32+ "ttssh2/ttxssh/ttxssh.rc",
33+ );
34+
35+sub replace_year
36+{
37+ my ($file) = @_;
38+
39+ # すべて読み込む
40+ open(FD, "<$file");
41+ my @content = <FD> ;
42+ close(FD) ;
43+
44+ my $bak = $file . ".bak";
45+ unlink($bak);
46+ rename($file, $bak) || die "error $bak $!";
47+
48+ # 上書きで書き出す
49+ my $out = $file;
50+ open(FD , ">$out" ) || die "error $out";
51+ foreach(@content) {
52+ my $line = $_ ;
53+ $line =~ s/$year_from/$year_to/g ;
54+ print FD "$line" ;
55+ }
56+ close(FD) ;
57+}
58+
59+foreach my $file (@file_list) {
60+ $file = "../" . $file;
61+ replace_year($file);
62+}
--- trunk/installer/release/license.txt (revision 9878)
+++ trunk/installer/release/license.txt (revision 9879)
@@ -1,7 +1,7 @@
11 License of Tera Term
22
33 Copyright (C) 1994-1998 T. Teranishi
4-(C) 2004-2021 TeraTerm Project
4+(C) 2004-2022 TeraTerm Project
55 All rights reserved.
66
77 Redistribution and use in source and binary forms, with or without modification,
@@ -30,7 +30,7 @@
3030 License of TTSSH
3131
3232 (C)1998-2001 Robert O'Callahan
33-(C) 2004-2021 TeraTerm Project
33+(C) 2004-2022 TeraTerm Project
3434 All rights reserved.
3535
3636 Redistribution and use in source and binary forms, with or without modification,
@@ -60,7 +60,7 @@
6060
6161 Using Cygwin with a terminal emulator.
6262 Copyright (C) 2000-2006 NSym
63-(C) 2004-2016 TeraTerm Project
63+(C) 2004-2022 TeraTerm Project
6464
6565 This program is free software; you can redistribute it and/or
6666 modify it under the terms of the GNU General Public License
@@ -81,7 +81,7 @@
8181 License of TTProxy
8282
8383 Copyright (C) 2003-2006 YebisuyaHompo
84-(C) 2004-2016 TeraTerm Project
84+(C) 2004-2022 TeraTerm Project
8585 All rights reserved.
8686
8787 Redistribution and use in source and binary forms, with or without modification,
@@ -110,7 +110,7 @@
110110 License of TeraTerm Menu
111111
112112 Copyright(C) 1997-2003 S.Hayakawa
113-(C) 2004-2021 TeraTerm Project
113+(C) 2004-2022 TeraTerm Project
114114 All rights reserved.
115115
116116 Redistribution and use in source and binary forms, with or without modification,
@@ -139,7 +139,7 @@
139139 License of TTX KanjiMenu
140140
141141 Copyright (C) 2007 Sunao HARA
142-(C) 2004-2021 TeraTerm Project
142+(C) 2004-2022 TeraTerm Project
143143 All rights reserved.
144144
145145 Redistribution and use in source and binary forms, with or without modification,
--- trunk/installer/teraterm_cmake.iss.in (revision 9878)
+++ trunk/installer/teraterm_cmake.iss.in (revision 9879)
@@ -26,7 +26,7 @@
2626 ;Name: makearchive.bat; Parameters: release
2727
2828 [Setup]
29-AppCopyright=(C) 2004-2020 TeraTerm Project
29+AppCopyright=(C) 2004-2022 TeraTerm Project
3030 AppPublisher=TeraTerm Project
3131 AppPublisherURL=https://ttssh2.osdn.jp/
3232 AppSupportURL=https://ttssh2.osdn.jp/
Show on old repository browser