Develop and Download Open Source Software

Browse Subversion Repository

Log of /branches/ttcomtester/teraterm/teraterm/sendmem.cpp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 10601 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 18 16:44:54 2023 UTC (13 months, 3 weeks ago) by zmatsuo
File length: 17593 byte(s)
Diff to previous 10521
sendmemを使ったファイル送信ですべてのデータを送れない場合があったので修正

- sendmemを使ったファイル送信ですべてのデータを送れない場合があった
  - 送信バッファの空きサイズ取得が誤っていた
    - 送信バッファサイズ(16*1024byte)より大きいデータを送る場合発生
  - テキスト送信時、空きサイズが奇数になったとき送信データが文字化けする
- シリアルのパラメータ設定のセクション、キーワードを変更
  - r10593

Revision 10521 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 20 16:03:38 2023 UTC (14 months, 2 weeks ago) by zmatsuo
File length: 17160 byte(s)
Diff to previous 10400
add communication test tool

Revision 10400 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 11 12:07:36 2022 UTC (16 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 17160 byte(s)
Diff to previous 9284
複数ファイルのDrag&Dropで複数のファイルが送信できない

- sendmemにAPI追加
  - 送信完了コールバック追加
- ファイルの送信完了ごとに次の送信を行えるよう修正

ticket #46070

Revision 9284 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 25 14:03:28 2021 UTC (2 years, 10 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 16163 byte(s)
Diff to previous 9146
ファイル送信時のエコーに使用する関数が誤っていたので修正

- CommTextEcho() -> CommBinaryEcho()

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
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 16161 byte(s)
Diff to previous 9104
ファイル送信を整理

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

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
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 16161 byte(s)
Diff to previous 9071
ttftypes.h への依存を減らした

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

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
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 16193 byte(s)
Diff to previous 9057
filesys.cpp ファイル名の扱いを Unicode化

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

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
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 16253 byte(s)
Diff to previous 9048
FileVar 構造体を ttftypes.h から移動

- teraterm/filesys_send.h を追加

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
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 16253 byte(s)
Diff to previous 8950
ソースファイルの著作権表記の "最後の発行の年" を削除

ticket #40996

Revision 8950 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 2 15:46:44 2020 UTC (3 years, 6 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 16257 byte(s)
Diff to previous 8920
sendmem.cpp 内で変数 FileVar の参照をなくした

Revision 8920 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 21 15:24:46 2020 UTC (3 years, 7 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 16339 byte(s)
Diff to previous 8919
改行の変換を必要な箇所で行うようにした

- sendmem.cpp 行ごとディレイ時、どんな改行コードでも認識するよう修正
- SendMemTextW()#sendmem.cpp 改行変換をおこなわないようにした
  - ブロードキャストコマンド, マクロ(send) で改行が変換されないようになった
- SendMemSendFile()#sendmem.cpp 改行をCRに正規化するよう修正
- CBStartPasteB64(), CBSendStart()#sendmem.cpp 改行変換しないようにした
- CBStartPaste()#sendmem.cpp 改行をCRに正規化するようにした

Revision 8919 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 21 15:24:32 2020 UTC (3 years, 7 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 15674 byte(s)
Diff to previous 8810
改行変換を ttlib へ移動

- wchar_t *NormalizeLineBreakCR(const wchar_t *src, size_t *len);
- wchar_t *NormalizeLineBreakCRLF(const wchar_t *src_);

Revision 8810 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 23 14:55:45 2020 UTC (3 years, 9 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 17009 byte(s)
Diff to previous 8789
文字ペースト時にクラッシュ, Paste delay per line が効かない

- 文字ペースト時にクラッシュを修正
  - 送信前に改行コードは CR(0x000d) に正規化する
    - この時文字列終端の 0x0000 は送信しないので削除される
  - 文字数(wchar_t単位)を指定するところを誤ってバイト数を指定して
    改行LF(0x000a)、文字末(0x0000)を検索
    - LFは実装の誤りで、CRが正しい
    - 文字数を指定して検索するよう修正
  - 文字列をオーバーランして、改行(LF,0x000a)が見つかったとき
    改行までを1行として送信(改行までのゴミも送信される)
  - オーバーランした送信バイト数を
    残り送信バイト数から減算してオーバーフロー
    とても大きな値になる
  - 引き続き送信しようとしてクラッシュする
- Paste delay per lineが効かない
  - 内部データの改行コードの検索をCR(0x000d)に修正

Revision 8789 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 23 14:22:04 2020 UTC (3 years, 10 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 16882 byte(s)
Diff to previous 8788
改行コード変換時バッファオーバーランを起こしていた

Revision 8788 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 22 14:50:32 2020 UTC (3 years, 10 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 16883 byte(s)
Diff to previous 8612
マクロからの文字列送信をUnicode化した

- dispstr, send, sendln コマンド
- DDE通信の文字コードは UTF-8
- sendmemを修正
  - 文字をホスト側へ送信しない設定を可能にした
    - SendMemInitSend()
  - 文字列長を正しく見るようにした
    - 文字ペースト時のEOSの処理修正
    - EOS(0x00)は送信しない
  - 改行コードを修正
    - LF(0x0a) -> CR(0x0d)

Revision 8612 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 21 16:00:07 2020 UTC (4 years ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 15316 byte(s)
Diff to previous 8588
Windows 9x で、LoadFileWW() が使用できるよう修正

- LoadFileWW()は引数のファイル名がUnicode
- ファイルオープンに _wfopen() を使用していた
- _wfopen() はおそらく内部で CreateFileW() を使用している
- 9x ではおそらく CreateFileW() は常に失敗する
- このためファイルが読み込めなかった
- _wfopen_s(), _fopen_s() を使用するよう変更
- 9x の場合、_wfopen_s() を使用しないようにした
  - 念の為、_wfopen_s() に失敗したとき _fopen_s() を使用するようにした
- sendmem.cpp
  - ファイルオープンに失敗したとき assert()
  - 不要なincludeを削除

Revision 8588 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 11 15:36:57 2020 UTC (4 years, 1 month ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 15285 byte(s)
Diff to previous 8586
Merge branch 'sendmem_sendsize' into trunk

- sendfiledlg.cpp の SetI18nDropDownList() を削除
- SetI18nDropDownList() を SetI18nList() に変更

Revision 8586 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 10 15:30:10 2020 UTC (4 years, 1 month ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 14229 byte(s)
Diff to previous 8463
ttpmacro/fileread.cpp,h を common/ へ移動

Revision 8463 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 10 13:13:26 2020 UTC (4 years, 3 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 14241 byte(s)
Diff to previous 8459
未使用変数、未使用defineを削除

Revision 8459 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 10 13:12:35 2020 UTC (4 years, 3 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 14281 byte(s)
Diff to previous 8456
クリップボードからのペースト時、改行を常に正規化する

- 設定など削除
  - lng ファイルの DLG_TAB_COPYPASTE_NORMALIZE_LINEBREAK を削除
  - iniファイルのNormalizeLineBreakOnPasteを削除
  - CPF_NORMALIZE_LINEBREAK 削除
- リソース IDD_TABSHEET_COPYPASTE
  - Normalize line break when pasting チェックボックスを削除
  - レイアウト調整

Revision 8456 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 7 15:44:00 2020 UTC (4 years, 3 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 14267 byte(s)
Diff to previous 8449
ファイル送信でバイナリオプションが使えるようにした

- [file]/[Send file...]
- ファイルドロップ

Revision 8449 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 28 09:02:32 2019 UTC (4 years, 3 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 13467 byte(s)
Diff to previous 8445
ドラッグアンドドロップからのファイル送信が2回目以降できなかったので修正

- 1回しか送信できなかった
- 不要な NewFileVar(&SendVar) を削除
- SendMemPasteString() で free() 抜け

Revision 8445 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Dec 17 12:15:31 2019 UTC (4 years, 3 months ago) by doda
Original Path: trunk/teraterm/teraterm/sendmem.cpp
File length: 13205 byte(s)
Merge branch 'unicode_buf'

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