Wed, 17 May 2023 17:13:01 +0200Runtime: 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.

Sat, 13 May 2023 14:28:29 +0200Fix 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 !

Sat, 13 May 2023 12:45:03 +0200Update 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)

Fri, 12 May 2023 18:09:55 +0200WIP 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

Wed, 10 May 2023 17:02:05 +0200Better 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

Wed, 10 May 2023 17:00:04 +0200Fix 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

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

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

Thu, 13 Apr 2023 22:31:33 +0200IDE: 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

Wed, 12 Apr 2023 23:02:41 +0200IDE: 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

Wed, 12 Apr 2023 21:05:00 +0200IDE: 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

Wed, 12 Apr 2023 19:32:38 +0200IDE: 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

Wed, 12 Apr 2023 19:28:37 +0200Fixes 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

Tue, 21 Feb 2023 12:47:18 +0800fake_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

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

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

Fri, 10 Feb 2023 18:40:42 +0800CLIController: 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

Fri, 10 Feb 2023 10:02:21 +0800allow 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

Mon, 06 Feb 2023 20:07:51 +0800Generate 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

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

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

Thu, 10 Nov 2022 23:21:22 +0800OSX: 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

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

Thu, 10 Nov 2022 10:45:40 +0800fix 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

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

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

Wed, 09 Nov 2022 10:59:00 +0800pythonw 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

Sun, 30 Oct 2022 13:20:58 +0800switched 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

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

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

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

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

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

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

Mon, 31 Oct 2022 17:49:28 +0800set 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

Mon, 31 Oct 2022 14:48:25 +0800replaced 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

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

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

Fri, 28 Oct 2022 19:39:17 +0800fix 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

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

Fri, 28 Oct 2022 18:54:33 +0800Fix: 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

Fri, 28 Oct 2022 17:42:47 +0800fix - 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'

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

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

Fri, 28 Oct 2022 17:01:10 +0800convert 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

Fri, 28 Oct 2022 15:19:24 +0800switch 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

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

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

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

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

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

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

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

Fri, 28 Oct 2022 12:39:15 +0800automated 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>

Mon, 27 Mar 2023 10:19:14 +0200Tests: 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.

Mon, 27 Mar 2023 10:12:20 +0200Tests: 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

Sun, 12 Mar 2023 00:55:19 +0100IDE: 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.

Sun, 12 Mar 2023 00:51:53 +0100IDE: 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.

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

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

Tue, 07 Mar 2023 09:00:33 +0000Modbus 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

Wed, 08 Mar 2023 23:18:41 +0100IDE: 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.

Fri, 03 Mar 2023 19:20:49 +0100Merged 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

Wed, 01 Mar 2023 10:54:54 +0100Linux 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.