Develop and Download Open Source Software

Browse Subversion Repository

Log of /trunk/teraterm/teraterm/filesys.cpp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 10614 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 1 14:18:19 2023 UTC (13 months, 1 week ago) by zmatsuo
File length: 11702 byte(s)
Diff to previous 10474 , to selected 3821
lngファイル名変数を ANSI版から Unicode 版へ切り替え

- tttset.UILanguageFile 参照部分を tttset.UILanguageFileW へ変更
- SetI18nMenuStrs() -> SetI18nMenuStrsW()
- GetI18nStrWA() -> GetI18nStrWW()
- MessageBox() -> MessageBoxW()
- GetCommonDialogFilterW() -> GetCommonDialogFilterWW()
  - GetCommonDialogFilterW() は ANSI版lngファイル名を参照
  - GetCommonDialogFilterW() 削除

Revision 10474 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 11 14:41:29 2023 UTC (14 months, 4 weeks ago) by zmatsuo
File length: 11700 byte(s)
Diff to previous 9324 , to selected 3821
TTGetLangStrW()のlngファイル引数をUnicodeへ変更

- TTGetLangStrW()
  - 引数iniファイル(UILanguageFile) を wchar_t * に変更
  - プロトタイプを ttlib.h から i18n.h へ移動
- TTMessageBoxA() を TTMessageBoxW() へ置き換え
  - すぐに直せるか所のみ

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

Revision 9310 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 18 16:05:01 2021 UTC (2 years, 9 months ago) by zmatsuo
File length: 11732 byte(s)
Diff to previous 9146 , to selected 3821
Textファイル送信時,ANSIでファイルを読み込み、Unicodeで送信

- テキストファイル読み込み
  - ANSI文字コードに決め打ちで読み込む
    - 日本語 Windows では Shift JIS (CP932)
  - Unicode に変換する
- 送信時に Unicode を出力文字コードに変換する
- ワークをできるだけ動的に確保するようにした

Revision 9146 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 6 05:44:30 2021 UTC (3 years, 2 months ago) by zmatsuo
File length: 10658 byte(s)
Diff to previous 9105 , to selected 3821
ファイル送信を整理

- ファイル送信のUIを Tera Term 4 と 5 で追加した方法の2つから選択できるよう修正
  - 変更前はコードを変更する必要があった
- filesys.cpp からファイル選択ダイアログに関するコードを削除
  - sendfiledlg にまとめた

Revision 9105 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:16:38 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 15083 byte(s)
Diff to previous 9104 , to selected 3821
filesys.cpp で定義しているグローバル変数 FSend をファイル内変数へ変更

- FileSnedIsSending() を追加
  - filesys_proto.cpp から利用

Revision 9104 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:16:27 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 14974 byte(s)
Diff to previous 9103 , to selected 3821
ttftypes.h への依存を減らした

- 不要な ttftypes.h の include を削除
- logダイアログのタイトルを filesys_log.cpp へ移動
  - FILEDLG_TRANS_TITLE_LOGのデフォルト値
- ファイル送信ダイアログのタイトルを sendfiledlg.cpp へ移動
  - FILEDLG_TRANS_TITLE_SENDFILEのデフォルト値

Revision 9103 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:16:14 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 14997 byte(s)
Diff to previous 9071 , to selected 3821
ProtoFlagを TComVar から filesys_proto.cpp へ移動

Revision 9071 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:10:05 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 14990 byte(s)
Diff to previous 9070 , to selected 3821
filesys.cpp ファイル名の扱いを Unicode化

- ファイル選択ダイアログを Unicode 版に入れ替え
- FileSendStart() の仕様を変更
  - FileSendStart() と FileSendStart2() を整理
- 未使用メンバ削除

Revision 9070 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:09:55 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 15162 byte(s)
Diff to previous 9069 , to selected 3821
ftdlg.cpp,h 無効部分削除、OpLog,OpSendFileを移動

Revision 9069 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:09:44 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 15145 byte(s)
Diff to previous 9068 , to selected 3821
ファイル送信ポーズフラグを filesys.cpp へ移動

- TComVar 構造体から FilePause を削除
- TFileVar#filesys.cpp へ FilePause を追加
- FileTransPause()#filesys.cpp -> FileSendPause()

