Develop and Download Open Source Software

Browse Subversion Repository

Log of /trunk/teraterm/teraterm/clipboar.c

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 10983 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 10 14:27:46 2023 UTC (4 months, 4 weeks ago) by zmatsuo
File length: 8906 byte(s)
Diff to previous 9380
クリップボードString file指定が相対パスの時、設定ファイルフォルダを参照するよう修正

- Tera Term 5 の設定ファイルフォルダ
  - %APPDATA%\teraterm5

Revision 9380 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 20 16:31:56 2021 UTC (2 years, 6 months ago) by zmatsuo
File length: 8701 byte(s)
Diff to previous 9359
クリップボードペースト確認ダイアログが画面からはみ出さないようにした

- 本来はみ出さないようになっていた
- しかしダイアログサイズが変更されたときはみ出しがおこっていた
- 静的変数をなくした
- ts構造体の直接参照をなくした
- clipboarddlgdata の未使用メンバを削除した
- MoveWindowToDisplayPoint() を ttlib_static.c に追加
  - 指定座標が属するデスクトップから
  - ウィンドウをはみださないよう移動する

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

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

Revision 9138 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 27 14:41:03 2021 UTC (3 years, 1 month ago) by zmatsuo
File length: 8599 byte(s)
Diff to previous 9048
現在は使用していない従来のクリップボードに関連する部分を削除

- 使用していない CBStartSend() を削除
- 使用されなくなる関数、代入だけ行われて参照されない変数削除
- 不要 include 削除
- IdTalkCB 削除 (tttypes.h)

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

ticket #40996

Revision 8920 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 21 15:24:46 2020 UTC (3 years, 6 months ago) by zmatsuo
File length: 13641 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, 6 months ago) by zmatsuo
File length: 13498 byte(s)
Diff to previous 8796
改行変換を ttlib へ移動

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

Revision 8796 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 15 02:06:34 2020 UTC (3 years, 8 months ago) by zmatsuo
File length: 14639 byte(s)
Diff to previous 8788
クリップボードからペースト時に本当にテキストかどうか確認

- IsTextW()追加

Revision 8788 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 22 14:50:32 2020 UTC (3 years, 9 months ago) by zmatsuo
File length: 14595 byte(s)
Diff to previous 8738
マクロからの文字列送信をUnicode化した

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

Revision 8738 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 25 15:58:53 2020 UTC (3 years, 10 months ago) by zmatsuo
File length: 14752 byte(s)
Diff to previous 8737
ペーストの確認ダイアログでcancelしたときメモリリークが発生していた

Revision 8737 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 25 15:58:44 2020 UTC (3 years, 10 months ago) by zmatsuo
File length: 14736 byte(s)
Diff to previous 8736
改行コード変換時先頭の文字をコピーしていなかった

- NormalizeLineBreakW()

Revision 8736 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 25 15:58:34 2020 UTC (3 years, 10 months ago) by zmatsuo
File length: 14752 byte(s)
Diff to previous 8694
未使用コード削除

- UNICODE_INTERNAL_BUFFを見ないようにした

Revision 8694 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 11 15:54:46 2020 UTC (3 years, 10 months ago) by zmatsuo
File length: 33060 byte(s)
Diff to previous 8693
CBSetTextW() を teraterm/common へ移動

- clipboar.c から ttlib_static_cpp.cpp へ

Revision 8693 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 11 15:54:37 2020 UTC (3 years, 10 months ago) by zmatsuo
File length: 34343 byte(s)
Diff to previous 8588
GetClipboardTextA(), GetClipboardTextW() を teraterm/common へ移動

- ttlib_static_cpp.cpp へ
  - ttssh2/ttxssh/auth.c から
  - teraterm/teraterm/clipboar.c から

Revision 8588 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 11 15:36:57 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 36215 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 (3 years, 11 months ago) by zmatsuo
File length: 36115 byte(s)
Diff to previous 8459
ttpmacro/fileread.cpp,h を common/ へ移動

Revision 8459 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 10 13:12:35 2020 UTC (4 years, 1 month ago) by zmatsuo
File length: 36127 byte(s)
Diff to previous 8457
クリップボードからのペースト時、改行を常に正規化する

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

