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.
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
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.
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.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 10 Mar 2023 13:00:31 +0100] rev 3745
Merged from default
Edouard Tisserant [Fri, 10 Mar 2023 09:13:29 +0100] rev 3744
merged
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
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.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 03 Mar 2023 19:20:49 +0100] rev 3741
Merged default in wxPython4 branch
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.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 03 Mar 2023 09:47:39 +0100] rev 3739
Fix typo in toolchain_gcc.py : LDLAGS -> LDFLAGS
Edouard Tisserant <edouard.tisserant@gmail.com> [Tue, 28 Feb 2023 15:08:43 +0100] rev 3738
Merged from default
Edouard Tisserant [Tue, 28 Feb 2023 09:39:51 +0100] rev 3737
Merge.
Edouard Tisserant [Tue, 28 Feb 2023 09:36:08 +0100] rev 3736
SVGHMI: add two more simple widgets to default widget library
Edouard Tisserant [Tue, 28 Feb 2023 09:10:40 +0100] rev 3735
Cosmetic fix in plc_debug.c template
Tomaz Orac [Mon, 27 Feb 2023 13:47:36 +0100] rev 3734
Merge.
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
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.
Edouard Tisserant [Tue, 21 Feb 2023 11:38:45 +0100] rev 3731
Runtime: move LC_NUMERIC locale setting to Beremiz_service.py.
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.
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.
Edouard Tisserant <edouard.tisserant@gmail.com> [Fri, 17 Feb 2023 13:41:10 +0100] rev 3728
Merged default in wxPython4 branch
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()
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).
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.
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.
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
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.
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.
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.
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.
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"