From 7456c39098dbd12356145361e594431ff2eec542 Mon Sep 17 00:00:00 2001 From: zmatsuo <6488847+zmatsuo@users.noreply.github.com> Date: Thu, 24 Oct 2024 00:52:13 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B7=E3=83=AA=E3=82=A2=E3=83=AB=E3=83=9D?= =?UTF-8?q?=E3=83=BC=E3=83=88=E3=83=80=E3=82=A4=E3=82=A2=E3=83=AD=E3=82=B0?= =?UTF-8?q?=E3=82=92=E3=83=97=E3=83=AD=E3=83=91=E3=83=86=E3=82=A3=E3=83=BC?= =?UTF-8?q?=E3=83=9A=E3=83=BC=E3=82=B8=E3=81=AB=E5=A4=89=E6=9B=B4=20#84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - デフォルトポートの仕様を変更した - 全般タブでは"TCP/IP"/"シリアル"の選択を行う - シリアルポート番号の選択はシリアルポートタブで行う - ts.ComPort を全般タブとシリアルタブの2か所で変更しないようにするため - ドキュメント修正 - シリアルタブの速度のツールチップを削除した #84 - "You can directly specify a number" - 数値を入力できるようにしてからだいぶ経つ - ヘルプに記述があれば良い --- .editorconfig | 1 + doc/en/html/about/history.html | 24 +- .../menu/setup-additional-serialport.html | 113 ++++ doc/en/html/menu/setup-additional.html | 1 + doc/en/html/menu/setup-serialport.html | 69 +-- doc/en/html/setup/teraterm-ini.html | 16 +- doc/en/teraterm.hhc | 5 + doc/en/teraterm.hhp | 1 + doc/ja/html/about/history.html | 24 +- doc/ja/html/menu/file-new.html | 2 +- .../menu/setup-additional-serialport.html | 112 ++++ doc/ja/html/menu/setup-additional.html | 1 + doc/ja/html/menu/setup-serialport.html | 70 +-- doc/ja/html/setup/teraterm-ini.html | 16 +- doc/ja/teraterm.hhc | 5 + doc/ja/teraterm.hhp | 1 + installer/release/lang_utf8/English.lng | 7 +- installer/release/lang_utf8/French.lng | 8 +- installer/release/lang_utf8/German.lng | 7 +- installer/release/lang_utf8/Japanese.lng | 7 +- installer/release/lang_utf8/Korean.lng | 7 +- installer/release/lang_utf8/Russian.lng | 7 +- .../release/lang_utf8/Simplified Chinese.lng | 7 +- installer/release/lang_utf8/Spanish.lng | 7 +- installer/release/lang_utf8/Tamil.lng | 7 +- .../release/lang_utf8/Traditional Chinese.lng | 7 +- teraterm/common/comportinfo.cpp | 5 +- teraterm/common/dlglib_cpp.cpp | 1 + teraterm/common/helpid.h | 1 + teraterm/teraterm/CMakeLists.txt | 2 + teraterm/teraterm/addsetting.cpp | 6 + teraterm/teraterm/addsetting.h | 2 + teraterm/teraterm/externalsetup.cpp | 50 ++ teraterm/teraterm/general_pp.cpp | 24 +- teraterm/teraterm/serial_pp.cpp | 529 ++++++++++++++++++ teraterm/teraterm/serial_pp.h | 39 ++ teraterm/teraterm/tekwin.cpp | 2 +- teraterm/teraterm/ttdialog.c | 1 - teraterm/teraterm/ttermpro.rc | 2 +- teraterm/teraterm/ttermpro.v16.vcxproj | 2 + .../teraterm/ttermpro.v16.vcxproj.filters | 6 + teraterm/teraterm/ttermpro.v17.vcxproj | 2 + .../teraterm/ttermpro.v17.vcxproj.filters | 6 + teraterm/teraterm/vtwin.cpp | 34 +- teraterm/ttpdlg/dlg_res.h | 3 +- teraterm/ttpdlg/serialdlg.cpp | 426 +------------- teraterm/ttpdlg/ttpdlg.rc | 26 +- 47 files changed, 998 insertions(+), 703 deletions(-) create mode 100644 doc/en/html/menu/setup-additional-serialport.html create mode 100644 doc/ja/html/menu/setup-additional-serialport.html create mode 100644 teraterm/teraterm/serial_pp.cpp create mode 100644 teraterm/teraterm/serial_pp.h diff --git a/.editorconfig b/.editorconfig index 4507f4a3e..1e5ad7507 100644 --- a/.editorconfig +++ b/.editorconfig @@ -17,6 +17,7 @@ end_of_line = crlf charset = cp932 indent_style = space indent_size = 2 +trim_trailing_whitespace = true [*.md] end_of_line = crlf diff --git a/doc/en/html/about/history.html b/doc/en/html/about/history.html index 80cb16dd7..e95ed5dca 100644 --- a/doc/en/html/about/history.html +++ b/doc/en/html/about/history.html @@ -60,6 +60,12 @@
+ Settings related to the serial port. + +
+ When the serial port is connected, + displays the serial port to which it is connected. +
+
+ When the serial port is not connected,
+ Sets the parameters for connecting to the serial port.
+ Use New connection when connecting to a serial port.
+
+ When the serial port is connected, + Set parameters for the connected serial port. +
+ ++ Note: If Data is 7 bit, the XMODEM, ZMODEM, B PLUS and Quick-VAN + protocols are disabled. +
++ Note: If Flow control is Xon/Xoff, the XMODEM and Quick-VAN protocols are disabled. +
++ Note: The "hardware" prior to version 4.104 applies to RTS/CTS. +
+- The Speed can be specified with any number. Actually, the serial port driver may not reflect your speed. -
-
- Flow control can be configured in the following:
- Xon/Xoff ... Software flow
- RTS/CTS ... Hardware flow(RTS/CTS)
- DSR/DTR ... Hardware flow(DSR/DTR)
- none ... No flow control
-
- Note: If Data is 7 bit, the XMODEM, ZMODEM, B PLUS and Quick-VAN - protocols are disabled. If Flow control is Xon/Xoff, the XMODEM - and Quick-VAN protocols are disabled. -
-- Note: The "hardware" prior to version 4.104 applies to RTS/CTS. -
-+ Open Serial Port tab of Additional settings dialog. +