Timeline



Jul 22, 2015:

5:41 PM Ticket #3090 (Cascading submenus as an option) closed by Jos
Rejected: I am using the Standard SciTE release maintained by Neil Hodgson, with only a few modifications for my version, so will no work on SciTE 's core functionality. You could submit your request on the official SciTE Website. Jos
5:07 PM Ticket #3090 (Cascading submenus as an option) created by surettcharles@…
In the editor I've noticed that the options and tools menus overflow …
4:59 PM Cascading menu.png attached to Ticket #3089 by surettcharles@…
What a cascading menu is
4:55 PM Ticket #3089 (Add cascading menus for contex menu intigration) created by surettcharles@…
I have noticed that right clicking on a script provides too many menu …

Jul 21, 2015:

5:15 PM Ticket #3088 (ie.au3 readystate enums) created by mLipok
Please add this to ie.au3 […]

Jul 19, 2015:

10:49 AM Ticket #3078 (bug in _ArrayUnique) closed by Melba23
Completed: Changed by revision [11433] in version: 3.3.15.1
10:38 AM wzor.rtf attached to Ticket #3087 by mLipok
10:37 AM Ticket #3087 (UTF problem with _GUICtrlRichEdit_StreamFromFile in 3.3.14.0) created by mLipok
Disscusion here: …
9:39 AM Ticket #3085 (wrong examples) updated by guinness
I have fixed the first part but not your second. I will leave it here for people to comment on the best course of action.
9:27 AM Ticket #3086 (spelling mistake) closed by guinness
Fixed: Fixed by revision [11430] in version: 3.3.15.1

Jul 18, 2015:

9:00 PM Ticket #3086 (spelling mistake) created by Tweaky
examples: _Excel_ColumnToNumber _Excel_ColumnToLetter colunm >>> column
8:18 PM Ticket #3085 (wrong examples) created by Tweaky
Hi, the examples of the two functions are swap _Excel_ColumnToLetter / …

Jul 17, 2015:

4:27 PM Ticket #3078 (bug in _ArrayUnique) updated by guinness
I stand corrected, sorry
4:27 PM Ticket #3078 (bug in _ArrayUnique) reopened by guinness
4:17 PM Ticket #3078 (bug in _ArrayUnique) updated by guinness
I am not able to reproduce it with the reproducer above, so I a, suggesting you ensure the array UDF has the same version number as to the AutoIt version. Related: https://www.autoitscript.com/forum/topic/174055-_arrayunique-failing-for-some-reason
10:00 AM Ticket #3080 (ArraySwap: Parameters clarification) updated by guinness
Instinctively one thinks geometrically: horizontal (X) axis and then vertical (Y) axis. This is not, however, the case with a 2D array, rows come first and then columns. Source: http://stackoverflow.com/a/11641986 I am of the same opinion too. This is why I rejected the request.
8:41 AM Ticket #3083 (Release <> Beta -- Installer) updated by mLipok
I think before I did not all is well described. The following step by step, guide. I think now it will be more clear about what I mean. When you try to install 3.3.14.0 then you get this kind of messages: […] So I click Uninstall and then popup this message: […] And now you must do it manually - I mean uninstall beta. So why here you can not just turn up the statement and question: for example. […] And of course after confirmation it will do what I requested: "Please add new feature to Release installer to be able also automatically unistall existing Beta." Please reconsider this request.

Jul 16, 2015:

9:44 PM Ticket #3074 (Regwrite can't write a big lenght in binary.) updated by sliding4living@…
Thank you it's really useful and I solved my problem with this help. Scite AutoIt seems to manage until 4095 characters for each line.
6:26 PM Ticket #3078 (bug in _ArrayUnique) updated by anonymous
As addition - problem is - my array is 2D, so string like […] immediately and reasonable cause error. Am I right?
5:29 PM Ticket #3078 (bug in _ArrayUnique) updated by anonymous
Why?? I just have clean install of 3.3.14.0 and bug is still crush script... Or you saying UDFs is not updated in this process? […]
4:35 PM Ticket #3084 (Fix file examples by replacing the FileCreate() function) closed by guinness
Duplicate: Whoops, seems I did something like this in rev 10523.
2:57 PM Ticket #3083 (Release <> Beta -- Installer) closed by Jos
Rejected
2:57 PM Ticket #3083 (Release <> Beta -- Installer) updated by Jos
I don't think we should uninstall a Beta automatically when a new production version is released. People may want to compare and, like in the current situation, Beta contains extra functionality which was not yet enabled in the Production version, so just leave the Beta version there till the next Beta version is released. Jos
1:24 PM Ticket #3084 (Fix file examples by replacing the FileCreate() function) created by guinness
https://www.autoitscript.com/forum/topic/173974-please-explain-code-use

