Develop and Download Open Source Software

Browse Subversion Repository

Log of /trunk/teraterm/teraterm/ttplug.c

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 10658 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 2 16:08:12 2023 UTC (11 months ago) by zmatsuo
File length: 10154 byte(s)
Diff to previous 9501
プラグイン読み込み時必要なDLLが存在しない場合メッセージを追加

- ttxssh.dll 読み込み時に bcrypt.dll が存在しない場合など

Revision 9501 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 27 12:48:49 2021 UTC (2 years, 4 months ago) by zmatsuo
File length: 10094 byte(s)
Diff to previous 9487
設定ファイルを置くフォルダを変更

- フォルダ
  - %APPDATA%\teraterm5 (%USERPROFILE%\AppData\Roaming\teraterm5)
- ファイル
  - TERATERM.INI
  - KEYBOARD.CFG
  - broadcast.log
- 使用していない GetDefaultFName() を削除
  - GetDefaultFNameW() に置き換えた
- フォルダに関する関数を整理
  - GetHomeDirW() を修正
    - 設定ファイルを置くフォルダを返す
    - ttypes.HomeDirW と同一
	- 従来は ttermpro.exe などが置いてあるフォルダを返していた
  - GetLogDirW() を追加
    - ログなどを置くフォルダを返す
    - ttypes.LogDirW と同一
  - GetExeDirW() を追加
    - ttermpro.exe などが存在するフォルダを返す
    - ttypes.LogDirW と同一

Revision 9487 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 22 16:09:36 2021 UTC (2 years, 4 months ago) by zmatsuo
File length: 10098 byte(s)
Diff to previous 9387
TTXSetCommandLine() 引数を wchar_t * に変更

- コマンドラインの作成文字列を Unicode に変更

Revision 9387 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 28 15:33:37 2021 UTC (2 years, 6 months ago) by zmatsuo
File length: 10104 byte(s)
Diff to previous 9356
lngファイルをUnicode版に切り替え

- グローバル変数 ts を参照しないようにした

Revision 9356 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 14 03:25:51 2021 UTC (2 years, 6 months ago) by zmatsuo
File length: 10079 byte(s)
Diff to previous 9342
ロードとアンロードを別関数に分離

Revision 9342 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 1 15:32:15 2021 UTC (2 years, 7 months ago) by zmatsuo
File length: 9901 byte(s)
Diff to previous 9336
TTMessageBoxW() を TTMessageBoxA() へ改名

- 引数 uType を TTMessageBoxInfoW へ移動
- 未使用マクロ get_lang_msgT() を削除

Revision 9336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 1 05:36:18 2021 UTC (2 years, 7 months ago) by zmatsuo
File length: 9884 byte(s)
Diff to previous 9324
プラグインの読み込みをUnicode化

Revision 9324 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 29 15:20:20 2021 UTC (2 years, 8 months ago) by zmatsuo
File length: 9911 byte(s)
Diff to previous 9309
layer for unicode 向けのコードを削除

Revision 9309 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 12 15:29:57 2021 UTC (2 years, 8 months ago) by zmatsuo
File length: 9946 byte(s)
Diff to previous 9230
layer_for_unicodeを使用するよう修正

Revision 9230 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 3 15:04:42 2021 UTC (2 years, 10 months ago) by zmatsuo
File length: 9911 byte(s)
Diff to previous 9227
_WIN32_WINNTをコンパイルオプションで指定

- Tera Term は _WIN32_WINNT >= 0x0501 でビルドすることが前提となっている
  - 0x0501=_WIN32_WINNT_WINXP
    - Windows XP
    - Windows Server 2003
  - Visual Studio 2005 のプロジェクトファイルに /D_WIN32_WINNT=0x0501 追加済み(r9191)
- teraterm_conf.h を削除
  - WIN32_WINNT をコンパイルオプションで指定するため r7554 で追加した
  - コマンドラインで明示的に指定するようになったた不要となった
    - SDK 7.0 では _WIN32_WINNT が自動で設定されない
    - SDK 7.0 より新しいSDKでは、特に指定されていない場合、自動で設定される
      - SDKのバージョンによって自動で設定される_WIN32_WINNT の値は異なっている
      - SDK 7.1 の場合 0x0601
      - SDK 10.0.18362.0 の場合 0x0A00
      - sdkddkver.h 内で設定される
        - MinGWの場合は _mingw.h
- Visual Studio 2005 では次のSDKでビルドできることを確認済み
  - SDK 7.0
  - SDK 7.1
- Tera Term は Visual Studio 2005 以上をサポート
  - MSC_VER >= 1400

Revision 9227 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 27 16:10:55 2021 UTC (2 years, 10 months ago) by zmatsuo
File length: 9911 byte(s)
Diff to previous 9226
gcc で警告が出ないよう修正

- GetProcAddress() から変数の代入時
  - warning: cast between incompatible function types from 'FARPROC' {aka 'long long int (*)()'} to 'BOOL (*)(WORD,  TTXExports *)' {aka 'int (*)(short unsigned int,  TTXExports *)'}
