Develop and Download Open Source Software

Browse Subversion Repository

/[ttssh2]/trunk/teraterm/teraterm/filesys_log.cpp

Log of /trunk/teraterm/teraterm/filesys_log.cpp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 10958 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 7 17:40:16 2023 UTC (6 months ago) by zmatsuo
File length: 27979 byte(s)
Diff to previous 10804 , to selected 10464
文字列を返す関数の文字領域を動的確保するよう変更

- 複数スレッドを使用している箇所でログが壊れたり不正な処理で終了することがあった
- ログ出力時に使用していた関数が文字領域を静的に持っていた
- マルチスレッドで使用していると文字領域を破壊することがある
- 返す文字領域を動的にして不要になったらfree()するよう仕様を変更

Revision 10804 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 23 07:07:16 2023 UTC (8 months, 2 weeks ago) by zmatsuo
File length: 27962 byte(s)
Diff to previous 10799 , to selected 10464
ログダイアログを logdlg.cpp,h に分離した

- teraterm/teraterm/logdlg.cpp,h 追加

Revision 10799 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 6 14:45:17 2023 UTC (9 months ago) by zmatsuo
File length: 41651 byte(s)
Diff to previous 10798 , to selected 10464
ログダイアログでファイル名を定期的に更新するようにした

- 次の動作を行うと更新は停止する
  - ファイル名エディットボックスからフォーカスが移動
  - ファイル名エディットボックスをクリック
  - ファイル名エディットボックスでキー押下
- %H%M%S.log など時刻を含んでいると更新される

ticket #46392

Revision 10798 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 5 14:43:20 2023 UTC (9 months ago) by zmatsuo
File length: 40425 byte(s)
Diff to previous 10614 , to selected 10464
ログダイアログでファイル名長の上限をなくした

- ログファイル名選択時のMAX_PATHをなくした
  - GetSaveFileNameW() を TTGetSaveFileNameW() へ置き換え

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: 40687 byte(s)
Diff to previous 10606 , to selected 10464
lngファイル名変数を ANSI版から Unicode 版へ切り替え

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

Revision 10606 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 21 15:12:57 2023 UTC (13 months, 2 weeks ago) by zmatsuo
File length: 40683 byte(s)
Diff to previous 10468 , to selected 10464
ログファイル名生成時にメモリーリークしていたので修正

Revision 10468 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 10 13:17:53 2023 UTC (14 months, 4 weeks ago) by zmatsuo
File length: 40665 byte(s)
Diff to previous 10464
コンパイラ警告対応

- 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup.
- 'wcsdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _wcsdup.

Revision 10464 - (view) (download) (as text) (annotate) - [selected]
Modified Sat Jan 7 15:12:14 2023 UTC (15 months ago) by zmatsuo
File length: 40656 byte(s)
Diff to previous 10445
標準ログファイル名の文字長の制限をなくした

- ドロップダウンのエディットボックス部分は表示幅が文字長上限となるようだ
- CBS_AUTOHSCROLLを付ければ制限なく入力できるようになる
- wcsftime()でフォーマットする時文字長を自動拡張するようにした
  - 修正前(r10444)は最大128文字固定だった

ticket #46481

Revision 10445 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 31 15:31:34 2022 UTC (15 months, 1 week ago) by zmatsuo
File length: 40243 byte(s)
Diff to previous 10444 , to selected 10464
デフォルトログファイル名をUnicode化した

Revision 10444 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 30 15:46:12 2022 UTC (15 months, 1 week ago) by zmatsuo
File length: 40285 byte(s)
Diff to previous 10443 , to selected 10464
ログファイル名プレビュの表示内容を詳しくした

- 無効な文字を含んだ時のファイル名も表示するようにした
- プレビュ不要時は表示しないようにした
- filesys_log.cpp 内でのログファイル名の処理を Unicode化
  - 他で使用していないと思われる ConvFName() を無効化した
- TODO
  - tttset.LogDefaultName の Unicode版追加
