8 months agoC++ runtime: add eRPC server, minimal CLI and Makefile. WIP.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 24 Apr 2024 02:15:33 +0200] rev 3937
C++ runtime: add eRPC server, minimal CLI and Makefile. WIP.

9 months agoMore documentation. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 15 Apr 2024 19:13:17 +0200] rev 3936
More documentation. Work in progress.

8 months agoIDE: Fix crashing non-thread safe code using Zeroconf
Edouard Tisserant <edouard@beremiz.fr> [Thu, 25 Apr 2024 16:59:05 +0200] rev 3935
IDE: Fix crashing non-thread safe code using Zeroconf

8 months agoBACnet: Fixed grid cell choice editor. Consequence of wxPython4.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 25 Apr 2024 09:37:09 +0200] rev 3934
BACnet: Fixed grid cell choice editor. Consequence of wxPython4.

8 months agoSVGHMI: fix font embedding with py3
Edouard Tisserant <edouard@beremiz.fr> [Wed, 24 Apr 2024 17:02:28 +0200] rev 3933
SVGHMI: fix font embedding with py3

9 months agoIDE: Fix Variable grid ignoring edits. WxPython4 consequence.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 15 Apr 2024 09:09:59 +0200] rev 3932
IDE: Fix Variable grid ignoring edits. WxPython4 consequence.

9 months agoIDE: Remove all occurrences of deprecated wx.grid.PyGrid
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 15 Apr 2024 09:08:09 +0200] rev 3931
IDE: Remove all occurrences of deprecated wx.grid.PyGrid

9 months agoMerge commit '80e123b34e488ffea851dc2168b366ba6124c09b' into python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 05 Apr 2024 14:59:00 +0200] rev 3930
Merge commit '80e123b34e488ffea851dc2168b366ba6124c09b' into python3

9 months agoDoc: start converting Standard Library documentation from old MC8 manual.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 05 Apr 2024 14:55:58 +0200] rev 3929
Doc: start converting Standard Library documentation from old MC8 manual.

9 months agomerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 05 Apr 2024 13:11:30 +0200] rev 3928
merge

9 months agoModbus: fix test: add missing filles and add Modbus source+build in GH CI
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 04 Apr 2024 17:58:21 +0200] rev 3927
Modbus: fix test: add missing filles and add Modbus source+build in GH CI

9 months agoModbus: add CI test + test project
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 04 Apr 2024 17:31:49 +0200] rev 3926
Modbus: add CI test + test project

9 months agoDoc: re-organize existing, sketch outline, add SVGHMI intro.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 03 Apr 2024 13:02:50 +0200] rev 3925
Doc: re-organize existing, sketch outline, add SVGHMI intro.

9 months agoExamples: add svghmi_json_table
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 26 Mar 2024 17:10:26 +0100] rev 3924
Examples: add svghmi_json_table

9 months agoSVGHMI: add "DISCARD:" prefix to force discarding an SVG element
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 26 Mar 2024 17:08:45 +0100] rev 3923
SVGHMI: add "DISCARD:" prefix to force discarding an SVG element

9 months agoSVG: fix HMI:Assign widget to properly handle single-letter variable names.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 03 Apr 2024 14:17:50 +0200] rev 3922
SVG: fix HMI:Assign widget to properly handle single-letter variable names.

9 months agoSVGHMI: Fix wrong documentation copy-pasted in HMI:Page.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 28 Mar 2024 12:07:24 +0100] rev 3921
SVGHMI: Fix wrong documentation copy-pasted in HMI:Page.

9 months agoSVGHMI: add FlatButton with no active or inactive elements.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 28 Mar 2024 12:04:14 +0100] rev 3920
SVGHMI: add FlatButton with no active or inactive elements.

9 months agoSVGHMI: i18n: minimize warnings for incomplete/fuzzy/outdated translations
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 20 Mar 2024 16:44:29 +0100] rev 3919
SVGHMI: i18n: minimize warnings for incomplete/fuzzy/outdated translations

9 months agoSVGHMI: i18n: fix .POT generation + other cosmetic fixes.
Edouard Tisserant <edouard@beremiz.fr> [Wed, 20 Mar 2024 12:15:23 +0100] rev 3918
SVGHMI: i18n: fix .POT generation + other cosmetic fixes.

9 months agomerge
Edouard Tisserant <edouard@beremiz.fr> [Wed, 20 Mar 2024 11:09:24 +0100] rev 3917
merge

10 months agoRemoved forgotten debug print.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 15 Mar 2024 09:42:30 +0100] rev 3916
Removed forgotten debug print.

10 months agoSVGHMI: fix py3 consequences on i18n
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 18 Mar 2024 18:43:41 +0100] rev 3915
SVGHMI: fix py3 consequences on i18n

10 months agomerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Mar 2024 09:20:11 +0100] rev 3914
merge

10 months agoSVGHMI: Fix thumbnail generation.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Mar 2024 08:48:32 +0100] rev 3913
SVGHMI: Fix thumbnail generation.

10 months agoTests: update svghmi test project to py3 and erpc
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 15 Mar 2024 08:24:38 +0100] rev 3912
Tests: update svghmi test project to py3 and erpc

10 months agoIDE: Fix local runtime not starting on windows.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 13 Mar 2024 08:38:21 +0100] rev 3911
IDE: Fix local runtime not starting on windows.
Consequence of updating ProcessLogger's argument handling.

10 months agoAdd credits for Czech i18n
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 07 Mar 2024 21:51:04 +0100] rev 3910
Add credits for Czech i18n

10 months agoShows AboutDialog even if revisions.tx is missing
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 07 Mar 2024 21:50:33 +0100] rev 3909
Shows AboutDialog even if revisions.tx is missing

10 months agoIDE: Fix encrypted ERPC: newer TLS, better error handling, re-add explicit ERPCS scheme, use sslpsk better.
Edouard Tisserant <edouard@beremiz.fr> [Thu, 14 Mar 2024 12:00:36 +0100] rev 3908
IDE: Fix encrypted ERPC: newer TLS, better error handling, re-add explicit ERPCS scheme, use sslpsk better.

