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.
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.
Edouard Tisserant [Fri, 12 Aug 2022 09:34:24 +0200] rev 3592
SVGHMI: rename veriables in parse_labels.ysl2 for better readability
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.
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
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
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.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 21 Aug 2022 17:44:03 +0200] rev 3587
Cleanup and update version.py
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.
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
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.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 13 Aug 2022 16:12:39 +0200] rev 3583
Remove useless assignment
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 12 Aug 2022 16:52:15 +0200] rev 3582
SVGHMI: update generated XSLT
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.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 11 Aug 2022 17:39:12 +0200] rev 3580
Merge changes from default in wxPython4
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.
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.
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
Edouard Tisserant [Fri, 22 Jul 2022 12:14:52 +0200] rev 3576
Runtime: Retain: fix missuse of static classifier leading to ever increasing offset.
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
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 09 Aug 2022 09:33:26 +0200] rev 3574
IDE+runtime: Fix .ico generation
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 08 Aug 2022 18:09:26 +0200] rev 3573
IDE, SVGHMI: Workaround Snap package not launching Inskape, POEdit or Chromium directly, producing lot of output in Incskape CLI, and messing with TMPDIR
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 08 Aug 2022 18:07:23 +0200] rev 3572
IDE: wxPython4 consequences : wx.OPEN -> wx.FD_OPEN
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 31 Jul 2022 12:27:47 +0200] rev 3571
toolchain: GCC: use CFLAGS, LDFLAGS and SYSROOT given in environment
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 30 Jul 2022 01:31:17 +0200] rev 3570
IDE: fix About dialog not showing (wxPython4 sequel), update copyright section.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 30 Jul 2022 10:11:59 +0200] rev 3569
IDE: fix image generation from svg script that was deleting to many files on cleanup
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 30 Jul 2022 10:08:51 +0200] rev 3568
IDE: images: regenerate png according to latest changes in SVG
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 30 Jul 2022 00:05:51 +0200] rev 3567
IDE: images/icons.svg: Update logo, icon, build, clean, transfer, connect and disconnect.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 28 Jul 2022 13:24:49 +0200] rev 3566
LocalRuntime: Allow overriding local runtime python binary path using BEREMIZPYTHONPATH environment variable.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 27 Jul 2022 21:34:23 +0200] rev 3565
tests: debug_project IDE test: give up with unreliable OCR for "Force value" menu entry.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 27 Jul 2022 10:44:54 +0200] rev 3564
IDE: fix primary buffer selection being reset on each write to console on X11.
This problem was making debug_project IDE test randomly failing
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 25 Jul 2022 11:55:43 +0200] rev 3563
test: IDE: Fix non repeatable select-all-delete in debug_project.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 25 Jul 2022 11:51:41 +0200] rev 3562
tests: Change OCR options to be more reliable on small fonts.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 18 Jul 2022 00:38:14 +0200] rev 3561
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 23:30:02 +0200] rev 3560
GitHub CI: my bad. m( Was just wrong version
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 23:23:30 +0200] rev 3559
GitHub CI: actions/checkout@v3 submodules=recursive fails.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 22:53:35 +0200] rev 3558
Merge from default branch + fix traffic light example SVG missing background + update generated XSLT
Edouard Tisserant [Thu, 14 Jul 2022 11:40:27 +0200] rev 3557
SVGHMI: update generated xslt file
Edouard Tisserant [Thu, 14 Jul 2022 11:39:19 +0200] rev 3556
SVGHMI: Warn at build time when SVG refers to non-existing widget types.
Edouard Tisserant [Thu, 14 Jul 2022 11:35:22 +0200] rev 3555
SVGHMI: add support for user JS script added in inkscape's document properties / scripting / embedded scripts.
Edouard Tisserant [Wed, 13 Jul 2022 14:40:42 +0200] rev 3554
SVGHMI: update generated XSLT file
Edouard Tisserant [Tue, 12 Jul 2022 12:12:52 +0200] rev 3553
SVGHMI: re-organize animate() to ensure that page fade-out is always visible, also make fade-out curve more aggressive to enhance visual feedback.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 22:46:26 +0200] rev 3552
tests: recommanded build options for open62541 leads to infinite linking time when building PLC
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 22:42:56 +0200] rev 3551
tests: one more stability related fix for debug_project IDE test
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 22:35:45 +0200] rev 3550
tests: fix tests being systematically re-executed
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 18:17:43 +0200] rev 3549
CLI: fix fake_wx for OPC-UA in CLI, match with test and requirements
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 18:07:46 +0200] rev 3548
CLI: Explicitely wait for user interrupt (-k) and flush stdout each line.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 17:49:34 +0200] rev 3547
tests: IDE: fix again debug_project, making it hopefully more stable
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 17 Jul 2022 17:47:11 +0200] rev 3546
wxPython4 sequels: fix Wx exceptions ignored because no traceback
Some exception triggered on wxPython side have None as traceback,
and exception hanlder was discarding them.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Jul 2022 14:50:07 +0200] rev 3545
tests: IDE: prevent edit_project to save modifed example so that it doesn't influence following tests
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Jul 2022 14:48:29 +0200] rev 3544
tests: IDE: force reporting screenshot even after failing command
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Jul 2022 14:47:23 +0200] rev 3543
tests: CLI: add simple test running python example
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Jul 2022 14:46:27 +0200] rev 3542
tests: docker: add dependencies for CLI testing
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Jul 2022 14:42:08 +0200] rev 3541
tests: add support for CLI tests
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Jul 2022 14:40:55 +0200] rev 3540
tests: fix debug_project.sikuli again.
- tooltip and context menu overlap
- text not being replaced in forcing dialog
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Jul 2022 14:38:33 +0200] rev 3539
CLI: prevent LOCAL:// runtime to use GUI (tray icon) when launch from CLI.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 11 Jul 2022 23:18:14 +0200] rev 3538
Merge latest changes from default
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 11 Jul 2022 22:21:20 +0200] rev 3537
wxPython4 sequels: fix exception in connection dialog, force black text in FBD.
- wxPython4 does not have RemoveSizer in API anymore.
- On GTK3 with dark theme default text colour is white, making it unreadable.
Edouard Tisserant [Fri, 08 Jul 2022 11:58:10 +0200] rev 3536
SVGHMI: fix js exception because of trying to find already detached elements by id.
Edouard Tisserant [Wed, 06 Jul 2022 10:39:11 +0200] rev 3535
SVGHMI: better handling of page switch fade-out.
- In cases or relative jump to current page, page was keeping black after switch.
- Now keep track of undergoing page switch without comparing subscribed page to visible page.