Revision 8457 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 10 13:12:00 2020 UTC (4 years, 1 month ago) by zmatsuo
File length: 36247 byte(s)
Diff to previous 8456
クリップボードを閉じない場合があったので修正

- r8371
- [Ttssh2-devel 4356]

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

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

Revision 8445 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 17 12:15:31 2019 UTC (4 years, 2 months ago) by doda
File length: 36264 byte(s)
Diff to previous 8408
Merge branch 'unicode_buf'

Revision 8408 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 25 12:57:48 2019 UTC (4 years, 3 months ago) by zmatsuo
File length: 24912 byte(s)
Diff to previous 7509
setdlgposの位置指定でダイアログがディスプレイからはみ出さないようにした

- ダイアログが必ずディスプレイ内に表示されるようにする [Ttssh2-devel 4385]
- MoveWindowToDisplay()@ttlib.c を作成
  - ディスプレイからはみ出す場合、ウィンドウをディスプレイ内に移動する
  - clipboard確認ダイアログのディスプレイ内に移動するコード関数化
- マクロのダイアログを表示する際 MoveWindowToDisplay() をコール
  - マクロコマンドsetdlgpos でディスプレイ外を指定されてもディスプレイ内に表示

Revision 7509 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 25 13:47:32 2019 UTC (4 years, 11 months ago) by zmatsuo
File length: 25937 byte(s)
Diff to previous 7140
クリップボード内容表示ダイアログをHiDPI化
dlglib.c,h ANSI/UNICODE対応,IsExistFont(),SetDialogFont()(ダイアログフォントの初期化) 追加
dlglib_cpp.cpp 追加、ダイアログAPIラッパ
dlg_tmpl.cpp 追加、ダイアログテンプレート操作
i18n.c,h ANSI/UNICODE対応,SetI18DlgStrs(),SetI18MenuStrs()追加
ttlib.c,h ANSI/UNICODE対応

Revision 7140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 28 09:54:14 2018 UTC (5 years, 8 months ago) by doda
File length: 27151 byte(s)
Diff to previous 6841
Bracketed Paste Mode を反映した貼り付け用関数を追加。

TermSendStartBracket() -- Bracketed Paste Mode が有効か判断し、必要ならば開始 Bracket を送信する。
TermSendEndBracket()   -- Bracketed Paste Mode が有効か判断し、必要ならば終了 Bracket を送信する。
TermPasteString(char *str, int len) -- Bracketed Paste Mode を考慮した文字列貼り付け。

使い方:

TermSendStartBracket();

CommTextOut(&cv, str, len);
if (ts.LocalEcho)
	CommTextEcho(&cv, str, len);
// 必要なだけ上記を行う

TermSendEndBracket();

上記を一まとめにしたのが TermPasteString(str, len)

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

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

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

Revision 6595 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 20 18:46:41 2017 UTC (7 years ago) by doda
File length: 25850 byte(s)
Diff to previous 6594
改行の正規化
ticket:36721

Revision 6594 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 20 18:46:35 2017 UTC (7 years ago) by doda
File length: 23982 byte(s)
Diff to previous 6593
貼り付け関連の設定を ts.PasteFlag に統合

Revision 6593 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 20 18:46:30 2017 UTC (7 years ago) by doda
File length: 23930 byte(s)
Diff to previous 6535
貼り付け<CR> で貼り付けデータの末尾にゴミが付く問題を修正。

リリースビルドでは多分起きないと思うけれど念のため。

Revision 6535 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 14 23:59:24 2016 UTC (7 years, 3 months ago) by doda
File length: 23903 byte(s)
Diff to previous 6461
ブロードキャストコマンドコマンドでゴミが付加される問題を修正 #36784

WM_COPYDATA で渡されたデータは NUL Terminate されてないので、
データコピー時に末尾に NUL を付加する。

Revision 6461 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 2 17:33:48 2016 UTC (7 years, 7 months ago) by doda
File length: 23785 byte(s)
Diff to previous 6460
GlobalLock() で返されたポインタに対して GlobalUnlock() を行っていたのを修正。

