Skip to content

Commit

Permalink
conflictしたファイルを修正 TeraTermProject#246
Browse files Browse the repository at this point in the history
  • Loading branch information
hkanou committed Jul 7, 2024
2 parents c0ef2f8 + 53125e5 commit 0a35ba0
Show file tree
Hide file tree
Showing 87 changed files with 2,034 additions and 1,820 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ cmake_minimum_required(VERSION 3.11)

project(teraterm_all)

if(MSVC)
if((NOT DEFINED CMAKE_GENERATOR_PLATFORM) OR (CMAKE_GENERATOR_PLATFORM STREQUAL ""))
set(CMAKE_GENERATOR_PLATFORM "win32")
#set(CMAKE_GENERATOR_PLATFORM ${CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE})
endif()
endif()

set(SUPPORT_OLD_WINDOWS_DEFAULT OFF)
set(BMP_ICO_DEFAULT OFF)
if(MSVC AND (MSVC_VERSION LESS_EQUAL 1400))
Expand Down
38 changes: 38 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# CONTRIBUTING

開発を手伝っていただければとても助かります。

- ドキュメント、lngファイルの不備の指摘、修正、英訳(翻訳)など
- 動作の不具合の指摘、修正
- 不具合などのレポート(Issue)の対応
- 他の困っている方をサポートする、不具合の再現チェックなど