10 months agomerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 07 Mar 2024 21:19:45 +0100] rev 3907
merge

10 months agoIDE: display contents of revisions.txt (put there by installer builder script) in About Dialog.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 27 Feb 2024 12:11:24 +0100] rev 3906
IDE: display contents of revisions.txt (put there by installer builder script) in About Dialog.

10 months agoeRPC Server: fix exception at disconnect and reconnecting
Edouard Tisserant <edouard@beremiz.fr> [Thu, 07 Mar 2024 16:37:02 +0100] rev 3905
eRPC Server: fix exception at disconnect and reconnecting

10 months agoMerge pull request #31 from martinpihrt/python3
etisserant <edouard.tisserant@gmail.com> [Thu, 29 Feb 2024 17:35:03 +0100] rev 3904
Merge pull request #31 from martinpihrt/python3

Czech translation from Martin Pihrt

10 months agoCreate Beremiz_cs_CZ.po
Martin Pihrt <martinpihrt@seznam.cz> [Thu, 29 Feb 2024 17:30:13 +0100] rev 3903
Create Beremiz_cs_CZ.po

10 months agoCreate Beremiz.mo
Martin Pihrt <martinpihrt@gmail.com> [Thu, 29 Feb 2024 09:36:52 +0100] rev 3902
Create Beremiz.mo

10 months agoFix SVGHMI build exception on windows: return bytes for inkscape path in docsvg.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 23 Feb 2024 11:54:51 +0100] rev 3901
Fix SVGHMI build exception on windows: return bytes for inkscape path in docsvg.

10 months agoSVGHMI: fix consequence of last change in ProcessLogger
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 21 Feb 2024 22:47:12 +0100] rev 3900
SVGHMI: fix consequence of last change in ProcessLogger

10 months agoUpdate requirements.txt
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 21 Feb 2024 18:26:46 +0100] rev 3899
Update requirements.txt

10 months agoRemove forgotten debug prints
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 21 Feb 2024 09:58:24 +0100] rev 3898
Remove forgotten debug prints

10 months agomerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 20 Feb 2024 14:53:33 +0100] rev 3897
merge

11 months agoUpdates requirements.txt about forks of Nevow and sslpsk
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 15 Feb 2024 17:03:06 +0100] rev 3896
Updates requirements.txt about forks of Nevow and sslpsk

11 months agoFix deprecated WX call producing warning.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 24 Jan 2024 10:42:10 +0100] rev 3895
Fix deprecated WX call producing warning.

11 months agoFix exception on right click, showing context menu.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 24 Jan 2024 10:41:09 +0100] rev 3894
Fix exception on right click, showing context menu.

10 months agoGCC toolchain: Add {SYSROOT} substitution with support for whitespaces
Edouard Tisserant <edouard@beremiz.fr> [Tue, 20 Feb 2024 11:42:02 +0100] rev 3893
GCC toolchain: Add {SYSROOT} substitution with support for whitespaces

Any instance of {SYROOT} string in config's CFLAGS and LDFLAGS is replaced by sysroot path obtained from "gcc -print-sysroot"

10 months agoFix argument lexer in ProcessLogger, replace it with shlex standard python module.
Edouard Tisserant <edouard@beremiz.fr> [Tue, 20 Feb 2024 11:37:54 +0100] rev 3892
Fix argument lexer in ProcessLogger, replace it with shlex standard python module.

10 months agoSVGHMI: Fix warning with WxPython > 4.x
Edouard Tisserant <edouard@beremiz.fr> [Tue, 20 Feb 2024 11:34:28 +0100] rev 3891
SVGHMI: Fix warning with WxPython > 4.x

10 months agodocsvg: safer version checking of Inkscape
Edouard Tisserant <edouard@beremiz.fr> [Tue, 20 Feb 2024 11:32:15 +0100] rev 3890
docsvg: safer version checking of Inkscape

11 months agoIDE. update genicons.sh to inkscape 1.1 command line
Edouard Tisserant <edouard@beremiz.fr> [Fri, 26 Jan 2024 11:13:49 +0100] rev 3889
IDE. update genicons.sh to inkscape 1.1 command line

11 months agoIDE: adjust Build and Clean icons colors.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 26 Jan 2024 11:10:09 +0100] rev 3888
IDE: adjust Build and Clean icons colors.

11 months agoFix variable forcing. Now works with eRPC. PLCObject API changed.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 22 Jan 2024 21:30:23 +0100] rev 3887
Fix variable forcing. Now works with eRPC. PLCObject API changed.

11 months agoFix strings displaying as repr(bytes) in debug view.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 20 Jan 2024 11:41:17 +0100] rev 3886
Fix strings displaying as repr(bytes) in debug view.

11 months agoFix variable tracing in new eRPC interface.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 19 Jan 2024 19:58:44 +0100] rev 3885
Fix variable tracing in new eRPC interface.

12 months agoReplace PYRO with ERPC. Work In Progress.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 17 Jan 2024 22:09:32 +0100] rev 3884
Replace PYRO with ERPC. Work In Progress.

13 months agoFix blind replace ('text' into 'str') from py3 port
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 09 Dec 2023 01:03:43 +0100] rev 3883
Fix blind replace ('text' into 'str') from py3 port

13 months agoFix settings URL: now '/' instead of '/settings'
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 09 Dec 2023 01:01:48 +0100] rev 3882
Fix settings URL: now '/' instead of '/settings'

13 months agoMerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 07 Dec 2023 22:41:32 +0100] rev 3881
Merge

13 months agoSVGHMI: Fixes UI lifecycle problems
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 25 Nov 2023 00:18:05 +0100] rev 3880
SVGHMI: Fixes UI lifecycle problems

Was sometime showing HMI tree of previously closed project : no more module globals to store hmi tree.
C++ dead object exceptions happened when re-opening SVGHMI UI or building after close of UI.

13 months agoIDE: Libraries in OrderedDict for access by name
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 Nov 2023 23:56:38 +0100] rev 3879
IDE: Libraries in OrderedDict for access by name

13 months agoSVGHMI: fix exception when stopping
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 Nov 2023 14:51:27 +0100] rev 3878
SVGHMI: fix exception when stopping