Revision 9068 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:09:35 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 15100 byte(s)
Diff to previous 9067 , to selected 3821
filesys.cpp (ファイル送信)のダイアログ関連のコードを整理

Revision 9067 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:09:26 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 16016 byte(s)
Diff to previous 9065 , to selected 3821
filesys.cpp (ファイル送信)を整理

- TFileVar を filesys.cpp ファイルローカルな構造体とした
  - filesys_send.h から filesys.cpp へ移動
  - filesys_send.h 削除
  - 不要、使用されない構造体メンバ削除、整理
- 使用されないコードなど削除
  - 未使用定数 GTF_BP に関するコードを削除
- FileTransEnd() -> FileSendEnd()

Revision 9065 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:09:00 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 38622 byte(s)
Diff to previous 9057 , to selected 3821
ttftypes.h 内の定数を各ファイルに移動, 無効化部分を削除

- ttftypes.h を使用していないファイルでの include を削除

Revision 9057 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:07:15 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 38513 byte(s)
Diff to previous 9056 , to selected 3821
FileVar 構造体を ttftypes.h から移動

- teraterm/filesys_send.h を追加

Revision 9056 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:07:03 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 38479 byte(s)
Diff to previous 9055 , to selected 3821
ftdlg.cpp,h から FileVar 依存を削除

Revision 9055 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:06:51 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 37680 byte(s)
Diff to previous 9053 , to selected 3821
ttpfile.dll を使用しないようにした

- ttpfile.dll を参照するコードを無効化
- ttpfile.dll をビルド対象から外した
- インストーラーに ttpfile.dll を含まないようにした

Revision 9053 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:06:16 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 37605 byte(s)
Diff to previous 9052 , to selected 3821
ttpfile.dll のダイアログを使用しないようにした

- filesys.cpp, filesys_proto.cpp, vtwin.cpp へ移動
  - GetSetupFname()
  - GetTransFname()
  - GetMultiFname()
  - GetGetFname()
  - SetFileVar()
  - GetXFname()

Revision 9052 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:06:06 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 29448 byte(s)
Diff to previous 9051 , to selected 3821
filesys.cpp,h からプロトコル転送に関するソースを filesys_proto.cpp へ分離

Revision 9051 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 20 12:05:50 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 29417 byte(s)
Diff to previous 9048 , to selected 3821
Kermit 取得ダイアログをダイアログフォント変更に対応するよう修正

- GetGetFname()#ttfile.c

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

ticket #40996

Revision 8949 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 2 15:46:34 2020 UTC (3 years, 6 months ago) by zmatsuo
File length: 29416 byte(s)
Diff to previous 8948 , to selected 3821
ttdde.c 内で変数 FileVar の参照をなくした

- 各通信プロトコルの受信送信開始関数を追加

Revision 8948 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 2 15:46:23 2020 UTC (3 years, 6 months ago) by zmatsuo
File length: 24504 byte(s)
Diff to previous 8947 , to selected 3821
vtwin.cpp から SendVar, FileVar 参照を削除

- IsSendVarNULL(), IsFileVarNULL() を追加

Revision 8947 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 2 15:46:12 2020 UTC (3 years, 6 months ago) by zmatsuo
File length: 24390 byte(s)
Diff to previous 8900 , to selected 3821
protodlg で PFileVar, PTTSet に依存しないようにした

Revision 8900 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:29:32 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 24270 byte(s)
Diff to previous 8895 , to selected 3821
filesys_log.h を作成

- filesys.h から分離
- 使用していないので filesys_log から ttpfile.dll のロードを行わないようにした
- ログのポーズに cv.FilePause を使用しないようにした

Revision 8895 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:27:38 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 24267 byte(s)
Diff to previous 8894 , to selected 3821
ファイル転送ダイアログ(ftdlg)を汎用的に使用できるよう修正

- メンバ変数から PFileVar をなくした
  - TFile(PVarPFileVar), TTTSet, TComVar なしで使用可
- 従来と同等のAPIも残した

Revision 8894 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:27:29 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 24237 byte(s)
Diff to previous 8866 , to selected 3821
ログ出力部を分離した

- filesys.cpp から filesys_log.cpp を分離
- プロジェクトにファイル追加
  - VS2005, VS2019, cmake

Revision 8866 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 29 14:39:44 2020 UTC (3 years, 8 months ago) by zmatsuo
File length: 59442 byte(s)
Diff to previous 8863 , to selected 3821
Appendラジオボタンの動作を修正

