Develop and Download Open Source Software

Browse Subversion Repository

Log of /trunk/teraterm/teraterm/buffer.c

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 10806 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 23 07:07:41 2023 UTC (8 months, 2 weeks ago) by zmatsuo
File length: 138881 byte(s)
Diff to previous 10760 , to selected 4090
文字を拡大縮小して描画できるようにした

- 拡大縮小して描画できるようにした
  - 2cell幅の文字を1cell幅に縮小して描画
  - 1cell幅の文字を2cell幅に拡大して描画,等
- フォントプロパティーページに設定を追加
  - "Drawing resized font to fit cell width" checkbox
- compat_win.cpp に TransparentBlt() (msimg32.dll) を追加
- ヘルプ追加(enはjaのコピー)

Revision 10760 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 12 15:20:40 2023 UTC (9 months, 4 weeks ago) by zmatsuo
File length: 138766 byte(s)
Diff to previous 10678 , to selected 4090
各モジュール間APIをUnicode版のみを使用するようにした

- buffer.c 内 BuffPutChar() -> BuffPutUnicode()
- vtterm.c 内 PutChar() -> PutU32()

Revision 10678 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 16 15:43:04 2023 UTC (11 months, 3 weeks ago) by zmatsuo
File length: 138864 byte(s)
Diff to previous 10639 , to selected 4090
文字消去時、全角文字が切れて表示される場合があるので修正

- 文字消去エスケープシーケンスを使用したとき
  - EL 0, EL 1, ED 0, ED 1
- 描画が行われていなかった
- 消去テスト erase.pl を追加
  - 4-stable/r10677 から

ticket 47524

Revision 10639 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 17 14:35:30 2023 UTC (12 months, 3 weeks ago) by zmatsuo
File length: 139403 byte(s)
Diff to previous 10354 , to selected 4090
文字消去時、マウス選択領域を選択状態で描画(文字色反転表示)するようにした

- マウス選択領域の文字を消去したとき、選択状態を維持したまま描画
- 従来
  - マウス選択領域にかかっていても無条件に背景色(背景画像)で描画
  - 表示上選択領域がなくなるように見える
  - 内部的には選択領域が存在している
- 変更したシーケンス
  - EL (カーソル行の文字を消去)
  - ECH (カーソル位置から Ps 文字を消す)
  - ED 0 (カーソル位置から画面末尾までを消去する)
  - ED 1 (画面先頭からカーソル位置までを消去する)
- 文字消去ではなくバッファの内容を描画するようにした(buffer.c)
  - 空白(スペース)が書かれているバッファを描画 =消去
  - マウス選択領域を考慮して描画される
- 使用しなくなった文字消去(背景描画)専用関数削除(vtdisp.c,h)
- 変数 Selected を static に変更(buffer.c,h)

ticket 47524

Revision 10354 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 9 14:13:52 2022 UTC (17 months ago) by zmatsuo
File length: 138968 byte(s)
Diff to previous 10345 , to selected 4090
ランダムデータを表示させるとクラッシュする

- `cat /dev/urandom` でテスト
- 制御文字(C0,C1)はバッファに入れないようにした
- 全角文字に上書き時にバッファ外へアクセスしていた
- バッファ上で文字のコピーを行ったとき結合などで長くなった文字のコピーを行っていなかった
  - バッファの開放(free())が重複して行われてしまう原因になっていた
- 代替画面バッファを使用した際メモリリークが発生していた
- 全角より大きな文字の扱い(TODO)
  - 全角(=2cellの文字)より大きな文字(3cell以上)が現れることがある
  - 現在3cell以上の文字の扱いをケアしていない
  - IsBuffFullWidth(), AttrKanji など

ticket #45763

Revision 10345 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 2 13:43:19 2022 UTC (17 months, 1 week ago) by zmatsuo
File length: 138130 byte(s)
Diff to previous 10338 , to selected 4090
TERATERM.INI の UnknownUnicodeCharacterAsWide を削除

- 不明な文字幅がなくなったため不要となった
- tttypes.UnknownUnicodeCharaAsWide を削除
- 関連ドキュメントを修正
- 表示できない文字の場合は '?' が文字のセル幅表示
  - ANSI API(Additional setting - Font)で描画時
- エスケープシーケンスによる印字はANSIで行う
  - "\x1b[5i" から
  - "\x1b[4i" まで

Revision 10338 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 28 13:25:45 2022 UTC (17 months, 1 week ago) by zmatsuo
File length: 137938 byte(s)
Diff to previous 10331 , to selected 4090
テーマの文字背景の透過設定の種類を増やした

- 次の文字背景部分の透過を個別に設定できるようにした
  - 通常属性(SGR0)部
  - 反転属性(SGR7)部
  - その他の背景部分
- 従来は反転属性(SGR7)以外の文字背景部分しか設定できなかった
- テーマファイルのドキュメント修正
- IDC_CHECK_FAST_SIZE_MOVE にテキストを設定した
  - "Disable theme when moving or resizing window"
  - "ウィンドウ移動/リサイズ時テーマを一時的にdisableする"

Revision 10331 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 23 15:15:59 2022 UTC (17 months, 2 weeks ago) by zmatsuo
File length: 137882 byte(s)
Diff to previous 10330 , to selected 4090
unicode_test.h への依存を減らした

- テスト用 define を変更したときビルド時間を短縮するため

Revision 10330 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 19 14:27:02 2022 UTC (17 months, 3 weeks ago) by zmatsuo
File length: 137909 byte(s)
Diff to previous 10325 , to selected 4090
コンパイラの警告対策

- unicode.cpp
  - 警告: ISO C++ forbids converting a string constant to ‘char*’
    - 書き換えできない文字列を書き換え可能文字列へ変換していたので修正
  - extern しない変数に static を追加
    - UnicodeBlockList[]
- buffer.c
  - 警告: 使用されない変数 ‘b’ です

Revision 10325 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 18 13:01:25 2022 UTC (17 months, 3 weeks ago) by nmaya
File length: 137951 byte(s)
Diff to previous 10324 , to selected 4090
同じ Unicode block にある文字だけを、ヴィラーマによって結合するようにした

Unicode block のテーブルを作成するスクリプトを追加した
ticket #44424

Revision 10324 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 17 15:19:42 2022 UTC (17 months, 3 weeks ago) by zmatsuo
File length: 137536 byte(s)
Diff to previous 10323 , to selected 4090
行末で文字のセル数が増加したとき文字を壊していたので修正

ticket #44424