- ホイールスクロール行数取得に GetDlgItemInt() を使用するようにした
  - GetDlgItemText() + atoi() だった

ticket #45553

Revision 10443 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 29 16:43:20 2022 UTC (15 months, 1 week ago) by zmatsuo
File length: 39240 byte(s)
Diff to previous 10170 , to selected 10464
ログタブの標準ファイル名に設定できない文字があったので修正

- 修正前の動作
  - strftime() で %c %x %X %Z などにファイル名に使えない文字が含まれる時、
  - ダイアログで設定できない
    - OKボタンを押した後エラーが出て設定されない
    - 時間や日付の区切りに':','/'が使われるため(ロケール=日本)
  - 設定ファイル(TERATERM.INI)に直接設定すると使用できる
- ダイアログでのファイル名の判定方法を変更
  - strftime()でフォーマット後に使用できない文字を置換するようにした
  - 日本以外のロケールでも使用できる
- フォーマット後のプレビューを出すようにした
- ダイアログでのファイル名の扱いUnicode化した
- ログファイル名でよく使うと思われるパターンをドロップダウンで選択できるようにした

ticket #45553

Revision 10170 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 17 15:10:55 2022 UTC (19 months, 3 weeks ago) by zmatsuo
File length: 38792 byte(s)
Diff to previous 10153 , to selected 10464
ログダイアログのコントロールとlngファイルとの対応を修正

Revision 10153 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 14 03:09:38 2022 UTC (19 months, 3 weeks ago) by nmaya
File length: 38814 byte(s)
Diff to previous 10145 , to selected 10464
ログダイアログの動作の意図(私が設計したわけではないので推測)をコメントに追記

Revision 10145 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 13 11:42:52 2022 UTC (19 months, 4 weeks ago) by nmaya
File length: 38618 byte(s)
Diff to previous 10144 , to selected 10464
ログダイアログのラジオボタンを「Write mode」「Text or Binary mode」にグループ化した

ticket: #44625

Revision 10144 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 13 11:35:14 2022 UTC (19 months, 4 weeks ago) by nmaya
File length: 38496 byte(s)
Diff to previous 10009 , to selected 10464
ログダイアログを修正

- ファイル名が変更されて New/Overwrite になった場合、エンコーディングが有効にならない問題を修正
- ArrangeControls() で参照する Append が、現在編集中のダイアログの値ではないのを修正

Revision 10009 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 23 23:59:07 2022 UTC (21 months, 2 weeks ago) by nmaya
File length: 38760 byte(s)
Diff to previous 9885 , to selected 10464
アイコンまわりを整理した

ディスプレイ拡大率にあったサイズのアイコンが使われるようにした
  各ウィンドウに動的にセットされるアイコン(タイトルバー・タスクバーなどで表示される)
  通知アイコン
通知アイコンにフルカラーのアイコンが使われるようにした
TTSSH から通知があったときには TTSSH のアイコンが使われるようにした
カスタム通知アイコンをセットする API を変更した

merge from branches/adjust_icon
ticket #43907, #44517

Revision 9885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 23 16:12:37 2022 UTC (23 months, 2 weeks ago) by zmatsuo
File length: 38739 byte(s)
Diff to previous 9873 , to selected 10464
ログファイルダイアログのテキスト,コントロールを調整

- コントロールの属性を調整
  - アクセラレーターを設定
  - タブオーダー、グループを調整
- lngファイルからテキストを設定できるようにした
  - DLG_FOPT_FILENAME_TITLE
  - DLG_FOPT_NEW_OVERWRITE
  - DLG_FOPT_TEXT
  - DLG_FOPT_BOM
- 使用していないテキストをlngファイルから削除
  - DLG_FOPT

ticket #44317

Revision 9873 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 21 13:36:16 2022 UTC (23 months, 2 weeks ago) by zmatsuo
File length: 38554 byte(s)
Diff to previous 9872 , to selected 10464
ファイル内グローバル変数の使用を減らした

