Tue, 13 Sep 2022 16:29:21 +0200SVGHMI: rework the way cached values are applied to widgets when fresh data is missing.
Edouard Tisserant [Tue, 13 Sep 2022 16:29:21 +0200] rev 3603
SVGHMI: rework the way cached values are applied to widgets when fresh data is missing.

Mon, 12 Sep 2022 11:56:52 +0200SVGHMI: re-arrange Animate and data Dispath code paths.
Edouard Tisserant [Mon, 12 Sep 2022 11:56:52 +0200] rev 3602
SVGHMI: re-arrange Animate and data Dispath code paths.

Fri, 09 Sep 2022 10:34:23 +0200SVGHMI: add an exemple that demonstrate use of Jump widget in different use cases.
Edouard Tisserant [Fri, 09 Sep 2022 10:34:23 +0200] rev 3601
SVGHMI: add an exemple that demonstrate use of Jump widget in different use cases.

Fri, 09 Sep 2022 10:06:02 +0200SVGHMI: refactor an factorize widget dispatch() method calling
Edouard Tisserant [Fri, 09 Sep 2022 10:06:02 +0200] rev 3600
SVGHMI: refactor an factorize widget dispatch() method calling

Fri, 09 Sep 2022 09:45:27 +0200SVGHMI: fix ToggleButton not always reflecting current state
Edouard Tisserant [Fri, 09 Sep 2022 09:45:27 +0200] rev 3599
SVGHMI: fix ToggleButton not always reflecting current state

Fri, 09 Sep 2022 09:44:03 +0200IDE: fix exception transfering or reconnecting after tracing variables
Edouard Tisserant [Fri, 09 Sep 2022 09:44:03 +0200] rev 3598
IDE: fix exception transfering or reconnecting after tracing variables

Fri, 02 Sep 2022 12:02:43 +0200SVGHMI: Add predefined assignments to jump widget to notify PLC or other widgets about jump.
Edouard Tisserant [Fri, 02 Sep 2022 12:02:43 +0200] rev 3597
SVGHMI: Add predefined assignments to jump widget to notify PLC or other widgets about jump.

Fri, 02 Sep 2022 10:46:05 +0200SVGHMI: continue rework of Jump widget to cope with Enable Expressions.
Edouard Tisserant [Fri, 02 Sep 2022 10:46:05 +0200] rev 3596
SVGHMI: continue rework of Jump widget to cope with Enable Expressions.

Questioning widget's activity and disability all together.
Now active/inactive/disable masquarade is all managed in widgets_common.
Propagated changes to widget already using activity (buttons)

Wed, 31 Aug 2022 12:16:09 +0200SVGHMI: rework Jump widget to cope with Enable Expressions.
Edouard Tisserant [Wed, 31 Aug 2022 12:16:09 +0200] rev 3595
SVGHMI: rework Jump widget to cope with Enable Expressions.

Relative jumps are not disabled implicitely anymore when pointed HMI_NODE is 0.
Also, "activable()" implementation was enhanced to make it optional.

Tue, 23 Aug 2022 12:19:44 +0200SVGHMI: add support for "enable expressions" with arbitrary variable name assignment.
Edouard Tisserant [Tue, 23 Aug 2022 12:19:44 +0200] rev 3594
SVGHMI: add support for "enable expressions" with arbitrary variable name assignment.

HMI tree paths can be prefixed with a variable name "@name=/MY/HMI/VAR"
Widget declarations can end with a "#" followed by a JS expression that refers to name given to variables.
Widget is disabled if expression's result is false.

Commit includes some more-or-less related generated code refactoring, that should simplify extending widget's variables attributes.

Fri, 19 Aug 2022 10:22:16 +0200SVGHMI: preliminary implementation of a general enable bit for all widgets, using "#" at the end of widget declaration, and a "disabled" element that becomes visible instead of widget when disabled.
Edouard Tisserant [Fri, 19 Aug 2022 10:22:16 +0200] rev 3593
SVGHMI: preliminary implementation of a general enable bit for all widgets, using "#" at the end of widget declaration, and a "disabled" element that becomes visible instead of widget when disabled.

Fri, 12 Aug 2022 09:34:24 +0200SVGHMI: rename veriables in parse_labels.ysl2 for better readability
Edouard Tisserant [Fri, 12 Aug 2022 09:34:24 +0200] rev 3592
SVGHMI: rename veriables in parse_labels.ysl2 for better readability

Tue, 13 Sep 2022 16:22:09 +0200OPC-US client: add support for x509 and user+password authentication. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 13 Sep 2022 16:22:09 +0200] rev 3591
OPC-US client: add support for x509 and user+password authentication.

Commit for backup not including tests since encrypted OPC-UA test are still not valid.

Tue, 13 Sep 2022 10:11:25 +0200IDE: fix wxPython 3->4 API change leading to exception in type selection menu in CodeFileEditor wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 13 Sep 2022 10:11:25 +0200] rev 3590
IDE: fix wxPython 3->4 API change leading to exception in type selection menu in CodeFileEditor

