1880 Commits

Autor SHA1 Nachricht Datum
Filippo Gentile
943c52fc45 server: Z21 SimulationIOHandler updateChecksum() 2024-08-17 13:35:20 +02:00
Filippo Gentile
2c7f27370e seerver: Z21 SimulationIOHandler cache Decoder state
- Decoder state is cached to allow replying correctly
- Cache uses LanXLocoInfo so it does not need conversion upon sending
2024-08-17 13:00:09 +02:00
Filippo Gentile
3b6f7c8fd0 server: Z21 fix reply to broadcast flags
- Protocol specs says reply has LAN_GET_BROADCASTFLAGS header too
2024-07-06 15:37:42 +02:00
Filippo Gentile
eba845cab5 server: Z21 ClientKernel remove speed trend logic
- Reply queue superseeds it
- It never worked and it's over complicated
- Keep LocoCache, maybe can be further simplified
2024-07-06 15:12:45 +02:00
Filippo Gentile
fc2ff35856 server: Z21 reply queue, use encoded speed and steps
- To save space we use the same encoding as done
  in Z21 protocol.
- This way we also can directly compare without decoding
- Now also direction and emergency stop are checked
2024-07-06 14:27:50 +02:00
Filippo Gentile
8a8772ede0 server: Z21 add pending request tracking
This makes it possible to detect replies from
Z21 originated by our own requests and process
them differently than externally generated
messages.