13 months agoSVGHMI: fix JS error loading empty single page
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 Nov 2023 14:47:14 +0100] rev 3877
SVGHMI: fix JS error loading empty single page

svg:svg tag should not be considered as a detachable group,
so filter only svg:g elements

13 months agoIDE: fix exception showing network discovery
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 Nov 2023 14:44:08 +0100] rev 3876
IDE: fix exception showing network discovery

13 months agoSVGHMI: Fix creation of SVG file if none provided
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 22 Nov 2023 21:10:10 +0100] rev 3875
SVGHMI: Fix creation of SVG file if none provided

13 months agoIDE: Auto-select required libraries when adding extension
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 22 Nov 2023 19:48:55 +0100] rev 3874
IDE: Auto-select required libraries when adding extension

13 months agoIDE: Disable not-yet-working extensions
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 22 Nov 2023 19:47:08 +0100] rev 3873
IDE: Disable not-yet-working extensions

14 months agoFix typo in README.md
etisserant <edouard.tisserant@gmail.com> [Fri, 27 Oct 2023 22:15:27 +0200] rev 3872
Fix typo in README.md

15 months agoIDE: py3.10 related float/int fixes in debug plots
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 19 Oct 2023 22:52:27 +0200] rev 3871
IDE: py3.10 related float/int fixes in debug plots

15 months agoMove tests/project/modbus in exemples.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 18 Oct 2023 19:36:20 +0200] rev 3870
Move tests/project/modbus in exemples.

15 months agoPython3 fixes for Modbus Web Settings
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 18 Oct 2023 19:28:35 +0200] rev 3869
Python3 fixes for Modbus Web Settings

15 months agoFix template conflict in XSLT with lxml>=4.9.0 again
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 16 Oct 2023 23:50:58 +0200] rev 3868
Fix template conflict in XSLT with lxml>=4.9.0 again

Earlier attempt was fixing conflict with -1.0 priority attribute,
as a side effect of such low priority, SFC Actions were not
editable anymore.

This time move template around instead of using explicit priority.

15 months agoRevert "IDE: fix exception when adding Action"
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 16 Oct 2023 23:35:47 +0200] rev 3867
Revert "IDE: fix exception when adding Action"

This reverts commit 94e42cda0a8e093aac4830b5c40656c240ec8cf9.

15 months agoIDE: fix exception when adding Action
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 12 Oct 2023 17:03:44 +0200] rev 3866
IDE: fix exception when adding Action

15 months agoIDE: Fix status bar update when conection lost
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 09 Oct 2023 21:27:17 +0200] rev 3865
IDE: Fix status bar update when conection lost

15 months agoSVGHMI: Fix watchdog exception on windows
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 09 Oct 2023 16:42:59 +0200] rev 3864
SVGHMI: Fix watchdog exception on windows

15 months agoTypo
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 09 Oct 2023 16:42:11 +0200] rev 3863
Typo

15 months agoUpgrade wxPython to 4.2.1, drop 4.2.0 workaroud
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 07 Oct 2023 17:33:52 +0200] rev 3862
Upgrade wxPython to 4.2.1, drop 4.2.0 workaroud

13 months agoRuntime: add GetVersions() call to PLCObject, use it in web settings and expose it in WAMP and Pyro.
Edouard Tisserant [Wed, 29 Nov 2023 11:54:56 +0100] rev 3861
Runtime: add GetVersions() call to PLCObject, use it in web settings and expose it in WAMP and Pyro.

Note: WAMP changes are untested

13 months agoRuntime: Add stderr support to local posix spawn based subprocess replacement
Edouard Tisserant [Fri, 24 Nov 2023 12:16:19 +0100] rev 3860
Runtime: Add stderr support to local posix spawn based subprocess replacement

13 months agoModbus: More verbose error message in case of thread creation problem
Edouard Tisserant [Wed, 22 Nov 2023 11:24:16 +0100] rev 3859
Modbus: More verbose error message in case of thread creation problem

13 months agoRuntime web settings: fix punctuation and update CSS again
Edouard Tisserant [Wed, 22 Nov 2023 09:34:32 +0100] rev 3858
Runtime web settings: fix punctuation and update CSS again

13 months agoUpdate default CSS for Runtime WebSettings.
Edouard Tisserant [Mon, 20 Nov 2023 11:52:27 +0100] rev 3857
Update default CSS for Runtime WebSettings.

13 months agoRuntime WebSetings for extensions are now served on individual URLs to prevent cluttering.
Edouard Tisserant [Mon, 20 Nov 2023 11:51:34 +0100] rev 3856
Runtime WebSetings for extensions are now served on individual URLs to prevent cluttering.

14 months agoRuntime web settings: allow customization of version string by extensions
Edouard Tisserant [Thu, 09 Nov 2023 11:20:39 +0100] rev 3855
Runtime web settings: allow customization of version string by extensions

15 months agoMerge python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 04 Oct 2023 16:24:00 +0200] rev 3854
Merge

15 months agoTests: more OCR tuning
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 03 Oct 2023 21:33:13 +0200] rev 3853
Tests: more OCR tuning

15 months agoTests: better font for OCR in svghmi_basic
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 02 Oct 2023 16:21:54 +0200] rev 3852
Tests: better font for OCR in svghmi_basic

15 months agoRuntime: fix non-interleaved worker loop
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 02 Oct 2023 14:25:02 +0200] rev 3851
Runtime: fix non-interleaved worker loop

15 months agoWin32 rutime: fix PLC Stop freezing
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 29 Sep 2023 13:46:36 +0200] rev 3850
Win32 rutime: fix PLC Stop freezing

15 months agoFix untested code in worker.py...
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 29 Sep 2023 13:45:50 +0200] rev 3849
Fix untested code in worker.py...

15 months agoAddapt to Py3.11.5 in Stunnel.py
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 28 Sep 2023 18:39:19 +0200] rev 3848
Addapt to Py3.11.5 in Stunnel.py
b2a_hqx is now deprecated, base64 should bring comparable results