Revision 10323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 17 15:19:33 2022 UTC (17 months, 3 weeks ago) by zmatsuo
File length: 137443 byte(s)
Diff to previous 10322 , to selected 4090
文字のセル数が増加したとき、描画されない場合があったので修正

ticket #44424

Revision 10322 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 17 15:19:23 2022 UTC (17 months, 3 weeks ago) by zmatsuo
File length: 137515 byte(s)
Diff to previous 10320 , to selected 4090
デバグ用のUnicodeの文字列を16進大文字に変更

- 変更前は小文字だった
- Unicodeは大文字で表記
- r10320

Revision 10320 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 16 05:37:07 2022 UTC (17 months, 3 weeks ago) by zmatsuo
File length: 137515 byte(s)
Diff to previous 10319 , to selected 4090
デバグ用のUnicodeの文字列長を修正

- r10308

Revision 10319 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 16 05:36:52 2022 UTC (17 months, 3 weeks ago) by zmatsuo
File length: 137513 byte(s)
Diff to previous 10313 , to selected 4090
Viramaの次の文字分文字幅を増やすようにした

- 変更前は、Spacing markの時のみ+1していた
- 通常の文字の場合も+1するようにした

ticket #44424

Revision 10313 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 13 14:27:25 2022 UTC (17 months, 4 weeks ago) by zmatsuo
File length: 137364 byte(s)
Diff to previous 10311 , to selected 4090
ヴィラーマ処理を追加

- ヴィラーマ(virama)文字の次の文字を結合
  - Malayalam (マラヤーラム語)のvirama処理を削除
- 別の結合規則があるかもしれない
  - Combining_Class には virama 以外の定義ある

Revision 10311 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 13 14:27:02 2022 UTC (17 months, 4 weeks ago) by zmatsuo
File length: 137382 byte(s)
Diff to previous 10310 , to selected 4090
コンパイラの警告に対応した

- warning: '&&' within '||'
- note: place parentheses around the '&&' expression to silence this warning
- warning: unused function

Revision 10310 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 13 14:26:52 2022 UTC (17 months, 4 weeks ago) by zmatsuo
File length: 137601 byte(s)
Diff to previous 10308 , to selected 4090
Spacing/Nonspacing Mark を処理できるようにした

- Spacing/Nonspacing Mark テーブルを組み込みこんだ
  - unicode_combine.tbl に Spacing/Nonspacing 情報を付加した
  - 変更前は区別がなくすべて Nonspacing Mark として扱っていた
  - Malayalam (マラヤーラム語)のSpacing combining mark処理を削除
- teraterm/teraterm/unicode/get_combine_table.pl
  - Spacing/Nonspacing Mark に関する情報を出力できるよう修正
- UnicodeIsVariationSelector() を無効にした
  - 異体字セレクタは Nonspacing_Mark に含まれている
  - UnicodeIsCombiningCharacter() でまとめてチェックできる
  - 変更前は teraterm/teraterm/buffer.c で使用していた

Revision 10308 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 13 14:26:30 2022 UTC (17 months, 4 weeks ago) by zmatsuo
File length: 137640 byte(s)
Diff to previous 10307 , to selected 4090
Unicode の Spacing combining mark に一部対応

- Malayalam (マラヤーラム語)のごく一部の文字の特殊処理を追加
  - Spacing combining mark
    - U+0d3e と U+0d02 のみ
  - virama
    - U+0d4d のみ
- 3cell以上の長い文字が表示できるようになった
  - 全角(2cell)よりも長い文字
- テスト追加
  - Hello (Malayalam)
  - ほ + ゜ = ぽ
  - 11cell文字 (Malayalam)

Revision 10307 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 13 14:26:19 2022 UTC (17 months, 4 weeks ago) by zmatsuo
File length: 136518 byte(s)
Diff to previous 10295 , to selected 4090
結合文字が単体で入力された場合、0xa0(NBSP)を挿入する

- 従来は 0x20 を挿入していた
- U+00A0 = NBSP = no-break space

Revision 10295 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 4 13:55:02 2022 UTC (18 months, 1 week ago) by zmatsuo
File length: 136487 byte(s)
Diff to previous 10104 , to selected 4090
バッファの先頭で結合文字が送られてくるとクラッシュする問題を修正

ticket #45763

Revision 10104 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 31 15:26:41 2022 UTC (20 months, 1 week ago) by zmatsuo
File length: 136344 byte(s)
Diff to previous 10101 , to selected 4090
終了時Unicode文字バッファを開放するようにした

Revision 10101 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 30 14:56:46 2022 UTC (20 months, 1 week ago) by zmatsuo
File length: 135932 byte(s)
Diff to previous 10100 , to selected 4090
buffer.c で出るコンパイラの警告を修正

- note: place parentheses around the '&' expression to silence this warning
- warning: '&' within '|'
- note: place parentheses around the '&&' expression to silence this warning
- warning: '&&' within '||'
- warning: variable 'TempAttr' set but not used

Revision 10100 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 30 14:56:36 2022 UTC (20 months, 1 week ago) by zmatsuo
File length: 135952 byte(s)
Diff to previous 10077 , to selected 4090
buffer.c,h の曖昧なプロトタイプを厳密に修正

- () -> (void)

Revision 10077 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 18 16:02:56 2022 UTC (20 months, 3 weeks ago) by zmatsuo
File length: 135844 byte(s)
Diff to previous 10062 , to selected 4090
半角文字のWrap中に合成文字が入力されたとき画面描画が行われていなかった

ticket #15826

Revision 10062 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 15 16:31:18 2022 UTC (20 months, 3 weeks ago) by zmatsuo
File length: 135438 byte(s)
Diff to previous 10061 , to selected 4090
空行を選択したときスペースが1文字コピーされる

ticket #45086

Revision 10061 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 15 14:59:28 2022 UTC (20 months, 3 weeks ago) by zmatsuo
File length: 135354 byte(s)
Diff to previous 10030 , to selected 4090
継続行の行末の文字がコピーされない

- 複数行選択したとき行末の文字がクリップボードに入らない
  - EnableContinuedLineCopy=on の時
