AmiBroker 6.43.1 BETA released

A new BETA version (6.43.1) of AmiBroker is available now.

DOWNLOAD LINKS

32-bit version:
https://www.amibroker.com/members/download.php?AmiBroker6431.exe
(10 423 224 bytes)

64-bit version:
https://www.amibroker.com/members/download.php?AmiBroker6431x64.exe
(11 061 390 bytes)

HIGHLIGHTS

The highlights of this new release are:

  • AFL editor improvements - multi-cursor editing, in-line reporting of future leaks
  • New Chromium-based HTML rendering engine for WebResearch
  • User-definable styles in Text box tool
  • New AFL functions

DOCUMENTATION

For the details see ReadMe.html and ReleaseNotes.html inside AmiBroker folder.

UPGRADE POLICY

This version is a free upgrade only for users who registered AmiBroker after January 19, 2021 . Users who registered earlier, would need to purchase license upgrade. To find out the version you currently have use Account Information page at https://www.amibroker.com/members/info.php

EXPERIMENTAL NEW WEB BROWSER

Since Microsoft apparently wants to stop supporting Internet Explorer engine that many 3rd party programs use via CHTMLView MFC component, and many web sites abandon support for IE HTML engine, I have implemented alternative web browser based on Chromium/Edge WebView2 that is available on Windows 10+.
To use new web browser engine within AmiBroker you have to use 64-bit AmiBroker and do the following:

  1. Download x64 WebView2 component from Microsoft
    WebView2 - Microsoft Edge Developer
    (this step may not be needed if you have all Windows 10/11 updates installed)

  2. In AmiBroker go to Tools->Preferences, "Miscellaneous" tab and turn ON the option "Use Chromium/Edge (WebView2) for Web Research"

  3. Restart AmiBroker

From now you can use File->New->Web Research and it will use modern Chromium engine. Please note that Chromium is much heavier component than old IE. Chromium "by design" is using multi-process architecture. I don't like it but this is the way modern browsers are built (read: bloatware). Anyway regardless of what modern browser you use, it will anyway open multiple processes. For the record, old IE engine did not use any extra processes.

CHANGES FOR VERSION 6.43.1 (as compared to 6.43.0)

  1. AFL Editor: Info 1001 (look into the future) was counted as error, not info message. Fixed
  2. Regression: in 6.43.0 when parameter names were using character codes beyond ASCII (>127), they got treated as negative numbers and escaped incorrectly in the broker.param file. Fixed