15 months agoIDE: connect local runtime with '127.0.0.1' instead of 'localhost'
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 28 Sep 2023 18:28:07 +0200] rev 3847
IDE: connect local runtime with '127.0.0.1' instead of 'localhost'
Workaround localhost possibly resolving as ::1. leading to problems.

15 months agoRuntime/MainWorker: fix blocking race condition
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 28 Sep 2023 18:14:57 +0200] rev 3846
Runtime/MainWorker: fix blocking race condition

15 months agosyntax error
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 28 Sep 2023 18:00:21 +0200] rev 3845
syntax error

15 months agoUpdate version.py
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 28 Sep 2023 17:58:36 +0200] rev 3844
Update version.py

15 months agoRuntime/win32: no sys.stdout with pythonw.exe
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 28 Sep 2023 17:56:03 +0200] rev 3843
Runtime/win32: no sys.stdout with pythonw.exe

17 months agoTests: revert Teseract to less perforant legacy mode, but more repeatable. Compensate with zoom in edit_project and filter noise out of OCR text.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 07 Aug 2023 18:17:12 +0200] rev 3842
Tests: revert Teseract to less perforant legacy mode, but more repeatable. Compensate with zoom in edit_project and filter noise out of OCR text.

17 months agoTests: align on requirements.txt
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 01 Aug 2023 23:07:39 +0200] rev 3841
Tests: align on requirements.txt

17 months agoTests: Add minimal SVGHMI test
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 01 Aug 2023 21:04:00 +0200] rev 3840
Tests: Add minimal SVGHMI test

17 months agoTests: use SID+KILL for sikuli subprocesses
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 01 Aug 2023 21:02:08 +0200] rev 3839
Tests: use SID+KILL for sikuli subprocesses

17 months agoStrip now useless file.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 01 Aug 2023 21:00:11 +0200] rev 3838
Strip now useless file.

17 months agoSVGHMI: add support of all IEC61131 interger types.
Edouard Tisserant [Fri, 18 Aug 2023 11:38:20 +0200] rev 3837
SVGHMI: add support of all IEC61131 interger types.

- add HMI_*INT types
- fix sprintf.js with big int (64b)
- extend svghmi_real test project

17 months agoAdd testing status badge
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 27 Jul 2023 16:48:50 +0200] rev 3836
Add testing status badge

17 months agoUse requirements.txt and update doc accordingly.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 26 Jul 2023 16:40:51 +0200] rev 3835
Use requirements.txt and update doc accordingly.

17 months agoTests: pytests: only one wxpython app per process lifetime... Strip test_application.py
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 25 Jul 2023 21:26:31 +0200] rev 3834
Tests: pytests: only one wxpython app per process lifetime... Strip test_application.py

17 months agoIDE: fix py3/wxpy4 related deprecation warnings
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 25 Jul 2023 21:22:30 +0200] rev 3833
IDE: fix py3/wxpy4 related deprecation warnings

18 months agoRuntime: remove now useless typechecking/convertion
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 20 Jul 2023 23:20:21 +0200] rev 3832
Runtime: remove now useless typechecking/convertion

18 months agoGithub CI: do not save docker image if just restored from cache
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 20 Jul 2023 22:47:12 +0200] rev 3831
Github CI: do not save docker image if just restored from cache

18 months agoRuntime: fix unpacking of variable trace data
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 20 Jul 2023 22:42:39 +0200] rev 3830
Runtime: fix unpacking of variable trace data

18 months agoGithub CI: update matiec revision
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 20 Jul 2023 22:05:31 +0200] rev 3829
Github CI: update matiec revision

18 months agoGithub CI: update open62541 version, try avoid useles doker image rebuild
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 20 Jul 2023 19:04:34 +0200] rev 3828
Github CI: update open62541 version, try avoid useles doker image rebuild

18 months agoUpdate run_tests_in_docker.yml
etisserant <edouard.tisserant@gmail.com> [Thu, 20 Jul 2023 17:04:14 +0200] rev 3827
Update run_tests_in_docker.yml

18 months agoUpdate .gitignore
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 20 Jul 2023 16:27:20 +0200] rev 3826
Update .gitignore

18 months agoSVGHMI Py3 related fix in test project.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 20 Jul 2023 16:24:12 +0200] rev 3825
SVGHMI Py3 related fix in test project.

18 months agoTests: have to terminate language test with KILL, side effect of BEREMIZ_TEST_CYCLES
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 20 Jul 2023 16:21:26 +0200] rev 3824
Tests: have to terminate language test with KILL, side effect of BEREMIZ_TEST_CYCLES

18 months agoRuntime: py3 fix forcing of STRING
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 20 Jul 2023 16:16:05 +0200] rev 3823
Runtime: py3 fix forcing of STRING

19 months agoTests: fix systematically rebuilding matiec
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 20 Jun 2023 15:05:21 +0200] rev 3822
Tests: fix systematically rebuilding matiec

19 months agoRuntime: spawn_subprocess: handle non-bytes args
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 18 Jun 2023 16:30:48 +0200] rev 3821
Runtime: spawn_subprocess: handle non-bytes args

19 months agoOPC-UA client : python3 + AsyncUA fixes
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 18 Jun 2023 16:28:42 +0200] rev 3820
OPC-UA client : python3 + AsyncUA fixes

19 months agoupdate .gitignore
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 31 May 2023 23:16:29 +0200] rev 3819
update .gitignore

19 months agoPy3 related fixes for SVGHMI UI.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 31 May 2023 17:06:03 +0200] rev 3818
Py3 related fixes for SVGHMI UI.

19 months agoFix Py3 problems with basic SVGHMI build and run.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 31 May 2023 10:40:53 +0200] rev 3817
Fix Py3 problems with basic SVGHMI build and run.

19 months agoPy3 usual encoding, ints and exceptions fixes.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 31 May 2023 10:38:03 +0200] rev 3816
Py3 usual encoding, ints and exceptions fixes.

19 months agoTests: Fix dockerfile for python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 30 May 2023 13:00:50 +0200] rev 3815
Tests: Fix dockerfile for python3

