Jump to content

AutoIt v3.3.13.20 Beta


Jon
 Share

Recommended Posts

  • Administrators

AutoIt v3.3.13.20 Beta

View File

3.3.13.20 (21st March, 2015) (Beta)

AutoIt:

  • Changed: Map uses 64-bit integers.
     
  • Fixed #2920: Doc precision about no control position/resizing on initially window for GUiCreate()/WinMove().
  • Fixed #2924: Progress bar style documentation.

UDFs:

  • Changed: Removed internal redraw code from _GUIListView_DeleteAllItems() and _GUIListView_DeleteSelectedItems().
  • Changed: _ArrayUnique() can now deal with Int64 values via new parameter,
  • Changed: _SQLite 3.8.6.0 -> 3.8.8.1.
  • Changed: Re-wrote _StringInsert() using native functions.
  • Changed: _HexToString() to _StringToHex() now handles strings and binary as UTF-8 by default.
  • Changed: _FileWriteToLine() overwrite optional parameter is now boolean and not an integer of zero or one. The old values are still supported for now.
  • Changed: _Word_DocOpen() changed from @error = 4 to @error = 0 and @extended = 1 if document could not be opened Read-Write. THIS IS A SCRIPT BREAKING CHANGE
  • Changed: Re-wrote _MathCheckDiv().
  • Added #2877: _GUICtrlRichEdit_GetFont() example improvement.
  • Added #2857: _GUICtrlEdit_GetCueBanner() and _GUICtrlEdit_SetCueBanner().
  • Added #2860: Convert UDF's ptr to struct* type to allow direct passing of a structure.
  • Added #2891: _WinAPI_GetWindowDC() and _WinAPI_RedrawWindow() examples.
  • Added: More _GDIPlus_Font* functions.
  • Added: _WinAPI_GetFontResourceInfo() return more Font information.
  • Added: _WinAPI_GetFontMemoryResourceInfo().
  • Added #2922: _VersionCompare() with different number of fields.
  • Added #2968: Optional parameter $iMSeconds to _SetTime().
  • Added: $SB_ANSI, $SB_UTF16LE, $SB_UTF16BE and $SB_UTF8 constants to StringConstants.au3, for use with BinaryToString() and StringToBinary().
  • Added: Constants to Assign() and IsDeclared().
  • Added #2982: _FTP_Connect() example improvement.
  • Added #2976: #pragma default value.
  • Added #2998: Added missing key (03 - control-break processing) to the _IsPressed() documentation.
     
  • Fixed #2868: _WinAPI_SfcIsKeyProtected() ->_WinAPI_SfcIsFileProtected() doc example.
  • Fixed #2874: _GUICtrlRichEdit_SetCharColor() not at insertpoint.
  • Fixed #2875: Broken link in _SendMessage() doc.
  • Fixed #2876: examples running under Windows X64 in 32 bit mode.
  • Fixed #2880: Example for _WinAPI_OpenProcess().
  • Fixed #2881: HotKeySet() doc as "{ASC nnnn}" cannot be used
  • Fixed #2885: Subscript error with _ArrayMax() and _ArrayMin().
  • Fixed #2909: Backslash was not appended in _PathMake() if $sDir was blank.
  • Fixed #2908: _ScreenCapture_Capture() failing due to out of bounds error.
  • Fixed #2911: _ArrayDisplay() GUI controls have wrong coords.
  • Fixed #2917: _WinAPI_AddMRUString() example crash when run in X64 mode (Msdn Bug CreateMRUListW !!!).
  • Fixed #2918: _GDIPlus_GetEncoderParameterList() not working.
  • Fixed: Range setting in _ArrayDisplay().
  • Fixed #2923: Broken link in Related section.
  • Fixed #2934: Typo in _GUICtrlRichEdit_SetZoom() doc.
  • Fixed #2933: Constants reference in _GUICtrlRichEdit_StreamToVar() doc.
  • Fixed: _Array_FindAll() return array incorrectly dimesioned for row search.
  • Fixed #2964: Incorrect structure for $tagWNDCLASS.
  • Fixed: _WinAPI_IsWritable() wrong detection when the device is not ready.
  • Fixed: The seconds parameter in _SetTime() being set as milliseconds.
  • Fixed #2967: Incorrect format of AM/PM when the time was 00:00.
  • Fixed #2993: _WinApi_GetString() doc.