Jul 15, 2015:

5:03 PM Ticket #3064 (Ping timeout is longer than set by par2) closed by guinness
No Bug: Look here and search for Minimum timeout in the document. I am closing and no bug and will not document in our help file, as this is undocumented by Microsoft.
5:00 PM Ticket #3079 (_StringInsert(): add Remark for clarity) closed by guinness
Fixed: Fixed by revision [11419] in version: 3.3.15.1
4:52 PM Ticket #3078 (bug in _ArrayUnique) closed by guinness
No Bug: Please ensure you have upgraded the UDFs as well
4:47 PM Ticket #3081 (Re-wording of $WS_EX_MDICHILD in GUICreate()) closed by guinness
Fixed: Fixed by revision [11418] in version: 3.3.15.1
3:00 PM Ticket #3064 (Ping timeout is longer than set by par2) updated by RichardL
I don't know where IcmpSendEcho is, I've tried it on Windows XP and 7 it's the same.
12:00 PM Ticket #3083 (Release <> Beta -- Installer) updated by TicketCleanup
Version changed
Automatic ticket cleanup.
11:53 AM Ticket #3083 (Release <> Beta -- Installer) created by mLipok
When I try to install new Release version then I must unistall old one …
10:46 AM Ticket #3080 (ArraySwap: Parameters clarification) closed by guinness
Rejected
10:45 AM Ticket #3082 (State that @extended can be only a interger in SetExtended documentation) closed by guinness
Rejected: It's already stated in the parameters section Code: "The required value (integer) to set into the @extended macro."
10:33 AM Ticket #3082 (State that @extended can be only a interger in SetExtended documentation) created by TheDcoder
State that @extended can only be a integer in the doc page for …
8:20 AM Ticket #3078 (bug in _ArrayUnique) updated by guinness
I am not seeing the bug
8:17 AM Ticket #3081 (Re-wording of $WS_EX_MDICHILD in GUICreate()) created by guinness
See >> …

Jul 14, 2015:

8:54 PM Ticket #3080 (ArraySwap: Parameters clarification) created by c.haslam
Existing: $iStart [optional] Index in row/column to start swap (2D …
8:44 PM Ticket #3079 (_StringInsert(): add Remark for clarity) created by c.haslam
As the help is now, it is not clear whether the string is inserted …
7:53 PM Ticket #3078 (bug in _ArrayUnique) created by anonymous
[…] reproduser: […]
5:25 PM Ticket #3077 (Update online beta documentation) closed by J-Paul Mesnage
Fixed: Fixed
4:26 PM Ticket #3077 (Update online beta documentation) created by TheDcoder
Update online beta documentation here: …
4:15 PM Ticket #3076 (Track Default Au3 Version) closed by guinness
Fixed: Thanks
4:00 PM Ticket #3076 (Track Default Au3 Version) updated by TicketCleanup
Version changed
Automatic ticket cleanup.
3:27 PM Ticket #3076 (Track Default Au3 Version) created by mLipok
Track Default Au3 Version is still set to 3.3.12.0 Please set it to …
3:22 PM Milestone 3.3.15.0 completed
2:35 PM Ticket #3075 (_WinAPI_WaitForSingleObject - TimeOut parameters description) closed by J-Paul Mesnage
Fixed: Fixed by revision [11413] in version: 3.3.15.0
2:28 PM Ticket #3074 (Regwrite can't write a big lenght in binary.) closed by J-Paul Mesnage
No Bug: In fact you can but the max input length seems to limit you. Just split the Hex value in smaller piece and use the concatenation. Binary("0x..." & _ "..." & _ ... "...")
1:32 PM Ticket #3075 (_WinAPI_WaitForSingleObject - TimeOut parameters description) created by mLipok
in _WinAPI_WaitForSingleObject there is such a description: […] …
12:04 PM Ticket #2892 (GUICtrlSetData on dummy control - AutoIt bug or Document Incorrect?) closed by Jon
Fixed: Fixed by revision [11411] in version: 3.3.15.0
12:02 PM Ticket #2869 (GUICtrlSetTip displays wrong tip message in child GUI when tabs used ...) closed by Jon
Fixed: Fixed by revision [11410] in version: 3.3.15.0
11:59 AM Ticket #2916 (GUISetCoord() and GUICtrlCreatePic()) closed by Jon
Fixed: Fixed by revision [11409] in version: 3.3.15.0
11:57 AM Ticket #2945 (Center and right justified text broken on native buttons when colours set) closed by Jon
Fixed: Fixed by revision [11408] in version: 3.3.15.0
11:51 AM Ticket #2899 (WinGetHandle("LAST") : document unclear and @error bug) closed by Jon
Fixed: Fixed by revision [11407] in version: 3.3.15.0
11:47 AM Ticket #3009 (MouseGetCursor for HAND) closed by Jon
Fixed: Fixed by revision [11406] in version: 3.3.15.0
11:25 AM Ticket #3074 (Regwrite can't write a big lenght in binary.) updated by sliding4living@…
All will be Ok with a regwrite if I write from a regread but I can't give manually a very big binary string
11:18 AM Ticket #3074 (Regwrite can't write a big lenght in binary.) created by sliding4living@…
Regwrite can't write a very big lenght in binary. I want to …
11:09 AM Ticket #2997 (Bug in PCRE) closed by Jon
Fixed: Fixed by revision [11405] in version: 3.3.15.0
2:04 AM Ticket #2997 (Bug in PCRE) updated by jchd18
Version, Summary changed

Jul 13, 2015:

7:44 PM Ticket #3072 (AutoIt3Help.exe crash at begining of script) closed by Jos
Fixed: Fixed by revision [11399] in version: 3.3.15.0
7:39 PM Ticket #3072 (AutoIt3Help.exe crash at begining of script) updated by Jos
Status changed
4:33 PM Ticket #2997 (Bug in PCRE) updated by J-Paul Mesnage
I confirm 8.37 is solving the pb
3:12 PM Ticket #3071 (4th example in Random() can be removed) closed by guinness
Completed: Removed by revision [11395] in version: 3.3.15.0
11:14 AM Ticket #3072 (AutoIt3Help.exe crash at begining of script) updated by mLipok
Sorry .. Just now I found this is related to using CTRLF+F1 on #AutoIt3Wrapper_Au3Check_Parameters directive regardles of which line is it.
11:11 AM Ticket #3072 (AutoIt3Help.exe crash at begining of script) created by mLipok
At top of my script I have: […] When I try to use CTRL+F1 in …
10:29 AM Ticket #2997 (Bug in PCRE) updated by jchd18
I notice that the last release (3.3.14.0) dated 2015-07-10 uses PCRE v8.35 (dated 2014-04-04) instead of the last available version, 8.37 dated 2015-04-28. This explains why the bug in this "ticket" (rather a notice) can still show.
9:47 AM Ticket #3071 (4th example in Random() can be removed) created by guinness
As now the value will be returned without @error being set

Jul 12, 2015:

3:00 PM Ticket #2997 (Bug in PCRE) updated by jchd18
The bug was reported to the dev list and quickly fixed some time ago. PCRE2 is moving forward. There is a RC being tested but I expect some time before the dust settles.
12:53 PM Ticket #2997 (Bug in PCRE) updated by J-Paul Mesnage
Is it reported to Phillip Hazel? Any new if PCRE2 (10.20)?
12:36 PM Ticket #3070 (F1 not opening AutoIt help) closed by Jos
No Bug
12:30 PM Ticket #3069 (Missing "AutoItConstants.au3" in "AutoIt Constants include files" help page) closed by J-Paul Mesnage
Fixed: Fixed by revision [11390] in version: 3.3.15.0
12:13 PM Ticket #3070 (F1 not opening AutoIt help) updated by J-Paul Mesnage
Version changed
11:54 AM Ticket #3070 (F1 not opening AutoIt help) updated by TheDcoder
Please change the version to 3.3.14.0 (latest stable release)
11:53 AM Ticket #3070 (F1 not opening AutoIt help) created by TheDcoder
F1 is not opening the function documentation instead it opens windows …
11:33 AM 11_capture2403.png attached to Ticket #3069 by TheDcoder
Picture representing the missing item
10:49 AM Ticket #3069 (Missing "AutoItConstants.au3" in "AutoIt Constants include files" help page) created by TheDcoder
Missing "AutoItConstants.au3" which was added in the new stable …
9:42 AM Ticket #3068 (Documentation fix: Switch) closed by guinness
Fixed: Fixed by revision [11387] in version: 3.3.15.0

Jul 11, 2015:

9:38 PM Ticket #3068 (Documentation fix: Switch) updated by Nutster
Owner, Status, Description changed
6:39 PM Ticket #3068 (Documentation fix: Switch) updated by Nutster
Keywords, Description changed
1:32 PM Ticket #3068 (Documentation fix: Switch) created by Nutster
"If no cases match the Switch value, then the Case Else section, if …

Jul 10, 2015:

5:43 PM WikiStart edited by guinness
(diff)
5:42 PM WikiStart edited by guinness
(diff)
5:41 PM WikiStart edited by guinness
(diff)
10:39 AM Milestone 3.3.14.0 completed

Jul 9, 2015:

7:08 AM Ticket #3067 (1 line If...Else Statement) updated by TheDcoder
I understand, thanks for taking the time :)
7:00 AM Ticket #2989 (@OSVersion And Windows 10) updated by TicketCleanup
Version changed
Automatic ticket cleanup.
6:43 AM Ticket #2989 (@OSVersion And Windows 10) closed by guinness
Completed: This is set to complete for the part where WIN_10 was added to @OSVersion macro.
6:41 AM Ticket #3067 (1 line If...Else Statement) updated by guinness
To add to what Jos said. Don't use ternary for control flow, which is the example you have presented us here. Instead use the ternary operator for something like: […] > The 1 liner is more readable to a normal person than the 3 liner This is nothing more than speculation, which should be backed up by hard evidence. As for your request, you don't see developers writing this: […] If you do, then they have no consideration for others maintaining their code.