Revision 9872 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 21 13:36:07 2022 UTC (23 months, 2 weeks ago) by zmatsuo
File length: 38724 byte(s)
Diff to previous 9871 , to selected 10464
ファイル内グローバル変数を構造体へ移動した

- FileLog
- BinLog

Revision 9871 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 20 13:02:00 2022 UTC (23 months, 3 weeks ago) by zmatsuo
File length: 38454 byte(s)
Diff to previous 9870 , to selected 10464
ファイル内グローバル変数の使用を減らした

Revision 9870 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 20 13:01:51 2022 UTC (23 months, 3 weeks ago) by zmatsuo
File length: 38530 byte(s)
Diff to previous 9869 , to selected 10464
ログ開始ダイアログで無効状態にならないコントロールがあった

- バイナリログ保存状態で
    - teraterm.ini Tera Term セクション LogBinary=on 時
- ログ開始ダイアログが開いたとき
- 次のコントロールが操作できてしまう
    - テキストログの文字コード
    - テキストログのbomチェックボックス

Revision 9869 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 20 13:01:42 2022 UTC (23 months, 3 weeks ago) by zmatsuo
File length: 38406 byte(s)
Diff to previous 9858 , to selected 10464
バイナリログに BOM が出力されないよう修正

ticket #44423

Revision 9858 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 12 13:21:35 2022 UTC (23 months, 4 weeks ago) by zmatsuo
File length: 38353 byte(s)
Diff to previous 9857 , to selected 10464
ログフォルダをUnicode化

- 端末に流れる文字のログのフォルダ
  - 動作ログではない
  - [file]/[log]メニューのログ
- 修正前は ANSI文字列で、MAX_PATH長だった
- 設定ダイアログ、iniファイルの読み書きも修正

Revision 9857 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 12 13:21:21 2022 UTC (23 months, 4 weeks ago) by zmatsuo
File length: 38488 byte(s)
Diff to previous 9856 , to selected 10464
ファイル名長制限を減らした

- MAX_PATH 使用部分を減らした

Revision 9856 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 12 13:21:09 2022 UTC (23 months, 4 weeks ago) by zmatsuo
File length: 38513 byte(s)
Diff to previous 9854 , to selected 10464
ファイル選択時にデフォルトのログフォルダを開くようにした

- フィルタに txt, log を追加
- GetCommonDialogFilterWW() のプロトタイプが誤っていたので修正

ticket #44319

Revision 9854 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 12 13:20:46 2022 UTC (23 months, 4 weeks ago) by zmatsuo
File length: 38398 byte(s)
Diff to previous 9853 , to selected 10464
コンパイラ警告をなくす

- filesys_log.cpp(679,34): warning C4100: 'fv': 引数は関数の本体部で 1 度も参照されません。
- filesys_log.cpp(1159,84): warning C4100: 'lp': 引数は関数の本体部で 1 度も参照されません。
- filesys_log.cpp(1204,46): warning C4100: 'hWnd': 引数は関数の本体部で 1 度も参照されません。
- filesys_log.cpp(1530,11): warning C4456: 'i' を宣言すると、以前のローカル宣言が隠蔽されます

Revision 9853 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 12 13:19:41 2022 UTC (23 months, 4 weeks ago) by zmatsuo
File length: 38419 byte(s)
Diff to previous 9789 , to selected 10464
ログ開始ダイアログ開いたときの書き込みモードが適切ではない

- デフォルトログファイルが
  - 存在しないなら
    - New/Overwriteモード
  - 存在していたら
    - 追記モード
    - BOMチェックボックスは操作できない

ticket #44318

Revision 9789 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 8 14:36:45 2022 UTC (2 years, 1 month ago) by zmatsuo
File length: 38364 byte(s)
Diff to previous 9714 , to selected 10464
コンパイラ警告、ビルドに失敗する場合があったので修正

- filesys_log.cpp
  - strdup() -> _strdup()
- ttknownfolders.c
  - 定数 FOLDERID_* を常に obj 内に生成するようにした
- compat_win.cpp
  - Unicodeビルドの時でも正しくコンパイルできるように修正
