jaberwacky Posted July 4, 2011 Share Posted July 4, 2011 What do these changes mean for the average AutoIt user? Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
ProgAndy Posted July 4, 2011 Share Posted July 4, 2011 (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 July 4, 2011 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 Link to comment Share on other sites More sharing options...
GEOSoft Posted July 4, 2011 Share Posted July 4, 2011 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!" Link to comment Share on other sites More sharing options...
Administrators Jon Posted July 4, 2011 Author Administrators Share Posted July 4, 2011 Good to have that PCRE update. Thanks Jon.Was that compiled using UCP?No, I turned it on to see what the damage was and it added 100KB straight away. So, just compiled with SUPPORT_UTF8 atm. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
GEOSoft Posted July 4, 2011 Share Posted July 4, 2011 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!" Link to comment Share on other sites More sharing options...
ProgAndy Posted July 4, 2011 Share Posted July 4, 2011 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 Link to comment Share on other sites More sharing options...
James Posted July 4, 2011 Share Posted July 4, 2011 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) I hope that was a joke. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
GEOSoft Posted July 4, 2011 Share Posted July 4, 2011 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!" Link to comment Share on other sites More sharing options...
ProgAndy Posted July 4, 2011 Share Posted July 4, 2011 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 Link to comment Share on other sites More sharing options...
James Posted July 5, 2011 Share Posted July 5, 2011 I would not care about the 100kB larger interpreter if it brought significant improvements for regualr expressions.Me neither. I use regular expressions a lot and improvements would help so much! Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
wraithdu Posted July 5, 2011 Share Posted July 5, 2011 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. Link to comment Share on other sites More sharing options...
GEOSoft Posted July 5, 2011 Share Posted July 5, 2011 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!" Link to comment Share on other sites More sharing options...
Administrators Jon Posted July 6, 2011 Author Administrators Share Posted July 6, 2011 3.3.7.13 (6th July, 2011) (Beta) AutoIt: - Fixed: ObjName() crash introduced in 3.3.7.12. 3.3.7.12 - Added: Additional flags added to ObjName(). (Plus rewrite of ObjName() from trancexx) - Fixed: COM regression from previous beta. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
GEOSoft Posted July 6, 2011 Share Posted July 6, 2011 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!" Link to comment Share on other sites More sharing options...
archrival Posted July 7, 2011 Share Posted July 7, 2011 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). Link to comment Share on other sites More sharing options...
Valik Posted July 7, 2011 Share Posted July 7, 2011 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. Link to comment Share on other sites More sharing options...
archrival Posted July 7, 2011 Share Posted July 7, 2011 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? Link to comment Share on other sites More sharing options...
Administrators Jon Posted July 8, 2011 Author Administrators Share Posted July 8, 2011 I'm drunk on a train home using intermittent 3G signals and can totally field that one. The previous behavior was a retarded hack-o-mess and the new behaviour is what other sensible languages return. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
GEOSoft Posted July 8, 2011 Share Posted July 8, 2011 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!" Link to comment Share on other sites More sharing options...
Administrators Jon Posted July 8, 2011 Author Administrators Share Posted July 8, 2011 I could have so much fun with that but I'll leave it to Valik.He's called me a drunk before. The repetition will hold no amusement for him Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Recommended Posts