v1.1.16 - Properties, bug fixes and optimizations

Community news and information about new or upcoming versions of AutoHotkey
lexikos
Posts: 7088
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

v1.1.16 - Properties, bug fixes and optimizations

09 Sep 2014, 17:05

1.1.16.01

Added syntax for defining dynamic properties in classes.
Added x+m and y+m options for Gui control positioning.
Added the #InputLevel of each hotkey to ListHotkeys (when non-zero).

Optimized RegExMatch with the O (object) option; capturing part of a long string is much faster than before in some cases.

Fixed objects to check for new methods after __Call completes (consistent with __Set and __Get).
Fixed some undefined behaviour occurring after VarSetCapacity fails.
Fixed FileRead to correctly report an error with files over 4GB, instead of truncating even when it wasn't requested.
Fixed FileRead *c to null-terminate correctly when byte length is odd.
Fixed some ClipboardAll issues and changed behaviour:
  • #ClipboardTimeout is ignored for GetClipboardData(), since it never actually worked and it caused problems. This fixes timeouts and lost data when a file is on the clipboard (any file on Windows 8, or any file in a zip file or similar).
  • Zero-length clipboard items are allocated 1 byte upon restoring to the clipboard, since setting a zero-length item seems to always fail.
  • The presence of MSDEVColumnSelect/MSDEVLineSelect is now preserved when set by Scintilla, though any data set by VS is discarded.
  • When writing ClipboardAll directly to file, it now prefers Unicode (other usages of ClipboardAll have had this behaviour since v1.1.08).
  • ClipboardAll and FileRead *c on Unicode builds now round length up when odd. This increases the reported StrLen by 1, potentially avoiding truncation of the last byte.
Fixed A_EventInfo for TreeView items with negative screen coords.
Fixed a possible ListView/TreeView message filtering issue.
Fixed A_LineFile/A_LineNumber in #If expressions.
Fixed #If to add itself to ListLines (though as "If").
Fixed Abs(["-"]*) and similar crashing the program.
Fixed } funcdef(){ globally and }} ending a method/property/class.

Downloads
lexikos
Posts: 7088
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: v1.1.16 - Properties, bug fixes and optimizations

11 Sep 2014, 05:39

1.1.16.02

Fixed parser to allow #include inside a class (broken by v1.1.16.01).
Fixed Clipboard returning binary CF_HDROP data in some instances.
Improved accuracy of FileGetSize on files which are still open.
Improved for-loop to work with COM objects which either don't resolve the name "_NewEnum" to DISPID_NEWENUM, or which implement _NewEnum as a property rather than a method.
lexikos
Posts: 7088
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: v1.1.16 - Properties, bug fixes and optimizations

11 Sep 2014, 07:09

1.1.16.03

Fixed some bad behaviour in Abs() and Mod() caused by a broken bug-fix in v1.1.16.01.
lexikos
Posts: 7088
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: v1.1.16 - Properties, bug fixes and optimizations

16 Sep 2014, 07:48

1.1.16.04

Fixed a crash which occurred when overwriting a non-writable property.
Fixed a crash which occurred when a RegExMatch object is created with uncaptured subpatterns during a regex callout.
lexikos
Posts: 7088
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: v1.1.16 - Properties, bug fixes and optimizations

27 Sep 2014, 21:03

1.1.16.05

Fixed x.y/[]/{} sometimes falsely being flagged as variadic.

Return to “Announcements”

Who is online

Users browsing this forum: No registered users and 3 guests