Jul 8, 2015:

8:22 PM Ticket #3067 (1 line If...Else Statement) closed by Jos
Rejected: Use Ternary when you need a oneliner. Jos
6:38 PM Ticket #3049 (Cross-referencing to assist in finding UDFs in the help) closed by guinness
Rejected: The help file is autogenerated, so your proposal is not possible. Thanks anyway.
6:00 PM Ticket #3046 (Obj/COM Reference: typos) updated by TicketCleanup
Milestone changed
Automatic ticket cleanup.
5:54 PM Ticket #3067 (1 line If...Else Statement) updated by TheDcoder
Replying to Jos: > Understood as much but I am not really sure you thought this through. > Which basic like language is using this format of an single If--Else--Endif? > To me the only result is that it makes script less readable, but that's also a matter of taste. > > Jos I have many If...Else...EndIf which only contain 1 line of code in each condition, Also if that If structure is in a already another structure like Switch...EndSwitch it just sucks... As a person who hates spaghetti code, I prefer to use 1 line If statement where possible... Also it makes the code more readable I think, this an example: […] […] The 1 liner is more readable to a normal person than the 3 liner TD :)
5:45 PM Ticket #2719 ("Misc. functions Reference" - table - Function list) updated by guinness
Requires a re-write. This is a long term plan
5:39 PM Ticket #3063 (Typo in WinAPISys.au3) closed by guinness
Fixed: Fixed by revision [11354] in version: 3.3.13.22
5:28 PM Ticket #2902 (Incorrect GUI Scrolling when GUI is resizeable) closed by guinness
Wont Fix
5:26 PM Ticket #3060 ("Function notes" in helpfile - remarks about @extended) closed by guinness
Rejected: I agree with jpm.
5:25 PM Ticket #3046 (Obj/COM Reference: typos) updated by guinness
Milestone changed
Thanks for your contribution c.haslam. Quite a lot of work there.
5:24 PM Ticket #3046 (Obj/COM Reference: typos) closed by guinness
Fixed: Fixed by revision [11353] in version: 3.3.13.22
5:13 PM Ticket #3046 (Obj/COM Reference: typos) updated by guinness
c.haslam, Please locate google's best practices for HTML, as strong tags should be lowercase NOT uppercase (that's ancient at least HTML3 standard). Also mlipok suggested the wrong file for you to edit. I will do it manually, but next time you will find the file in "docs\autoit\english\html\intro"
5:07 PM Ticket #3067 (1 line If...Else Statement) updated by Jos
Understood as much but I am not really sure you thought this through. Which basic like language is using this format of an single If--Else--Endif? To me the only result is that it makes script less readable, but that's also a matter of taste. Jos
5:03 PM Ticket #3047 (_MathCheckDiv: Purpose inaccurate) closed by guinness
Fixed: Fixed by revision [11351] in version: 3.3.13.22
11:46 AM Milestone 3.3.13.21 completed
11:21 AM Ticket #2901 (Text file as a binary) closed by Jon
Fixed: Fixed by revision [11344] in version: 3.3.13.21
8:45 AM Ticket #3067 (1 line If...Else Statement) updated by TheDcoder
Replying to Jos: > Why? > Which problem does this solve? > > Jos Feature Request :)
7:02 AM Ticket #2901 (Text file as a binary) updated by mLipok
; FileWrite with $FO_UTF8_NOBOM Writes "poniedziałek, wtorek, środa, czwartek, piątek, sobota, niedziela" ; FileRead with FileGetEncoding() Reads "poniedziaĹ‚ek, wtorek, Ĺ›roda, czwartek, piÄ…tek, sobota, niedziela" ; FileRead - simply with out : FileOpen + FileClose Reads "poniedziałek, wtorek, środa, czwartek, piątek, sobota, niedziela" The problem is where I use FileGetEncoding() btw. testing AutoIt3.exe https://www.autoitscript.com/forum/topic/173747-utf8utf16-testing/ works fine
12:02 AM Ticket #2901 (Text file as a binary) updated by Jon
Looking into the memory problem in the first post. I don't see any issues with the second post, it looks to be writing in UTF8-NoBOM and correctly detecting that when reading...Or am I missing something?

