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.

Fri, 03 Mar 2023 09:47:39 +0100Fix 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

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

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

Tue, 28 Feb 2023 09:36:08 +0100SVGHMI: 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

Tue, 28 Feb 2023 09:10:40 +0100Cosmetic 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

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

Sun, 19 Feb 2023 08:37:27 +0000Modbus 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

Tue, 21 Feb 2023 11:47:11 +0100Runtime: 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.

Tue, 21 Feb 2023 11:38:45 +0100Runtime: 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.

Tue, 28 Feb 2023 15:06:13 +0100Test: 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.

Tue, 28 Feb 2023 15:05:20 +0100Tests: 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.

Fri, 17 Feb 2023 13:41:10 +0100Merged 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

Fri, 17 Feb 2023 11:41:58 +0100Runtime: 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()

Thu, 16 Feb 2023 12:13:16 +0100runtime: 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).

Tue, 14 Feb 2023 12:10:35 +0100Linux 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.

Tue, 14 Feb 2023 19:46:27 +0100Tests: 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.

Tue, 14 Feb 2023 19:44:25 +0100More 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

Fri, 03 Feb 2023 16:40:04 +0100IDE: 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.

Thu, 02 Feb 2023 17:48:51 +0100Tests: 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.

Thu, 02 Feb 2023 17:17:04 +0100Tests: 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.

Thu, 02 Feb 2023 16:22:52 +0100Tests: 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.

Wed, 01 Feb 2023 20:43:35 +0100Tests: 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"

Mon, 16 Jan 2023 16:22:44 +0100IDE: 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

Sun, 15 Jan 2023 21:40:58 +0100IDE: 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).

Sun, 01 Jan 2023 23:10:16 +0100Tests: 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.

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

Sun, 01 Jan 2023 22:39:41 +0100Tests: 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.

Sun, 01 Jan 2023 22:33:29 +0100IDE: 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.

Thu, 22 Dec 2022 02:47:20 +0100Merged 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

Thu, 22 Dec 2022 02:46:08 +0100tests: 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

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

Fri, 16 Dec 2022 13:46:07 +0100examples: 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

Fri, 16 Dec 2022 13:43:38 +0100py_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

Fri, 16 Dec 2022 13:41:03 +0100SVGHMI: 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

Thu, 15 Dec 2022 14:59:27 +0100Merged 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

Thu, 08 Dec 2022 11:17:15 +0100ST 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

Tue, 29 Nov 2022 10:59:53 +0100Runtime: 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

Fri, 25 Nov 2022 11:12:14 +0100SVGHMI: 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.

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

Thu, 15 Dec 2022 14:54:05 +0100Backed 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.

Tue, 13 Dec 2022 22:04:16 +0100GH 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