- IDを誤っていた
- ファイル選択ダイアログ拡張用リソース IDD_FOPT を削除

Revision 8863 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 25 16:00:58 2020 UTC (3 years, 8 months ago) by zmatsuo
File length: 59349 byte(s)
Diff to previous 8860 , to selected 3821
logダイアログをUnicode対応、動作を調整

- ダイアログはUnicode化した
  - ログのファイル名はANSI
- BOM、コードが設定できるようになった
  - 起動直後の自動ログ UTF-8,BOM なし

Revision 8860 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 25 16:00:24 2020 UTC (3 years, 8 months ago) by zmatsuo
File length: 56848 byte(s)
Diff to previous 8858 , to selected 3821
マクロ(ttmacro)用送信バッファの分離

- 受信した文字をマクロで判定等を行うために、マクロ(ttmacro)へ受信データを送信する
- 従来は、1つのバッファをマクロとlogで共用していた
- 各々で異なる文字コードを扱えるよう分離した
- マクロ用は ttdde.c,h にまとめた

Revision 8858 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 25 16:00:00 2020 UTC (3 years, 8 months ago) by zmatsuo
File length: 57441 byte(s)
Diff to previous 8857 , to selected 3821
API名を修正

- Log.. -> FLog..
  - r8852で追加したAPI
- 引数なし関数には (void) を追加

Revision 8857 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 25 15:59:47 2020 UTC (3 years, 8 months ago) by zmatsuo
File length: 57348 byte(s)
Diff to previous 8852 , to selected 3821
ログ関連API追加,ftdlg修正

- FLogWindow() 追加
  - グローバル変数 HWND HWndLog 削除
- FLogPause() 追加
  - FLogChangeButton() を static関数に変更
- FLogShowDlg() 追加
  - ShowFTDlg() を static関数に変更
- FLogIsPause()追加
- ftdlg
  - cv->FilePauseを操作しないようにした
    - FileTransPause()#filesys を追加
  - WM_USER_FTCANCEL メッセージを削除
    - FileTransEnd() を直接コール

Revision 8852 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 13 15:31:46 2020 UTC (3 years, 8 months ago) by zmatsuo
File length: 56911 byte(s)
Diff to previous 8822 , to selected 3821
ログファイルダイアログを追加

- ログダイアログ(IDD_LOGDLG)を追加
  - ログファイルのダイアログ表示に共通関数を使用しないよう修正
    - GetTransFname()#ttpfile を使用しない
  - filesys_log.rc, filesys_log_res.h 追加
  - ログコメントダイアログ(IDD_COMMENT_DIALOG)を移動
  - VS2005,2019,cmake にファイルを追加
- LogVar#filesys.cpp をグローバル変数からファイル内変数に変更
  - APIを追加,Log...()#filesys.cpp

Revision 8822 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 2 15:41:37 2020 UTC (3 years, 9 months ago) by zmatsuo
File length: 45118 byte(s)
Diff to previous 8225 , to selected 3821
ログが取れなくなっていたので修正

- 文字コードは UTF-8 固定
- 改行コードは CR+LF 固定

Revision 8225 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 25 14:43:54 2019 UTC (4 years, 6 months ago) by zmatsuo
File length: 45308 byte(s)
Diff to previous 7951 , to selected 3821
コモンダイアログのヘルプボタンが機能するよう修正

- r8017 (4.104) でのエンバグ
- ttwinman.c のグローバル変数 HelpId を削除
  - vtwin.h, tekwin.h 内のプライベートなクラス変数にした

Revision 7951 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 13 15:29:48 2019 UTC (4 years, 7 months ago) by maya
File length: 45352 byte(s)
Diff to previous 7930 , to selected 3821
FileDir を使用するとき、環境変数を展開するようにした #39456

Revision 7930 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 9 13:36:46 2019 UTC (4 years, 8 months ago) by zmatsuo
File length: 44227 byte(s)
Diff to previous 7541 , to selected 3821
不要なHANDLEキャストを削除

- コンパイラの型チェックを積極的に利用するのが目的
- 出力されるコードは特に変化ない

Revision 7541 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 1 13:50:47 2019 UTC (5 years ago) by zmatsuo
File length: 44319 byte(s)
Diff to previous 7526 , to selected 3821
MinGW clangでビルドが通るようにした