- r10030 (ticket #44950) の修正でミスした

ticket #45086

Revision 10030 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 28 15:10:53 2022 UTC (21 months, 2 weeks ago) by zmatsuo
File length: 135161 byte(s)
Diff to previous 9840 , to selected 4090
空の行をコピーすると空白文字がコピーされる

- コピーする文字長計算を誤っていたので修正

ticket #44950

Revision 9840 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 28 15:24:22 2022 UTC (2 years ago) by zmatsuo
File length: 134984 byte(s)
Diff to previous 9839 , to selected 4090
HTML強調で描画速度が遅くなることがあったので修正

ticket #44183

Revision 9839 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 28 15:24:07 2022 UTC (2 years ago) by zmatsuo
File length: 134821 byte(s)
Diff to previous 9695 , to selected 4090
BuffScroll() を static 関数に変更

- BuffScroll() はこのファイル以外で使用されていなかった
- 警告が出ないようにした
  buffer.c(281,33): warning C4267: '+=': 'size_t' から 'unsigned char' に変換しました。データが失われているかもしれません。

Revision 9695 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 17 13:45:30 2022 UTC (2 years, 2 months ago) by zmatsuo
File length: 134799 byte(s)
Diff to previous 9465 , to selected 4090
稀にクラッシュすることがあった

- URL文字列強調処理内でバッファ外のメモリアクセスを行っていた

Revision 9465 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 14 14:51:28 2021 UTC (2 years, 5 months ago) by zmatsuo
File length: 134799 byte(s)
Diff to previous 9462 , to selected 4090
awcscat(), awcscats() を追加

- 動的確保したメモリーの文字列に文字列を追加する
- buffer.c から移動

Revision 9462 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 9 15:39:06 2021 UTC (2 years, 6 months ago) by zmatsuo
File length: 135365 byte(s)
Diff to previous 9404 , to selected 4090
絵文字設定について追記した

- html のインデントを 4 から 2 に変更した(.editorconfig)
- unicodebuf-text-emoji.txt の typo 修正
- buffer.c 意図が分かりやすいように修正

Revision 9404 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 7 14:59:51 2021 UTC (2 years, 7 months ago) by zmatsuo
File length: 135310 byte(s)
Diff to previous 9122 , to selected 4090
結合文字が続けて入力されたときクラッシュしないようにした

- 追加される領域サイズは unsigned char型で保持している
- 文字が追加され、領域を拡大する(+5のち2倍)
  - 領域サイズ、0, 5, 10, 20, 40, 80, 160, 320
- 160 から 320 になったときに unsigned char がオーバーフローして 64 に戻る
  - 320 = 0x140 -> 0x40 = 64
- 領域が 64 に縮小する
- 拡大されているつもりで、65番目に書き込む
- オーバーラン発生
- 際限なく追加しないよう制限するよう対策した
  - とりあえず最大100とした

Revision 9122 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 2 12:23:46 2021 UTC (3 years, 3 months ago) by zmatsuo
File length: 134674 byte(s)
Diff to previous 9121 , to selected 4090
revert r9121

- テスト中の修正を誤ってコミットしてしまったので revert

Revision 9121 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 2 12:10:30 2021 UTC (3 years, 3 months ago) by zmatsuo
File length: 134689 byte(s)
Diff to previous 9120 , to selected 4090
URL強調無限ループ

Revision 9120 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 2 12:10:14 2021 UTC (3 years, 3 months ago) by zmatsuo
File length: 134674 byte(s)
Diff to previous 9119 , to selected 4090
URL強調表示でハングアップする

- URL強調を無効化する条件を誤っていた
- r9119
- ticket #40967

Revision 9119 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 2 09:34:09 2021 UTC (3 years, 3 months ago) by zmatsuo
File length: 134679 byte(s)
Diff to previous 9115 , to selected 4090
URL強調表示でハングアップする

- 終了条件を誤っていた
- r9027
- ticket #40967

Revision 9115 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 28 14:29:48 2020 UTC (3 years, 3 months ago) by zmatsuo
File length: 134486 byte(s)
Diff to previous 9048 , to selected 4090
エスケープシーケンスからの印字を修正

- 内部は Unicode に対応した
- CP_ACP に変換して出力

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

ticket #40996

Revision 9040 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 29 15:26:40 2020 UTC (3 years, 4 months ago) by zmatsuo
File length: 134439 byte(s)
Diff to previous 9027 , to selected 4090
[ファイル]/[印刷]からの印刷をUnicodeに対応した

- 文字描画関数 DrawStrW(), DrawStrA() を vtdisp.c に追加
  - 画面描画、印刷から利用
  - vtwinで背景付きのとき描画が乱れていたのを修正
- DispStr(), PrnOutText() 内で描画時にキリル文字変換を行っていたのを削除
  - RussConvStr()
  - 従来も無効化していた
  - 内部バッファに文字をUnicodeで保存したときに、表示に適したANSI文字コードに変換して保存している

Revision 9027 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 15 19:44:40 2020 UTC (3 years, 4 months ago) by doda
File length: 133816 byte(s)
Diff to previous 8908 , to selected 4090
mark_url_line_w()でのループ回数に上限を設けた

Ticket: #40967

URL表示でハングアップする事への暫定対応。

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: 133790 byte(s)
Diff to previous 8825 , to selected 4090
現在バッファをすべてログへ書き出しを Unicode化した

- 別関数に分離, FLogOutputAllBuffer()

Revision 8825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 3 14:43:19 2020 UTC (3 years, 9 months ago) by zmatsuo
File length: 132889 byte(s)
Diff to previous 8798 , to selected 4090
ttcstd.hを追加

- C/C++のコンパイラごとの標準準拠差を吸収

Revision 8798 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 15 02:07:17 2020 UTC (3 years, 9 months ago) by zmatsuo
File length: 132913 byte(s)
Diff to previous 8785 , to selected 4090
コーディングプロパティページに文字幅の設定を追加

- East Asian Width Ambiguous 文字幅の設定をできるようにした
- 絵文字文字幅を設定できるようにした
- teraterm.ini の内容を変更
  - 追加
    - UnicodeAmbiguousWidth
    - UnicodeEmojiOverride
    - UnicodeEmojiWidth
  - 削除
    - UnicodeAmbiguousWide

Revision 8785 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 18 16:11:01 2020 UTC (3 years, 10 months ago) by zmatsuo
File length: 132859 byte(s)
Diff to previous 8771 , to selected 4090
URL強調時にバッファ外にアクセスしてクラッシュする場合があったので修正

- [Ttssh2-devel 4600]
- r8765

Revision 8771 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 12 14:32:44 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 132773 byte(s)
Diff to previous 8770 , to selected 4090
fontプロパティーページ追加

- Unicode/ANSI API切り替え
  - ANSI API使用時、文字コード変換に使用するコードページを変更できる
  - debugプロパティーページのUnicode/ANSI API切り替えを削除
- VTfont切り替えはすぐに設定に反映する
  - 今の所、[設定]/[フォント] から切り替えたときと同じ動作
- ANSI API利用時
  - 表示できない文字を表示
    - 半角時 '?'
    - 全角時 '?_'
- 未実装
  - フォント間
  - プロポーショナルフォント

Revision 8770 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 12 14:32:31 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 132633 byte(s)
Diff to previous 8766 , to selected 4090
フォント選択時にANSI表示用文字コードに使用するコードページを自動で選ぶようにした

- ANSI API ExtTextOutA() を使用する場合の文字コード
  - 9x系の場合, ANSI APIを使用する設定にした場合
- ExtTextOutW() を使用する場合は関係ない

Revision 8766 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 6 14:52:04 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 132122 byte(s)
Diff to previous 8765 , to selected 4090
CJK,2byte文字の入力をできるようにした

- 2byte系
  - KS5601, CP51949, ハングル
  - CP936, GB2312
  - CP950, Big5
- KanjiCode2List(), List2KanjiCode() を ttlib.c から ttdlg.c へ移動
- IdChinese (tttype.h) 追加
  - コードページやロケールの設定なしにメニューから設定できるようにする
- struct tttset に UnicodeAmbiguousAsWide 追加
- UnicodeAmbiguousWide=ON/OFF を teraterm.ini に追加

Revision 8765 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 6 14:51:43 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 132049 byte(s)
Diff to previous 8756 , to selected 4090
バッファ外アクセスでクラッシュする場合があったので修正

Revision 8756 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 26 15:36:39 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 131941 byte(s)
Diff to previous 8753 , to selected 4090
文字情報ポップアップに絵文字情報も出すようにした

Revision 8753 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 26 14:36:09 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 131875 byte(s)
Diff to previous 8752 , to selected 4090
文字情報ポップアップを修正

- Unicode文字が正しく表示されていなかった
- 次の文字コードも表示するようにした
  - UTF-16
  - UTF-32
- debugビルド時はデフォルトで使用可能とした

Revision 8752 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 26 14:36:00 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 130689 byte(s)
Diff to previous 8751 , to selected 4090
行末で結合文字の処理を修正

- 次の場合誤っていた
  - カーソルが行末
  - wrap状態
  - カーソル上の文字が1セル文字
- 例
  - U+0061 U+0302 ( a + ^ → â )

Revision 8751 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 26 14:35:51 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 130439 byte(s)
Diff to previous 8750 , to selected 4090
不要部分削除

Revision 8750 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 26 14:35:40 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 130616 byte(s)
Diff to previous 8748 , to selected 4090
デバグダイアログで描画APIのUnicode/ANSI切り替えができるようにした

Revision 8748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 26 14:35:19 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 130546 byte(s)
Diff to previous 8747 , to selected 4090
描画APIをUnicode/ANSI切り替えできるようにした

Revision 8747 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 26 14:35:09 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 130447 byte(s)
Diff to previous 8746 , to selected 4090
VS2005でビルドできなくなっていたので修正

Revision 8746 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 26 14:35:00 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 130405 byte(s)
Diff to previous 8745 , to selected 4090
無効化した箇所を削除した

Revision 8745 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 26 14:34:49 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 162524 byte(s)
Diff to previous 8744 , to selected 4090
ANSI文字の処理を修正

- buff_char_t にメンバー変数 ansi_char を追加
  - 2byte(2セル)文字の場合は、1セル目に文字が保存されて、2セル目は空き
- ANSI文字の結合処理
  - vtterm.cのUnicode結合文字関連の関数をunicode.cに移動
    - GetPrecomposedChar() -> UnicodeGetPrecomposedChar()
    - GetIndexOfCombiningFirstCode() -> UnicodeGetIndexOfCombiningFirstCode()
    - UnicodeCombining() 追加
- 文字情報ポップアップ
  - 表示内容を整理
    - "Press shift for sending to clipboard" 表示を追加
  - shiftを押したとき(クリップボードにコピーしたとき)
    - 音を出すようにした(MessageBeep(MB_OK))
    - ポップアップを消すようにした

Revision 8744 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 26 14:34:39 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 161473 byte(s)
Diff to previous 8742 , to selected 4090
CodeBuff 削除

- buff_char_t にメンバー変数 ansi_char を追加
- 要調査
  - ANSI文字表示
  - デリミタ関連
  - プリント関連

Revision 8742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 26 14:34:20 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 156887 byte(s)
Diff to previous 8741 , to selected 4090
AttrBuff, AttrBuff2 を削除

Revision 8741 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 26 14:34:09 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 152994 byte(s)
Diff to previous 8740 , to selected 4090
AttrBuffFG, AttrBuffBG を削除

Revision 8740 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 26 14:33:56 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 148060 byte(s)
Diff to previous 8739 , to selected 4090
buffer.c で UNICODE_INTERNAL_BUFF を使用しないようにした

- 常にUnicodeとする
- 他のソースでも要チェック

Revision 8739 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 26 14:33:45 2020 UTC (3 years, 11 months ago) by zmatsuo
File length: 166149 byte(s)
Diff to previous 8678 , to selected 4090
現在行を示すグローバル変数を削除

- CodeLine, AttrLine, AttrLine2, AttrLineFG, AttrLineBG, CodeLineW

Revision 8678 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 8 16:01:23 2020 UTC (4 years ago) by zmatsuo
File length: 162460 byte(s)
Diff to previous 8676 , to selected 4090
IME前後参照変換をUnicode化

- この機能は98/2000以降
- IsWindowUnicode()がTRUEのとき Unicode版を使用するようにした
  - ANSI版併用
- IME前後参照変換
  - https://ttssh2.osdn.jp/manual/4/ja/usage/tips/ime.html
- BuffGetLineStrW()追加
  - IME用文字列取得

Revision 8676 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 8 16:01:02 2020 UTC (4 years ago) by zmatsuo
File length: 160034 byte(s)
Diff to previous 8598 , to selected 4090
buffer.c からクリップボードを操作しないようにした

- BuffEndSelect() の仕様変更
- BuffCBCopyUnicode() の仕様変更

Revision 8598 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 15 15:24:18 2020 UTC (4 years ago) by zmatsuo
File length: 160023 byte(s)
Diff to previous 8585 , to selected 4090
結合文字等を遅れて受信した際正しく表示されるよう修正

- "ほ" U+307B の後に U+309A が送られてきたときなど
- 例
  - U+307B U+309A = "ぽ" (U+307D)
  - U+0061 U+0302 = "â" (U+00E2)
  - U+0041 U+0302 U+0300
- Ticket #15826

Revision 8585 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 10 15:29:58 2020 UTC (4 years, 1 month ago) by zmatsuo
File length: 158523 byte(s)
Diff to previous 8584 , to selected 4090
コンパイル時に警告が出ていたので修正

- warning C4018: '<' : signed と unsigned の数値を比較しようとしました。

Revision 8584 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 10 15:29:44 2020 UTC (4 years, 1 month ago) by zmatsuo
File length: 158482 byte(s)
Diff to previous 8480 , to selected 4090
asprintf(), aswprintf(), vasprintf(), vawsprintf() を追加

- buffer.c から分離

Revision 8480 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 16 15:18:54 2020 UTC (4 years, 2 months ago) by doda
File length: 160844 byte(s)
Diff to previous 8446 , to selected 4090
端末サイズの横幅を500にすると落ちるのを修正

Revision 8446 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 20 04:00:18 2019 UTC (4 years, 3 months ago) by doda
File length: 160838 byte(s)
Diff to previous 8445 , to selected 4090
DECFRA が正しく動かないのを修正

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

Revision 8411 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 27 14:01:17 2019 UTC (4 years, 4 months ago) by zmatsuo
File length: 105771 byte(s)
Diff to previous 8400 , to selected 4090
まれな条件でテキストの選択状態がキャンセルされないようにした

- 選択状態がキャンセルされる条件
  - 一番上の行(の一部)を選択しておく
  - 次のどちらか処理を行う
    - SetupWindow でスクロールバッファサイズを変更
    - ステータスラインの表示状態を変更
- [Ttssh2-devel 4352]

Revision 8400 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 22 15:25:44 2019 UTC (4 years, 4 months ago) by doda
File length: 105768 byte(s)
Diff to previous 7499 , to selected 4090
マウスでのドラッグを行った時間が短い場合にドラッグとみなさないようにした。

Ticket: #39591

問題:
  ウィンドウをアクティブにする為に VT ウィンドウをクリックした時、マウスが
  少し動いた事でドラッグした事になり選択内容が消える事が有る。

対処:
  短時間でのドラッグをドラッグとみなさないよう設定できるようにした。

Revision 7499 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 18 14:13:16 2019 UTC (5 years ago) by zmatsuo
File length: 105153 byte(s)
Diff to previous 7496 , to selected 4090
誤ってコミットしてしまったためリバート

Revision 7496 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 18 14:01:33 2019 UTC (5 years ago) by zmatsuo
File length: 105178 byte(s)
Diff to previous 7087 , to selected 4090
高速化テスト(Ttssh2-devel 3598)

Revision 7087 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 2 09:07:36 2018 UTC (6 years ago) by doda
File length: 105153 byte(s)
Diff to previous 7086 , to selected 4090
DECCARA による属性変更で、色が正しく無くなるのを修正 #38169

文字色/背景色が適用対象じゃない時に色番号をコピーしていたため。

Revision 7086 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 29 14:58:31 2018 UTC (6 years ago) by doda
File length: 104427 byte(s)
Diff to previous 7085 , to selected 4090
DECSACE に対応 #33906

DECCARA / DECRARA を DECSACE の設定に従って適用範囲を変更するようにした。

Revision 7085 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 29 14:58:25 2018 UTC (6 years ago) by doda
File length: 100652 byte(s)
Diff to previous 7083 , to selected 4090
DECCARA で漢字が壊れる問題を修正 #38170

DECCARA の対象範囲の先頭が漢字の 2 バイト目だった時に 1 バイト目も
対象領域に含めるよう対象領域を広げているが、その広げた領域の属性
変更で AttrBuff2 を対象にすべき処理を AttrBuff に対して行っていた。

Revision 7083 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 29 14:58:16 2018 UTC (6 years ago) by doda
File length: 100651 byte(s)
Diff to previous 6841 , to selected 4090
DECCARA / DECRARA の対象領域が間違っているのを修正 #38168

対象領域の先頭が漢字の 2 バイト目だった(正確には前の文字が
漢字の 1 バイト目だった)時に 1 バイト目も対象領域に含めるよう
処理を行っていたが、対象領域を広げる必要が無い時にカウンタを
進め忘れていた為、常に一つ前のセルも対象領域に含めてしまっていた。

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: 100671 byte(s)
Diff to previous 6806 , to selected 4090
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: 100675 byte(s)
Diff to previous 6803 , to selected 4090
TeraTerm Project としてのライセンス表記を追加

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

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

Revision 6803 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 13 10:42:58 2017 UTC (6 years, 9 months ago) by doda
File length: 99209 byte(s)
Diff to previous 6785 , to selected 4090
NO_COPYLINE_FIX マクロを廃止。常に有効。

Revision 6785 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 9 10:04:32 2017 UTC (6 years, 10 months ago) by doda
File length: 99891 byte(s)
Diff to previous 6435 , to selected 4090
InitBuffer 側でも ts.TerminalWidth, ts.TerminalHeight の値のチェックを行うようにした。

ts.TerminalWidth, ts.TerminalHeight の値が不正になるパスは全部潰してあるはずだけど念の為。

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: 99655 byte(s)
Diff to previous 6360 , to selected 4090
・行末の空白/タブを削除
・インデント調整

Revision 6360 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 4 11:13:38 2016 UTC (8 years ago) by doda
File length: 99666 byte(s)
Diff to previous 6174 , to selected 4090
DECFI/DECBI で BCE が適用されなかったのを修正


Revision 6174 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 30 09:43:29 2015 UTC (8 years, 4 months ago) by doda
File length: 99600 byte(s)
Diff to previous 5800 , to selected 4090
CSI シーケンスのパラメータチェックを強化。


Revision 5800 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 27 14:57:30 2015 UTC (9 years, 1 month ago) by doda
File length: 99542 byte(s)
Diff to previous 5453 , to selected 4090
画面左端での DECBI で、左端に漢字が有った場合にその文字が消えるのを修正


Revision 5453 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 13 05:48:15 2013 UTC (10 years, 4 months ago) by doda
File length: 99459 byte(s)
Diff to previous 5438 , to selected 4090
ウィンドウサイズ変更時にカーソルが左端に移動するのを修正。


Revision 5438 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 26 05:51:09 2013 UTC (10 years, 4 months ago) by doda
File length: 99478 byte(s)
Diff to previous 5433 , to selected 4090
設定名変更
https://sourceforge.jp/ticket/browse.php?group_id=1412&tid=32028


Revision 5433 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 25 08:21:27 2013 UTC (10 years, 4 months ago) by doda
File length: 99459 byte(s)
Diff to previous 5432 , to selected 4090
ts.IgnoreCharContinuedLineURLが空の時は前行の行末文字によらずに継続していると判断するように変更。


Revision 5432 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 25 06:45:26 2013 UTC (10 years, 4 months ago) by doda
File length: 99402 byte(s)
Diff to previous 5431 , to selected 4090
条件をミスっていたので修正。
# 前行末が継続マーク文字の時に、URL属性がついていなくても無条件にURL属性をつけてしまっていた。


Revision 5431 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 23 17:19:04 2013 UTC (10 years, 4 months ago) by doda
File length: 99442 byte(s)
Diff to previous 5428 , to selected 4090
・DECFI/DECBIでスクロールマージンを無視していたのを修正
・DECBIでカーソル位置の保存が行われていたのを修正
・DECFIでアプリケーションキーパッドモードに変更していたのを修正


Revision 5428 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 23 11:41:29 2013 UTC (10 years, 4 months ago) by doda
File length: 98491 byte(s)
Diff to previous 5426 , to selected 4090
行末の改行で分割されたURLを強制的につなげられるようにした。
https://sourceforge.jp/ticket/browse.php?group_id=1412&tid=32028


Revision 5426 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 22 09:21:17 2013 UTC (10 years, 4 months ago) by doda
File length: 98473 byte(s)
Diff to previous 5392 , to selected 4090
インデント修正


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: 98437 byte(s)
Diff to previous 5371 , to selected 4090
チケット #32144
ログ採取開始時の現在バッファをあらかじめ含める

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


Revision 5371 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 26 18:34:39 2013 UTC (10 years, 7 months ago) by doda
File length: 98085 byte(s)
Diff to previous 5339 , to selected 4090
左右マージン上に2バイト文字が有った時にスクロール等でゴミが出るのを修正。
# 見逃せないバグなので、入れさせてください


Revision 5339 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 2 08:17:57 2013 UTC (10 years, 9 months ago) by doda
File length: 95299 byte(s)
Diff to previous 5327 , to selected 4090
SD/SU の左右マージン対応


Revision 5327 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 03:04:18 2013 UTC (10 years, 9 months ago) by doda
File length: 94883 byte(s)
Diff to previous 5326 , to selected 4090
HT/CHT/CBT で左右マージンを見るようにした。


Revision 5326 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 17 17:54:32 2013 UTC (10 years, 9 months ago) by doda
File length: 94524 byte(s)
Diff to previous 5325 , to selected 4090
左右マージン外では ICH で何も行わないようにした。(VT525の動作に合わせた)


Revision 5325 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 17 17:47:08 2013 UTC (10 years, 9 months ago) by doda
File length: 94508 byte(s)
Diff to previous 5324 , to selected 4090
DCH の 左右マージン対応


Revision 5324 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 17 12:14:30 2013 UTC (10 years, 9 months ago) by doda
File length: 94474 byte(s)
Diff to previous 5279 , to selected 4090
DECLRMM/DECSLRMに仮対応
差分が大きくなってきたのでとりあえずコミット。まだ直さないといけない所があるけれど。


Revision 5279 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 24 10:58:57 2013 UTC (10 years, 10 months ago) by doda
File length: 93494 byte(s)
Diff to previous 5278 , to selected 4090
URL 上でマウスカーソル形状を変更する際の判定が左に半文字分ずれていたのを修正。


Revision 5278 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 24 08:45:38 2013 UTC (10 years, 10 months ago) by doda
File length: 93486 byte(s)
Diff to previous 5095 , to selected 4090
URL が行末で終わっている時に次の行頭の文字が URL の続きとして扱われていた問題を修正。


Revision 5095 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 10 21:46:32 2012 UTC (11 years, 4 months ago) by doda
File length: 93383 byte(s)
Diff to previous 5092 , to selected 4090
DECCARA, DECRARA を仮実装。DECSACEをまだ実装していないので、vttestは通りません。


Revision 5092 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 4 15:27:29 2012 UTC (11 years, 4 months ago) by doda
File length: 91714 byte(s)
Diff to previous 5091 , to selected 4090
DECFRAで保護属性を正しく反映していなかったのを修正。
# vttestのDECSERAのテストが通らなかった原因


Revision 5091 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 4 14:34:26 2012 UTC (11 years, 4 months ago) by doda
File length: 91731 byte(s)
Diff to previous 5090 , to selected 4090
関数名が気に食わなくなったので変更。


Revision 5090 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 4 03:59:26 2012 UTC (11 years, 4 months ago) by doda
File length: 91728 byte(s)
Diff to previous 5089 , to selected 4090
DECFRAに対応。


Revision 5089 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 4 00:54:13 2012 UTC (11 years, 4 months ago) by doda
File length: 90636 byte(s)
Diff to previous 4932 , to selected 4090
DECCRAに仮対応


Revision 4932 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 8 16:36:57 2012 UTC (11 years, 11 months ago) by yutakapon
File length: 88160 byte(s)
Diff to previous 4707 , to selected 4090
IMEの前後フィードバック対応を行った。
ATOK2012で動作確認済み。


Revision 4707 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 5 09:23:58 2011 UTC (12 years, 5 months ago) by yutakapon
File length: 87861 byte(s)
Diff to previous 4704 , to selected 4090
_snprintf_s() のためのヘッダファイルを追加した。
Visual Studio 2008における警告抑止のため。


Revision 4704 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 1 15:44:22 2011 UTC (12 years, 5 months ago) by maya
File length: 87841 byte(s)
Diff to previous 4687 , to selected 4090
クリッカブル URL で起動するブラウザを指定できるようにした
  http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=26661

Revision 4687 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 24 12:36:52 2011 UTC (12 years, 5 months ago) by doda
File length: 87181 byte(s)
Diff to previous 4469 , to selected 4090
タブストップ設定(HTS)/削除(TBC)制御シーケンスを受け付けるか設定できるようにした。
主な用途は、TabStopModifySequence=HTS7,TBC として、8ビットの HTS (0x88) を無効にする事。
# SJIS 以外の設定の時に誤って CP932 のテキストを表示した時にタブ位置が崩れないようにするのが目的


Revision 4469 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 17 15:17:53 2011 UTC (12 years, 10 months ago) by doda
File length: 87105 byte(s)
Diff to previous 4377 , to selected 4090
Revert r4377
方針がまだ定まらないし、報告者も無効にするよりは元のままの方がいいという事なので、元に戻す。


Revision 4377 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 8 10:09:06 2011 UTC (13 years, 1 month ago) by doda
File length: 87155 byte(s)
Diff to previous 4243 , to selected 4090
Term size = win size がオフの時は、Auto scroll only in bottom line が無効になるようにした。
http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=24493
# 暫定。動作がちゃんと定義できるならば対応したいところだけれど、イメージがわかない。


Revision 4243 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 21 04:11:15 2010 UTC (13 years, 3 months ago) by doda
File length: 87105 byte(s)
Diff to previous 4102 , to selected 4090
DECFI/DECBI 制御シーケンスに対応。


Revision 4102 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 13 07:07:46 2010 UTC (13 years, 7 months ago) by doda
File length: 85175 byte(s)
Diff to previous 4100 , to selected 4090
DECSED で左端の表示がクリアされなかったのを修正。


Revision 4100 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 13 06:36:24 2010 UTC (13 years, 7 months ago) by doda
File length: 85175 byte(s)
Diff to previous 4090
Selective Erase で SGR 属性を消去しないようにした。


Revision 4090 - (view) (download) (as text) (annotate) - [selected]
Modified Tue Sep 7 04:33:38 2010 UTC (13 years, 7 months ago) by doda
File length: 86006 byte(s)
Diff to previous 4070
Selective Erase 対応の矩形消去 (DECSERA) 制御シーケンスに対応。


Revision 4070 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 31 09:18:28 2010 UTC (13 years, 7 months ago) by doda
File length: 84503 byte(s)
Diff to previous 3767 , to selected 4090
Selective Erase に対応。


Revision 3767 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 2 05:44:16 2010 UTC (14 years, 2 months ago) by doda
File length: 80777 byte(s)
Diff to previous 3766 , to selected 4090
Alternate screen buffer 使用中に横幅を縮めたとき、行末にゴミが残る場合があるのを修正。
# r3766 と同根


Revision 3766 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 2 05:38:06 2010 UTC (14 years, 2 months ago) by doda
File length: 80635 byte(s)
Diff to previous 3765 , to selected 4090
ウィンドウ幅を狭めた結果、行末の漢字の後ろ半分が消された場合、前半分がゴミとして残るので消すようにした。


Revision 3765 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 2 01:33:11 2010 UTC (14 years, 2 months ago) by doda
File length: 80494 byte(s)
Diff to previous 3756 , to selected 4090
リサイズ時の挙動を調整。


Revision 3756 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 1 03:14:32 2010 UTC (14 years, 2 months ago) by doda
File length: 80641 byte(s)
Diff to previous 3754 , to selected 4090
インデント修正


Revision 3754 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 28 13:42:34 2010 UTC (14 years, 2 months ago) by doda
File length: 80654 byte(s)
Diff to previous 3745 , to selected 4090
Alternate Screen Buffer 使用中に横幅を縮めた時の復元処理がおかしかったのを修正。


Revision 3745 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 28 01:58:11 2010 UTC (14 years, 2 months ago) by doda
File length: 80676 byte(s)
Diff to previous 3743 , to selected 4090
端末リセットで保存しているスクリーンバッファを開放するようにした。


Revision 3743 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 27 22:20:42 2010 UTC (14 years, 2 months ago) by doda
File length: 80501 byte(s)
Diff to previous 3737 , to selected 4090
Alternate Screen Bufferに対応。


Revision 3737 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 20 13:57:16 2010 UTC (14 years, 2 months ago) by doda
File length: 78129 byte(s)
Diff to previous 3734 , to selected 4090
接続直後やスクロールバッファをクリアした直後のウィンドウの縦サイズ変更が正しく動かないのを修正。
# とりあえずの対処なので、縦サイズ変更時の挙動がまだ気に入らない。要調整。


Revision 3734 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 12 09:58:44 2010 UTC (14 years, 3 months ago) by doda
File length: 77840 byte(s)
Diff to previous 3731 , to selected 4090
ウィンドウの縦幅が変更無かった場合は、カーソルのY座標を変更しない


Revision 3731 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 11 02:51:18 2010 UTC (14 years, 3 months ago) by doda
File length: 77820 byte(s)
Diff to previous 3728 , to selected 4090
リサイズ後の表示位置を調整


Revision 3728 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 8 09:21:21 2010 UTC (14 years, 3 months ago) by doda
File length: 77565 byte(s)
Diff to previous 3726 , to selected 4090
ClearOnResize=off の時でも、表示位置のリセットを行うようにした。


Revision 3726 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 8 08:11:47 2010 UTC (14 years, 3 months ago) by doda
File length: 77610 byte(s)
Diff to previous 3723 , to selected 4090
カーソル位置の計算を修正。
とりあえずカーソル位置に関しては問題が無くなったはず。


Revision 3723 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 7 10:23:31 2010 UTC (14 years, 3 months ago) by doda
File length: 77577 byte(s)
Diff to previous 3721 , to selected 4090
$B%+!<%=%k0LCV$N7W;;$,$*$+$7$$$N$r=$@5!#(B
# $B%+!<%=%k$N=D0LCV$H%&%#%s%I%&$N2#I}$rHf$Y$F$I$&$9$k!D(Borz


Revision 3721 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 5 02:18:25 2010 UTC (14 years, 3 months ago) by doda
File length: 77579 byte(s)
Diff to previous 3686 , to selected 4090
ClearOnResize=offの実装。
ClearOnResize=offにすると、ウィンドウサイズ変更時に表示内容がクリアされなくなる。
ただし、現状では縦幅を変更する時の動作がおかしい。
他にも色々と調整が必要。

http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=19711


Revision 3686 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 16 17:48:29 2009 UTC (14 years, 4 months ago) by doda
File length: 77065 byte(s)
Diff to previous 3659 , to selected 4090
Alternate Screen Bufferのサポートに向けたコード整理。


Revision 3659 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 25 16:11:54 2009 UTC (14 years, 5 months ago) by doda
File length: 77417 byte(s)
Diff to previous 3656 , to selected 4090
他の属性が付いている場合にも対応。


Revision 3656 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 24 08:33:15 2009 UTC (14 years, 5 months ago) by yutakapon
File length: 77418 byte(s)
Diff to previous 3642 , to selected 4090
クリッカブルURLの色描画が、間欠で誤って、行末までペイントされてしまう問題へ対処した。


Revision 3642 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 10 09:42:57 2009 UTC (14 years, 6 months ago) by doda
File length: 76493 byte(s)
Diff to previous 3621 , to selected 4090
URL属性色が無効の場合は、URLに下線属性を付けないようにした。
# 下線の有無を選択する設定を別に作った方がいいのかも


Revision 3621 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 16 14:01:44 2009 UTC (14 years, 6 months ago) by doda
File length: 76535 byte(s)
Diff to previous 3615 , to selected 4090
Unlock漏れを修正。


Revision 3615 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 28 16:32:09 2009 UTC (14 years, 7 months ago) by yutakapon
File length: 76449 byte(s)
Diff to previous 3614 , to selected 4090
EnableURLColor=on
EnableClickableUrl=off
と設定した場合においても、URLをクリックはできないが、カラー表示できるようにした。


Revision 3614 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 28 16:19:17 2009 UTC (14 years, 7 months ago) by yutakapon
File length: 76408 byte(s)
Diff to previous 3613 , to selected 4090
クリッカブルURLのプレフィックスをポインタ配列に定義し直した。


Revision 3613 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 28 05:00:15 2009 UTC (14 years, 7 months ago) by maya
File length: 76677 byte(s)
Diff to previous 3610 , to selected 4090
sftp スキームもクリッカブル URL の対象とした。
  if が並んでいるのを else if にしてしまいましたが、大丈夫でしょうか。

Revision 3610 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 26 16:14:38 2009 UTC (14 years, 7 months ago) by yutakapon
File length: 76576 byte(s)
Diff to previous 3608 , to selected 4090
クリッカブルURLが有効の場合のみ、マウスカーソルを変形させるようにした。


Revision 3608 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 26 14:59:58 2009 UTC (14 years, 7 months ago) by yutakapon
File length: 76447 byte(s)
Diff to previous 3417 , to selected 4090
ハイパーリンクの色属性描画を復活させた。
なお、一度検出したハイパーリンク文字列を、手動で消され、ハイパーリンクでなくなった場合は、描画がそのまま残る。


Revision 3417 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 20 14:58:24 2009 UTC (14 years, 10 months ago) by maya
File length: 75893 byte(s)
Diff to previous 3416 , to selected 4090
サポートしていないスキームでも URL 属性が付く問題を修正

Revision 3416 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 20 13:38:32 2009 UTC (14 years, 10 months ago) by doda
File length: 75892 byte(s)
Diff to previous 3414 , to selected 4090
韓国語(KS5601)対応を改善。


Revision 3414 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 19 14:20:03 2009 UTC (14 years, 10 months ago) by yutakapon
File length: 75717 byte(s)
Diff to previous 3407 , to selected 4090
RFC3986 において、URI文字に | は許可されていないため、認識不可に戻した。
http://www.ietf.org/rfc/rfc3986.txt


Revision 3407 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 18 05:45:05 2009 UTC (14 years, 10 months ago) by doda
File length: 75643 byte(s)
Diff to previous 3405 , to selected 4090
Language=UTF-8対応


Revision 3405 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 17 15:35:08 2009 UTC (14 years, 10 months ago) by yutakapon
File length: 75482 byte(s)
Diff to previous 3393 , to selected 4090
クリッカブルURLにおいて、以下の修正を適用した。
 ・URL文字として|を認識するようにした。
 ・URL文字列が1024バイトを超えると、バッファが null-terminate されていなかったバグの修正。

cf.
http://logmett.com/forum/viewtopic.php?f=8&t=1104


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

Revision 3338 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 22 10:27:54 2009 UTC (14 years, 11 months ago) by doda
File length: 76932 byte(s)
Diff to previous 3321 , to selected 4090
漢字で始まる行が常に継続行となってしまっていたのを修正。


Revision 3321 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 16 05:18:56 2009 UTC (14 years, 11 months ago) by salarm
File length: 76932 byte(s)
Diff to previous 3316 , to selected 4090
Scroll Regionが設定されている時の最下行以外では自動スクロールしない処理を修正
・最下行でないときに画面が流れていかないように修正


Revision 3316 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 15 12:49:32 2009 UTC (14 years, 11 months ago) by doda
File length: 76634 byte(s)
Diff to previous 3312 , to selected 4090
ELで行末までを消した時に、次の行への継続もクリアするようにした。


Revision 3312 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 15 10:22:42 2009 UTC (15 years ago) by doda
File length: 76490 byte(s)
Diff to previous 3227 , to selected 4090
継続行コピーがうまく働かない場合があるのを修正。


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: 75711 byte(s)
Diff to previous 3221 , to selected 4090
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: 72805 byte(s)
Diff to previous 2596 , to selected 4090
CVS から SVN へ移行: trunk に集約

Revision 2596 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 12 07:30:40 2008 UTC (15 years, 6 months ago) by doda
Original Path: teraterm/trunk/teraterm/buffer.c
File length: 72805 byte(s)
Diff to previous 2553 , to selected 4090
・消去領域に反転等の属性を適用していたのを修正した。
・「編集」メニューの「画面消去」,「バッファ消去」で現在の背景色で消去していたのを、デフォルトの背景色で消去するように修正した。
・ED (Erase in Display:画面消去)(ただし画面全体の消去(2J)を除く), EL (Erase in Line:行消去)等で、消去後の表示とバッファの内容の同期が取れていない事があったのを修正した。
・DECALN (DEC Screen Alignment Test: 表示調整用 -- 画面全体を E で埋める)での表示に文字属性を適用していたのを修正した。


Revision 2553 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 5 13:21:42 2008 UTC (15 years, 9 months ago) by doda
Original Path: teraterm/trunk/teraterm/buffer.c
File length: 72907 byte(s)
Diff to previous 2551 , to selected 4090
CHT制御シーケンスに対応。


Revision 2551 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 3 20:14:09 2008 UTC (15 years, 9 months ago) by doda
Original Path: teraterm/trunk/teraterm/buffer.c
File length: 73123 byte(s)
Diff to previous 2545 , to selected 4090
CBT制御シーケンスに対応。


Revision 2545 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 20 11:58:47 2008 UTC (15 years, 9 months ago) by doda
Original Path: teraterm/trunk/teraterm/buffer.c
File length: 72904 byte(s)
Diff to previous 2519 , to selected 4090
・TeraTerm -> Tera Term
・その他細かい修正


Revision 2519 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 19 14:00:27 2008 UTC (15 years, 10 months ago) by doda
Original Path: teraterm/trunk/teraterm/buffer.c
File length: 72903 byte(s)
Diff to previous 2499 , to selected 4090
Mouse Tracking Mode時もダブルクリックによる単語選択を有効にした。


Revision 2499 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 6 10:54:34 2008 UTC (15 years, 11 months ago) by yutakapon
Original Path: teraterm/trunk/teraterm/buffer.c
File length: 72525 byte(s)
Diff to previous 2476 , to selected 4090
最下行でのみスクロールするパッチを追加した。salarm氏に感謝します。


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/buffer.c
File length: 72192 byte(s)
Diff to selected 4090
ファイル移動に伴う修正


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