7 months agoMerge commit '2d061a66ddc737f5dffae82413b4f8573b7eee54' into HEAD
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 15 Aug 2024 23:50:01 +0200] rev 3963
Merge commit '2d061a66ddc737f5dffae82413b4f8573b7eee54' into HEAD

7 months agoAdd "CONTINUE" ST statement.
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 15 Aug 2024 23:23:56 +0200] rev 3962
Add "CONTINUE" ST statement.

Matches "Add CONTINUE statement, fix FOR loop accordingly" 8a06b3bb92967b389466b8afa977a995ec605e2d commit in Matiec.

7 months agoC runtime: cosmetic changes
Edouard Tisserant <edouard.tisserant@gmail.com> [Thu, 15 Aug 2024 23:20:16 +0200] rev 3961
C runtime: cosmetic changes

9 months agomerge again
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 05 Jun 2024 15:18:15 +0200] rev 3960
merge again

9 months agoRevert unwanted changes potentially breaking wxGlade support.
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 04 Jun 2024 14:09:16 +0200] rev 3959
Revert unwanted changes potentially breaking wxGlade support.
Partly revert 34d4c77ccb1bcb14601ab347ec6080466b7e143d. Skips evaluator related changes that was included by mistake.

9 months agoTests: add erpc source to GitHub tests
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 04 Jun 2024 08:35:13 +0200] rev 3958
Tests: add erpc source to GitHub tests

9 months agoC runtime: add autoload
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 03 Jun 2024 22:29:59 +0200] rev 3957
C runtime: add autoload

9 months agoC runtime: fix logging, makes test pass
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 03 Jun 2024 22:29:20 +0200] rev 3956
C runtime: fix logging, makes test pass

9 months agoTests: Add minimal C runtime test
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 03 Jun 2024 22:24:55 +0200] rev 3955
Tests: Add minimal C runtime test

9 months agomerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 05 Jun 2024 15:05:54 +0200] rev 3954
merge

9 months agoXenomai runtime: report and mitigate when PLC cycle overruns.
Edouard Tisserant <edouard@beremiz.fr> [Mon, 27 May 2024 11:16:27 +0200] rev 3953
Xenomai runtime: report and mitigate when PLC cycle overruns.

Side effect :
_Log* macro was changed in plc_Xenomai_main.c,
and fixed in plc_Linux_main.c

10 months agoSVGHMI: Do not generate Popen call when comamn is empty.
Edouard Tisserant <edouard@beremiz.fr> [Fri, 26 Apr 2024 12:14:52 +0200] rev 3952
SVGHMI: Do not generate Popen call when comamn is empty.

9 months agoFix python path in readme.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 25 May 2024 16:45:38 +0200] rev 3951
Fix python path in readme.

9 months agoPython runtime: ensure that python thread finished before returning from StopPLC.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 25 May 2024 15:28:48 +0200] rev 3950
Python runtime: ensure that python thread finished before returning from StopPLC.

10 months agoC runtime: initial fixes. Now runs and traces first_steps example.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 May 2024 18:55:46 +0200] rev 3949
C runtime: initial fixes. Now runs and traces first_steps example.

beremiz_runtime -v -t tcp -p 61131 -h localhost

10 months agoIDE: fix eRPC exception handling
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 May 2024 18:48:28 +0200] rev 3948
IDE: fix eRPC exception handling

10 months agoAll Runtimes: Now sizeof(tick)=4 on all platforms (unsigned int).
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 May 2024 18:47:30 +0200] rev 3947
All Runtimes: Now sizeof(tick)=4 on all platforms (unsigned int).

10 months agoeRPC: update erpc version, add readme
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 24 May 2024 18:32:23 +0200] rev 3946
eRPC: update erpc version, add readme

10 months agoC++ runtime: WIP. Continue PLCObject implementation.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 18 May 2024 23:59:32 +0200] rev 3945
C++ runtime: WIP. Continue PLCObject implementation.

10 months agoTests: fix wx_widgets.pytest/test_CustomIntCtrl.py
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 15 May 2024 18:50:26 +0200] rev 3944
Tests: fix wx_widgets.pytest/test_CustomIntCtrl.py

