Jump to content
Sign in to follow this  
Jon

AutoIt v3.3.9.21 Beta

Recommended Posts

Jon

File Name: AutoIt v3.3.9.21 Beta

File Submitter: Jon

File Submitted: 11 Sep 2013

File Category: Beta



3.3.9.21 (11th September, 2013) (Beta)
AutoIt:
- Added #2443: Monospaced in Fonts appendix.

- Changed: Documentation for StringRegExp() re-written by jchd.
- Changed: Default newline character for PCRE regexes changed to ANYCRLF.

- Fixed #2066: DllStructSetData() returning int64 instead of int32 in some cases.
- Fixed #2427: ControlTreeView() does not used Option2.
- Fixed #2455: Mouse Cursor not changing on resizable GUIs.
- Fixed #2105: RegRead() and DWORD types incorrectly stored as double.
- Fixed #2299: GUI Button Text Left-Justify for colored button.
- Fixed #1954: ListViewItem returns 0 (failure) even though it populates the ListView.
- Fixed #2152: X^2 Not Working in Hex().
- Fixed #1870: @GUI_DRAGFILE.



Click here to download this file

  • Like 3

Share this post


Link to post
Share on other sites
UEZ

You forgot:

-Added some more GDI+ functions and examples.

Br,

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites
FireFox

You forgot

No, my fault :P Edited by FireFox

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
trancexx

I see there have been some workings on X^2 problematic.

Can someone give short explanation on why is this treated as integer:

$nNum =  2.0 ^ 1

... and this as double:

$nNum =  2.0

Thanks in advance.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites
Mat

TranceXX, more importantly that introduces a regression on certain values for the exponent.

I suspect the code looks something like if (exp % 1 == 0) { /* Cast return value to int */ }

That gives the wrong result when the exponent is negative, for example 2^-1 should give 0.5 but is being truncated to zero.

Share this post


Link to post
Share on other sites
trancexx

Maybe someone should open bug report named "X/2 not working in Hex".

The problem is not Hex(), the problem is not even on the level that Jon tried to fix it. It's below that. Fixing it above that can only produce new bugs.

Bug report that was referenced was, and is, senseless in its essence.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites
rdr

Hello,

Is there any plan on when this version will become official?

Thank you!

Share this post


Link to post
Share on other sites
Melba23

rdr,

As always, there will be a release when Jon thinks it is ready. :)

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Mat

I'm not sure why Hex() was ever changed from using only integers to be honest. The few people who know what the output means could easily do it in about 4 lines anyway. 

Jon, The only time the output should be converted to an integer is if: Both operands are integral and the exponent is positive. That's basically what TranceXX is saying here.

Edited by Mat

Share this post


Link to post
Share on other sites
Jon

Hex wasn't touched. The code changed was at the low level and is something JP said he'd verified. The code "looks" right in that it does indeed check for integers but it turns out some code that determines the integer status is also flawed.

Share this post


Link to post
Share on other sites
trancexx

I'm not sure why Hex() was ever changed from using only integers to be honest. The few people who know what the output means could easily do it in about 4 lines anyway.

That can be said for half of the built-in functions - 2, 3, 4, 5, 10 lines of script code from people who know. Your argument isn't right.

Hex was "changed" because it didn't do what it was said it should do. Hex(2.1) is not 0002.

Do you understand now?

...What I should have done back then was add new function Hex2() and remove documentation for Hex(). And fight another war.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites
Mat

That can be said for half of the built-in functions - 2, 3, 4, 5, 10 lines of script code from people who know. Your argument isn't right.

Hex was "changed" because it didn't do what it was said it should do. Hex(2.1) is not 0002.

Do you understand now?

...What I should have done back then was add new function Hex2() and remove documentation for Hex(). And fight another war.

Yes, but the difference is the people that don't know. The built in functions make the language simple.

Why couldn't Hex() say in the docs that it only takes integers as input? Quick docs change and everyone is happy.

Besides, I think Hex(2.1) should return 2.19999...., that's the correct answer.

Share this post


Link to post
Share on other sites
trancexx

Yes, but the difference is the people that don't know. The built in functions make the language simple.

Uhm, that's what I said.

Why couldn't Hex() say in the docs that it only takes integers as input? Quick docs change and everyone is happy.

 

Besides, I think Hex(2.1) should return 2.19999...., that's the correct answer.

Excellent point. Not.

Because that was never the case, because it doesn't make sense, because it can take strings, because of your first sentence, because because because. It was a bug, nothing more.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites
Mat

Hex() can't take strings. It can take integers passed as strings. When last I checked Hex("TEST") doesn't return 0x54455354. Actually wait, that's a bug right?

The Hex() function is now overcomplicated. There is functionality which will never be used, and instead just confuses people. All so it could be "right". 

Share this post


Link to post
Share on other sites
jpm

@trancexx

I will look why 2.0 is considered as an integer when used with pow operator.

I suspect that it is the same why Autoit display 2 and not  2.0 with ConsoleWrite(2.0 & @CRLF)

Share this post


Link to post
Share on other sites
trancexx

@Mat, not integers but numbers.

Try binary data.

 

The Hex() function is now overcomplicated. There is functionality which will never be used, and instead just confuses people.

That's why I said Hex2(). Edited by trancexx

♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites
Tlem

- Added #2443: Monospaced in Fonts appendix.

 

Wrong track number. It's #2433.


Best Regards.Thierry

Share this post


Link to post
Share on other sites
jpm

Wrong track number. It's #2433.

Thanks, Fixed

Share this post


Link to post
Share on other sites
Mauris

Goodbye AutoIt, goodbye community, thank Jon, Valik, Gary Frost, Jos and trancexx, version 3.3.8.1 the best.

Share this post


Link to post
Share on other sites
jaberwacky

lol

This actually made me giggle.

Wow.  Passive aggressive much?

You said goodbye to the community on your first post!

Edited by jaberwocky6669

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×