Skip to content

4.4.15_0

Compare
Choose a tag to compare
@hymkor hymkor released this 07 Apr 11:59
· 50 commits to master since this release

The binaries of this version are built with Go 1.20.14
They support Windows 7, 8.1, 10, 11, WindowsServer 2008 or later, and Linux.

Deprecations

  • The configuration file _nyagos, which is not a Lua syntax, is deprecated and no longer attached. When _nyagos is used, execute it, but print warning.
  • The Lua function: use is now deprecated.
    • Use require "mmmm" instead of use "mmmm.lua"
    • Add nyagos.d/catalog to package.path of the lua language standard.
  • Remove nyagos.d/catalog/ezoe.lua
  • Remove aliases: chompf, wordpad, abspath
  • Remove lua functions: addpath
  • Move nyagos.d/aliasandset.lua to nyagos/catalog/. that defines tool lua functions: set("ENV=VALUE"), alias("NAME=DEFINE")

New features

  • When %NO_COLOR% is defined, disable the color of the prompt, the command-line, and ls command
  • Sub commands completion (When require "subcomplete" is enabled)

Fixed bugs

  • SKK
    • Fix the problem that UTta and UTTa were converted 打っtあ and ▽う*t*t instead of 打った
    • Fix: manually input inverted triangles were recognized as conversion markers
    • Add the following the romaji-kana conversions:
      • z,, z-, z., z/, z[, z],
        z1, z2, z3, z4, z5,
        z6, z7, z8, z9, z0,
        z^, z\\, z@, z;, z: ,
        z!, z", z#, z$, z%,
        z&, z', z(, z), z=,
        z~, z|, z` , z+±, z*×,
        z<, z>, z?÷, z_,
      • byaびゃ or ビャ ... byoびょ or ビョ
      • pyaぴゃ or ピャ ... pyoぴょ or ピョ
      • thaてぁ or テァ ... thoてょ or テョ
    • Implement q that convert mutually between Hiragana and Katakana during conversion.
  • Sub commands completion (When require "subcomplete" is enabled)
    • Fix: the subcommand completion for scoop did not work because the filename of executable was scoop.exe that should be scoop.cmd.
  • Fix the problem that prompt is not displayed on Linux
    ( The .nyagos sample should have defined nyagos.env.PROMPT, but nyagos.env.prompt was defined )
  • Fix: the loop to input commands for foreach could not be stopped with Ctrl-C
    ( This problem was included in the commit 8bf0a2a of version 4.4.6_2. See also issue #383 and 4.4.6_0 )

当バージョンのバイナリは Go 1.20.14 でビルドしました。
サポート対象は Windows 7, 8.1, 10, 11, WindowsServer 2008以降, Linux となります。

廃止・非推奨

  • Lua 文法ではない設定ファイル _nyagos は非推奨とし添付をやめた。使用されている場合は実行するが、警告を表示するようにした
  • use は非推奨とした
    • use "mmmm.lua" のかわりに require "mmmm" を使用してください
    • これに伴い、Luaの標準検索パス: package.pathnyagos.d/catalog を追加しました
  • nyagos.d/catalog/ezoe.lua を削除
  • エイリアス: chompf, wordpad, abspath を削除
  • ツール Lua 関数: set("ENV=VALUE"), alias("NAME=DEFINE") を定義する nyagos.d/aliasandset.lua を nyagos.d/catalog/ 以下へ移動
  • Lua関数: addpath を削除

新機能

  • %NO_COLOR% が定義されていたら、プロンプト・コマンドライン・ls の着色を無効化
  • サブコマンド補完(require "subcomplete")関連

不具合修正

  • SKK関連
    • UTta,UTTa打ったではなく打っtあ,▽う*t*t になってしまう不具合を修正
    • 手入力した逆三角形が変換マーカーと認識される問題を修正した
    • 次のローマ字かな変換を追加
      • z,, z-, z., z/, z[, z],
        z1, z2, z3, z4, z5,
        z6, z7, z8, z9, z0,
        z^, z\\, z@, z;, z:,
        z!, z", z#, z$, z%,
        z&, z', z(, z), z=,
        z~, z|, z` , z+±, z*×,
        z<, z>, z?÷, z_,
      • byaびゃ or ビャ ... byoびょ or ビョ
      • pyaぴゃ or ピャ ... pyoぴょ or ピョ
      • thaてぁ or テァ ... thoてょ or テョ
    • 変換中の q で、入力済みの平仮名・片仮名を相互変換する機能を実装
  • サブコマンド補完(require "subcomplete")関連
    • scoop.cmd であるべき scoop の実行ファイル名が scoop.exe になっていてサブコマンド名補完できない問題を修正した
  • Linux でプロンプトが表示されない問題を修正
    (デフォルトの .nyagos で nyagos.env.prompt を設定していたが、Linux では環境変数の英大文字・小文字を区別するので、nyagos.env.PROMPT でなければいけなかった)
  • foreach で繰り返すコマンド入力のループ を Ctrl-C で中断できない不具合を修正
    (本問題は 4.4.6_2 のコミット 8bf0a2a で混入した模様。#3834.4.6_0 も参照のこと)