Skip to content

Releases: hymkor/csvi

v1.23.2

Choose a tag to compare

@hymkor hymkor released this 11 Apr 13:02

Changes in v1.23.2 (English)

  • Change Ctrl-L behavior during input (e.g. cell or filename editing) (#110):
    • Redraw the current input instead of clearing the entire screen.
    • Update go-readline-ny to v1.14.3 supporting redrawing the current input.

Changes in v1.23.2 (Japanese)

  • セルやファイル名などの入力中の Ctrl-L の動作を変更 (#110)
    • 画面全体のクリアではなく、編集文字列の再描画だけとした。
    • go-readline-ny を編集文字列再表示機能を用意した v1.14.3 へ更新

v1.23.1

Choose a tag to compare

@hymkor hymkor released this 21 Mar 06:53

Changes in v1.23.1 (English)

Bug fixes

  • Fix an issue where, if no recognizable line endings are found in the input data, newly created lines were saved without line breaks (#106)
  • Fix an issue where, if no recognizable line endings are found in the input data, the delimiter for newly created lines was always set to tab; it now defaults to tab but respects -c / -t options (#106)

New features

  • Allow canceling save and search operations with Ctrl-C (#105)
  • Add -lf and -crlf options to control the default line ending for newly added lines (#107)

Changes in v1.23.1 (Japanese)

不具合修正

  • 読み込みデータ内に(標準とみなせる)改行コードがない場合、保存ファイルの新規作成行にも改行がなく、列区切り文字もタブ固定になってしまう不具合を修正。 (#106)
  • 読み込みデータ内に(標準とみなせる)改行コードがない場合、新規作成行の改行コードは OS標準の改行コードとし、区切り文字はタブがデフォルトで -c, -t などのオプションに従うものとした。 (#106)

新機能

  • Ctrl-C で保存や検索操作を中断できるようにした (#105)
  • 新規追加行に対するデフォルトの改行コードを制御するオプションとして -lf ・-crlf を追加 (#107)

v1.23.0

v1.23.0 Pre-release
Pre-release

Choose a tag to compare

@hymkor hymkor released this 14 Mar 03:26

Changes in v1.23.0 (English)

Bug fixes

New features

  • Changed file saving to use a temporary file until writing completes, eliminating any window where the original file could be left in a partial state. (#95)
  • Indicate READONLY files explicitly when prompting for overwrite confirmation (#97)

Documents

  • Rename release note files to CHANGELOG.md and CHANGELOG_ja.md. (#94)

Changes in v1.23.0 (Japanese)

不具合修正

仕様変更

  • ファイル保存時に出力が完了するまで一時ファイル名を使い、元のファイルが不完全な状態になる時間をゼロとした (#95)
  • 上書き確認時に、READONLY 属性のファイルであることを明示するようにした (#97)

ドキュメント

  • 変更履歴を記録するファイルを release_note_en.md, release_note_ja.md から CHANGELOG.md, CHANGELOG_ja.md へ改名 (#94)

v1.22.0

Choose a tag to compare

@hymkor hymkor released this 13 Feb 08:22

Changes in v1.22.0 (English)

User-Facing Changes

  • Prevent creation of empty lines at EOF without newline characters. (#79)
  • Fixed an issue where the version string was empty when installed via 'go install'. (#82, #84; Thanks to @gsmitheidw)
  • Add -version option (#82, #85; Thanks to @gsmitheidw)

API Changes & Deprecations

  • Deprecate KeyEventArgs.CursorRow and CursorCol; use CurrentRow() and CurrentCol() instead. (#80)
  • Export Application.isDirty as IsDirty (#81)

Internal & Build Improvements

  • Improved build portability by replacing local helper tools with go run (make release, make manifest, make readme and make docs). (#83, #87)

Changes in v1.22.0 (Japanese)

ユーザインターフェイス変更

  • EOF に到達した際、改行を含まない 0 バイト行を生成しないようにした。 (#79)
  • go install でインストールした際に、バージョン情報が表示されない問題を修正した (#82, #84; Thanks to @gsmitheidw)
  • -version オプションを追加 (#82, #85; Thanks to @gsmitheidw)

API 変更

  • KeyEventArgs.CursorRow, CursorCol を Deprecated とした。今後は、かわりに CurrentRow(), CurrentCol() を使用のこと (#80)
  • Application.isDirtyIsDirty として公開とした (#81)

内部/保守改善

  • go run の活用により、外部ツール不要でビルド・メンテナンスができるよう改善した (make release, make manifest, make readme, make docs) (#83, #87)

v1.21.2

Choose a tag to compare

@hymkor hymkor released this 06 Feb 11:13

Changes in v1.21.2 (English)

  • Readline: Meta+Ctrl+G can now be used to cancel input (#74)

Changes in v1.21.2 (Japanese)

  • Readline: Meta+Ctrl+G でも入力をキャンセルできるようにした。 (#74)

v1.21.1

Choose a tag to compare

@hymkor hymkor released this 30 Jan 18:24

Changes in v1.21.1 (English)

  • Removed the line deletion assigned to the uppercase D key. This was done because the escape sequence for the left arrow key (\x1B[D) could be split in some environments, causing unintended behavior. Line deletion is still available via dd.(#65)
  • Improved handling of the Escape key by treating it as a prefix key, preventing misinterpretation of split ESC sequences. (#66, #67)
  • As a result, the key used to cancel cell editing has changed:
    • Previously: Esc
    • Now: Ctrl-G (consistent with Emacs behavior)
  • The following internal libraries were updated as part of this change:
    • go-readline-ny: v1.12.3 → v1.14.1 (#68, #71)
      • Improved ESC prefix handling
    • go-ttyadapter: v0.2.0 → v0.3.0 (#70)
      • Switched to tty8pe for proper ESC sequence handling

Changes in v1.21.1 (Japanese)

  • 英大文字のDキーから行削除の機能を除いた(左矢印キーを表すキーシーケンス \x1B[D の入力が分断された場合に、誤動作することがあったため。行削除は dd でも利用可能)(#65)
  • Escape キーをプレフィックスキーとして扱うように変更し、分断された ESC シーケンス(例: \x1B[)による誤動作を防止した。 (#66, #67)
  • これに伴い、セル編集中のキャンセル操作を以下のように変更した。
    • 旧:Esc
    • 新:Ctrl-G(Emacs と同様)
  • 内部的には以下のライブラリを更新した:
    • go-readline-ny: v1.12.3 → v1.14.1 (#68, #71)
      • ESC をプレフィックスとして扱う挙動に変更
    • go-ttyadapter: v0.2.0 → v0.3.0 (#70)
      • ESC シーケンス処理の改善(tty8tty8pe

v1.21.0

v1.21.0 Pre-release
Pre-release

Choose a tag to compare

@hymkor hymkor released this 24 Jan 11:46

Changes in v1.21.0 (English)

  • Print the value of -delimiter on the status line (#57)
  • README: Normalize naming: use "Csvi" for the application name and csvi for the command (#58)
  • Update startup message to use "Csvi" instead of "csvi" (#58)
  • Internal: slightly improved handling of halfwidth voiced sound marks during truncation. (#59)
    • Work around width miscalculation by inserting U+007F before them
  • Internal: "internal/nonblock": (*NonBlock) TryFetch now returns os.ErrDeadlineExceeded instead of io.EOF when a timeout occurs. (#61)
  • Display a text animation while waiting for a save operation to complete. (#62)

Changes in v1.21.0 (Japanese)

  • -delimiter で設定した値を、ステータスラインに表示するようにした (#57)
  • README: アプリケーション名としては「Csvi」、コマンド名としては csvi に統一 (#58)
  • 起動時メッセージでは「csvi」ではなく「Csvi」を使うようにした (#58)
  • 内部変更: 半角カナの濁音を含む文字列の切り詰め処理をわずかに改善 (#59)
    • 濁音記号の前に U+007F を挿入し、幅の誤計測を回避
  • 内部変更: "internal/nonblock": (*NonBlock) TryFetch がタイムアウト時に io.EOF ではなく os.ErrDeadlineExceeded を返すように変更 (#61)
  • 保存処理の待ち時間中にテキストアニメーションを表示するようにした (#62)

v1.20.1

Choose a tag to compare

@hymkor hymkor released this 18 Jan 04:28

Changes in v1.20.1 (English)

  • Merge bug fixes from v1.19.x series
    • Fix CPU spinning when saving while CSV data is still being loaded (#54,v1.19.4)
    • Fix CPU spinning when the CSV has fewer rows than the screen height (#52,v1.19.3)
    • Fix CPU spinning after CSV loading completed (#49, #50,v1.19.2)

Changes in v1.20.1 (Japanese)

  • v1.19.2 〜 v1.19.4 で行った不具合修正をv1.20 系へ反映
    • CSVデータ読み込み途中で保存操作を行うと、以後のキー入力待ちの間に CPU が空回りしてしまう問題を修正 (#54,v1.19.4)
    • CSV が画面行数よりも短い場合に CPU が空回しになってしまう問題を修正 (#52,v1.19.3)
    • データ読み込みが終わると、CPU が空回りになる問題に対処 (#49,#50,v1.19.2)

  • Jan 18: Released as a pre-release
  • Jan 24: Pre-release flag removed and merged into the master branch

v1.19.4

Choose a tag to compare

@hymkor hymkor released this 18 Jan 03:48

Changes in v1.19.4 (English)

  • Fix CPU spinning when saving while CSV data is still being loaded (#54)

Changes in v1.19.4 (Japanese)

  • CSVデータ読み込み途中で保存操作を行うと、以後のキー入力待ちの間に CPU が空回りしてしまう問題を修正 (#54)

v1.19.3

Choose a tag to compare

@hymkor hymkor released this 18 Jan 02:00

Changes in v1.19.3 (English)

  • Fix CPU spinning when the CSV has fewer rows than the screen height (#52)

Changes in v1.19.3 (Japanese)

  • CSV が画面行数よりも短い場合に CPU が空回しになってしまう問題を修正 (#52)