Revision 6460 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 2 17:33:46 2016 UTC (7 years, 7 months ago) by doda
File length: 23783 byte(s)
Diff to previous 6459
カーソルが左上隅に有る時に確認ダイアログが画面中央へ出る事への暫定対策。
1 ドット右にずれていても気付く人はまずいないと思う。
[Ttssh2-devel 936], [Ttssh2-devel 2528]

Revision 6459 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 2 17:33:43 2016 UTC (7 years, 7 months ago) by doda
File length: 23623 byte(s)
Diff to previous 6456
・Tek Window での貼り付け時、確認ダイアログが出た時に VT Window にフォーカスが移るのを修正
・Tek Window での Alt-V / Alt-R による貼り付け時、Bracketed Paste Mode が適用されないようにした

Tek Window での貼り付けで確認ダイアログが出ない問題自体は r6456 で修正。

Revision 6456 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 1 09:01:30 2016 UTC (7 years, 7 months ago) by doda
File length: 23168 byte(s)
Diff to previous 6455
クリップボードの内容に改行が含まれているかの確認を、CBStartPaste() の 中から行うようにした。

確認をクリップボードにアクセスするのではなく、CBStartPaste() でコピー した領域をチェックするようにした。
他のクリップボードの内容確認/加工を行う場合を考えた場合、この形式の方が 統一性が取れていいと思う。

変更によってダイアログの(変更)内容をクリップボードに書き戻さなくなったが、 この書き戻しの挙動は必要?

・クリップボードに余計な干渉はしないという観点からは書き戻さない方がよさそう。
・複数回繰り返して貼り付ける場合は、毎回ダイアログでの編集が必要となる。
  この点に関しては書き戻した方が便利。

CBStartPaste() でのコピー先の領域を GlobalAlloc() で確保する必要はある?
以前はクリップボードのデータを直接読む場合も有ったので互換性のある確保の仕方が必要だったが、
現在は完全に切り離されたので、malloc() で確保したり、GlobalAlloc() を使うにしても、
GMEM_FIXED で固定メモリにする方が扱い易くないか?

Revision 6455 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 1 09:01:28 2016 UTC (7 years, 7 months ago) by doda
File length: 23634 byte(s)
Diff to previous 6453
行末の改行削除を CBStartPaste() に移動

Revision 6453 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 1 09:01:22 2016 UTC (7 years, 7 months ago) by doda
File length: 23846 byte(s)
Diff to previous 6452
クリップボードの内容のコピーと、AddCR, Bracketed Paste Mode の処理を分離
間に他の確認/加工処理を入れやすくする為

Revision 6452 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 1 09:01:20 2016 UTC (7 years, 7 months ago) by doda
File length: 22980 byte(s)
Diff to previous 6449
メモリリークが起きないように、念のため NULL かチェックを行う。

Revision 6449 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 15 09:33:36 2016 UTC (7 years, 7 months ago) by doda
File length: 22823 byte(s)
Diff to previous 6448
クリップボードからの貼り付け周りの整理
・クリップボードの内容が CF_TEXT や CF_OEMTEXT の時も貼り付け開始時点で
  クリップボードの内容をコピーし、貼り付け処理中はクリップボードのロックを
  しないようにした。
  ただし、クリップボードの内容が CF_TEXT や CF_OEMTEXT でも、CF_UNICODETEXT
  として取得できるようで、ほぼすべての場合で CF_UNICODETEXT として処理が
  行われていたはずなので実質的な動作変更はない事になるはず。
・Bracketed Paste や AddCR の処理を CBStartPaste へ移動した。
  クリップボードの内容をコピーする時点で Bracket や CR を付加する。
  Bracketed Paste Mode 有効時に空文字列の貼り付けで終了 Bracket のみ送られる
  というバグがあったが、この処理変更で修正される。
・Bracketed Paste Mode テスト用スクリプトを追加

Revision 6448 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 15 09:33:33 2016 UTC (7 years, 7 months ago) by doda
File length: 23374 byte(s)
Diff to previous 6441
Paste64 周りのコードの整理

Revision 6441 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 12 09:04:24 2016 UTC (7 years, 7 months ago) by doda
File length: 23713 byte(s)
Diff to previous 6440
Paste64 でのクリップボード読み込みで末尾に余計な \0 が付いていたのを修正。

