Jump to content

Recommended Posts

Posted

I'll fix both problems tomorrow and do another release. For the time being I don't recommend upgrading to 3.3.1.2.

The SQLite team has just released version 3.6.19 which includes the long-awaited foreign-key support.

If you have the time to pack this new version in the inlined UDF, it would be a must to have it in the next beta.

For those used to having a separate sqlite3.dll file it makes no difference, so only do this if you can spare the time.

Thanks again to every dev/contributor.

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)

Posted

So wait, we have an UDF that contains a 3d party binary that is larger than all other binaries in the autoit suite together and isn't even compatible with the x64 version of autoit?

:)

Broken link? PM me and I'll send you the file!

Posted

I kow, and I personally never used the inline version. There is no reason for it except have new users discover and use SQLite easily. The foreign key feature in 3.6.19 was so much expected that I gave it a boost. Anyway, new users of SQL[ite] already have a lot of things to play with and native foreign key support is certainly not a high priority.

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)

Posted

I cannot explain why the manifests are missing. I just did the build again and the manifests are present. I'll double check the files before I release 3.3.1.3.

I don't get it.

Posted

AutoIt v3.3.1.3 (Beta) Released:

AutoIt:

- Fixed: Hex() no longer crashes.

UDFs:

- Fixed #1215: _ArraySearch() not searching on 2D array.

- Fixed: Typos in _Crypt_EncryptData() documentation and _Crypt_EncryptFile example.

- Fixed: GDIPlus return values.

- Fixed #1026: GDIPlus Bitmap examples and documentation use the correct function to free resources.

The following changes are script breaking changes:

Some of the following features are deprecated. Deprecated features are no longer documented but continue to work. Deprecated features will be removed after version 3.3.2.0. It is strongly recommended that scripts relying on deprecated features be updated to work with the new behavior. Some features have already been removed and will be noted as such.

AutoIt:

  • ShellExecute() and ShellExecuteWait() no longer use the "open" verb by default. See the remarks section for those functions for more details.
  • The return value of InetGet() has changed. It is important to read and understand the changes because it is possible to leak resources if InetGet() is used incorrectly.
  • InetGet("abort"),@InetGetActive and @InetGetBytesRead are now deprecated. The following list shows the new functions used to access the old behavior:
    • InetGet("abort") - Calling the new InetClose() function with a handle returned from InetGet() will abort a download.
    • @InetGetActive - Calling the new InetGetInfo() function with no parameters returns a count of active downloads.
    • @InetGetBytesRead - Calling the new InetGetInfo() function with a handle returned from InetGet()will return the bytes read (and more) for a download.
  • The FtpBinaryMode option set with AutoItSetOption() has been removed. Now InetGet() takes a flag to specify the transfer mode.
  • The URLDownloadToFile() alias for InetGet() has been removed.
  • AdlibEnable() and AdlibDisable() are deprecated. See the new functions AdlibRegister() and AdlibUnRegister().
  • OnAutoItStart() is deprecated. See the new pre-processor statement #OnAutoItStartRegister.
  • OnAutoItExit() is deprecated. See the new functions OnAutoItExitRegister() and OnAutoItExitUnregister().
  • The AutoItSetOption() option OnExitFunc has been removed. See the new functions OnAutoItExitRegister() and OnAutoItExitUnregister().
  • GUICreate() with $WS_EX_MDICHILD has been fixed to be relative to client area as documented.
  • ProcessWait() now returns a PID instead of 1 on success.
  • WinWait(), WinWaitActive(), WinActivate(), WinActive() and WinMove() now return an HWND instead of 1 on succes.
  • The macro@YDAY now uses the range 001 - 366 instead of 1 - 366. This makes the macro more consistent with other languages (like C/C++) and more consistent with all other date related macros which return strings with leading 0s to pad the length.
  • RegEnumKey() and RegEnumVal() now return an empty string instead of an error message.

UDFs:

  • The last optional parameter for _StringBetween() has been removed.
  • _StringAddThousandsSep() has been removed. There are too many opinions on what this function should do and too many revisions of this function have been made.
  • _SQLite_SaveMode() has been renamed to _SQLite_SafeMode().

This release is not digitally signed.

Discuss the beta here.

Report issues here.

Download here.

Posted

I received the following two errors after I upgraded to 3.3.1.3

C:\Program Files\AutoIt3\Beta\Include\WinAPIEx.au3(2380,53) : WARNING: $tagTEXTMETRIC: possibly used before declaration.
    Local $tTEXTMETRIC = DllStructCreate($tagTEXTMETRIC)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Program Files\AutoIt3\Beta\Include\WinAPIEx.au3(2380,53) : ERROR: $tagTEXTMETRIC: undeclared global variable.
    Local $tTEXTMETRIC = DllStructCreate($tagTEXTMETRIC)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

Didn't cause any issues with my script, but I figured I would go ahead and report it.

Posted

WinAPIEx is not an UDF maintained by the dev team or released in the official autoit package. Take it up with the creator of the UDF.

Broken link? PM me and I'll send you the file!

Posted
  • There is no such file distributed by us called "WinAPIEx.au3". If this is a custom file you have it in the wrong place. Do not store things in that directory.
  • You used an internal structure clearly marked as internal use only. The structure was removed in the current betas. This is why you shouldn't use things that are marked as "internal use only".
In other words, you have bad habits and were bit in the ass by them. I suggest you take this opportunity to learn better habits.
Posted

Anyone else having problems with the latest beta and #region/#endregion tags? I'm using Scite4AutoIt3 and both region lines are just black text instead of the usual purple. They work, they're just not colored.

wraithdu already noted this in post #98, and there is a temporary solution if you read a few of the posts following it.
Posted

The documentation is wrong. The parameter order is LoDWORD, HiDWORD but the documentation says the HiDWORD comes first. The code works correctly... when you pass the function what it expects, not what's documented. I'll update the documentation.

Posted

Cool. I temporarily changed line 975 of FTPEx.au3 to "$glen = _WinAPI_MakeQWord($ai_FTPGetFileSize[0], $ai_FTPGetFileSize[2]) ;FileGetSize($s_RemoteFile)" to get it to work.

While you're in the neighbourhood, you may also want to have a look at_FTP_FilePut. It was working for me in 3.3.1.1 but not in 3.3.1.3 (doesn't seem to upload the file passed to it) Not sure why yet but if I find out I'll fill in a ticket.

Posted

I did not touch the FTP library. I only fixed the _WinAPI_MakeQWord() documentation to actually document the correct parameter order. If anything else is broken because it has the parameters inverted, well, that's not fixed.

Posted (edited)

No probs. I have added comments to #1167 and can confirm that _FTP_FilePut is broken (how I don't know) so I will open a ticket for that as well.

Edited by PartyPooper
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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