Skip to content

4.4.15_1

Latest
Compare
Choose a tag to compare
@hymkor hymkor released this 02 May 14:07
· 43 commits to master since this release
  • (#442) Move back aliasandset.lua to nyagos.d/ and enable to use the Lua codes like set "ENV=VALUE" and alias "NAME=DEFINE". In 4.4.15_0, it was put on nyagos.d/catalog/ and require "aliasandset" was neccessary to use (Thx @naoyaikeda)
  • Fix: the day of the week part of %DATE% was incorrect (%DATE% was expected like 2024/04/19 金 in Japan, but 2024/04/19 1919)
  • Fix the runtime error when this:replacefrom(0,...) is called in the key-handling lua-function. Instead, it returns {nil,error-message}
-- On 4.4.15, typing C-I causes crash of nyagos.
nyagos.key["C-I"] = function(this)
    assert(this:replacefrom(0,"XXXXX"))
end

  • (#442) 4.4.15_0 で nyagos.d/catalog 以下へ移動させて自動ロード対象外とした nyagos.d/aliasandset.lua を元の場所へ戻し、Luaコード: set "ENV=VALUE" , alias "NAME=DEFINE" を再び、そのまま使えるようにした (Thx @naoyaikeda )
  • Windows の日付の設定に曜日が含まれているとき %DATE% の結果がおかしくなる不具合を修正 (2024/04/19 金 と出て欲しいのに 2024/04/19 1919 と出てしまう)
  • 一行入力のキーハンドル関数の中で this:replacefrom(0,...) を呼び出すと、ランタイムエラー: runtime error: slice bounds out of range [-1:] でクラッシュする不具合を修正。かわりに {nil,エラーメッセージ} を返すようにした。
-- On 4.4.15, typing C-I causes crash of nyagos.
nyagos.key["C-I"] = function(this)
    assert(this:replacefrom(0,"XXXXX"))
end