20 months agoExamples: use print() function in "python" example
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 22 May 2023 14:40:49 +0200] rev 3814
Examples: use print() function in "python" example

20 months agoRuntime: Fix IEC/ctypes/python3 type mapping
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 22 May 2023 14:38:25 +0200] rev 3813
Runtime: Fix IEC/ctypes/python3 type mapping

20 months agoCLI: simpler status polling, fixing pyro5 thread
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 22 May 2023 14:37:15 +0200] rev 3812
CLI: simpler status polling, fixing pyro5 thread

20 months agoFix bytes/string confusion with Logging
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 20 May 2023 00:37:31 +0200] rev 3811
Fix bytes/string confusion with Logging

20 months agoFix wrong default target being picked in CLI build
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 20 May 2023 00:36:41 +0200] rev 3810
Fix wrong default target being picked in CLI build

20 months agoFake_wx objects now support comparison and hashing
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 20 May 2023 00:35:41 +0200] rev 3809
Fake_wx objects now support comparison and hashing

20 months agoUse msgpack and remove serpent's bytes workaround
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 20 May 2023 00:33:22 +0200] rev 3808
Use msgpack and remove serpent's bytes workaround

20 months agoUpdaye .gitignore
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 18 May 2023 00:04:03 +0200] rev 3807
Updaye .gitignore

20 months agoIDE: Fix py_ext build with python3.10
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 17 May 2023 23:59:45 +0200] rev 3806
IDE: Fix py_ext build with python3.10

20 months agoPyro5: fix runtime typo + IDE exception handling
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 17 May 2023 23:36:12 +0200] rev 3805
Pyro5: fix runtime typo + IDE exception handling

20 months agoRuntime: Fix web settings file upload.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 17 May 2023 17:13:39 +0200] rev 3804
Runtime: Fix web settings file upload.

20 months agoRuntime: drop Athena. Nevow now only for settings.
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 17 May 2023 17:13:01 +0200] rev 3803
Runtime: drop Athena. Nevow now only for settings.

20 months agoFix template conflict in XSLT with lxml>=4.9.0. Thanks to GP Orcullo !
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 13 May 2023 14:28:29 +0200] rev 3802
Fix template conflict in XSLT with lxml>=4.9.0. Thanks to GP Orcullo !

20 months agoUpdate generated XSLT headers (updated YSLT defs)
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 13 May 2023 12:45:03 +0200] rev 3801
Update generated XSLT headers (updated YSLT defs)

20 months agoWIP python3 support for runtime
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 12 May 2023 18:09:55 +0200] rev 3800
WIP python3 support for runtime

20 months agoBetter LDFLAGS and CFLAGS for win32 an MACOS
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 10 May 2023 17:02:05 +0200] rev 3799
Better LDFLAGS and CFLAGS for win32 an MACOS

20 months agoFix private n matplotib function import
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 10 May 2023 17:00:04 +0200] rev 3798
Fix private n matplotib function import

20 months agoUpdate version.py
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 10 May 2023 16:58:15 +0200] rev 3797
Update version.py

21 months agoupdate .gitignore
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 19 Apr 2023 17:41:27 +0200] rev 3796
update .gitignore

21 months agoIDE: more fixes for wxPython 4.0.7 and pyhon 3.10 python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 13 Apr 2023 22:31:33 +0200] rev 3795
IDE: more fixes for wxPython 4.0.7 and pyhon 3.10

21 months agoIDE: python-3.10: wxPython calls don't accept float anymore, continued python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 12 Apr 2023 23:02:41 +0200] rev 3794
IDE: python-3.10: wxPython calls don't accept float anymore, continued

21 months agoIDE: fixed/remove checks wxPython versions python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 12 Apr 2023 21:05:00 +0200] rev 3793
IDE: fixed/remove checks wxPython versions

21 months agoIDE: python-3.10: wxPython calls don't accept float anymore when int is expected python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 12 Apr 2023 19:32:38 +0200] rev 3792
IDE: python-3.10: wxPython calls don't accept float anymore when int is expected

21 months agoFixes for wxPython-4.0.7 (ubuntu22) compatible with wxPython-4.1.x python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 12 Apr 2023 19:28:37 +0200] rev 3791
Fixes for wxPython-4.0.7 (ubuntu22) compatible with wxPython-4.1.x

23 months agofake_wx: handle missing classname python3
GP Orcullo <kinsamanka@gmail.com> [Tue, 21 Feb 2023 12:47:18 +0800] rev 3790
fake_wx: handle missing classname

23 months agofix wxPyDeprecationWarnings python3
GP Orcullo <kinsamanka@gmail.com> [Mon, 20 Feb 2023 08:56:25 +0800] rev 3789
fix wxPyDeprecationWarnings

23 months agoshow underscore as space python3
GP Orcullo <kinsamanka@gmail.com> [Sun, 19 Feb 2023 11:14:14 +0800] rev 3788
show underscore as space

23 months agoCLIController: use absolute project path python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 10 Feb 2023 18:40:42 +0800] rev 3787
CLIController: use absolute project path

23 months agoallow passing environment variables to ProcessLogger python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 10 Feb 2023 10:02:21 +0800] rev 3786
allow passing environment variables to ProcessLogger

23 months agoGenerate warning instead of Exception if CTNMaxCount is exceeded for a confnode python3
GP Orcullo <kinsamanka@gmail.com> [Mon, 06 Feb 2023 20:07:51 +0800] rev 3785
Generate warning instead of Exception if CTNMaxCount is exceeded for a confnode

23 months agofix name clash python3
GP Orcullo <kinsamanka@gmail.com> [Sat, 04 Feb 2023 07:19:52 +0800] rev 3784
fix name clash

23 months agofix str encoding issue python3
GP Orcullo <kinsamanka@gmail.com> [Sat, 04 Feb 2023 07:18:21 +0800] rev 3783
fix str encoding issue

2022-11-10OSX: use wall time instead of system clock python3
GP Orcullo <kinsamanka@gmail.com> [Thu, 10 Nov 2022 23:21:22 +0800] rev 3782
OSX: use wall time instead of system clock