- winsock2.h を最初にinclude
  - warning: #warning Please include winsock2.h before windows.h [-Wcpp]

Revision 9226 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 27 16:10:42 2021 UTC (2 years, 10 months ago) by zmatsuo
File length: 9883 byte(s)
Diff to previous 9225
ロードできるプラグイン数の制限をなくした

- 従来は32までだった
- 不要な do { } while(0) を削除

Revision 9225 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 27 16:10:27 2021 UTC (2 years, 10 months ago) by zmatsuo
File length: 10179 byte(s)
Diff to previous 9224
プラグインの検索をUnicode化

- TTXInit()
- _findfirst() から FindFirstFileW() に変更
- ファイル名長の上限をなくした

Revision 9224 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 27 16:10:14 2021 UTC (2 years, 10 months ago) by zmatsuo
File length: 10448 byte(s)
Diff to previous 9223
プラグインのロードに渡すファイル名をUnicode化

- loadExtension()
- ファイル検索はANSIのまま
  - この修正はロードのみをUnicode化
- プラグインロード失敗時、エラーコードの説明を追加
- TTXInit() の引数名をグローバル変数とかぶらないよう修正
- crtdbg.h を include

Revision 9223 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 27 16:09:59 2021 UTC (2 years, 10 months ago) by zmatsuo
File length: 10397 byte(s)
Diff to previous 9129
ttplugin.h のマクロ展開を関数呼び出しに変更

- マクロと同等の関数を ttplug.c に追加

Revision 9129 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 16 05:21:37 2021 UTC (3 years, 1 month ago) by zmatsuo
File length: 8672 byte(s)
Diff to previous 9048
VS2005 による Windows 95 のサポート方法を変更

- 各々のソースファイル内の Windows 95 サポート用コードを不要にする
  - ファイルのinclude + 関数呼出をやめる
    - #include "compat_w95.h" を削除
    - DoCover_IsDebuggerPresent() 呼び出しを削除
  - 代わりにファイル(common/compat_w95_vs2005.c)をリンク
- VSプロジェクトファイル
  - プロジェクトから compat_w95.h を削除
  - VS2005プロジェクトに compat_w95_vs2005.c を追加
    - VS2005以外では Windows 95 で動作するバイナリが生成できないので追加は不要
- cmake
  - SUPPORT_OLD_WINDOWS=ON 時、compat_w95_vs2005.c をリンクするよう修正
  - なるべく target_* を使用するよう修正

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: 8362 byte(s)
Diff to previous 7896
ソースファイルの著作権表記の "最後の発行の年" を削除

ticket #40996

Revision 7896 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 29 15:04:08 2019 UTC (4 years, 7 months ago) by zmatsuo
File length: 8366 byte(s)
Diff to previous 7536
Merge branch 'x64' into trunk

Revision 7536 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 1 12:45:02 2019 UTC (4 years, 11 months ago) by zmatsuo
File length: 8365 byte(s)
Diff to previous 6841
MinGWでビルドできるよう調整

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: 8251 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: 8255 byte(s)
Diff to previous 6801
TeraTerm Project としてのライセンス表記を追加

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

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

Revision 6801 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 13 10:30:12 2017 UTC (6 years, 8 months ago) by doda
File length: 6685 byte(s)
Diff to previous 6791
eliminate FAR keyword.

Revision 6791 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 9 14:32:31 2017 UTC (6 years, 9 months ago) by doda
File length: 6765 byte(s)
Diff to previous 6787
TTX をフルパスで LoadLibrary() するようにした。

Revision 6787 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 9 10:04:39 2017 UTC (6 years, 9 months ago) by doda
File length: 6995 byte(s)
Diff to previous 4087
意図していない動作であるため、コメントを追加

メッセージの国際化には設定を読み込む必要があるが、TTX で設定の読み込みを
フックする為にそれより前に LoadLibrary() する必要があるという矛盾した状態。
UILanguageFile だけ先に読んでおく?

Revision 4087 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 6 07:34:59 2010 UTC (13 years, 6 months ago) by doda
File length: 6847 byte(s)
Diff to previous 3623
TTX の数の上限を増やした。


Revision 3623 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 20 13:37:45 2009 UTC (14 years, 5 months ago) by maya
File length: 6847 byte(s)
Diff to previous 3227
GetModuleFileName の返り値をチェックするようにした。
  http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=18740

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: 6814 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: 6552 byte(s)
Diff to previous 2577
CVS から SVN へ移行: trunk に集約

Revision 2577 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 15 14:35:43 2008 UTC (15 years, 6 months ago) by doda
Original Path: teraterm/trunk/teraterm/ttplug.c
File length: 6552 byte(s)
Diff to previous 2476
シリアル接続/ログ再生時の入出力をフックするためのTTXインタフェースを追加。


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/ttplug.c
File length: 6077 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