Develop and Download Open Source Software

Browse Subversion Repository

Log of /trunk/teraterm/teraterm/ttsetup.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 10129 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 9 01:08:26 2022 UTC (18 months, 4 weeks ago) by zmatsuo
File length: 2330 byte(s)
Diff to previous 9335
ttpset.dll を ttermpro.exe へマージした

- EXE(ttermpro.exe)とDLL(ttpset.dll)の各々にヒープが存在する
- モジュール(各ファイル)をまたいでお互いのヒープを操作すると問題が起きる
  - dll側で確保してexe側で開放するなどの操作
  - ヒープを操作するとアサートが出るなど問題
  - どんな問題が出るのかについてのドキュメントは見当たらない
  - _CrtIsValidHeapPointer()の説明のヒープ部分から…
    - Visual Studio 2010 以降のCRTはヒープは単一になっているのかもしれない
    - でも、DLLにstatic CRTがリンクされているときは、DLL個別のヒープが存在する
    - Tera Term は static CRT を使用している → DLLに個別のヒープが存在する
- Tera Term 5 では、iniファイルから読み込んだファイル,パス文字列をヒープに置くようにした
  - ttpset.dllがiniファイルの読み書きを担っていた
  - Unicode対応と合わせて、ファイル名長の上限を撤廃しようとしている
  - 従来の上限→MAX_PATH文字
  - パスの変更などでモジュールをまたいだヒープ操作が行われることになり、問題が起こる可能性がある
    - ログ保存先フォルダを変更するときなどに、malloc(),free()が行われる
- ttpset.dllをなくして、その機能をttermpro.exeに取り込むことでヒープに関する問題が出る可能性を減らす
- ttssh2-dev 409

ticket #45330

Revision 9335 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 1 05:36:09 2021 UTC (2 years, 7 months ago) by zmatsuo
File length: 3739 byte(s)
Diff to previous 9244
モジュールの読み込みをUnicode化

- LoadHomeDLL()

Revision 9244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 10 14:12:02 2021 UTC (2 years, 9 months ago) by zmatsuo
File length: 3738 byte(s)
Diff to previous 9048
キーボードに関連する部分を別ファイルに分離

- 次のファイルを追加
  - teratermttpset/ttset_keyboard.c
  - teraterm/common/tttypes_key.h

Revision 9048 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 16 12:24:13 2020 UTC (3 years, 2 months ago) by nmaya
File length: 3712 byte(s)
Diff to previous 6841
ソースファイルの著作権表記の "最後の発行の年" を削除

ticket #40996

Revision 6841 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 15:02:28 2017 UTC (6 years, 8 months ago) by doda
File length: 3716 byte(s)
Diff to previous 6806
TeraTerm Project としてのライセンス表記を追加

・Tera Term 本体分を横 80 桁に収まるように改行位置を調整
・ttssh 関連の分を追加

Revision 6806 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 15 00:37:01 2017 UTC (6 years, 8 months ago) by doda
File length: 3720 byte(s)
Diff to previous 6792
TeraTerm Project としてのライセンス表記を追加

とりあえず Tera Term 本体分。
TeraTerm Project としての copyright 表記の年部分はコミットログを確認して書いたつもりだけど、ミスってたらすみません。

TODO: 過去に取り込んだパッチに関する著作権表記の追加

Revision 6792 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 9 14:32:34 2017 UTC (6 years, 9 months ago) by doda
File length: 2254 byte(s)
Diff to previous 3227
Tera Term 本体関連 DLL をフルパスで LoadLibrary() するようにした。

Revision 3227 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 24 15:10:33 2009 UTC (14 years, 11 months ago) by maya
File length: 2229 byte(s)
Diff to previous 3221
CVS から SVN へ移行: 改行コードを LF から CR+LF へ変換

Revision 3221 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 24 09:37:20 2009 UTC (14 years, 11 months ago) by maya
File length: 2139 byte(s)
Diff to previous 2476
CVS から SVN へ移行: trunk に集約

Revision 2476 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Apr 14 17:35:50 2008 UTC (15 years, 10 months ago) by maya
Original Path: teraterm/trunk/teraterm/ttsetup.c
File length: 2139 byte(s)
ファイル移動に伴う修正


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26