发表回复 
AutoHotkey v2 alpha (至v2.0-a064) 中英对照 变更说明(翻译版本 V1.1)
2015-05-03, 22 : 44 (这个帖子最后修改于: 2015-05-03 23 : 10 by robertL.)
Smile AutoHotkey v2 alpha (至v2.0-a064) 中英对照 变更说明(翻译版本 V1.1)
  • v2.0-a051-be9cffc
    Fixed math with non-numeric input to produce "", not its address.
    修复,对数学函数,当输入非数字内容时被转换为""空字符串,而非它的地址值。
  • v2.0-a052-e27d2cb
    Fixed var .= value corrupting memory when malloc() is used internally for the concatenation (broken by v2.0-a050). Due to an optimization, this only happened if there was insufficient space in var for the additional value. The fix also optimizes such cases to be even faster than they were prior to v2.0-a050.
    修复,对var .= value,当内部使用malloc()进行内存合并时,会破坏内存数据的错误(于v2.0-a050造成)。由于优化,当扩展值,而变量空间不足时才会发生。本修复较原正常情况亦有优化。
  • v2.0-a053-20abdda
    Fixed %obj%() crashing the program in some instances.
    修复,某些情况下,%obj%()致使程序崩溃的问题。
  • v2.0-a054-bf5edc2
    Fixed some errors in Op_ObjIncDec (x.y++ and similar).
    修复,一些发生于Op_ObjIncDec的错误(x.y++及类似情况)。
  • v2.0-a055-f5ec0e3
    Fixed returning of ByRef vars.
    修复,返回ByRef(引用参数)描述的变量。
  • v2.0-a056-33fe326
    Fixed commands to treat objects as empty strings (not garbage).
    修复,使命令将作为参数输入的对象视为空字符串(而非无效数据?)。
    Fixed a crash occurring when a for-loop expression causes thread-exit.
    修复,当for-loop表达式致使结束线程时的崩溃问题。
  • v2.0-a057-428b040
    Merged v1.1.17.01.
    合并v1.1.17.01。
  • v2.0-a058-fa7ed04
    Fixed COM errors to abort after an exception is thrown.
    修复COM错误,当抛出异常时,将终止COM
    Fixed double deref assignment of built-in vars.
    修复对内建变量的两级变量名解析赋值的问题。
    Added error message when assigning to a read-only var in an expression.
    增加,在表达式中对只读变量进行赋值的错误消息。
    Removed Func[""]() - use Func.Call() instead. Function objects should implement a Call() method instead of __Call().
    移除Func[""]() - 用Func.Call()替代。函数对象需实现Call()方法,而非__Call()。
    • Changed %Fn%() to call Fn.Call() instead of Fn[""]().
    • 改变,%Fn%()将调用Fn.Call(),而非Fn[""]()
    • Changed method dispatch to use Fn.Call(this) instead of Fn[this]().
    • 改变,方法调用参数分派形式,使用Fn.Call(this),而非Fn[this]()
    Merged v1.1.19.03 (plus one fix).
    合并v1.1.19.03(外加一个修复)
  • v2.0-a059-efe5d5f

    Merged v1.1.20.02.
    合并v1.1.20.02。

    Removed the legacy mode of OnMessage, so function names now act the same as function references. OnMessage(x, "MyFunc") registers MyFunc and OnMessage(x, "MyFunc", 0) unregisters it. OnMessage(x) and OnMessage(x, "") are now errors, since there can be any number of functions monitoring x. The command syntax no longer has an output var.
    移除OnMessage的传统模式,当前函数名等同于函数引用(函数对象)OnMessage(x, "MyFunc")注册函数,OnMessage(x, "MyFunc", 0)撤销注册。OnMessage(x)OnMessage(x, "")现在被视为错误用法,因为当前可以有任意数量的函数实现对x的监控。命令语法不再包含输出变量。

    Fixed x.y (command with no args) being treated as GET in some cases.
    修复,x.y(不带参数的命令)在某些情况会被视为触发元方法GET的问题。
    Changed ComObjConnect to not require an output var.
    改变,ComObjConnect不再需要输出变量。
    Some minor refactoring, optimization and fixes for theoretical bugs.
    一些小重构,优化,及推知的错误。
  • v2.0-a060-8abaf1c
    Fixed errors relating to the v1.1.20.02 merge:
    修复合并时,由v1.1.20.02引入的错误。
    • Crashes when an object's __delete should normally be called.
    • 当对象的__delete元方法被正常调用时的崩溃错误。
    • Fixed local output variables with command-style function calls.
    • 修复,命令方式的函数调用中局部输出变量的错误?
    • Fixed load-time resolution of local labels with SetTimer and Hotkey.
    • 修复,载入时对用于SetTimer及Hotkey的本地标签解析的问题
  • v2.0-a061-acaa766
    Fixed for-loops (broken by v1 merge).
    修复for-loops错误(自V1合并时引入)
  • v2.0-a062-e5d8419
    Fixed stack_get debugger command crashing/failing when there's a built-in function or object operator ("<object>()" entry) on the call stack.
    修复,当调用栈上包含内置函数或对象操作符("<对象>()入口")时,stack_get调试命令崩溃/终止的错误
  • v2.0-a063-d09e310
    Fixed static x := 1 to assign an integer, not a string.
    修复,static x := 1将复制数值,而非字符串。
    Merged v1.1.20.03.
    合并,v1.1.20.03。
  • v2.0-a064-bfc6331

    Changed RegRead/RegWrite/RegDelete to raise an error if parameters are invalid.
    改变,RegRead/RegWrite/RegDelete将在参数非法时报错。
    Changed assignments to raise an error if not given a variable.
    改变,未给定变量的赋值操作将报错。
    Changed +(unary plus) to convert the value to a number if it is a numeric string (previously it was completely ignored).
    改变,+(一元加号)将改变数字字符串值为数值(之前此操作无影响)。

    Experimental:
    实验特性

    Changed +=/-=/++/-- to treat empty target variable as zero.
    改变,+=/-=/++/--将空目标对象视为0。
    Changed other invalid math operations to produce "NaN" instead of "", including divide-by-zero and math with empty or other non-numeric values.
    改变,无效的数学操作符将产生"NaN",而非""空字符串值,包含除以0,及,包含空值或其他非数字值的数学运算。
    Changed math functions to produce "NaN" on error instead of "".
    改变,数学函数将在错误时产生(返回)"NaN",而非""。
    Changed math functions to produce "NaN" when any parameter is non-numeric.
    改变,当输入产生非数字值时,数学函数产生(返回)"NaN"。

One for all, but man for himself

帮推广:AHK知乎专栏
查找这个用户的全部帖子
表示感谢 引用并回复 移动视图置页面顶端
[+] 2用户表示感谢robertL
发表回复 


这个主题的帖子
AutoHotkey v2 alpha (至v2.0-a064) 中英对照 变更说明(翻译版本 V1.1) - robertL - 2015-05-03 22 : 44

论坛跳转:


联系我们 | Autohotkey 中文站 | 回到顶部 | 回到正文区 | 精简(归档)模式 | RSS 聚合