- ttset.c
  - CLEARTYPE_QUALITY の define を削除

Revision 9714 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 1 12:30:09 2022 UTC (2 years, 2 months ago) by nmaya
File length: 38363 byte(s)
Diff to previous 9709 , to selected 10464
メモリ解放漏れを修正

Revision 9709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 30 14:06:34 2022 UTC (2 years, 2 months ago) by nmaya
File length: 38345 byte(s)
Diff to previous 9359 , to selected 10464
ログファイル名の処理を変更

#43507

- コマンドラインでフルパスでないログファイル名を指定した場合
フルパス化せず実行ファイルのあるディレクトリが基準になっていたのを、
LogDefaultPath, LogDir の順でフルパス化して開くようにした。

- LogAutoStart が on の場合
LogDefaultPath, FileDir, LogDir の順でフルパス化していたのを、
LogDefaultPath, LogDir の順でフルパス化して開くようにした。

- コマンドラインでログファイル名を指定した場合
デフォルトファイル名を使う場合と同様、ファイル名に Tera Term の置換・strftime の変換をかけるようにした。
https://ttssh2.osdn.jp/manual/4/ja/menu/setup-additional.html#LogDefaultName

Revision 9359 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 14 03:26:30 2021 UTC (2 years, 7 months ago) by zmatsuo
File length: 38535 byte(s)
Diff to previous 9350 , to selected 10464
UILanguageFile を unicode版(UILanguageFileW)へ切り替え

- SetDlgTexts() -> SetDlgTextsW()
- get_lang_msgW() ->GetI18nStrWW()
- SetI18nList() -> SetI18nListW()

Revision 9350 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 10 14:42:28 2021 UTC (2 years, 8 months ago) by zmatsuo
File length: 38573 byte(s)
Diff to previous 9324 , to selected 10464
UILanguageFile を unicode版(UILanguageFileW)へ切り替え

- SetI18nDlgStrs() -> SetI18nDlgStrsW()
- SetDlgTexts() -> SetDlgTextsW()
- SetDlgMenuTexts() -> SetDlgMenuTextsW()

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: 38571 byte(s)
Diff to previous 9134 , to selected 10464
layer for unicode 向けのコードを削除

Revision 9134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 22 15:00:52 2021 UTC (3 years, 2 months ago) by nmaya
File length: 38655 byte(s)
Diff to previous 9104 , to selected 10464
CreateFile の共有モードを修正

- GENERIC_WRITE で開くときに FILE_SHARE_WRITE で共有している箇所を 0 (共有しない)に修正
- Win16 API の _lcreat, _lopen はロックしないので、互換性のため FILE_SHARE_READ | FILE_SHARE_WRITE に変更
- TTL の filecreate, fileopen のファイルハンドルは filelock でロックするので、 FILE_SHARE_READ | FILE_SHARE_WRITE に変更

dwShareMode で指定する共有モードは、後続の"ファイルを開く"操作に対して「有効にする」アクセスを指定する
> https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea
> Enables subsequent open operations on a file or device to request xxx access.

#41305 の修正を含む

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: 38538 byte(s)
Diff to previous 9103 , to selected 10464
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: 38591 byte(s)
Diff to previous 9070 , to selected 10464
ProtoFlagを TComVar から filesys_proto.cpp へ移動

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: 38522 byte(s)
Diff to previous 9048 , to selected 10464
ftdlg.cpp,h 無効部分削除、OpLog,OpSendFileを移動

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

ticket #40996

Revision 8964 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 31 17:21:29 2020 UTC (3 years, 5 months ago) by zmatsuo
File length: 38504 byte(s)
Diff to previous 8943 , to selected 10464
GetSaveFileNameW() を _GetSaveFileNameW() に変更

Revision 8943 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 2 15:45:27 2020 UTC (3 years, 6 months ago) by zmatsuo
File length: 38503 byte(s)
Diff to previous 8916 , to selected 10464
ファイルを開くダイアログ用のファイル名フィルタ作成を共通関数に置き換え