2022-11-10replaced depreciated functions python3
GP Orcullo <kinsamanka@gmail.com> [Thu, 10 Nov 2022 18:10:42 +0800] rev 3781
replaced depreciated functions

2022-11-10fix platform identification when running CLI under Win32 python3
GP Orcullo <kinsamanka@gmail.com> [Thu, 10 Nov 2022 10:45:40 +0800] rev 3780
fix platform identification when running CLI under Win32

2022-11-09silence compile warnings python3
GP Orcullo <kinsamanka@gmail.com> [Wed, 09 Nov 2022 22:17:13 +0800] rev 3779
silence compile warnings

2022-11-09Preliminary OSX support python3
GP Orcullo <kinsamanka@gmail.com> [Wed, 09 Nov 2022 17:29:59 +0800] rev 3778
Preliminary OSX support

2022-11-09pythonw is used on OSX python3
GP Orcullo <kinsamanka@gmail.com> [Wed, 09 Nov 2022 10:59:00 +0800] rev 3777
pythonw is used on OSX

2022-10-30switched to Pyro5 python3
GP Orcullo <kinsamanka@gmail.com> [Sun, 30 Oct 2022 13:20:58 +0800] rev 3776
switched to Pyro5

TODO: add ssl support, WAMP

2022-10-20Add PLC stop command python3
GP Orcullo <kinsamanka@gmail.com> [Thu, 20 Oct 2022 19:30:23 +0800] rev 3775
Add PLC stop command

2022-11-07wx: replaced deprecated class python3
GP Orcullo <kinsamanka@gmail.com> [Mon, 07 Nov 2022 17:32:56 +0800] rev 3774
wx: replaced deprecated class

2022-11-01wx fixes python3
GP Orcullo <kinsamanka@gmail.com> [Tue, 01 Nov 2022 14:23:47 +0800] rev 3773
wx fixes

2022-11-01str encoding fixes python3
GP Orcullo <kinsamanka@gmail.com> [Tue, 01 Nov 2022 14:21:16 +0800] rev 3772
str encoding fixes

2022-11-01ctypes fixes python3
GP Orcullo <kinsamanka@gmail.com> [Tue, 01 Nov 2022 14:19:23 +0800] rev 3771
ctypes fixes

2022-10-31fixed missing import python3
GP Orcullo <kinsamanka@gmail.com> [Mon, 31 Oct 2022 18:21:09 +0800] rev 3770
fixed missing import

2022-10-31set executionOrderId default value to 0 python3
GP Orcullo <kinsamanka@gmail.com> [Mon, 31 Oct 2022 17:49:28 +0800] rev 3769
set executionOrderId default value to 0

2022-10-31replaced depreciated function python3
GP Orcullo <kinsamanka@gmail.com> [Mon, 31 Oct 2022 14:48:25 +0800] rev 3768
replaced depreciated function

cmp is not used for sorting

2022-10-29upgrade fake_wx python3
GP Orcullo <kinsamanka@gmail.com> [Sat, 29 Oct 2022 17:07:41 +0800] rev 3767
upgrade fake_wx

2022-10-28Update to wx.NewIdRef() python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 20:04:12 +0800] rev 3766
Update to wx.NewIdRef()

2022-10-28fix for gc errors on shutdown python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 19:39:17 +0800] rev 3765
fix for gc errors on shutdown

2022-10-28wx fixes for controls python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 18:59:04 +0800] rev 3764
wx fixes for controls

2022-10-28Fix: wx._core.wxAssertionError: C++ assertion "CanBeToggled()" failed python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 18:54:33 +0800] rev 3763
Fix: wx._core.wxAssertionError: C++ assertion "CanBeToggled()" failed

2022-10-28fix - TypeError: unhashable type: 'Colour' python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 17:42:47 +0800] rev 3762
fix - TypeError: unhashable type: 'Colour'

2022-10-28xmlclass.py: fix AttributeError python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 17:26:50 +0800] rev 3761
xmlclass.py: fix AttributeError

2022-10-28AbsDir fix python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 17:08:27 +0800] rev 3760
AbsDir fix

2022-10-28convert sort and cmp functions to Python3 python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 17:01:10 +0800] rev 3759
convert sort and cmp functions to Python3

2022-10-28switch to pickle from cPickle python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 15:19:24 +0800] rev 3758
switch to pickle from cPickle

2022-10-28fix dynamic module loading python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 14:58:25 +0800] rev 3757
fix dynamic module loading

2022-10-28fix ctypes encoding python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 14:56:07 +0800] rev 3756
fix ctypes encoding

2022-10-28fix string encoding python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 14:53:23 +0800] rev 3755
fix string encoding

2022-10-28updated click api python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 14:26:17 +0800] rev 3754
updated click api

2022-10-28remove six.reraise python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 15:56:01 +0800] rev 3753
remove six.reraise

2022-10-28removed Python2 modules python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 14:07:13 +0800] rev 3752
removed Python2 modules

2022-10-28fixed plcopen imports python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 13:06:52 +0800] rev 3751
fixed plcopen imports

2022-10-28automated conversion using 2to3-3.9 tool python3
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 12:39:15 +0800] rev 3750
automated conversion using 2to3-3.9 tool

cmd used: 2to3-3.9 -w <file>

21 months agoTests: Add preliminary IEC-61131 language test, to be continued. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 27 Mar 2023 10:19:14 +0200] rev 3749
Tests: Add preliminary IEC-61131 language test, to be continued.

Test sets BEREMIZ_TEST_CYCLES in order to speed-up TON duration test.

21 months agoTests: Add time emulation feature for tests with BEREMIZ_TEST_CYCLES CFLAG. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 27 Mar 2023 10:12:20 +0200] rev 3748
Tests: Add time emulation feature for tests with BEREMIZ_TEST_CYCLES CFLAG.

Adding BEREMIZ_TEST_CYCLES=1000 in a project's CFLAGS will:
- run 1000 cycles with no pause
- emulate time flowing normaly for PLC code
- exit PLC thread

This allows:
- testing standard library blocks that deal with time without having to wait
- unit testing and code coverage with POUs that uses time