This also enables resending requests which did
not receive the expected reply in timeout
2024-07-04 13:55:03 +02:00
Reinder Feenstra
3c64ea70df missing in f4c9e72 2024-07-03 23:07:52 +02:00
Reinder Feenstra
f4c9e722c9 No more git lfs, git lfs is metered 2024-07-03 23:01:45 +02:00
Reinder Feenstra
9a9614edc0 fix error: captured structured bindings are a C++20 extension 2024-07-03 21:21:32 +02:00
Reinder Feenstra
93c7204d9c Renumbered error codes, E3003 and E3004 conflict with PR #115 2024-07-03 19:50:34 +02:00
Reinder Feenstra
343cc1c978
fix error: declaration shadows a structured binding [clang-diagnostic-shadow] 2024-07-03 08:13:01 +02:00
Reinder Feenstra
e66dfe49e3 CI: removed ubuntu 20.04, added ubuntu 24.04 2024-07-02 23:53:17 +02:00
Reinder Feenstra
10c7d732d1 Added train param to block.removeTrain and error reporting.
Client will now show an error in case the train can't be removed.
Added support for removing a specific train if multiple trains are in the block.
see #70
2024-07-02 23:42:22 +02:00
Reinder Feenstra
8456e49021 luadoc: improved documentation 2024-06-30 00:27:51 +02:00
Reinder Feenstra
eb23de2a3d luadoc: improved documentation 2024-06-28 23:29:02 +02:00
Reinder Feenstra
1dd2f375c3 xpressnet: use async tcp connect the prevent "hanging", see #150 2024-06-27 23:53:51 +02:00
Reinder Feenstra
7e8d82673a fix: added missing destructor in header 2024-06-27 23:51:46 +02:00
Reinder Feenstra
0bc31a7129 traintasticdiy: use async tcp connect the prevent "hanging", see #150 2024-06-27 22:24:03 +02:00
Reinder Feenstra
a9ae2497bf block: deactivate train if it is removed from the last block 2024-06-27 21:41:35 +02:00
Reinder Feenstra
93a5d65dff innosetup: implemented new custom message id's 2024-06-26 22:32:32 +02:00
Reinder Feenstra
1a4529d5c1 Updated translations from poeditor 2024-06-26 22:32:08 +02:00
Reinder Feenstra
e595ecf5b8 added translation sync script for poeditor.com traintastic and inno-setup strings are now in a single poeditor project 2024-06-26 22:31:14 +02:00
Reinder Feenstra
0adf0584dd marklincan: use async tcp connect the prevent "hanging", see #150 2024-06-25 22:46:54 +02:00
Reinder Feenstra
ea027d8d3f fix: endless started loop, see #150 2024-06-25 22:31:01 +02:00
Reinder Feenstra
f47499d5c5 ecos: use async tcp connect the prevent "hanging", see #150 2024-06-24 22:51:55 +02:00
Reinder Feenstra
4eb0e97513 dcc-ex: use async tcp connect the prevent "hanging", see #150 2024-06-24 22:49:30 +02:00
Reinder Feenstra
bd09107180 loconet: use async tcp connect the prevent "hanging", see #150 2024-06-23 23:07:37 +02:00
Reinder Feenstra
161a0e9521 fix: implemented deleteLater for protocol kernels, to make sure all EventLoop work posted by the kernel thread is processed before the kernel is deleted. 2024-06-22 09:05:20 +02:00
Reinder Feenstra
f6f2f57b7a client: PropertySpinBox now validates value in the background, fixes editing annoyance, see #145 2024-06-21 23:30:48 +02:00
Reinder Feenstra
7a97be0738
Merge pull request #149 from traintastic/contributors-readme-action-oTpOhHxVqO
docs(contributor): contributors readme action update
2024-06-21 23:04:01 +02:00
github-actions[bot]
bf642fb7a2
docs(contributor): contrib-readme-action has updated readme 2024-06-21 20:54:24 +00:00
Reinder Feenstra
141d9d4345
Merge pull request #147 from DrEVILish/patch-3
Fixed new line character skipping, see #141
2024-06-21 22:54:07 +02:00
Ryan Freeman
b73cf4782a
Fixed new line character skipping \n\r handles in both directions as well \r\n as well as just \n or \r 2024-06-21 16:11:21 +01:00
Reinder Feenstra
c148414a82
Merge pull request #138 from traintastic/ci-macos-14
CI: added macos-14 support, thanks to @DrEVILish for helping!
2024-06-19 23:05:45 +02:00
Reinder Feenstra
918f49e195 ci: switch back to Qt 5 for Windows, requires installer adjustment. 2024-06-19 22:16:17 +02:00
Reinder Feenstra
9b609d1ec5 ci: use Qt 6.5 for Windows/macOS 2024-06-19 21:21:17 +02:00
Reinder Feenstra
3b54dc17bf Merge remote-tracking branch 'origin/master' into ci-macos-14 2024-06-19 21:17:13 +02:00
Reinder Feenstra
6db8c82d81 fix: loconet lbserver write "failed succesfully", see #141 2024-06-18 22:44:19 +02:00
Reinder Feenstra
50875e0456
CI: updated install-qt-action to v4 2024-06-17 23:51:29 +02:00
Reinder Feenstra
1fd6e616e9
Merge pull request #131 from gfgit/work/gfgit/fix_z21_power_state
Fix z21 power state
2024-06-17 22:39:04 +02:00
Reinder Feenstra
191a3631e1
fix: LibArchive_INCLUDE_DIR -> LibArchive_INCLUDE_DIRS 2024-06-16 23:58:56 +02:00
Reinder Feenstra
a4d735a44c use find_path/find_library for lua5.3 on macOS 2024-06-16 23:45:06 +02:00
Reinder Feenstra
a78ecf3937 use find_path/find_library for libarchive on macOS 2024-06-16 23:25:13 +02:00
Reinder Feenstra
9ba8fb7a30 use FindPackage for libarchive and lua on macOS 2024-06-16 23:03:02 +02:00
Reinder Feenstra
b2a0352b26 Merge remote-tracking branch 'origin/master' into ci-macos-14 2024-06-16 22:59:45 +02:00
Reinder Feenstra
cd623611af
Merge pull request #139 from DrEVILish/patch-1
Update FindLua.cmake
2024-06-16 22:58:13 +02:00
Ryan Freeman
1c3bd8a50e
Update FindLua.cmake
/opt/homebrew # MacOS Apple Silicone
2024-06-16 14:22:05 +01:00
Reinder Feenstra
8169fd4fdf
CI: added macos-14 2024-06-16 15:06:31 +02:00
Reinder Feenstra
ad1b62e151
Merge pull request #136 from traintastic/ci-macos-13
CI: remove macos-11, add macos-13
2024-06-16 14:23:34 +02:00
Reinder Feenstra
230fa8e513
set _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION for macos-13 2024-06-16 13:37:24 +02:00