Jul 7, 2015:

6:46 PM Ticket #3067 (1 line If...Else Statement) updated by Jos
Why? Which problem does this solve? Jos
5:43 PM Ticket #3066 (_Crypt_EncryptFile - creating 1 kb file with wrong decryption password.) closed by Jos
Rejected: Please do not open another bug ticket, but rather try convincing us in the forum that this really is a bug. So I am closing this report and don't open yet another one. We will re-open the first one in case we are in agreement that this really is a bug. Jos
3:20 PM Ticket #3067 (1 line If...Else Statement) created by TheDcoder
Ability to run a 1 line If...Else statement like this: […]
7:21 AM Ticket #3066 (_Crypt_EncryptFile - creating 1 kb file with wrong decryption password.) created by anonymous
Since my last ticket was closed, without even asking me to provide …

Jul 6, 2015:

8:19 PM Ticket #3064 (Ping timeout is longer than set by par2) updated by Jos
I am not convinced this is an AutoIt3 bug but rather an issue with IcmpSendEcho used in AutoIt3. There seem to be multiple reports on this timeout parameter not working and AutoIt3 simply uses what is provide.
6:26 PM Ticket #3065 (_Crypt_EncryptFile BUG - creating 1 kb file with wrong decryption password.) closed by jchd18
No Bug: Your claim doesn't make any sense. Closing as "No bug".
1:37 PM Ticket #3065 (_Crypt_EncryptFile BUG - creating 1 kb file with wrong decryption password.) created by anonymous
Hello, I've found a bug regarding: _Crypt_EncryptFile It will create …

Jul 5, 2015:

8:14 PM Ticket #3064 (Ping timeout is longer than set by par2) created by RichardL
[…] The timeout seems to be 500 mS minimum, or 500 more than requested.
7:42 PM Ticket #3063 (Typo in WinAPISys.au3) created by mikell
[…] should be […]
6:28 AM Ticket #3062 (AuCheck didn't catch ' without &) closed by J-Paul Mesnage
No Bug: Au3Check is not perfect but in this check It does as AutoIT which does not complain either
4:03 AM Ticket #3062 (AuCheck didn't catch ' without &) updated by c.haslam
anonymous => c.haslam
4:02 AM Ticket #3062 (AuCheck didn't catch ' without &) created by anonymous
The code is: […] AU3Check doesn't complain. In case this looks …

Jul 3, 2015:

