Jump to content

Uploaded a new version of the SciTE4AutoIt3.exe v21.316.1639.1


Jos
 Share

Recommended Posts

  • Developers
11 minutes ago, TheDcoder said:

This is my personal opinion, but I think this is bad design, it should display all languages that are supported, otherwise it is misleading.

..and that is fine you have that opinion, but it's not going to happen on this installer.
I assume you have made the change for yourself first, before posting, and added all and think it looks great..right?

 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

2 minutes ago, Jos said:

I assume you have made the change for yourself first, before posting, and added all and think it looks great..right?

Not really, this was on a client's remote server so I didn't bother, the work will be over soon.

If I was still using Windows, I would've :)

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Link to comment
Share on other sites

  • Developers
6 minutes ago, TheDcoder said:

Not really, this was on a client's remote server so I didn't bother, the work will be over soon.

Maybe as an suggestion: abstain from an opinion when you don't have all information to form that opinion the next time. ;)  

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

3 minutes ago, argumentum said:

If you did show all the languages, you know that is not a good thing.

I don't follow your logic, how is that a bad thing?

3 minutes ago, argumentum said:

Just add what you use. Is better

I'd be inclined to agree, but only if there was a way to configure it in the GUI... modification of the config file directly should be restricted to new experimental features or advanced features which only a few users would use.

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Link to comment
Share on other sites

1 minute ago, Jos said:

abstain from an opinion when you don't have all information to form that opinion the next time. ;)  

I am sorry Jos, but maybe you have misunderstood me, what made you think I don't have the required information to form an opinion about this?

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Link to comment
Share on other sites

  • Developers
Just now, TheDcoder said:

what made you think I don't have the required information to form an opinion about this?

That's easy... You state you didn't add all the possible languages:

12 minutes ago, TheDcoder said:

Not really, this was on a client's remote server so I didn't bother, the work will be over soon.

 ...but do what you feel is right for you as I have done for this installer and there is no need to agree on it. :) 

 

 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

1 minute ago, Jos said:

That's easy... You state you didn't add all the possible languages:

Hmmm... it's debatable I guess, but I have used other editors which provide this feature... Geany goes as far as listing all supported languages (which are many) and organizing them into their own little sub-menus. Thought that was enough to know what it would feel like in SciTE, it's only a single addition after all.

2 minutes ago, Jos said:

 ...but do what you feel is right for you as I have done for this installer and there is no need to agree on it. :) 

For sure, just a suggestion :)

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Link to comment
Share on other sites

24 minutes ago, TheDcoder said:

should be restricted to new experimental features

H&ypertext|html|$(keyHTML)|\
#&InnoSetup|iss||\
#&Java|java||\
Java&Script|js||\
#&Kix|kix||\
#Lisp|lisp||\
#Lot|lot||\
#Lout|lt||\
Lu&a|lua||\
#Matlab|m.matlab||\

So, a coder, "DCoder", can't find his way around a configuration file ? :P
What would be cool, is for someone ( you ), to write a "patch", to enable/disable, and add whatever is needed for those that would like to use JS in our AU3 editor ;)

Challenge accepted ?. :)

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

@argumentum Too easy, I plan to make my own editor with all sorts of features... but I need to finish working on ECI before that, challenge accepted :muttley:

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Link to comment
Share on other sites

  • 2 weeks later...
  • Developers
10 minutes ago, VIP said:

Where to download the beta v21.316.1639.5 ?

Why this question as that is now this production, so isn't available anymore?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

 

Ah, i guess I understand now: this is the published history.html in Beta:

======================= Start Updates Available in Beta ====================
14-4-2021

*** Updated Au3Stripper v21.316.1639.0.0 (Jos)
   - v21.316.1639.1  Fixed: Skip merging Directive lines ending with continuation character (9/04/2021)