Revision 7526 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 28 16:38:29 2019 UTC (5 years ago) by zmatsuo
File length: 44316 byte(s)
Diff to previous 7291 , to selected 3821
ファイル転送関連を高DPI化

Revision 7291 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 30 16:28:38 2018 UTC (5 years, 4 months ago) by zmatsuo
File length: 47008 byte(s)
Diff to previous 7290 , to selected 3821
extern "C" 削除

Revision 7290 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 30 16:28:25 2018 UTC (5 years, 4 months ago) by zmatsuo
File length: 47281 byte(s)
Diff to previous 7182 , to selected 3821
win16apiを使用しないようにした

Revision 7182 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 18 05:38:58 2018 UTC (5 years, 7 months ago) by maya
File length: 47214 byte(s)
Diff to previous 6947 , to selected 3821
ttpdlg.dll, ttpfile.dll の関数の呼び出し方を修正(GetProcAddress を使うように統一)

c.f. ttssh2-devel 3467

修正前の呼び出しをコミットした箇所:
https://ja.osdn.net/cvs/view/ttssh2/teraterm/source/ttdlg/ttdlg.c?hideattic=0&r1=1.62&r2=1.63
https://ja.osdn.net/cvs/view/ttssh2/teraterm/source/teraterm/ttdialog.c?hideattic=0&r1=1.2&r2=1.3
https://ja.osdn.net/cvs/view/ttssh2/teraterm/source/teraterm/ttdialog.h?hideattic=0&r1=1.3&r2=1.4
https://ja.osdn.net/cvs/view/ttssh2/teraterm/source/teraterm/filesys.cpp?hideattic=0&r1=1.23&r2=1.24
https://ja.osdn.net/cvs/view/ttssh2/teraterm/source/ttfile/ftlib.h?hideattic=0&r1=1.7&r2=1.8

Revision 6947 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 17 09:38:24 2017 UTC (6 years, 5 months ago) by doda
File length: 46502 byte(s)
Diff to previous 6946 , to selected 3821
ログのタイムスタンプの種別として Elapsed を追加 #37528

要望のあったログ開始からの Elapsed Time の他に、接続開始からの Elapsed
Time も追加した。ログ取得を一旦終了した後に再度追記でログ取得を開始した
時に基準時間が同じになるので便利かなと。

LogTimestampUTC も時刻形式の一種と考えて、設定を共通化した。
LotTimestampType が設定済みの場合は LogTimestampUTC の設定は無視される。

実装上の制限、検討事項等:
・Elapsed Time の計算には GetTickCount() を使っているので 49.7 日以上
  経ったら 0 に戻る。
・LogTimestampType は Local/UTC/LoggingElapsed/ConnectionElapsed の
  4 種類としているが、Elapsed Time 系がちょっと長い。別案募集中。
・ログダイアログで Timestamp Type の前にラベル等は入れてないけれど、
  アクセラレータキーの為に Type (種別) 等のラベルを置いた方がいい?
・Elapsed Time (Logging), Elapsed Time (Connection) の日本語訳は
  何がいい?

Revision 6946 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 17 09:38:20 2017 UTC (6 years, 5 months ago) by doda
File length: 44926 byte(s)
Diff to previous 6841 , to selected 3821
TFnHook へ渡すデータを WORD で分割せずに一つの long として扱うように変更。

Tera Term 2.3 の頃は Binary と Append の二つのフラグだけだったので
HIWORD / LOWORD で分けるのは簡略化の為有効だったが、現在は多数の
フラグが追加されてかえって分かりづらくなったので一つの値として
扱うようにした。

併せて、フラグのビット位置を変更しやすいようにマクロで隠すようにした。

Revision 6841 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 15:02:28 2017 UTC (6 years, 9 months ago) by doda
File length: 45361 byte(s)
Diff to previous 6806 , to selected 3821
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, 9 months ago) by doda
File length: 45365 byte(s)
Diff to previous 6792 , to selected 3821
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, 10 months ago) by doda
File length: 43899 byte(s)
Diff to previous 6770 , to selected 3821
Tera Term 本体関連 DLL をフルパスで LoadLibrary() するようにした。

Revision 6770 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 5 08:39:19 2017 UTC (6 years, 10 months ago) by maya
File length: 43899 byte(s)
Diff to previous 6769 , to selected 3821
#if 0 でのコメントアウトを削除