- GetOpenFileName(), GetSaveFileName() 用
- GetCommonDialogFilterW()
  - sendfiledlg.cpp から dglib_cpp.cpp へ移動
- ANSI版 GetCommonDialogFilterA() 追加
- ttfile.c optw = 0 を追加
  - Run-Time Check Failure #3 - The variable 'optw' is being used without being initialized.

Revision 8916 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 21 15:23:52 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 38552 byte(s)
Diff to previous 8912 , to selected 10464
ログのメモリリークを修正

Revision 8912 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:32:23 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 38472 byte(s)
Diff to previous 8911 , to selected 10464
ログローテート時、新しいファイルにBOMが出力されるよう修正

Revision 8911 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:32:15 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 38196 byte(s)
Diff to previous 8910 , to selected 10464
未使用定数、不要メンバ削除

Revision 8910 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:32:07 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 38243 byte(s)
Diff to previous 8909 , to selected 10464
タイムスタンプがうまく出なかったので修正

Revision 8909 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:31:59 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 38595 byte(s)
Diff to previous 8908 , to selected 10464
ログバッファからファイルへの書き込み(LogToFile())を修正

- スレッドと直接書き込みの2つに別れていたところを1つにまとめた
- タイムスタンプ文字列生成を別関数に分離した TimeStampStr()

Revision 8908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:31:51 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 39623 byte(s)
Diff to previous 8907 , to selected 10464
現在バッファをすべてログへ書き出しを Unicode化した

- 別関数に分離, FLogOutputAllBuffer()

Revision 8907 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:31:42 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 40155 byte(s)
Diff to previous 8906 , to selected 10464
FLogWriteStr() 文字コード変換してログへ出力するよう修正

Revision 8906 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:31:34 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 39765 byte(s)
Diff to previous 8905 , to selected 10464
ログに関する変数を移動、バッファをヒープから取るよう修正

- ログに関する変数を filesys_log.cpp に移動した
- バッファをヒープから取るようにした
  - GlobalAlloc() で取得するのをやめた
  - GlobalLock(), GlobalUnlock() を行う必要がなくなった

Revision 8905 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:31:25 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 39997 byte(s)
Diff to previous 8904 , to selected 10464
コメントの書き込みを Unicode 化した

- FLogWriteStr()

Revision 8904 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:31:14 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 40492 byte(s)
Diff to previous 8902 , to selected 10464
ログファイルへの文字コードの変換を filesys_log で行うようにした

- filesys_log へ追加 (vtterm.c から移動)
  - FLogPutUTF32()
  - FLogSetCode()
  - FLogOutputBOM()

Revision 8902 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:30:18 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 38822 byte(s)
Diff to previous 8901 , to selected 10464
ftdlgのファイル名表示が誤っていたので修正

- フルパスからファイル名を抽出するコードを ftdlg.cpp に移動した

Revision 8901 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:29:44 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 39016 byte(s)
Diff to previous 8900 , to selected 10464
不要変数削除、同一処理を関数化

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: 40362 byte(s)
Diff to previous 8899 , to selected 10464
filesys_log.h を作成

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

Revision 8899 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:29:19 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 40368 byte(s)
Diff to previous 8897 , to selected 10464
ログに関するAPIをUnicode化した

- FLogOpen(), FLogGetFilename(), FLogGetLogFilename()
  - FLogGetLogFilename() の内部は ANSI のまま
  - ファイル名に Unicode が使用できるようになった
- ログファイルが作成できなかった時の MessageBox を vtwin.cpp に移動
- ftdlg.cpp のファイル名表示を Unicode 化

Revision 8897 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:27:54 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 40977 byte(s)
Diff to previous 8896 , to selected 10464
ログに関するコードを filesys_log.c に移動した