12:39 PM Ticket #3056 (Ctrl_Alt_F5 SyntaxCheck Beta doesn't work in SciTE) closed by Jos
No Bug: Works for me so please discuss in forum first before assuming it's a bug. Jos
12:37 PM Ticket #3061 (au3check not allowing nested With-EndWith) closed by Jos
Fixed: Fixed by revision [11338] in version: 3.3.13.21
12:30 PM Ticket #3061 (au3check not allowing nested With-EndWith) updated by Jos
Reporter changed
12:29 PM Ticket #3061 (au3check not allowing nested With-EndWith) updated by Jos
Owner, Status changed
12:28 PM Ticket #3061 (au3check not allowing nested With-EndWith) created by Jos
AU3CHECK doean't allow a nested With-EndWIth, which is allowed since …
8:18 AM Ticket #3059 (Miscelaneous => Miscellaneous in Help : Typos) closed by J-Paul Mesnage
Fixed
8:09 AM Ticket #3060 ("Function notes" in helpfile - remarks about @extended) updated by J-Paul Mesnage
unless some missing doc they shoud be functions related not on the "functions_notes" page

Jul 2, 2015:

6:47 PM Ticket #3060 ("Function notes" in helpfile - remarks about @extended) created by mLipok
In …
4:06 PM Ticket #3059 (Miscelaneous => Miscellaneous in Help : Typos) created by c.haslam
WinAPIEx Miscelaneous Reference.htm should be WinAPIEx Miscellaneous …
8:04 AM Ticket #3058 (_WinAPI_IOCTL: New See Also link) closed by J-Paul Mesnage
Duplicate: It was closed because fixed
4:45 AM Ticket #3058 (_WinAPI_IOCTL: New See Also link) created by c.haslam
New link …

Jul 1, 2015:

11:57 AM Ticket #3012 (GUISetFont - no default value for parameter: attribute) closed by J-Paul Mesnage
Completed: Added by revision [11334] in version: 3.3.13.21
10:54 AM Ticket #3052 (_ArraySort doc needs further clarification for 2D) closed by J-Paul Mesnage
Fixed: Fixed by revision [11331] in version: 3.3.13.21
10:49 AM Ticket #3052 (_ArraySort doc needs further clarification for 2D) updated by J-Paul Mesnage
Summary changed

Jun 30, 2015:

3:56 PM Ticket #3057 (StringSplit() Return Value) closed by J-Paul Mesnage
Fixed: Fixed by revision [11330] in version: 3.3.13.21

Jun 29, 2015:

5:38 PM Ticket #3057 (StringSplit() Return Value) created by c.haslam
Existing: If no delimiters were found then the @error flag is set to …
3:26 PM Ticket #3055 (_WinAPI_IOCTL: link in See Also is bad) closed by J-Paul Mesnage
Fixed: Fixed by revision [11329] in version: 3.3.13.21
10:04 AM Ticket #3055 (_WinAPI_IOCTL: link in See Also is bad) updated by J-Paul Mesnage
I deleted the attachment as it is not related with the subject. Please add a new post with a working link if any Thanks
12:28 AM Ticket #3056 (Ctrl_Alt_F5 SyntaxCheck Beta doesn't work in SciTE) created by c.haslam
I have downloaded the latest version of SciTE4AutoIt3.exe dated …

Jun 26, 2015:

2:35 AM Ticket #3055 (_WinAPI_IOCTL: link in See Also is bad) created by c.haslam
The link <a …

Jun 22, 2015:

7:16 PM Ticket #2960 (SciTE show code abnormal) updated by szfzafa
I got the same problem here. Must be some files from old version messing this up, cannot figure it though. Just delete all files and reinstall, then it's gonna be OK.
7:32 AM Ticket #3054 (_Crypt_GenRandom always returns False and sets @error) updated by jchd18
I never pretended it was the right way to handle errors and never said it wasn't a bug! And I never touched this code.
7:15 AM Ticket #3054 (_Crypt_GenRandom always returns False and sets @error) updated by J-Paul Mesnage
Thanks , You right checking only @error instead of $iError was the smallest correction
2:18 AM Ticket #3054 (_Crypt_GenRandom always returns False and sets @error) closed by BrewManNH
Fixed: Fixed by revision [11327] in version: 3.3.13.21
2:16 AM Ticket #3054 (_Crypt_GenRandom always returns False and sets @error) reopened by BrewManNH
1:02 AM Ticket #3054 (_Crypt_GenRandom always returns False and sets @error) updated by BrewManNH
That doesn't explain why it is set that way, or when it was changed, or where it was documented. If you make a change like this, it needs to be documented. Where 10 is being added to the @error value is definitely a bug. If you wanted to return a non-zero value for the $aRet[0] being 0 then you should be adding 10 to the $iError variable AFTER the If statement, not before it. The way it was rewritten guarantees that it will always return an error condition unless @error is -10.
Note: See TracTimeline for information about the timeline view.