Revision 6440 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 12 09:04:20 2016 UTC (7 years, 7 months ago) by doda
File length: 23711 byte(s)
Diff to previous 6435
・CBStartPaste() を DDE 系とクリップボード系に分離
・DDE系の CBStartSend() と CBStartEcho() を共通化
・コメントで DataSize should be <= BuffSize とあるが実際には保証されてなく、
  ヒープを破壊する事があった事(*1)、および BuffSize を呼び出し元から指定する
  意味も無さそうなので BuffSize を廃止し、メモリの確保にも DataSize を
  使うように変更。

[*1] BuffSize は TermWidthMax(500) だが、DataSize は MaxStrLen(512) まで
     大きくなる為、500バイト以上のデータを send するとバッファオーバランで
     ヒープが壊れる

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

Revision 6418 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 29 23:43:12 2016 UTC (7 years, 8 months ago) by doda
File length: 24167 byte(s)
Diff to previous 6417
貼り付け時に末尾の改行を削除する設定を追加

Revision 6417 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 29 23:43:08 2016 UTC (7 years, 8 months ago) by doda
File length: 23009 byte(s)
Diff to previous 6286
GlobalUnlock() した後に buf に触っていたのを修正。

GlobalAlloc() の説明には「Win32 環境では、物理メモリ内でメモリブロックが
移動されることは決してありませんが」とあるので大丈夫なのだとは思うけれど
念のため。

Revision 6286 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 1 15:14:14 2016 UTC (8 years, 1 month ago) by yutakapon
File length: 23009 byte(s)
Diff to previous 5259
チケット #35744 VS2015の警告除去

下記ブランチからマージした。
svn+ssh://yutakapon@svn.sourceforge.jp/svnroot/ttssh2/branches/vs2015_warn
リビジョン6194 - 6260


Revision 5259 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 13 05:07:31 2013 UTC (10 years, 9 months ago) by doda
File length: 23249 byte(s)
Diff to previous 5071
マクロからのデータに対してはPasteDelayPerLineが働かないように修正。
http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=31336


Revision 5071 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 22 03:35:18 2012 UTC (11 years, 3 months ago) by maya
File length: 22971 byte(s)
Diff to previous 4769
クリップボードへのコピー・貼り付けで CF_UNICODETEXT も処理するようにした。
  キーボードレイアウトによっては CF_TEXT が文字化けした状態になるため。
  WideCharToMultiByte, MultiByteToWideChar で CP_ACP を利用しており、Windowsの「Unicode対応でないプログラムの言語」の設定によっては変換で文字化けする。
  ticket #30015

Revision 4769 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 6 10:01:20 2011 UTC (12 years, 3 months ago) by doda
File length: 18960 byte(s)
Diff to previous 4273
OSC 52 のクリップボード読み込みに対応


Revision 4273 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 11 12:26:17 2011 UTC (13 years, 1 month ago) by doda
File length: 17487 byte(s)
Diff to previous 4261
・DontConfirmPasteCR -> ConfirmChangePasteCR [ttssh2-devel 1813]
・辞書サーチを行わなくなっていた場合が有ったのを修正


Revision 4261 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 28 04:55:01 2010 UTC (13 years, 2 months ago) by doda
File length: 17431 byte(s)
Diff to previous 4260
Alt+R の時は確認を行わないように出来るようにした。


Revision 4260 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 28 02:49:24 2010 UTC (13 years, 2 months ago) by doda
File length: 17380 byte(s)
Diff to previous 4009
ConfirmChangePaste が on の時、Alt+Rでの張り付けは一行のみでも確認するようにした。


Revision 4009 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 17 14:55:08 2010 UTC (13 years, 6 months ago) by maya
File length: 17359 byte(s)
Diff to previous 3974
trunk から r3926 をいったんひっこめる

Revision 3974 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 9 12:07:13 2010 UTC (13 years, 7 months ago) by doda
File length: 18035 byte(s)
Diff to previous 3926
マクロコマンド dispstr を追加。
http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=14733