Revision 6769 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 5 08:37:56 2017 UTC (6 years, 10 months ago) by maya
File length: 44691 byte(s)
Diff to previous 6768 , to selected 3821
FileVarWin16 マクロを削除

Revision 6768 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 4 13:06:21 2017 UTC (6 years, 10 months ago) by maya
File length: 45649 byte(s)
Diff to previous 6767 , to selected 3821
ログのタイムスタンプにUTCを使用できるようにした

https://osdn.net/ticket/browse.php?group_id=1412&tid=36971

Revision 6767 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 4 12:54:47 2017 UTC (6 years, 10 months ago) by maya
File length: 45609 byte(s)
Diff to previous 6688 , to selected 3821
ログのタイムスタンプのフォーマットを指定できるようにした

https://osdn.net/ticket/browse.php?group_id=1412&tid=36971

Revision 6688 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 24 11:49:42 2017 UTC (6 years, 11 months ago) by doda
File length: 45567 byte(s)
Diff to previous 6590 , to selected 3821
typo fix.

Revision 6590 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 18 15:32:35 2017 UTC (7 years, 1 month ago) by maya
File length: 45567 byte(s)
Diff to previous 6493 , to selected 3821
ログファイル名に実行ユーザ名を展開できるようにした
  https://ja.osdn.net/ticket/browse.php?group_id=1412&tid=36749

Revision 6493 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 26 12:41:17 2016 UTC (7 years, 6 months ago) by yutakapon
File length: 45372 byte(s)
Diff to previous 6489 , to selected 3821
チケット #36655 ログファイルオープンエラー

LogRotate 処理へのイベントオブジェクト追加漏れを修正した。




Revision 6489 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 23 13:12:44 2016 UTC (7 years, 6 months ago) by yutakapon
File length: 44703 byte(s)
Diff to previous 6435 , to selected 3821
チケット #36655 ログファイルオープンエラー

DeferredLogWriteMode=on の場合において、ログファイルのオープン後、
すぐにクローズを行うと、まれに Tera Term がデッドロックしてストールするという
問題を修正した。


Revision 6435 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 11 08:53:02 2016 UTC (7 years, 9 months ago) by doda
File length: 43724 byte(s)
Diff to previous 6365 , to selected 3821
・行末の空白/タブを削除
・インデント調整

Revision 6365 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 9 14:21:57 2016 UTC (8 years ago) by yutakapon
File length: 43749 byte(s)
Diff to previous 6364 , to selected 3821
チケット #36236 ログローテートのサイズバグ

すでにあるログファイルに対して、ログローテートを有効にしてログ採取すると、
最初のファイルが指定したサイズでログが回転しない問題を修正した。


Revision 6364 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 6 12:59:47 2016 UTC (8 years ago) by doda
File length: 43445 byte(s)
Diff to previous 6363 , to selected 3821
ZRINIT で出た ZMODEM 送信ダイアログをキャンセルした場合、
ZMODEM Abort シーケンスを送るようにした。


Revision 6363 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 6 10:22:56 2016 UTC (8 years ago) by doda
File length: 43326 byte(s)
Diff to previous 6361 , to selected 3821
余計なコメントを削除


Revision 6361 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 5 13:02:51 2016 UTC (8 years ago) by doda
File length: 43353 byte(s)
Diff to previous 6330 , to selected 3821
ZmodemAuto 時、ZRINIT を受けたら ZMODEM 送信ダイアログを開くようにした。


Revision 6330 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 29 08:35:06 2016 UTC (8 years, 1 month ago) by doda
File length: 43330 byte(s)
Diff to previous 6328 , to selected 3821
r6328 で tttypes.h に移した時の消し忘れ


Revision 6328 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 29 04:30:12 2016 UTC (8 years, 1 month ago) by doda
File length: 43399 byte(s)
Diff to previous 6115 , to selected 3821
XMODEM Send ダイアログでのオプション選択と XMODEM Receive ダイアログでのオプション選択が干渉しないようにした。


Revision 6115 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 10 15:30:43 2015 UTC (8 years, 5 months ago) by maya
File length: 42679 byte(s)
Diff to previous 6110 , to selected 3821
r6079, r6083 の新規項目の名前を変更した

