Jump to content

Recommended Posts

Posted (edited)

What do these changes mean for the average AutoIt user?

There are more COM-objects you can use, and regular expression work better.

Edit: Great, now you can use string arrays in objects without memory leaks.

$x = ObjCreate("Scripting.Dictionary")
$array = "1,2,3,4,5,6,7,8,9,10,11,12"
$a = StringSplit($array, ",")
$x(2) = $a
MsgBox(0, '', "before")
For $i = 1 To 100000
    $x(2) = $a
Next
MsgBox(0, '', "after")
Edited by ProgAndy

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Posted

And on top of that it will include previous bug fixes including (I think) some of the reported IE9 problems. COM in general should be working better.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted

Thanks Jon. jchd had it worked out to a 50k hit so I'm not sure where the difference is.

I would still be happy at 100k considering the size we have now anyway and the benefits gained.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted

Thanks Jon. jchd had it worked out to a 50k hit so I'm not sure where the difference is.

I would still be happy at 100k considering the size we have now anyway and the benefits gained.

Or create versions of AutoIt with and without extended PCRE support... Another two versions of AutoIt to maintain (x86_slim, x64_slim, x86 and x64) :)

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Posted

I hope that was a joke.

I'll wager Jon does too.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted

I hope that was a joke.

Yes, it was a joke... Or could you tell me another reason for the smiley?

Now back to topic:

I would not care about the 100kB larger interpreter if it brought significant improvements for regualr expressions.

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Posted

Excuse my ignorance regarding the regex engine, but what value does this proposed change bring? And I would assume 100k would be less than that post UPX/mpress.

Posted

It would give us much better codepage support for openers. That is currently a weak spot and will continue to be so until UCP is included in the compile. For many people code page support won't be important but we do have people on the forums who require it in their everyday operations because they are running international businesses and therefore must deal in multi-language, multi-codepage. UTF by itself doesn't cut it.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted

I just love it when we get a new beta and a bug fix for it in the same post. Now that's service.

Thanks Jon.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted

I've noticed that ObjName() doesn't return the same values in the beta (as of 3.3.7.13) as in 3.3.6.1. Is this intended behavior?

$dict = ObjCreate("Scripting.Dictionary")
MsgBox(0, "Test", ObjName($dict))

Using 3.3.6.1 the above script returns IDictionary, the beta now returns Dictionary. This is a script breaking change if it is intended (or perhaps the previous return was invalid and unintended).

Posted

Funnily enough we have a page that details script breaking changes. I wonder if it mentions ObjName() (Hint: It does)? To be slightly fair, Jon should have posted the list of script breaking changes with the announcement.

Posted

Funnily enough we have a page that details script breaking changes. I wonder if it mentions ObjName() (Hint: It does)? To be slightly fair, Jon should have posted the list of script breaking changes with the announcement.

I see that it is in the help file, I didn't look there, I apologize. I assumed the announcement would mention it. :) Can more detail be provided into the changes so we can understand the earlier problem?

Posted

I could have so much fun with that but I'll leave it to Valik.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...