*** Updated AutoIt3Wrapper v21.316.1639.0.0 (Jos)
   - v21.316.1639.2  Added: SciTE console message from Watcher when AutoIt3Wrapper was terminated. (14/04/2021)

*** Updated Tidy v21.316.1639.0.0 (Jos)
   - v21.316.1639.2  Fixed: hardcrash for one line input script (30/03/2021)
   - v21.316.1639.3  Fixed: hardcrash when option properconstants=1 is enabled (30/03/2021)
   - v21.316.1639.4  Fixed: hardcrash on a long inputline without spaces. (8/04/2021)
   - v21.316.1639.5  Fixed: Directive line ending with Underscore: space was added (9/04/2021)

======================= End Updates Available in Beta ====================

Which means that there are beta versions for the mentioned programs.
So  for example: the available Beta version of Tidy is v21.316.1639.5  and for au3stripper is v21.316.1639.1

All clear?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • 1 month later...

Not sure if this is the appropriate place to report a bug in AutoIt3Wrapper (does it have its own tickets?), but line 351 in the latest version invariably crashes for me on x64 when allocating large amounts (64GB) of (physically available) RAM, as the validity of $aData is never checked before processing it as a valid 2D array (the loop needs to be conditional upon _WinAPI_EnumProcessWindows returning no @error and IsArray($aData)=True and Ubound($aData, 0)=2.

; Clean up in case the original AutoIt3Wrapper termintated but AutoIt3 is still running
            If ProcessExists($H_au3) Then
                ; first try closing nicely by sending WinClose to the windows of the PID of the running script
                Global $aData = _WinAPI_EnumProcessWindows($H_au3, False)
                For $x = 1 To $aData[0][0]  << ERROR: Subscript used on non-accessible variable
                    WinClose($aData[$x][0])
                Next

No idea why a memory squeeze might affect _WinAPI_EnumProcessWindows...:unsure:

Link to comment
Share on other sites

This is good place do discuss.

As to reporting you can create ticket selecting SciTE4AutoIt as a Component.
But do not know what @Jos prefers.


image.png.743a1f87009d81ec4a2faa308fec8b87.png

 

Edited by mLipok
wording

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

Spoiler

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

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST APIErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 *

 

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskSchedulerIE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related:How to get reference to PDF object embeded in IE * IE on Windows 11

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

I also encourage you to check awesome @trancexx code:  * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuffOnHungApp handlerAvoid "AutoIt Error" message box in unknown errors  * HTML editor

winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

  • Developers
On 7/8/2021 at 10:53 AM, RTFC said:

but line 351 in the latest version invariably crashes for me

Latest version of what exactly? AutoIt3 I assume?
Maybe an AutoIt3 bug as Autoit3Wrapper is just that...a script. :) 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

1 hour ago, Jos said:

Latest version of what

SciTE4AutoIt3 v21.316.1639.1

Sorry for being unclear. I was referring to line 351 of AutoItWrapper.au3 (as quoted), where $aData is used as a 2D array without any checks that is is actually valid. In my environment that WinAPI call fails, causing AutoItWrapper to crash.

$aData = _WinAPI_EnumProcessWindows
Link to comment
Share on other sites

  • Developers

Ah ok ...  Thanks. :) 

I don't think anything changed in that part of the code for quite a while when it was introduced in 2019-11-17, but agree it should test for success. 
So you are proposing to add an If like this around it to fix that?

Global $aData = _WinAPI_EnumProcessWindows($H_au3, False)
                SciTE_SendConsoleMessage("> Trying normal script close by Sending WinClose to all Windows of Pid " & $H_au3)
                If IsArray($aData) Then
                    For $x = 1 To $aData[0][0]
                        WinClose($aData[$x][0])
                    Next
                EndIf

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Yap, or maybe (overcautious?):

If ((Not @error) And (IsArray($aData)=True) And (Ubound($aData,0)=2) Then

 

Link to comment
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
 Share

  • Recently Browsing   0 members

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