次のドキュメントを参考にしてください。
- [連絡先,各種情報へリンク](https://teratermproject.github.io/manual/5/ja/about/contacts.html)

## プログラム、ドキュメントの修正

GitHubを使用しています。
修正を送る(Pull Request(PR)を送る)手順は次のようになります。
参考にしてください。

- GitHub上でTera TermリポジトリをForkして自分のリモートリポジトリを作成する
- 自分のリモートリポジトリをローカルにcloneする
- プログラムの修正の場合、Tera Termのビルド
- [ビルド手順](https://teratermproject.github.io/manual/5/ja/reference/develop-build.html#build-quick) を参照ください
- ブランチを作成して修正
- ローカルの修正を自分のリモートリポジトリにpush
- 修正したソースツリーがGitHubに置いてあれば、[AppVeyorでビルド](https://raw.githubusercontent.com/TeraTermProject/teraterm/main/ci_scripts/appveyor.md)することもできます
- Pull Requestを送る

Issueで問題を指摘して、解決のためのPRをいただいてもいいですし、
PRを直接いただいてもokです。

修正にドキュメント(マニュアル(日/英)、修正履歴)が含まれていると
main へのマージがスムーズに進みやすいです。

修正はプルリクエストのレビューを使って
内容の確認や追加の修正をお願いすることがあります。

GitHub よりもカジュアルに使える Discord があります。
[wiki](https://github.com/TeraTermProject/teraterm/wiki/Discord)を参照ください。
4 changes: 4 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
see copyright page
[ja](https://teratermproject.github.io/manual/5/ja/about/copyright.html)
[en](https://teratermproject.github.io/manual/5/en/about/copyright.html)

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Tera Term

Tera Term is a free software terminal emulator

[URLs](https://github.com/TeraTermProject/teraterm/wiki/Urls)
1 change: 1 addition & 0 deletions doc/en/html/about/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ <h3 id="teraterm_5.3">YYYY.MM.DD (Ver 5.3 not released yet)</h3>
</li>
<li>Add ViewlogEditor argument on <a href="../menu/setup-additional-log.html#ViewlogEditorArg">Log Tab</a> in Additional settings.</li>
<li>Settings - Font settings was integrated into the Font tab of Additional settings.
<li>Setup - Font was integrated into <a href="../menu/setup-additional-font.html">Font tab</a> of Additional settings.
</ul>
</li>

Expand Down
42 changes: 40 additions & 2 deletions doc/en/html/macro/command/listbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h1>listbox</h1>
</p>

<pre class="macro-syntax">
listbox &lt;message&gt; &lt;title&gt; &lt;string array&gt; [&lt;selected&gt;]
listbox &lt;message&gt; &lt;title&gt; &lt;string array&gt; [&lt;selected&gt;] ['dclick=on'] ['minmaxbutton=on'] ['minimize=on'] ['maximize=on'] ['size=&lt;N1xN2&gt;']
</pre>

<h2>Parameters</h2>
Expand All @@ -35,6 +35,21 @@ <h2>Parameters</h2>

<dt class="macro">integer &lt;selected&gt; (version 4.89 or later)</dt>
<dd>It is selected first item by specifying the zero-based index of the array. This argument is optional.</dd>

<dt class="macro">fixed string 'dclick=on' (version 5.3 or later)</dt>
<dd>Enable item selection by double-clicking. This argument is optional.</dd>

<dt class="macro">fixed string 'minmaxbutton=on' (version 5.3 or later)</dt>
<dd>Enable Minimize/Maximize button. This argument is optional.</dd>

<dt class="macro">fixed string 'minimize=on' (version 5.3 or later)</dt>
<dd>Display in minimized state. This argument is optional.</dd>

<dt class="macro">fixed string 'maximize=on' (version 5.3 or later)</dt>
<dd>Display in maximized state. This argument is optional.</dd>

<dt class="macro">string 'size=&lt;N1xN2&gt;' (version 5.3 or later)</dt>
<dd>Specify the size of the list box. This argument is optional.</dd>
</dl>

<h2>Return Value</h2>
Expand Down Expand Up @@ -72,9 +87,13 @@ <h2>Remarks</h2>
<em>(version 4.89 or later)</em><br>
When the &lt;selected&gt; parameter is specified, an item of the list box can be selected at first. <br />
If the parameter is omitted, the default value is 0.
<br><br>
<em>(version 5.3 or later)</em><br>
To specify the size of the list box, specify "size=N1xN2".<br>
Specify the horizontal length for N1 and the vertical length for N2.<br>
Example 'size=60x20' (for 60 characters horizontally and 20 characters vertically)
</p>


<h2>Example</h2>

<pre class="macro-example">
Expand Down Expand Up @@ -107,6 +126,25 @@ <h2>Example</h2>
messagebox var "result"
</pre>

<pre class="macro-example">
strdim msg 9
msg[0] = "listbox msg[result] result msg 'size=70x10'"
msg[1] = "listbox msg[result] result msg 'size=70x10' 'dclick=on'"
msg[2] = "listbox msg[result] result msg 'size=70x10' 'minmaxbutton=on'"
msg[3] = "listbox msg[result] result msg 'size=70x10' 'minimize=on'"
msg[4] = "listbox msg[result] result msg 'size=70x10' 'maximize=on'"
msg[5] = "listbox msg[result] result msg 'size=70x10' 'minmaxbutton=on' 'dclick=on'"
msg[6] = "listbox msg[result] result msg 'size=100x10'"
msg[7] = "listbox msg[result] result msg 'size=10x20'"
msg[8] = "listbox msg[result] result msg"
:select
execcmnd msg[result]
if result = -1 then
exit
endif
goto select
</pre>

<h2>See also</h2>
<ul>
<li><a href="inputbox.html">inputbox</a></li>
Expand Down
8 changes: 7 additions & 1 deletion doc/en/html/menu/file-log.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ <h2 id="LogStart">"Log" dialog box (to input the log file name)</h2>
<dt id="FileName">File Name</dt>
<dd>
Enter or select the log file name.<br>
Or drop file in this dialog.
Or drop file in this dialog.<br>
When relative path is specified, <a href="../setup/folder.html#TermLogDir">Terminal log folder</a> is used.<br>
When this dialog opens, file name is set based on the following settings and behaviors.
<ul>
<li><a href="../setup/folder.html#TermLogDir">Terminal log folder</a></li>
<li><a href="setup-additional-log.html#LogDefaultName">Default log file name</a></li>
</ul>
</dd>

<dt id="New_Overwrite">New / Overwrite</dt>
Expand Down
3 changes: 2 additions & 1 deletion doc/en/html/menu/setup-additional-general.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ <h3>Notification</h3>
Sets directory for file transfer.<br>
Environment variables (ex "%USERPROFILE%\Downloads") are expanded when included.<br>
If not set, <a href="../setup/folder.html#DownloadDir">default download folder</a> is used.<br>
The current folder can be check in <a href="../menu/setup-directory.html">Setup Directory</a>.
The current folder can be check in <a href="../menu/setup-directory.html">Setup Directory</a>.<br>
This can be change with <a href="../macro/command/changedir.html">changedir macro command</a>.
</dd>
</dl>

Expand Down
19 changes: 15 additions & 4 deletions doc/en/html/menu/setup-additional-log.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,20 @@
<h1>Additional settings / "Log" Tab ([Setup] Menu) </h1>

<dl>
<dt id="ViewlogEditor">View log editor</dt>
<dt>View log editor</dt>
<dd>
Specify the editor that is used for display log file
<dl>
<dt id="ViewlogEditor">exe file</dt>
<dd>
Specify program that is used for display log file.<br>
When program is relative path, program is searched from folder in ttermpro.exe and in PATH environment variable.<br>
If blank, program associated with file extension is used.
</dd>
<dt id="ViewlogEditorArg">args</dt>
<dd>
Specify program args.<br>
</dd>
</dl>
</dd>

<dt id="LogDefaultName">Default log file name</dt>
Expand Down Expand Up @@ -65,8 +76,8 @@ <h1>Additional settings / "Log" Tab ([Setup] Menu) </h1>

<dt id="LogDefaultPath">Default log save folder</dt>
<dd>
Specify default log save folder.<br>
If not set, log is saved in <a href="../setup/folder.html#LogDir">log folder</a>.<br>
Specify default Terminal log save folder.<br>
Refer to <a href="../setup/folder.html#TermLogDir">Terminal log folder</a> for information where terminal logs are stored.<br>
The current folder can be check in <a href="../menu/setup-directory.html">Setup Directory</a>.
</dd>

Expand Down
27 changes: 16 additions & 11 deletions doc/en/html/reference/build_library_with_cmake.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,32 @@ You need to use Internet service because some archives are automatically downloa

Execute libs/buildall_cmake.bat, and select Visual Studio.

1. Visual Studio 17 2022
1. Visual Studio 17 2022 Win32
2. Visual Studio 17 2022 x64
3. Visual Studio 16 2019
4. Visual Studio 16 2019 x64
5. Visual Studio 15 2017
6. Visual Studio 14 2015
7. Visual Studio 12 2013
8. Visual Studio 11 2012
9. Visual Studio 10 2010
a. Visual Studio 9 2008
3. Visual Studio 17 2022 arm64
4. Visual Studio 16 2019 Win32
5. Visual Studio 16 2019 x64
6. Visual Studio 15 2017
7. Visual Studio 14 2015
8. Visual Studio 12 2013
9. Visual Studio 11 2012
a. Visual Studio 10 2010
b. Visual Studio 9 2008
select no

### By using cmake

Case of Visual Studio 2022 x86

cmake -DCMAKE_GENERATOR="Visual Studio 17 2022" -DARCHITECTURE=32 -P buildall.cmake
cmake -DCMAKE_GENERATOR="Visual Studio 17 2022" -DARCHITECTURE=win32 -P buildall.cmake

Case of Visual Studio 2022 x64

cmake -DCMAKE_GENERATOR="Visual Studio 17 2022" -DARCHITECTURE=64 -P buildall.cmake`
cmake -DCMAKE_GENERATOR="Visual Studio 17 2022" -DARCHITECTURE=x64 -P buildall.cmake`

Case of Visual Studio 2022 arm64

cmake -DCMAKE_GENERATOR="Visual Studio 17 2022" -DARCHITECTURE=arm64 -P buildall.cmake`

## MinGW common

Expand Down
4 changes: 2 additions & 2 deletions doc/en/html/reference/develop-environment.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ <h2 id="library">Libraries</h2>
<li>SFMT 1.5.1 (<a href="http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/index.html" target="_blank">http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/index-jp.html</a>)<br />
For generate random number. Used by Tera Term Macro.
</li>
<li>LibreSSL 3.8.2 (<a href="https://www.libressl.org/" target="_blank">https://www.libressl.org/</a>)<br />
For encryption. Used by TTSSH, Tera Term Macro and TeraTerm Menu.
<li>LibreSSL 3.9.2 (<a href="https://www.libressl.org/" target="_blank">https://www.libressl.org/</a>)<br />
For encryption. Used by TTSSH and Tera Term Macro.
</li>
<li>zlib 1.3.1 (<a href="https://www.zlib.net/" target="_blank">https://www.zlib.net/</a>)<br />
For compress. Used by TTSSH.
Expand Down
4 changes: 2 additions & 2 deletions doc/en/html/setup/folder.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Folder to put setup files</title>
<title>Folder used by Tera Term</title>
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="../style.css" type="text/css">
</head>
<body>

<h1>Folder to put setup files</h1>
<h1>Folders used by Tera Term</h1>

<ul>
<li>installer edition
Expand Down
6 changes: 6 additions & 0 deletions doc/en/html/setup/teraterm-ini.html
Original file line number Diff line number Diff line change
Expand Up @@ -1375,6 +1375,12 @@ <h2>Tera Term</h2>
<td style="width:250px;">&lt;-</td>
<td>* full path of notepad.exe in Windows folder</td>
</tr>
<tr>
<td id="ViewlogEditorArg"><a href="../menu/setup-additional-log.html#ViewlogEditorArg">ViewlogEditorArg</a></td>
<td style="width:250px;"></td>
<td style="width:250px;">&lt;-</td>
<td></td>
</tr>
<tr>
<td id="VTBlinkColor"><a href="../menu/setup-window.html#Attribute">VTBlinkColor</a></td>
<td style="width:250px;">255,0,0,0,0,0</td>
Expand Down
1 change: 0 additions & 1 deletion doc/en/html/setup/teraterm.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ <h3>Window</h3>
<li><a href="teraterm-win.html#delimiter">Delimiters of a word selected by double clicking</a></li>
<li><a href="teraterm-win.html#popup">Disabling the pop-up menu</a></li>
<li><a href="teraterm-win.html#menubar">Hiding the "Show menu bar" command</a></li>
<li><a href="teraterm-win.html#lang">Disabling the language mode selection</a></li>
<li><a href="teraterm-win.html#scrollbuf">Maximum scroll buffer size</a></li>
<li><a href="teraterm-win.html#blink">Nonblinking cursor</a></li>
<li><a href="teraterm-win.html#scrollline">Maximum number of lines to move in a jump scrolling</a></li>
Expand Down
1 change: 0 additions & 1 deletion doc/en/teraterm.hhp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ HlpFileXmodemSend=html\menu\file-transfer-xmodem-send.html
HlpFileZmodemSend=html\menu\file-transfer-zmodem-send.html
HlpFileBPlusSend=html\menu\file-transfer-bplus-send.html
HlpFileQVSend=html\menu\file-transfer-qv-send.html
HlpFileChangeDir=html\menu\file-chdir.html
HlpFilePrint=html\menu\file-print.html
HlpSetupTerminal=html\menu\setup-terminal.html
HlpSetupWindow=html\menu\setup-window.html
Expand Down
42 changes: 41 additions & 1 deletion doc/ja/html/macro/command/listbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h1>listbox</h1>
</p>

<pre class="macro-syntax">
listbox &lt;message&gt; &lt;title&gt; &lt;string array&gt; [&lt;selected&gt;]
listbox &lt;message&gt; &lt;title&gt; &lt;string array&gt; [&lt;selected&gt;] ['dclick=on'] ['minmaxbutton=on'] ['minimize=on'] ['maximize=on'] ['size=&lt;N1xN2&gt;']
</pre>

<h2>パラメータ</h2>
Expand All @@ -35,6 +35,22 @@ <h1>listbox</h1>

<dt class="macro">整数値 &lt;selected&gt; (バージョン 4.89 以降)</dt>
<dd>初期選択項目(0オリジンインデックス)。省略可能。</dd>

<dt class="macro">固定文字列 'dclick=on' (バージョン 5.3 以降)</dt>
<dd>ダブルクリックによる項目選択有効化。省略可能。</dd>

<dt class="macro">固定文字列 'minmaxbutton=on' (バージョン 5.3 以降)</dt>
<dd>最小化/最大化ボタン有効化。省略可能。</dd>

<dt class="macro">固定文字列 'minimize=on' (バージョン 5.3 以降)</dt>
<dd>最小化状態で表示。省略可能。</dd>

<dt class="macro">固定文字列 'maximize=on' (バージョン 5.3 以降)</dt>
<dd>最大化状態で表示。省略可能。</dd>

<dt class="macro">文字列 'size=&lt;N1xN2&gt;' (バージョン 5.3 以降)</dt>
<dd>リストボックスのサイズ指定。省略可能。</dd>
</font>
</dl>

<h2>返り値</h2>
Expand Down Expand Up @@ -71,6 +87,11 @@ <h1>listbox</h1>
<em>(バージョン 4.89 以降)</em><br>
&lt;selected&gt; を指定する事で、初期状態で選択されている項目を指定する事ができます。<br />
省略した場合は 0 (先頭)が指定されたものとして扱われます。
<br><br>
<em>(バージョン 5.3 以降)</em><br>
'size=N1xN2'を指定する事で、リストボックスのサイズを指定することができます。<br>
N1に横の長さ、N2に縦の長さを指定します。<br>
例 'size=60x20' (横60文字、縦20文字の場合)<br>
</p>


Expand Down Expand Up @@ -106,6 +127,25 @@ <h1>listbox</h1>
messagebox var "result"
</pre>

<pre class="macro-example">
strdim msg 9
msg[0] = "listbox msg[result] result msg 'size=70x10'"
msg[1] = "listbox msg[result] result msg 'size=70x10' 'dclick=on'"
msg[2] = "listbox msg[result] result msg 'size=70x10' 'minmaxbutton=on'"
msg[3] = "listbox msg[result] result msg 'size=70x10' 'minimize=on'"
msg[4] = "listbox msg[result] result msg 'size=70x10' 'maximize=on'"
msg[5] = "listbox msg[result] result msg 'size=70x10' 'minmaxbutton=on' 'dclick=on'"
msg[6] = "listbox msg[result] result msg 'size=100x10'"
msg[7] = "listbox msg[result] result msg 'size=10x20'"
msg[8] = "listbox msg[result] result msg"
:select
execcmnd msg[result]
if result = -1 then
exit
endif
goto select
</pre>

<h2>参照</h2>
<ul>
<li><a href="inputbox.html">inputbox</a></li>
Expand Down
9 changes: 8 additions & 1 deletion doc/ja/html/menu/file-log.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@
<dt id="FileName">File Name</dt>
<dd>
書き込むファイルのファイル名を入力または選択してください。<br>
またはダイアログにファイルをドロップしてください。
またはダイアログにファイルをドロップしてください。<br>
相対パスで指定した場合、
<a href="../setup/folder.html#TermLogDir">Tera Term が使用するフォルダ / 端末ログ</a> を使用します。<br>
ダイアログが開いたとき、次の設定、動作に基づいたファイル名が設定されています。
<ul>
<li><a href="../setup/folder.html#TermLogDir">Tera Term が使用するフォルダ / 端末ログ</a></li>
<li><a href="setup-additional-log.html#LogDefaultName">Default log file name</a></li>
</ul>
</dd>

<dt id="New_Overwrite">New / Overwrite</dt>
Expand Down
3 changes: 2 additions & 1 deletion doc/ja/html/menu/setup-additional-general.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ <h3>Notification</h3>
ファイル転送のためのディレクトリを設定します。<br>
環境変数(ex "%USERPROFILE%\Downloads")が含まれていれば展開されます。<br>
未設定の場合は<a href="../setup/folder.html#DownloadDir">デフォルトのダウンロードフォルダ</a>が使用されます。<br>
現在の設定は <a href="setup-directory.html">Setup directory</a> で確認できます。
現在の設定は <a href="setup-directory.html">Setup directory</a> で確認できます。<br>
<a href="../macro/command/changedir.html">changedir マクロコマンド</a> で設定できます。
</dd>
</dl>

Expand Down
Loading

0 comments on commit 0a35ba0

Please sign in to comment.