Revision 6110 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 10 14:38:07 2015 UTC (8 years, 5 months ago) by maya
File length: 42676 byte(s)
Diff to previous 6079 , to selected 3821
r6071 のファイル送信の高速化を修正
  シリアル接続でのみ機能する
  FileRetryEcho の条件を削除(ts.LocalEcho==1でないとtrueにならないため)

Revision 6079 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 5 12:31:08 2015 UTC (8 years, 5 months ago) by maya
File length: 42696 byte(s)
Diff to previous 6071 , to selected 3821
r6071 のファイル送信の高速化を使うか使わないか設定できるようにした

Revision 6071 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 4 15:36:50 2015 UTC (8 years, 5 months ago) by maya
File length: 42662 byte(s)
Diff to previous 5446 , to selected 3821
シリアル接続でボーレートが高速な場合にファイル送信を高速化するパッチを適用
  https://osdn.jp/ticket/browse.php?group_id=1412&tid=35554

Revision 5446 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 26 15:50:27 2013 UTC (10 years, 4 months ago) by maya
File length: 40498 byte(s)
Diff to previous 5395 , to selected 3821
コメント修正

Revision 5395 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 30 09:47:11 2013 UTC (10 years, 6 months ago) by yutakapon
File length: 40505 byte(s)
Diff to previous 5392 , to selected 3821
チケット #32144  ログ採取開始時の現在バッファをあらかじめ含める

コードのブラッシュアップ。

最初の書き出し先がネットワーク経由だと、書き出し処理で時間がかかってしまうことが
予想されるため、遅延書き込みのしくみを取り入れてみたが、むしろ余計にスローダウンと
なってしまった。

バッファの内容を cv.LogBuf に格納してから、LogToFile()を呼ぶことも考えたが、
サーバから受信していないも関わらず、受信バイト数がカウントアップするのがいまいちなのと、
cv.LogBufのサイズが 1KB しかないので、バッファが1KBを超えているときの処理が複雑に
なるため、とりあえず現状のままとする。



Revision 5392 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 29 15:30:39 2013 UTC (10 years, 6 months ago) by yutakapon
File length: 39934 byte(s)
Diff to previous 5383 , to selected 3821
チケット #32144
ログ採取開始時の現在バッファをあらかじめ含める

ログ採取オプションに"ALl Buff In First"を追加した。


Revision 5383 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 5 06:17:54 2013 UTC (10 years, 7 months ago) by doda
File length: 39171 byte(s)
Diff to previous 5312 , to selected 3821
ログダイアログの非表示化が出来なくなっていたのを修正。


Revision 5312 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 11 05:58:48 2013 UTC (10 years, 10 months ago) by doda
File length: 39137 byte(s)
Diff to previous 5281 , to selected 3821
ファイル転送(状況)ダイアログを隠せるようにした。
[ttssh2-devel 2332], http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=31547
ToDo: ファイル転送ダイアログで、Hide オプションの on/off を選べるようにする。


Revision 5281 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 24 14:55:44 2013 UTC (10 years, 10 months ago) by maya
File length: 39101 byte(s)
Diff to previous 5273 , to selected 3821
ファイル送信で送るファイルの扱いを 32bit API に変更

Revision 5273 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 21 03:15:39 2013 UTC (10 years, 10 months ago) by maya
File length: 38582 byte(s)
Diff to previous 5206 , to selected 3821
ログファイルの扱いを 32bit API に変更

Revision 5206 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 19 15:31:54 2013 UTC (10 years, 11 months ago) by yutakapon
File length: 37795 byte(s)
Diff to previous 5189 , to selected 3821
ログファイルの遅延書き込みをサポートした。
ネットワーク経由でのログ採取時、Tera Term自身がスローダウンする問題への改善。
チケット #25434


Revision 5189 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 4 04:01:46 2013 UTC (11 years ago) by maya
File length: 34885 byte(s)
Diff to previous 5178 , to selected 3821
LogLockExclusive=on のときの排他制御を FILE_SHARE_READ に変更
  http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=31051

Revision 5178 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 27 12:32:03 2013 UTC (11 years ago) by maya
File length: 34843 byte(s)
Diff to previous 5171 , to selected 3821
LogLockExclusive が正しく動作しない問題を修正
  http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=31051