10 months agoMerge commit 'e2df70b60b84031d3ccd3ae799a4e3aa8112f3ff' into python3
Edouard Tisserant <edouard.tisserant@gmail.com> [Wed, 15 May 2024 08:59:38 +0200] rev 3943
Merge commit 'e2df70b60b84031d3ccd3ae799a4e3aa8112f3ff' into python3

10 months agoDoc: Add about section (PR #33)
Nadim Khan <34601107+nadim4114@users.noreply.github.com> [Fri, 26 Apr 2024 13:40:34 +0530] rev 3942
Doc: Add about section (PR #33)

* added about section

* updated .gitignore to exclude doc/_build/

10 months agoERPC: fix SetTraceVariablesList interface
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 14 May 2024 14:22:32 +0200] rev 3941
ERPC: fix SetTraceVariablesList interface

This fix debug not suspending when having no variables, and other debug error being not reported.

10 months agoC++ runtime: WIP: untested PLCObject implementation. Still missing tracing.
Edouard Tisserant <edouard.tisserant@gmail.com> [Sat, 11 May 2024 19:27:28 +0200] rev 3940
C++ runtime: WIP: untested PLCObject implementation. Still missing tracing.

10 months agoUpdate revisions used in tests running on GitHub.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 26 Apr 2024 09:45:02 +0200] rev 3939
Update revisions used in tests running on GitHub.

10 months agomerge
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 26 Apr 2024 09:24:26 +0200] rev 3938
merge

11 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.

11 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.

10 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

10 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.

11 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

11 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.

11 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

11 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

11 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.

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

11 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

11 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

11 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.

11 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

11 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

11 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.

11 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.

11 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.

12 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

12 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.

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

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

12 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

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

12 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.

12 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

12 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.

12 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

12 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

12 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.

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

12 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.

12 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

12 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

12 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

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

13 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.

13 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

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

13 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

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

13 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

14 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.

14 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.

13 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"

13 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.

13 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

13 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

13 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

13 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.

14 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.

14 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.

14 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.

14 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.

15 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

15 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'

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

16 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.

16 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

16 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

16 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

16 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

16 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

16 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

16 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

17 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

17 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

17 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.

17 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

17 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.

17 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.

17 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

17 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

17 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

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

17 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

15 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

16 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

16 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

16 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

16 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.

16 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.

16 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

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

17 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

17 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

17 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

17 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

17 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...

17 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

17 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.

17 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

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

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

17 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

19 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.

19 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

19 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

19 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

19 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.

19 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

20 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

20 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.

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

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

20 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.

20 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

20 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

21 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

21 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

21 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

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

21 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.

21 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.

21 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.

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

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

22 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

22 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

22 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.

22 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.

22 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 !

22 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)

22 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

22 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

22 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

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

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

23 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

23 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

23 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

23 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

23 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

2023-02-21fake_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

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

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

2023-02-10CLIController: 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

2023-02-10allow 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

2023-02-06Generate 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

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

2023-02-03fix 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>

24 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.

24 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

2023-03-11IDE: 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.

2023-03-11IDE: 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.

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

2023-03-10merged
Edouard Tisserant [Fri, 10 Mar 2023 09:13:29 +0100] rev 3744
merged

2023-03-07Modbus 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

2023-03-08IDE: 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.

2023-03-03Merged 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

2023-03-01Linux 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.

2023-03-03Fix 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

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

2023-02-28Merge.
Edouard Tisserant [Tue, 28 Feb 2023 09:39:51 +0100] rev 3737
Merge.

2023-02-28SVGHMI: 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

2023-02-28Cosmetic 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

2023-02-27Merge.
Tomaz Orac [Mon, 27 Feb 2023 13:47:36 +0100] rev 3734
Merge.

2023-02-19Modbus 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

2023-02-21Runtime: 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.

2023-02-21Runtime: 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.

2023-02-28Test: 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.

2023-02-28Tests: 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.

2023-02-17Merged 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

2023-02-17Runtime: 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()

2023-02-16runtime: 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).

2023-02-14Linux 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.

2023-02-14Tests: 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.