22 months agoIDE: fix exception when re-opening previously closed tab wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 12 Mar 2023 00:55:19 +0100] rev 3747
IDE: fix exception when re-opening previously closed tab

Same as commit with same message, this time for tabs that are not POUs editors.

22 months agoIDE: fix again ruberband with gtk3. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 12 Mar 2023 00:51:53 +0100] rev 3746
IDE: fix again ruberband with gtk3.

DC logical functions are now disabled when using GTK3.
Apparently using XOR was still having an effect.
Use regular black pen with no logical funciton instead.

22 months agoMerged from default wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 10 Mar 2023 13:00:31 +0100] rev 3745
Merged from default

22 months agomerged
Edouard Tisserant [Fri, 10 Mar 2023 09:13:29 +0100] rev 3744
merged

22 months agoModbus web configuration: add check for valid delay and period parameters
Mario de Sousa <msousa@fe.up.pt> [Tue, 07 Mar 2023 09:00:33 +0000] rev 3743
Modbus web configuration: add check for valid delay and period parameters

22 months agoIDE: Fix missing highlighted element in diagrams when using GTK3 wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 08 Mar 2023 23:18:41 +0100] rev 3742
IDE: Fix missing highlighted element in diagrams when using GTK3

- wx's logical function does not work on gtk3, and highlighting relies on it
- skipping logical funciion at all "works" but this now makes highlight opaque
- no easy fix for highlight transparency since emulated with AND Wx logical function
+ added other highlight related cosmetic fix.

22 months agoMerged default in wxPython4 branch wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 03 Mar 2023 19:20:49 +0100] rev 3741
Merged default in wxPython4 branch

22 months agoLinux runtime: overrun detection for real-time timers and for plc execution.
Edouard Tisserant [Wed, 01 Mar 2023 10:54:54 +0100] rev 3740
Linux runtime: overrun detection for real-time timers and for plc execution.

If real-time timer wakes-up PLC thread too late (10% over period), then
warning is logged.

If PLC code (IO retreive, execution, IO publish) takes longer than requested
PLC execution cycle, then warning is logged, and CPU hoogging is mitigated
by delaying next PLC execution a few cylces more until having at least
1ms minimal idle time.

22 months agoFix typo in toolchain_gcc.py : LDLAGS -> LDFLAGS wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 03 Mar 2023 09:47:39 +0100] rev 3739
Fix typo in toolchain_gcc.py : LDLAGS -> LDFLAGS

22 months agoMerged from default wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 28 Feb 2023 15:08:43 +0100] rev 3738
Merged from default

22 months agoMerge.
Edouard Tisserant [Tue, 28 Feb 2023 09:39:51 +0100] rev 3737
Merge.

22 months agoSVGHMI: add two more simple widgets to default widget library
Edouard Tisserant [Tue, 28 Feb 2023 09:36:08 +0100] rev 3736
SVGHMI: add two more simple widgets to default widget library

22 months agoCosmetic fix in plc_debug.c template
Edouard Tisserant [Tue, 28 Feb 2023 09:10:40 +0100] rev 3735
Cosmetic fix in plc_debug.c template

22 months agoMerge.
Tomaz Orac [Mon, 27 Feb 2023 13:47:36 +0100] rev 3734
Merge.

23 months agoModbus plugin: add optional delay between two consecutive modbus requests sent by master/client
Mario de Sousa <msousa@fe.up.pt> [Sun, 19 Feb 2023 08:37:27 +0000] rev 3733
Modbus plugin: add optional delay between two consecutive modbus requests sent by master/client

23 months agoRuntime: Add RealTime checkbox in Linux target options to enable PREEMPT_RT scheduling.
Edouard Tisserant [Tue, 21 Feb 2023 11:47:11 +0100] rev 3732
Runtime: Add RealTime checkbox in Linux target options to enable PREEMPT_RT scheduling.

23 months agoRuntime: move LC_NUMERIC locale setting to Beremiz_service.py.
Edouard Tisserant [Tue, 21 Feb 2023 11:38:45 +0100] rev 3731
Runtime: move LC_NUMERIC locale setting to Beremiz_service.py.

22 months agoTest: Customize Fluxbox launch to get rid of toolbar in IDE tests. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 28 Feb 2023 15:06:13 +0100] rev 3730
Test: Customize Fluxbox launch to get rid of toolbar in IDE tests.

22 months agoTests: Use TESSERACT_LSTM_COMBINED, LSTM + Legacy OCR mode in Sikuli, more stable results. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 28 Feb 2023 15:05:20 +0100] rev 3729
Tests: Use TESSERACT_LSTM_COMBINED, LSTM + Legacy OCR mode in Sikuli, more stable results.

23 months agoMerged default in wxPython4 branch wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 17 Feb 2023 13:41:10 +0100] rev 3728
Merged default in wxPython4 branch

23 months agoRuntime: Fix bugs in Linux target.
Edouard Tisserant [Fri, 17 Feb 2023 11:41:58 +0100] rev 3727
Runtime: Fix bugs in Linux target.

- next occurence absolute time computation failing on 32-bit because of casting
- PLC thread was started before period was set, potentially passing uninitialized timespec to clock_nanosleep()

23 months agoruntime: Change Linux target to use clock_nanosleep instead of timer (better rt-preempt perf).
Edouard Tisserant [Thu, 16 Feb 2023 12:13:16 +0100] rev 3726
runtime: Change Linux target to use clock_nanosleep instead of timer (better rt-preempt perf).

23 months agoLinux runtime: fix thread waiting on wait_RT_to_nRT_signal not being waken-up when delete_RT_to_nRT_signal is invoked.
Edouard Tisserant [Tue, 14 Feb 2023 12:10:35 +0100] rev 3725
Linux runtime: fix thread waiting on wait_RT_to_nRT_signal not being waken-up when delete_RT_to_nRT_signal is invoked.

23 months agoTests: docker image needs tesseract4, but opencv lib since sikuli.jar already contains it. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 14 Feb 2023 19:46:27 +0100] rev 3724
Tests: docker image needs tesseract4, but opencv lib since sikuli.jar already contains it.