Revision 5171 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 24 10:55:37 2013 UTC (11 years ago) by yutakapon
File length: 34783 byte(s)
Diff to previous 5165 , to selected 3821
ログ・ローテートの設定を Additional settings ダイアログから行えるようにした。


Revision 5165 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 23 10:39:50 2013 UTC (11 years ago) by yutakapon
File length: 34670 byte(s)
Diff to previous 5162 , to selected 3821
logrotate マクロコマンドに世代数を指定できるようにした。


Revision 5162 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 23 09:03:14 2013 UTC (11 years ago) by yutakapon
File length: 34067 byte(s)
Diff to previous 5141 , to selected 3821
logrotate マクロコマンドを追加した。

logrotate 'size' 2048
logrotate 'halt'


Revision 5141 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 9 15:07:56 2013 UTC (11 years, 1 month ago) by maya
File length: 32719 byte(s)
Diff to previous 5139 , to selected 3821
ログファイル名に使うIPv6 アドレスの : を削除するかわりに _ に置換

Revision 5139 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 9 14:53:41 2013 UTC (11 years, 1 month ago) by yutakapon
File length: 32713 byte(s)
Diff to previous 4786 , to selected 3821
チケット #30937
デフォルトログファイル名に&hを含めている時、接続先指定がIPv6 raw addressだとログファイルが作成できない。 
ファイル名には:が使えないので、他の文字に置き換える等の対処が必要。

不正な文字は削除するようにした。


Revision 4786 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 29 12:29:38 2011 UTC (12 years, 3 months ago) by maya
File length: 32342 byte(s)
Diff to previous 4551 , to selected 3821
LogStart でログファイルを開くときに排他ロックするかどうかのオプションを作成
  http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=27016
  http://logmett.com/forum/viewtopic.php?f=8&t=1829

Revision 4551 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 28 16:16:39 2011 UTC (12 years, 8 months ago) by maya
File length: 32162 byte(s)
Diff to previous 4461 , to selected 3821
ミリ秒を含む現在時刻を返す処理を関数化

Revision 4461 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 27 07:52:07 2011 UTC (12 years, 11 months ago) by doda
File length: 32829 byte(s)
Diff to previous 4454 , to selected 3821
ファイル転送ダイアログの経過時間の I18N 対応。


Revision 4454 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 19 13:23:37 2011 UTC (12 years, 11 months ago) by doda
File length: 32406 byte(s)
Diff to previous 4328 , to selected 3821
ファイル転送ダイアログ/ファイル送信ダイアログで、経過時間と転送速度を表示するようにした。


Revision 4328 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 20 05:38:34 2011 UTC (13 years, 1 month ago) by maya
File length: 32302 byte(s)
Diff to previous 3904 , to selected 3821
ログファイルを開いたとき、書き込み中の同名ファイルを開ける問題を修正
  http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=24365

ログファイルを開くのに _lopen と _lcreat を使っていたが、CreateFile を使い dwShareMode で共有モードを渡すようにした。
  書き込み用に開き、読み込みのみ許すようになる。
LogVar->FileHandle が int なのはおそらく Win16 関数を使っているためで、HANDLE にキャストして Win32 API を使っている箇所もある。
  _lopen, _lcreat, _lclose, _llseek, _lread, _lwrite などが使われているが、Win32 API に切り替えるのが望ましい。

Revision 3904 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 22 06:57:02 2010 UTC (13 years, 10 months ago) by doda
File length: 32110 byte(s)
Diff to previous 3887 , to selected 3821
ファイル送信も Bracketed Paste Mode の適用対象に。


Revision 3887 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 14 12:21:04 2010 UTC (13 years, 11 months ago) by doda
File length: 30934 byte(s)
Diff to previous 3861 , to selected 3821
"ファイル送信" と "ログ" の binary flag を分離。
http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=20881


Revision 3861 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 15 13:15:43 2010 UTC (13 years, 11 months ago) by doda
File length: 30930 byte(s)
Diff to previous 3821
外部からコールされなくなったので、コールされる為の設定を削除。


Revision 3821 - (view) (download) (as text) (annotate) - [selected]
Modified Thu Mar 25 10:02:44 2010 UTC (14 years ago) by yutakapon
File length: 31024 byte(s)
Diff to previous 3820
YMODEM プロトコル
 ・複数ファイル受信に対応した
 ・受信ファイルの末尾に、余分な EOF(0x1A) が付加されていた場合、除去するようにした。