Tue, 06 Sep 2022 21:06:36 +0200OPC-UA, IDE: add CTN parameters to support OPC-UA encryption and authentication. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 06 Sep 2022 21:06:36 +0200] rev 3589
OPC-UA, IDE: add CTN parameters to support OPC-UA encryption and authentication.

xmlclass had to be enhanced to support elements with no content in xsd:choice

Tue, 23 Aug 2022 08:39:08 +0200IDE: Fix tooltip not being shown anymore on any toolbars since switch to wxPython4. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 23 Aug 2022 08:39:08 +0200] rev 3588
IDE: Fix tooltip not being shown anymore on any toolbars since switch to wxPython4.

Sun, 21 Aug 2022 17:44:03 +0200Cleanup and update version.py wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 21 Aug 2022 17:44:03 +0200] rev 3587
Cleanup and update version.py

Wed, 17 Aug 2022 15:55:56 +0200IDE: Fixed About dialog exception on Windows, and typo in about dialog's content. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 17 Aug 2022 15:55:56 +0200] rev 3586
IDE: Fixed About dialog exception on Windows, and typo in about dialog's content.

Tue, 16 Aug 2022 23:42:42 +0200runtime: fix bugs introduced in previous commit, and refactor some code wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 16 Aug 2022 23:42:42 +0200] rev 3585
runtime: fix bugs introduced in previous commit, and refactor some code

Tue, 16 Aug 2022 19:52:49 +0200Runtime: wx.app.mainLoop and twisted reactor now share main thread with runtime.Worker. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 16 Aug 2022 19:52:49 +0200] rev 3584
Runtime: wx.app.mainLoop and twisted reactor now share main thread with runtime.Worker.

This fixes exception when invoking python interactive shell from Runtime's tray
icon right-click menu.

Probably a consequence of wxPython upgrade, together with initial bad idea to
move wx.app.mainloop in non-main thread.

Sat, 13 Aug 2022 16:12:39 +0200Remove useless assignment wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 13 Aug 2022 16:12:39 +0200] rev 3583
Remove useless assignment

Fri, 12 Aug 2022 16:52:15 +0200SVGHMI: update generated XSLT wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 12 Aug 2022 16:52:15 +0200] rev 3582
SVGHMI: update generated XSLT

Fri, 12 Aug 2022 13:35:59 +0200tests: fix load_and_build_tests.pytest wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 12 Aug 2022 13:35:59 +0200] rev 3581
tests: fix load_and_build_tests.pytest

Leftover import from previously commented-out tests. Commented out as well.

Thu, 11 Aug 2022 17:39:12 +0200Merge changes from default in wxPython4 wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 11 Aug 2022 17:39:12 +0200] rev 3580
Merge changes from default in wxPython4

Thu, 11 Aug 2022 12:11:35 +0200SVGHMI: add support for multiline widget declaration using svg:desc.
Edouard Tisserant [Thu, 11 Aug 2022 12:11:35 +0200] rev 3579
SVGHMI: add support for multiline widget declaration using svg:desc.

Declaration started in inkscape:label and interupted by a '\' can be continued in the description field.
After an empty line, the rest of the description field is left for description text.

Tue, 02 Aug 2022 11:53:37 +0200Runtime: Fix PLC python thread crash in case of exception in PostStart customization hook.
Edouard Tisserant [Tue, 02 Aug 2022 11:53:37 +0200] rev 3578
Runtime: Fix PLC python thread crash in case of exception in PostStart customization hook.

Tue, 02 Aug 2022 11:50:54 +0200IDE+Runtime: fix exception when reconnecting with non-empty trace/force list.
Edouard Tisserant [Tue, 02 Aug 2022 11:50:54 +0200] rev 3577
IDE+Runtime: fix exception when reconnecting with non-empty trace/force list.

Sometimes, remote call to SetTraceVariableList returned None just after reconnecting:
- changed caller to accept None (in case of connection problem)
- changer SetTraceVariable list to return 4 (DEBUG_SUSPENDED) if debug is suspended

Fri, 22 Jul 2022 12:14:52 +0200Runtime: Retain: fix missuse of static classifier leading to ever increasing offset.
Edouard Tisserant [Fri, 22 Jul 2022 12:14:52 +0200] rev 3576
Runtime: Retain: fix missuse of static classifier leading to ever increasing offset.

Wed, 10 Aug 2022 16:44:58 +0200IDE: one more consequence of wxPython's 3 to 4 version bump wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 10 Aug 2022 16:44:58 +0200] rev 3575
IDE: one more consequence of wxPython's 3 to 4 version bump

Tue, 09 Aug 2022 09:33:26 +0200IDE+runtime: Fix .ico generation wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 09 Aug 2022 09:33:26 +0200] rev 3574
IDE+runtime: Fix .ico generation