AutoItX:

  • Fixed #2882: PixelChecksum bugs.

Au3Check:

  • Added: Support of UTF8 with BOM files.

AutoIt3Help:

  • Changed: Version number to 1.0.0.7.
     
  •  Fixed: Crash in SciTE when multiple lines are selected.

 

Others:

  • Added: IconsMyAutoit3_*.ico to be used when compiling user scripts (small footprint).

  • Submitter
    Jon
  • Submitted
    03/22/2015
  • Category
Link to comment
Share on other sites

Hi Jon,

czardas raised an important point here. Indeed we've seen a number of users hitting a fatal (hard crash) stack overflow condition when using PCRE with heavy backtracking (desired or not).

This caused some discussion about what to do about that, with various valid arguments. On the one hand, AutoIt should never crash, so recovering gracefully by traaping the stack overflow condition is good. OTOH, compiling PCRE for using the heap instead of the stack is another way to dramatically deal with the problem.

The drawback I see with the latter solution is that it silently promotes widespread use of badly written patterns (uselessly backtracking), up to letting unsuspecting users reuse those wrong patterns in other contexts, which I feel isn't exactly the right way to deal with the issue.

Careless use of repeated or nested undefinite repetition with + or * easily leads to horrible backtracking (unless the PCRE compiler optimizer guards against some of these cases). Of course the ideal would be to raise some flag before dramatic failure, but this is impossible in practice: PCRE contains a large number of optimizations, yet there are countless cases where detecting when a given pattern is likely to turn novae when processing a large input is beyond todays capabilities of a standard library.

More fuel sent in PM. Thanks for considering and making a balanced decision.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

Yeah, got it too and reported the false positive.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

I'm missing the "Select a default option for '*.au3 files." selection where I can set whether to run or edit the script after double clicking the file.

Default is "Edit the script" which I don't prefer.

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

  • Moderators

UEZ,

Having just done a full re-install, I can tell you that you only get the "edit/run" choice when installing the full release versions - the Beta just adopts the same setting. But SciTEConfig allows you to change the overall setting very easily. ;)

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

 

Link to comment
Share on other sites

Ok, meanwhile I changed it but to be honest I cannot remember whether any Beta didn't offer to change it. After installation of the beta the scripts were opened in SciTE not run.

Edited by 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

  • 5 weeks later...
in version 3.3.13.20 ticket problem #2901 isn't solved
problem with allocation of memory and a mistake when reading the file simply nullify work with file system in new versions of language
I from the Russian-speaking forum AutoIT. our subject on language problems
I ask to excuse for machine translation
Edited by joiner
Link to comment
Share on other sites

Only the result of reading with UTF8_NOBOM is an error, as it returns binary while the file (containing only ANSI characters) is valid for this mode.

Of course, the memory allocation error is clearly a bug when the file is shorter than the declared BOM length!

 UTF16_LE, UTF16_BE and UTF8 (meaning UTF8_BOM) all fail since they expect 2-, 2- and 3-BOM bytes resp. which are not correct and the content is not valid for either UTF16.

Maybe that if a read mode with explicit BOM is passed and the file doesn't have one, FileRead should raise an error or backtrack to the default read mode (check for UTF8 on limited size content).

As always, the saying "know your data!" is right.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

The code wrote in version 3.3.12.0 - no problem 
Local $hBase = FileOpen($Base);I used different parameter values of "mode" - the error remains
If $hBase = -1 Then Return 2
FileSetPos($hBase, 12, 0)
Local $sReadPage = FileRead($hBase, $nSizePage);returns not the text
When testing in version 3.3.13.19-20 --- problem(error)
Any additional dances with a tambourine aren't registered in help to the beta-version.
Another is important - when it is corrected?
Edited by Jon
Link to comment
Share on other sites

Mat, see the referenced ticket #2901

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

  • Jon featured this topic
  • 1 month later...
  • Jon unfeatured and unpinned this topic

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
 Share

  • Recently Browsing   0 members

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