Revision 3820 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 24 05:32:01 2010 UTC (14 years ago) by yutakapon
File length: 30997 byte(s)
Diff to previous 3819 , to selected 3821
YMODEM: ファイル受信処理のリファクタリング
*複数ファイルの受信は未サポート


Revision 3819 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 24 04:28:46 2010 UTC (14 years ago) by yutakapon
File length: 30920 byte(s)
Diff to previous 3709 , to selected 3821
YMODEM: 複数ファイルの送信をサポートした。


Revision 3709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 6 15:14:26 2009 UTC (14 years, 4 months ago) by maya
File length: 30793 byte(s)
Diff to previous 3602 , to selected 3821
[File]-[Show Log dialog] を、ダイアログ非表示でなくても押せるようにした。

Revision 3602 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 16 03:05:42 2009 UTC (14 years, 7 months ago) by maya
File length: 30695 byte(s)
Diff to previous 3473 , to selected 3821
ファイル転送ダイアログの Close に割り当てるメッセージを追加した。

Revision 3473 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 12 14:58:12 2009 UTC (14 years, 10 months ago) by maya
File length: 30686 byte(s)
Diff to previous 3418 , to selected 3821
ログファイル名の &p を TCP ポート番号に置換するようにした。
  http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=17273

Revision 3418 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 23 15:09:38 2009 UTC (14 years, 10 months ago) by maya
File length: 30402 byte(s)
Diff to previous 3227 , to selected 3821
ログにタイムスタンプを書き込むときにミリ秒も記録するようにした。

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

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

Revision 2653 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 7 02:51:12 2009 UTC (15 years, 2 months ago) by maya
Original Path: teraterm/trunk/teraterm/filesys.cpp
File length: 28290 byte(s)
Diff to previous 2635 , to selected 3821
ログ転送ダイアログの表示から SW_HIDE, SW_MINIMIZE の設定までを最短にした。
  http://sourceforge.jp/tracker/index.php?func=detail&aid=14960&group_id=1412&atid=5336


Revision 2635 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 21 04:12:28 2009 UTC (15 years, 2 months ago) by maya
Original Path: teraterm/trunk/teraterm/filesys.cpp
File length: 28383 byte(s)
Diff to previous 2602 , to selected 3821
LogStart 関数が、ログファイルを開けたかどうかを返すようにした。


Revision 2602 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 31 23:45:27 2008 UTC (15 years, 5 months ago) by maya
Original Path: teraterm/trunk/teraterm/filesys.cpp
File length: 28305 byte(s)
Diff to previous 2576 , to selected 3821
ログで Binary が有効なときは Plain text と Timestamp を無効にするようにした。


Revision 2576 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 8 01:28:34 2008 UTC (15 years, 8 months ago) by doda
Original Path: teraterm/trunk/teraterm/filesys.cpp
File length: 28180 byte(s)
Diff to previous 2557 , to selected 3821
ファイル送信時のダイアログボックスにプログレスバーを表示するようにした。


Revision 2557 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 8 16:43:56 2008 UTC (15 years, 9 months ago) by yutakapon
Original Path: teraterm/trunk/teraterm/filesys.cpp
File length: 27982 byte(s)
Diff to previous 2512 , to selected 3821
ログファイルがオープンできない場合に、エラーメッセージ表示するようにした。ただし、マクロからlogopenした場合は
何も表示しない。


Revision 2512 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 15 13:52:39 2008 UTC (15 years, 11 months ago) by yutakapon
Original Path: teraterm/trunk/teraterm/filesys.cpp
File length: 27659 byte(s)
Diff to previous 2511 , to selected 3821
YMODEM関連の定義を追加した。


Revision 2511 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 14 16:33:09 2008 UTC (15 years, 11 months ago) by yutakapon
Original Path: teraterm/trunk/teraterm/filesys.cpp
File length: 28048 byte(s)
Diff to previous 2476 , to selected 3821
YMODEMメニュー呼び出しの追加。まだ動かないので、子メニューは隠蔽してあります。


Revision 2476 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Apr 14 17:35:50 2008 UTC (16 years ago) by maya
Original Path: teraterm/trunk/teraterm/filesys.cpp
File length: 26854 byte(s)
Diff to selected 3821
ファイル移動に伴う修正


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