Revision 3926 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 7 14:01:51 2010 UTC (13 years, 9 months ago) by yutakapon
File length: 16339 byte(s)
Diff to previous 3902
以下に示す UTF-8 送信処理を、純粋なUnicodeとして処理するようにした。

 ・IME入力
 ・クリップボードの貼り付け

teraterm.iniに PureUTF8 エントリを追加。当該処理の on/off を切り替えられる。
デフォルトはまだ off とする。

これにより、SNOWMAN(U+2603)などの文字を送信しても、正しいUTF-8エンコーディングとして、
サーバへ送信される。
ただし、サロゲートペアには未対応。


Revision 3902 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 20 22:40:51 2010 UTC (13 years, 9 months ago) by maya
File length: 15663 byte(s)
Diff to previous 3896
ConfirmChangePaste の確認ダイアログ表示中にクリップボードがロックされたままにならないようにした。

Revision 3896 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 19 11:10:50 2010 UTC (13 years, 9 months ago) by doda
File length: 16254 byte(s)
Diff to previous 3872
変数宣言の間違いを修正


Revision 3872 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 9 09:21:21 2010 UTC (13 years, 10 months ago) by doda
File length: 16255 byte(s)
Diff to previous 3691
Bracketed Paste Mode をサポート。
対応しているホスト側のアプリケーションで、キー入力と貼り付けの区別が付けられるようになる。