- ログ用構造体(TFileVar_#filesys_log.c)から不要メンバ削除
- OnCommOpen()#vtwin.cpp で log,dde(macro)用バッファを作成していたが、作成済みのため削除

Revision 8896 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 18 15:27:45 2020 UTC (3 years, 7 months ago) by zmatsuo
File length: 41204 byte(s)
Diff to previous 8895 , to selected 10464
ログ出力内で、グローバルに定義されている構造体を使用しないよう修正

- TFileVar#ttftypes.h を使用しないよう修正
  - ローカル構造体に切り替え
  - define で名前の付替えを行っている
- TFileVar#ttftypes.h の未使用メンバを削除

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: 40298 byte(s)
Diff to previous 8894 , to selected 10464
ファイル転送ダイアログ(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: 40284 byte(s)
Copied from: trunk/teraterm/teraterm/filesys.cpp revision 8893
Diff to previous 8866 , to selected 10464
ログ出力部を分離した

- 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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 59442 byte(s)
Diff to previous 8863 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 59349 byte(s)
Diff to previous 8860 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 56848 byte(s)
Diff to previous 8858 , to selected 10464
マクロ(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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 57441 byte(s)
Diff to previous 8857 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 57348 byte(s)
Diff to previous 8852 , to selected 10464
ログ関連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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 56911 byte(s)
Diff to previous 8822 , to selected 10464
ログファイルダイアログを追加

- ログダイアログ(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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 45118 byte(s)
Diff to previous 8225 , to selected 10464
ログが取れなくなっていたので修正

- 文字コードは 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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 45308 byte(s)
Diff to previous 7951 , to selected 10464
コモンダイアログのヘルプボタンが機能するよう修正

- 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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 45352 byte(s)
Diff to previous 7930 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 44227 byte(s)
Diff to previous 7541 , to selected 10464
不要な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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 44319 byte(s)
Diff to previous 7526 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 44316 byte(s)
Diff to previous 7291 , to selected 10464
ファイル転送関連を高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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 47008 byte(s)
Diff to previous 7290 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 47281 byte(s)
Diff to previous 7182 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 47214 byte(s)
Diff to previous 6947 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 46502 byte(s)
Diff to previous 6946 , to selected 10464
ログのタイムスタンプの種別として 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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 44926 byte(s)
Diff to previous 6841 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 45361 byte(s)
Diff to previous 6806 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 45365 byte(s)
Diff to previous 6792 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 43899 byte(s)
Diff to previous 6770 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 43899 byte(s)
Diff to previous 6769 , to selected 10464
#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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 44691 byte(s)
Diff to previous 6768 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 45649 byte(s)
Diff to previous 6767 , to selected 10464
ログのタイムスタンプに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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 45609 byte(s)
Diff to previous 6688 , to selected 10464
ログのタイムスタンプのフォーマットを指定できるようにした

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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 45567 byte(s)
Diff to previous 6590 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 45567 byte(s)
Diff to previous 6493 , to selected 10464
ログファイル名に実行ユーザ名を展開できるようにした
  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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 45372 byte(s)
Diff to previous 6489 , to selected 10464
チケット #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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 44703 byte(s)
Diff to previous 6435 , to selected 10464
チケット #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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 43724 byte(s)
Diff to previous 6365 , to selected 10464
・行末の空白/タブを削除
・インデント調整

Revision 6365 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 9 14:21:57 2016 UTC (8 years ago) by yutakapon
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 43749 byte(s)
Diff to previous 6364 , to selected 10464
チケット #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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 43445 byte(s)
Diff to previous 6363 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 43326 byte(s)
Diff to previous 6361 , to selected 10464
余計なコメントを削除


Revision 6361 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 5 13:02:51 2016 UTC (8 years ago) by doda
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 43353 byte(s)
Diff to previous 6330 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 43330 byte(s)
Diff to previous 6328 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 43399 byte(s)
Diff to previous 6115 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 42679 byte(s)
Diff to previous 6110 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 42676 byte(s)
Diff to previous 6079 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 42696 byte(s)
Diff to previous 6071 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 42662 byte(s)
Diff to previous 5446 , to selected 10464
シリアル接続でボーレートが高速な場合にファイル送信を高速化するパッチを適用
  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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 40498 byte(s)
Diff to previous 5395 , to selected 10464
コメント修正

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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 40505 byte(s)
Diff to previous 5392 , to selected 10464
チケット #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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 39934 byte(s)
Diff to previous 5383 , to selected 10464
チケット #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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 39171 byte(s)
Diff to previous 5312 , to selected 10464
ログダイアログの非表示化が出来なくなっていたのを修正。


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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 39137 byte(s)
Diff to previous 5281 , to selected 10464
ファイル転送(状況)ダイアログを隠せるようにした。
[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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 39101 byte(s)
Diff to previous 5273 , to selected 10464
ファイル送信で送るファイルの扱いを 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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 38582 byte(s)
Diff to previous 5206 , to selected 10464
ログファイルの扱いを 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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 37795 byte(s)
Diff to previous 5189 , to selected 10464
ログファイルの遅延書き込みをサポートした。
ネットワーク経由でのログ採取時、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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 34885 byte(s)
Diff to previous 5178 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 34843 byte(s)
Diff to previous 5171 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 34783 byte(s)
Diff to previous 5165 , to selected 10464
ログ・ローテートの設定を 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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 34670 byte(s)
Diff to previous 5162 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 34067 byte(s)
Diff to previous 5141 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 32719 byte(s)
Diff to previous 5139 , to selected 10464
ログファイル名に使う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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 32713 byte(s)
Diff to previous 4786 , to selected 10464
チケット #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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 32342 byte(s)
Diff to previous 4551 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 32162 byte(s)
Diff to previous 4461 , to selected 10464
ミリ秒を含む現在時刻を返す処理を関数化

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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 32829 byte(s)
Diff to previous 4454 , to selected 10464
ファイル転送ダイアログの経過時間の 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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 32406 byte(s)
Diff to previous 4328 , to selected 10464
ファイル転送ダイアログ/ファイル送信ダイアログで、経過時間と転送速度を表示するようにした。


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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 32302 byte(s)
Diff to previous 3904 , to selected 10464
ログファイルを開いたとき、書き込み中の同名ファイルを開ける問題を修正
  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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 32110 byte(s)
Diff to previous 3887 , to selected 10464
ファイル送信も 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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 30934 byte(s)
Diff to previous 3861 , to selected 10464
"ファイル送信" と "ログ" の 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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 30930 byte(s)
Diff to previous 3821 , to selected 10464
外部からコールされなくなったので、コールされる為の設定を削除。


Revision 3821 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 25 10:02:44 2010 UTC (14 years ago) by yutakapon
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 31024 byte(s)
Diff to previous 3820 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 30997 byte(s)
Diff to previous 3819 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 30920 byte(s)
Diff to previous 3709 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 30793 byte(s)
Diff to previous 3602 , to selected 10464
[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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 30695 byte(s)
Diff to previous 3473 , to selected 10464
ファイル転送ダイアログの 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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 30686 byte(s)
Diff to previous 3418 , to selected 10464
ログファイル名の &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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 30402 byte(s)
Diff to previous 3227 , to selected 10464
ログにタイムスタンプを書き込むときにミリ秒も記録するようにした。

Revision 3227 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 24 15:10:33 2009 UTC (15 years ago) by maya
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 29693 byte(s)
Diff to previous 3221 , to selected 10464
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
Original Path: trunk/teraterm/teraterm/filesys.cpp
File length: 28290 byte(s)
Diff to previous 2653 , to selected 10464
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 10464
ログ転送ダイアログの表示から 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 10464
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 10464
ログで 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 10464
ファイル送信時のダイアログボックスにプログレスバーを表示するようにした。


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 10464
ログファイルがオープンできない場合に、エラーメッセージ表示するようにした。ただし、マクロからlogopenした場合は
何も表示しない。


Revision 2512 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 15 13:52:39 2008 UTC (15 years, 10 months ago) by yutakapon
Original Path: teraterm/trunk/teraterm/filesys.cpp
File length: 27659 byte(s)
Diff to previous 2511 , to selected 10464
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 10464
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 10464
ファイル移動に伴う修正


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