CHANGES FOR VERSION 6.43.0 (as compared to 6.41.0)

  1. WebResearch: implemented alternative browser engine - Chromium-based Edge - (currently this is 64 bit only feature)
  2. AFL Editor: implemented multi-cursor navigation
  3. AFL Editor: added inline "Info" messages that show which lines/functions cause looking into the future, can be turned off via Prefs/Debugger or via Tools->Options menu in AFL Editor
  4. AFL Editor: added support for multiple selection editing (you can use CTRL+ left mouse button to place multiple cursors / selections and then typing would occur in sevaral places at once, also Alt+drag will make rectangular shape + multicursor in each lin
  5. AFL Editor: implemented CTRL+D (multiple select add word / add next occurrence)
  6. AFL Editor: implemented split window editing that allows to have two views on same file (Window->Split or Ctrl+\ (backspace))
  7. AFL: added a warning 514 (not error for backward compat) to be issued when NEW LINE is detected in string literal
  8. AFL: fixed uninitialized variable error when Plot() and subsequent graph0 variable reference was used inside same curly braces block
  9. AFL: Invalid non-printable characters (such as \n) in Plot() name now generates warning, not an error, allowing badly written code to continue to work (so users not reading the ReadMe stop complaining).
  10. AFL: TrimResultRows( row_count ) - trims the result list to specified number of rows, positive row count means counting from top, negative from bottom.
  11. Analysis: fixed possible CRT invalid parameter exception when user formula contained forbidden % character
  12. Charts/Pref: increased upper limit of "Minimum X grid spacing" from 120 to 200 pixels for high-DPI displays
  13. New Analysis: when symbol's quotes were filtered out completely due to padding to reference symbol, instead of blocking error dialogs, a summary of all affected symbols is displayed in the INFO tab
  14. Parameter file (broker.params) now escapes control characters like \n to prevent corruption if user does not follow rule of NOT including control characters in parameter names/values
  15. UI: Preferences: new tab "Text box" to define text-box font styles
  16. UI: Text box tool - edit field now uses selected font style/size so it provides WYSIWYG display of what text would like on chart
  17. UI: Text box tool - new combo box "Font style" to select one of 16 user-definable font styles

This is continuation of the discussion from AmiBroker 6.42.0 BETA released

22 Likes

Thank you for the Upgrade and hard work Mr. Tomasz. Gbu

2 Likes

Thanks for the updates.

I tried multi cursor edit, drag and multiple select/search and its all very next level. To be honest, i've never used some of these features in VSC or any other tool.

could someone kindly explain how this can be used. Thanks.

It is explained in the Read Me:

you can use CTRL+ left mouse button to place multiple cursors / selections and then typing would occur in sevaral places at once, also Alt+drag will make rectangular shape + multicursor in each line

Animation

And multi-cursor navigation is just that you can actually move cursor up/down/left right/next word/prev word/etc and it all works with multiple cursors (which did not happen previously and requires actual code in the program to handle that since there is no support for that in Windows).

8 Likes

January 20, 2023 UPDATE

Two minor quirks that showed up in 6.43.0 were fixed and download links were updated to version 6.43.1:

  1. AFL Editor: Info 1001 (look into the future) was counted as error, not info message. Fixed
  2. Regression: in 6.43.0 when parameter names were using character codes beyond ASCII (>127), they got treated as negative numbers and escaped incorrectly in the broker.param file. Fixed
6 Likes

Hi, running this BETA version and suddenly AB freezes as soon as i click on the parameter button in the analyzer window. Can only close it via windows task manager.
Repeated it a couple of times now with other formula's but keeps "freezing". Rebooting pc didn't help either...

paramfreeze

No, It doesn't freeze.

It just opens modal dialog box but somewhere outside your visible area.

You apparently have moved parameter window to the OTHER MONITOR and/or changed multi-monitor setup and/or disconnected laptop from external monitor.

You can reset dialog positions by opening REGISTRY EDITOR and deleting all keys named

HKEY_CURRENT_USER\Software\TJP\Broker\DialogXX

where XX is a number

Specifically parameter dialog is HKEY_CURRENT_USER\Software\TJP\Broker\DialogC4

2 Likes

OMG, this is embarrassing :sweat_smile:

I was working on 1 monitor only yesterday, hence i didn't think of it (and only added 2nd monitor recently). No doubt i accidentally moved the parameter window to the other screen (already reinstalled AB).

But lesson learned and apologies if i offended you with the freezing word, hence i used " " (only 2nd time, my bad). I know problems are 99.9% of the time bc of error at user side, not AB's.

1 Like

Don't worry. You are not the first and not the last. And actually this version would move the modal window just below your current mouse position if you clicked several times on locked area (I implemented this preventive measure recently). Apparently I need to decrease number of clicks required for this to trigger, so I don't need to answer this question again.

4 Likes

Hello,
Installed x64 WebView2 component from Microsoft, checked the button in the Preferences, restarted Amibroker and it worked. This was a few days before.

Now i get the message in the Webresearch window
"Cannot initialize WebView2 / Edge Chromium Engine"

Tried to re-install Engine, but shows it is already installed. Tried to de- and re-activate in Preferences. Did not help.
What else could i do?

Regards

Typically such weird problems are caused by incorrectly working antiviruses (see: https://forum.amibroker.com/search?q=antivirus ).
Wrong antivirus might just removed webview.dll from AmIBroker directory.

The other reason may be Windows update that broke things. Anyway this has nothing to do with AmiBroker, as the message just says that required Microsoft component is NOT found on the system.

Thank you. Copied webview.dll from backup into Amibroker folder. Everything is fine.

So what antivirus are you using?

1 Like

2 posts were split to a new topic: Warning 514 - you can't have NEW LINES in parameter names