.vimrcの例:
if &term == "xterm"
  let &t_ti = &t_ti . "\e[?2004h"
  let &t_te = "\e[?2004l" . &t_te
  set pastetoggle=<Esc>[201~
  function XTermPasteBegin(ret)
    set paste
    return a:ret
  endfunction
  map <special> <expr> <Esc>[200~ XTermPasteBegin("i")
  imap <special> <expr> <Esc>[200~ XTermPasteBegin("")
endif

参考: https://bugzilla.gnome.org/show_bug.cgi?id=605299


Revision 3691 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 19 18:46:15 2009 UTC (14 years, 3 months ago) by doda
File length: 15512 byte(s)
Diff to previous 3690
Warning消し


Revision 3690 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 19 18:36:01 2009 UTC (14 years, 3 months ago) by doda
File length: 15505 byte(s)
Diff to previous 3689
ts.PasteDelayTimeが0の時は、バッファが溢れない限りCBSend()から抜けないで一気に貼り付けるようにした。


Revision 3689 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 19 18:19:20 2009 UTC (14 years, 3 months ago) by doda
File length: 15459 byte(s)
Diff to previous 3688
タイミングによっては49.7日間ペーストが出来なくなる可能性があったのを修正。


Revision 3688 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 19 12:39:49 2009 UTC (14 years, 3 months ago) by doda
File length: 15524 byte(s)
Diff to previous 3685
PasteDelayPerLineが正しく働いていなかったのを修正。


Revision 3685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 16 17:30:12 2009 UTC (14 years, 3 months ago) by doda
File length: 15283 byte(s)
Diff to previous 3641
PasteDelayPerLineの値が大きい時に表示が遅れる事への暫定対処。


Revision 3641 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 9 15:46:10 2009 UTC (14 years, 5 months ago) by maya
File length: 15250 byte(s)
Diff to previous 3635
リサイズできるクリップボードダイアログとブロードキャストダイアログを、初期サイズより小さくできないようにした。

Revision 3635 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 7 15:46:43 2009 UTC (14 years, 5 months ago) by yutakapon
File length: 14790 byte(s)
Diff to previous 3535
ConfirmChangePasteダイアログにステータスバーを付け、ダイアログウィンドウの右下にリサイズアイコンが表示されるようにした。


Revision 3535 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 26 11:20:55 2009 UTC (14 years, 8 months ago) by yutakapon
File length: 14375 byte(s)
Diff to previous 3509
ConfirmChangePaste 時に、あらかじめ指定したテキストファイルで定義された文字列群が、
クリップボードに含まれているかどうかを判断するようにした。
フローは以下のとおり。

  1. ConfirmChangePaste が有効化どうか
  2. クリップボードに改行が含まれているかどうか
  3. クリップボードにファイルに指定された文字列が含まれているかどうか

TERATERM.INI に ConfirmChangePasteStringFile エントリを追加した。


Revision 3509 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 16 15:56:01 2009 UTC (14 years, 8 months ago) by maya
File length: 13520 byte(s)
Diff to previous 3393
Windows 95 で複数行の貼り付け時にマルチモニタ API が使われ、アプリケーションが落ちる問題を修正した。

Revision 3393 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 12 14:26:30 2009 UTC (14 years, 9 months ago) by maya
File length: 13422 byte(s)
Diff to previous 3306
インデントを調整。コード的な変更はないはず。

Revision 3306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 12 12:45:43 2009 UTC (14 years, 10 months ago) by maya
File length: 13509 byte(s)
Diff to previous 3227
複数行のデータをペーストするとき、改行ごとに遅延させる時間を設定できるようにした。
  http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=15575
  500バイトごとに 10ms 待つ workaround (http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?view=rev&root=ttssh2&revision=2578) は削除した。

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

Revision 2579 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 22 14:36:42 2008 UTC (15 years, 6 months ago) by maya
Original Path: teraterm/trunk/teraterm/clipboar.c
File length: 13183 byte(s)
Diff to previous 2578
貼り付けの wait を 1000 バイトごとから 500 バイトごとに変更した。


Revision 2578 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 22 14:20:18 2008 UTC (15 years, 6 months ago) by maya
Original Path: teraterm/trunk/teraterm/clipboar.c
File length: 13185 byte(s)
Diff to previous 2565
SSH2 で大きいデータを貼り付けたときにエコーバックが欠けることがあるので、
1000 バイト送信するごとに 10ms 待つ workaround を追加した。
10ms という値に根拠はない。


Revision 2565 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 26 00:19:31 2008 UTC (15 years, 7 months ago) by maya
Original Path: teraterm/trunk/teraterm/clipboar.c
File length: 12879 byte(s)
Diff to previous 2563
ConfirmChangePaste のダイアログサイズを保存できるようにした。


Revision 2563 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 16 16:07:32 2008 UTC (15 years, 7 months ago) by maya
Original Path: teraterm/trunk/teraterm/clipboar.c
File length: 12545 byte(s)
Diff to previous 2560
クリップボード用ダイアログのリサイズに対応。


Revision 2560 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 13 08:21:45 2008 UTC (15 years, 7 months ago) by yutakapon
Original Path: teraterm/trunk/teraterm/clipboar.c
File length: 11138 byte(s)
Diff to previous 2489
クリップボード用ダイアログをリサイズ可能としようとしたが、失敗。
http://sourceforge.jp/tracker/index.php?func=detail&aid=13021&group_id=1412&atid=5336
http://d.hatena.ne.jp/u-ichi/20080710/1215621656


Revision 2489 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 23 17:27:01 2008 UTC (15 years, 10 months ago) by maya
Original Path: teraterm/trunk/teraterm/clipboar.c
File length: 10410 byte(s)
Diff to previous 2488
ConfirmChangePaste の確認ダイアログがデスクトップからはみ出す場合、
デスクトップ内に収まるように調整した。
user32.dll を遅延読み込みに変更。


Revision 2488 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 23 16:34:33 2008 UTC (15 years, 10 months ago) by maya
Original Path: teraterm/trunk/teraterm/clipboar.c
File length: 9787 byte(s)
Diff to previous 2481
ConfirmChangePaste の確認ダイアログの位置を、VTウインドウの直上からキャレットの位置に変更した。
author: doda


Revision 2481 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 22 02:24:42 2008 UTC (15 years, 10 months ago) by maya
Original Path: teraterm/trunk/teraterm/clipboar.c
File length: 9562 byte(s)
Diff to previous 2480
ConfirmChangePaste の確認ダイアログの位置を、マウスカーソルの位置からVTウインドウの直上に変更した。


Revision 2480 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 22 01:54:34 2008 UTC (15 years, 10 months ago) by maya
Original Path: teraterm/trunk/teraterm/clipboar.c
File length: 9573 byte(s)
Diff to previous 2476
ConfirmChangePaste の確認ダイアログの位置を、マウスカーソルの位置からVTウインドウの直上に変更した。


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/clipboar.c
File length: 9143 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