Valik Posted October 15, 2009 Share Posted October 15, 2009 Ok, I worked around the keywords problem by splitting the keywords into two files: au3.keywords.properties and au3.keywords2.properties, then adding the extra import line in au3.properties. I'm guessing there's a character limit somewhere ~60000.I definitely can confirm this. I use my own version of the file which is slightly different than the provided version. Mine also stops at exactly 60,000 characters. For me that falls right in the special keyword #Alternate. If I enter #Alte it is highlighted because the break ends right after that.This may not be fixed in time for the next beta because it's going going to take something clever to solve in a way that doesn't just delay the problem again. Link to comment Share on other sites More sharing options...
wraithdu Posted October 15, 2009 Share Posted October 15, 2009 Cool. Oh, I also tried to reopen my Trac ticket #1026, but could not. I think it was fixed opposite to what I intended. Here would have been my response: I think maybe you misunderstood my original post. The correct resource disposal function for all _GDIPlus_BitmapCreate* functions is _GDIPlus_BitmapDispose(), with the exception of _GDIPlus_BitmapCreateHBITMAPFromBitmap(). That is the only function which should use _WinAPI_DeleteObject(). Using _WinAPI_DeleteObject() on the other functions will return failure. Link to comment Share on other sites More sharing options...
trancexx Posted October 15, 2009 Share Posted October 15, 2009 Besides that, manifest res is missing from the AutoIt3.exe - beta. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
wraithdu Posted October 15, 2009 Share Posted October 15, 2009 Yikes, and a good number of the GDIPlus return values are wrong. For those functions that return True/False, it should be 'Return $aResult[0] = 0'. Many of them are just using 'Return $aResult[0]'. Link to comment Share on other sites More sharing options...
trancexx Posted October 15, 2009 Share Posted October 15, 2009 Yikes, and a good number of the GDIPlus return values are wrong. For those functions that return True/False, it should be 'Return $aResult[0] = 0'. Many of them are just using 'Return $aResult[0]'. Gdip returns Status. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
wraithdu Posted October 15, 2009 Share Posted October 15, 2009 @trancexx Exactly. So to return True, it needs to use 'Return $aResult[0] = 0', since Status 'Ok' = 0. Link to comment Share on other sites More sharing options...
Valik Posted October 15, 2009 Share Posted October 15, 2009 (edited) Yikes, and a good number of the GDIPlus return values are wrong. For those functions that return True/False, it should be 'Return $aResult[0] = 0'. Many of them are just using 'Return $aResult[0]'. This is not a bug. Properly written code will not know the difference between True, 1, 100, -1, 0xDEADBEEF or False and 0. Also, the BOOL and boolean DllCall() types *should* cast the return value to True or False implicitly and if they don't then those two new types need changed so that they do (I'll have to check the code, I didn't write it). That would make it a moot point anyway. Edit: Oh. Well fuck. Edit 2: Why are the manifests missing!? When I build AutoIt in my developmentenvironment it has a manifest. But the clean build I did for therelease doesn't have a manifest!? I'll fix both problems tomorrow and do another release. For the time being I don't recommend upgrading to 3.3.1.2. Edited October 15, 2009 by Valik Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted October 15, 2009 Share Posted October 15, 2009 @Valik Good update. I like that you have finally decided to do more code-breaking changes, which I believe will lead to better functions, and a better language. I actually look forward to update my scripts and hope you will continue to bring new useful changes, even if it's mean sacrificing compatibility with old code. People that doesn't like it when updates break their scripts shouldn't update in the first way. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
trancexx Posted October 15, 2009 Share Posted October 15, 2009 Hex("0x1234") That is crashing beta for me on XP SP3. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
UEZ Posted October 15, 2009 Share Posted October 15, 2009 The executables are now smaller. Trend was in every version that the exe getting bigger!Hex("0x1234") is crashing on Vista x32, too!UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
wraithdu Posted October 15, 2009 Share Posted October 15, 2009 If you feel like updating documentation for the new release today, there's those few issues I mentioned above, and _Crypt_EnryptData() is misspelled in the help file as well. Link to comment Share on other sites More sharing options...
ProgAndy Posted October 15, 2009 Share Posted October 15, 2009 (edited) Some tests on XP SP3: ; STABLE BETA 3.3.1.2 ConsoleWrite( Hex("1234") & @CRLF) ; 000004D2 crash ConsoleWrite( Hex("0x1234") & @CRLF) ; 00001234 crash ConsoleWrite( Hex(Binary("0x1234")) & @CRLF) ; 1234 1234 ConsoleWrite( Hex(Binary("1234")) & @CRLF) ; 31323334 31323334 ConsoleWrite( Hex( 1234 ) & @CRLF) ; 000004D2 000004D2 ConsoleWrite( Hex( 0x1234 ) & @CRLF) ; 00001234 00001234 //Edit: In Beta, you should try every line in a new Script or the tests after the crash won't run. It seems that it is a bug with the internal typecasting of AutoIt in this func. Edited October 15, 2009 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...
monoceres Posted October 15, 2009 Share Posted October 15, 2009 Posted fixes for Crypt.au3 in original thread. The problem with the combobox for EncryptFile is an autoit bug I believe (?) so I did not change it. Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
UEZ Posted October 15, 2009 Share Posted October 15, 2009 Here Progandy's example ran (beta) on Windows2003 Standard x64:>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "E:\AU3\Test01.au3" /autoit3dir "C:\Program Files (x86)\AutoIt3\beta" /UserParams +>16:08:06 Starting AutoIt3Wrapper v.2.0.0.0 Environment(Language:0409 Keyboard:00000407 OS:WIN_2003/Service Pack 2 CPU:X64)>Running AU3Check (1.54.17.0) from:C:\Program Files (x86)\AutoIt3\beta+>16:08:06 AU3Check ended.rc:0>Running:(3.3.1.2):C:\Program Files (x86)\AutoIt3\beta\autoit3.exe "E:\AU3\Test01.au3" !>16:08:09 AutoIT3.exe ended.rc:-1073741819+>16:08:10 AutoIt3Wrapper Finished>Exit code: -1073741819 Time: 4.391UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
wraithdu Posted October 15, 2009 Share Posted October 15, 2009 (edited) The problem with the combobox for EncryptFile is an autoit bug I believe (?) so I did not change it.I just figured out the problem with the combo box is because of the missing manifest. I added the manifest from beta 3.3.1.1 to AutoIt3.exe of 3.3.1.2 and the control works properly and has the correct Win7 style.@monoceresWhere is the original thread for Crypt.au3 with the fixes? Edited October 15, 2009 by wraithdu Link to comment Share on other sites More sharing options...
wraithdu Posted October 15, 2009 Share Posted October 15, 2009 @monoceres Also, with your Crypt functions and AES: - what mode is used? (ECB, CBC, CBF, OBF, CTR) - is it possible to specify an initialization vector? Link to comment Share on other sites More sharing options...
monoceres Posted October 15, 2009 Share Posted October 15, 2009 I just figured out the problem with the combo box is because of the missing manifest. I added the manifest from beta 3.3.1.1 to AutoIt3.exe of 3.3.1.2 and the control works properly and has the correct Win7 style.Good.@monoceresWhere is the original thread for Crypt.au3 with the fixes?In a private subforum (the post was so Valik could find it).@monoceresAlso, with your Crypt functions and AES:- what mode is used? (ECB, CBC, CBF, OBF, CTR)- is it possible to specify an initialization vector?I have no idea. The entire UDF is built upon this api provided by windows. I'm sure the default value for what you're talking about is specified there somewhere. Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
Valik Posted October 15, 2009 Share Posted October 15, 2009 (edited) Guys, crashing bugs and things that are very obviously bugs need reported on the issue tracker. This is getting to be a bit too much to track here on the forum. This thread is for discussion, not bug reporting. Cool. Oh,I also tried to reopen my Trac ticket #1026, but couldnot. I think it was fixed opposite to what I intended. Here wouldhave been my response: Just because youcannot reopen the ticket yourself does not mean you shouldn't post inthe ticket. Post your text to the ticket and I'll reopen it. The executables are now smaller. Trend was in every version that the exe getting bigger!Don't put any stock in that. I am not Jon. This release is missing the manifest file (unintentional and obviously a bug), intentionally missing the digital signature (I don't have the files to sign it) and does not have profile guided optimizations (something I believe Jon uses). Edited October 15, 2009 by Valik Link to comment Share on other sites More sharing options...
Yashied Posted October 15, 2009 Share Posted October 15, 2009 (edited) @ValikI agree with you that you got rid of all _WinAPI_Check() functions. Maybe it's better than a "drag" them. Edited October 15, 2009 by Yashied My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
wraithdu Posted October 15, 2009 Share Posted October 15, 2009 @Valik Posted, thanks. Link to comment Share on other sites More sharing options...
Recommended Posts