23 months agoMore explicit default value for generic makefile target command. Assume Makfile is located in project_files wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 14 Feb 2023 19:44:25 +0100] rev 3723
More explicit default value for generic makefile target command. Assume Makfile is located in project_files

23 months agoIDE: prevent IDE/CLI process surviving to sys.exit() by using deamon threads to monitor external processes output streams. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 03 Feb 2023 16:40:04 +0100] rev 3722
IDE: prevent IDE/CLI process surviving to sys.exit() by using deamon threads to monitor external processes output streams.

23 months agoTests: allow overriding local host's hostname with BEREIS_LOCAL_HOST env variable. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 02 Feb 2023 17:48:51 +0100] rev 3721
Tests: allow overriding local host's hostname with BEREIS_LOCAL_HOST env variable.

23 months agoTests: IDE: explicitely wait for build success rather than just stdout to become silent. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 02 Feb 2023 17:17:04 +0100] rev 3720
Tests: IDE: explicitely wait for build success rather than just stdout to become silent.

23 months agoTests: Fixed wrong path (relative to $HOME) in CLI tests. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 02 Feb 2023 16:22:52 +0100] rev 3719
Tests: Fixed wrong path (relative to $HOME) in CLI tests.

23 months agoTests: OPCUA tests can now use OPCUA_DEFAULT_HOST environment variable to force host to something else than "127.0.0.1" or "localhost" wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 01 Feb 2023 20:43:35 +0100] rev 3718
Tests: OPCUA tests can now use OPCUA_DEFAULT_HOST environment variable to force host to something else than "127.0.0.1" or "localhost"

24 months agoIDE: fix segfault when unselecting network discovery in URI editor wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 16 Jan 2023 16:22:44 +0100] rev 3717
IDE: fix segfault when unselecting network discovery in URI editor

24 months agoIDE: fix exception when showing project's context menu in case of empty clipboard (wxpython4). wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 15 Jan 2023 21:40:58 +0100] rev 3716
IDE: fix exception when showing project's context menu in case of empty clipboard (wxpython4).

2023-01-01Tests: Fix dockerfile not finding locales.
etisserant <edouard.tisserant@gmail.com> [Sun, 01 Jan 2023 23:10:16 +0100] rev 3715
Tests: Fix dockerfile not finding locales.

2023-01-01cosmetic fix wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 01 Jan 2023 22:40:38 +0100] rev 3714
cosmetic fix

2023-01-01Tests: use expedited termination of IDE with SIGTERM instead of normal close wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 01 Jan 2023 22:39:41 +0100] rev 3713
Tests: use expedited termination of IDE with SIGTERM instead of normal close

Work around test not finishing when IDE ask for confirmation on exit when
project is modified.

2023-01-01IDE: When receiving SIGTERM signal, kill runtime befor bailing out without saving. wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Sun, 01 Jan 2023 22:33:29 +0100] rev 3712
IDE: When receiving SIGTERM signal, kill runtime befor bailing out without saving.

Purpose is to allow expedited test termination.

2022-12-22Merged default in wxPython4 branch wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 22 Dec 2022 02:47:20 +0100] rev 3711
Merged default in wxPython4 branch

2022-12-22tests: IDE: own text matching logic for OCR reliability, enhanced ihtml report wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 22 Dec 2022 02:46:08 +0100] rev 3710
tests: IDE: own text matching logic for OCR reliability, enhanced ihtml report

2022-12-16SVGHMI: update generated XSLT files
Edouard Tisserant [Fri, 16 Dec 2022 13:46:51 +0100] rev 3709
SVGHMI: update generated XSLT files

2022-12-16examples: add "csv_read" project to demo CSV access from PLC
Edouard Tisserant [Fri, 16 Dec 2022 13:46:07 +0100] rev 3708
examples: add "csv_read" project to demo CSV access from PLC

2022-12-16py_ext: add CSV file reading POUs in python extension library
Edouard Tisserant [Fri, 16 Dec 2022 13:43:38 +0100] rev 3707
py_ext: add CSV file reading POUs in python extension library

2022-12-16SVGHMI: fix input widget sometime messing with font style
Edouard Tisserant [Fri, 16 Dec 2022 13:41:03 +0100] rev 3706
SVGHMI: fix input widget sometime messing with font style

2022-12-15Merged default in wxPython4 branch wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 15 Dec 2022 14:59:27 +0100] rev 3705
Merged default in wxPython4 branch

2022-12-08ST code generator: when including PLCopen TC6 XML libraries (for example py_ext/pous.xml or NativeLib.xml), also includes libraries globals in result
Edouard Tisserant [Thu, 08 Dec 2022 11:17:15 +0100] rev 3704
ST code generator: when including PLCopen TC6 XML libraries (for example py_ext/pous.xml or NativeLib.xml), also includes libraries globals in result

2022-11-29Runtime: add arbitrary file upload to working dir in web interface
Edouard Tisserant [Tue, 29 Nov 2022 10:59:53 +0100] rev 3703
Runtime: add arbitrary file upload to working dir in web interface

2022-11-25SVGHMI: fix double-dispatch happening when using low widget update frequency on variable already being updated with high frequency by other widgets.
Edouard Tisserant [Fri, 25 Nov 2022 11:12:14 +0100] rev 3702
SVGHMI: fix double-dispatch happening when using low widget update frequency on variable already being updated with high frequency by other widgets.

2022-12-15Merge wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 15 Dec 2022 14:55:30 +0100] rev 3701
Merge

2022-12-15Backed out changeset ddadbdf20e70, no effect on current problem.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 15 Dec 2022 14:54:05 +0100] rev 3700
Backed out changeset ddadbdf20e70, no effect on current problem.

2022-12-13GH CI: try reverting to previous version of ubuntu
etisserant <edouard.tisserant@gmail.com> [Tue, 13 Dec 2022 22:04:16 +0100] rev 3699
GH CI: try reverting to previous version of ubuntu

2022-12-15IDE tests: ensure that file browser idled before entering path in new_project wxPython4
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 15 Dec 2022 14:49:52 +0100] rev 3698
IDE tests: ensure that file browser idled before entering path in new_project